From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
当我用TestStand离线结果处理功能生成一个XML报告时,注意到步骤属性中的StartTime值是负的,然而,当我在线生成报告时,StartTime值变为正。为什么生成离线报告时的值是负的呢,我怎么分辨每个步骤的开始时间?
StartTime
的值与 TestStand 处理器创建 TestStand 引擎的时间相关,报告生成代码将这个值添加到下列属性当中来计算步骤执行时间的绝对值。Engine.SecondsAtStartIn1970UniversalCoordinatedTimeStartTime值,这个值由离线结果处理功能引擎和运行时引擎对比得到。因为离线结果处理功能的TestStand引擎经常会比运行时引擎晚建立一段时间,因此
StartTime值是负的。这允许使用
Engine.SecondsAtStartIn1970UniversalCoordinatedTime
属性的插入模块在运行离线结果处理功能时计算绝对时间的正确性。ResultLog.SecondsAtStartIn1970UniversalCoordinatedTime
属性来访问 运行时引擎最初创建的 .tsr 文件中Engine.SecondsAtStartIn1970UniversalCoordinatedTime的值。
|