From 01:00 AM CDT Saturday, June 10 - 04:00 AM CDT Saturday, June 10, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 01:00 AM CDT Saturday, June 10 - 04:00 AM CDT Saturday, June 10, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
我在一台电脑上有多块PCI-CAN卡。同时我们有对一个运行应用的多个实例,每个实例对应一块板卡。为了关联我们的数据,我们想知道是否可以通过RTSI来同步多块PCI-CAN卡的时间戳,以保证CAN帧中的时间戳不会发生偏移。这能实现吗?
因为每块CAN卡都有基于自身时钟的时间戳,每块板卡在时间上也许会有所不同,而且“偏移”也可能是一个关注点。但是,通过RTSI连接七快卡的主时基是可行的。其中某一块CAN卡作为Time Master并且输出它的信号到RTSI总线(其它的板卡从RTSI获取时钟,而不是使用自身的时钟)。当RTSI电缆被正确安装以后,“CAN Sync Start with NI-DAQ”这个通道API VI将会自动完成这个功能。
在范例查找器中,有一些范例程序来演示这一特性。你可以通过选择Help»Find Examples 然后浏览Hardware Input and Output»CAN»Frame API»Sync»Advanced»Multiple Devices
|