ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

infinit pga timed loop

Hello,

 

How can I make an infinit timed loop?

My program stops when i=2^32 is reached, replacing the loop with a sequence loop gives an error.

 

Thanks for the help

0 Kudos
Message 1 of 4
(3,337 Views)

Dear Kim,

 

Please note that the I terminal stops counting when reaching i=2^32, you loop will go on. So if you are using another way of counting and not the iteration, your program will continue. You can use a simple increment function and a shift register to arrange this. I hope this will help you further,

 

Have a great weekend!

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 4
(3,317 Views)

Thanks, my colleague already provided me with the right information!!

 

Have a nice weekend...

regards

0 Kudos
Message 3 of 4
(3,314 Views)
You can do the same (using a shift register) in a single cycled timed loop.

Make the constant at the beginning a U64. This timer will also run out
eventually (in 14600 years, at 40 MHz), but you won't see that happen.

Regards,

Wiebe.


0 Kudos
Message 4 of 4
(3,308 Views)