LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Programming

Thank you for your reply. I would like to know the following.

 

I want to execute a while loop for 5 seconds, and restart after the 5 seconds has passed. Meaning, I want the while loop to restart every 5 seconds. How do i do this in labview?

 

Also, does labview support any time series segmentation methods such as sliding window algorithm?

 

Thank you very much

0 Kudos
Message 31 of 35
(733 Views)

I would advise a timed loop type. This loop will try it's best to run at the set pace.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 32 of 35
(728 Views)

Hello,

 

Thank you for your reply. By a timed loop, do mean a time delay inside the loop? I do not want the execution of the loop to be delayed. I want a while loop to run for a specified time and restart again. Kindly let me know how I can do this

 

Thank you very much

 

 

0 Kudos
Message 33 of 35
(727 Views)

Hi teddy_aua,

 can you describe what you try to do please? What do you make in the inner while loop? Maybe one loop with a case structure is enough.

 

Mike

0 Kudos
Message 34 of 35
(723 Views)

What do you mean by 'Start again'? A loop runs allways the only thing you can control is the number of runs and the pace of the loop.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 35 of 35
(717 Views)