Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop

Please give me a sample program of ' timed loop ' .....What's the difference between ' wait ' and ' time delay  ' blocks?Are they same ?if we  give  a  delay  of  2ms  , then  both  the  blocks  wait  for  2ms  between  the  iterations....is  it  right???
0 Kudos
Message 1 of 3
(3,905 Views)
Hi Sumsum,

Example programs that use timed loops can be found in the Help>>Find Examples...>>Toolkits and Modules>>Real-Time folder, but timed loops are generally only used for specific Real-Time applications.

As far as the difference between the 'Wait' and the 'Time Delay' vi's, they are essentially the same in terms of their basic functionality. The 'Time Delay' vi is an express vi that has a dialog box and error input and output associated with it, so it is easier to use but utilizes more resources.

Hope this helps.

Regards,
Stephen S.
National Instruments
Applications Engineering
0 Kudos
Message 2 of 3
(3,868 Views)
Thanx Stephen...
0 Kudos
Message 3 of 3
(3,861 Views)