LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop period ceased working

bah, i think i am blind (wondering why....)

Your "benchmark" does not reflect the time the timed loop takes. The problem is: Your "initial" timestamp is taken when the timed loop is already running (for an unknown amount of time....)! To prevent this, the error cluster you passed to the sequenceframe for the initial timestamp has to be wired through it and after this to the timed loop....

this should reveal a better result then.....

Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 11 of 15
(1,053 Views)
20.4 seconds.....
0 Kudos
Message 12 of 15
(1,050 Views)
So i can hope that your benchmarking code you are currently using is looking something like this:



Or in other words: Please post your current VI again.

Norbert


[Edit]: Using this approach, the timing of the timed loop fits quite well. You must not forget that this benchmark does not reflect the timed loop itself but exiting/entering the sequenceframes, taking the timestamps....

Message Edited by Norbert B on 06-27-2008 10:24 AM
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 13 of 15
(1,045 Views)
0 Kudos
Message 14 of 15
(1,033 Views)
Sadly, my tests all showed the desired behaviour of the timed loop: The timing was correct.

Since i cannot execute your VI, please create another example showing this odd behaviour.  Please keep track what changes you have done to the timed loop if you can reproduce this in another VI.

thanks,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 15 of 15
(1,002 Views)