LabVIEW-DCAF / StandardEngine

The Standard Execution Engine plugin for DCAF.
http://forums.ni.com/t5/Distributed-Control-Automation/Standard-Engine-Documentation/gpm-p/3539201
7 stars 3 forks source link

ns since last call should measure timing with higher fidelity than the dt #37

Closed Beazurt closed 9 years ago

Beazurt commented 9 years ago

Currently we return this value by multiplying dt by the timing source period in ns. I don't think this gives us any information over the late count. Instead we should use the tick count VIs and actually measure the loop execution time.

smithed commented 9 years ago

it tells you how late we were without having to waste time on getting the true dt. But I suppose we should try to give one level of resolution higher than their clock source.

smithed commented 9 years ago

https://github.com/TBDFramework/StandardEngine/commit/28b2b73cb6026bf12d04c9c2c35f15123ee39768