From 08:00 PM CDT Friday, August 12 - 01:00 PM CDT Saturday, August 13, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在FP-20xx上进行数据存储时,Timestamp错误



硬件: Compact FieldPoint>>Controllers>>cFP-2000

问题:
FP-20xx长时间存储数据后,回读数据时发现timestamp是不正确的。这是什么原因?

解答:
当模块掉电后,FP-20xx(版本A)会丢失timestamp。当模块重新启动后,timestamp是被停止的。如果在FieldPoint Explorer中设置FP-20xx的Time Server,那么timestamp会在模块启动后被立刻纠正。此外,当模块与Time Server之间的连接被断开后,可以通过LabVIEW Real Time代码实现与Network Time Server的同步。下面的链接提供了例子程序。

相关链接:
Developer Zone Example: Getting/Setting the System Date/Time on CVS and PXI RT Targets

附件:





报告日期: 06/26/2002
最近更新: 12/11/2007
文档编号: 2MPE8KTJ