09-29-2011 08:54 AM
Using LabView RT the Timed Loop and also the Simulation Loop have a hardware clock feature called 1 MHz. Each iteration is done in sync with the hardware clock ticks.
But what's the difference between 1 MHz and 1 MHz <reset at structure start>? My guess:
Is this correct?
10-18-2011 03:12 AM
Hi,
in the following link you can find further information about this topic.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvdialog/loop_configuration_db/
I have a VI attached which shows you the difference between these two options in a practical example. Just try out the different options for the timed loop.
Without <reset at structure start> the timed loop wants to catch up a time delay after its first execution, with this option enabled it still works fine for the upcoming
iterations.
Kind Regards
Thomas
10-19-2011 02:40 AM
Thank you for your answer. Could you please make a screenshot or save it with an earlier version? I am using LabVIEW 2009 SP1, so I can not open your VI.
As for the link, the explanation about "reset at structure start" is quite brief.
10-19-2011 03:39 AM
Hi,
I have attached screenshots now. You just need a Main VI and a Sub VI as you will see.
If you do not use the <reset... function> the timed loop trys to catch up the 1kHz clock after the first run, so that the Sub VI does not work properly anymore.
Kind regards,
Thomas
10-19-2011 07:19 AM
Did I understand it right according to the picture below?