12-13-2012 06:36 PM
Hi, I am new to LabVIEW. I'm looking for help with my vi, which has a while loop for wave forms (currently from a simulator) written to a text file. I wish to run the loop conditionally according to time stamps. I have time stamps for the start time and end time and current time on my front panel, and I wish for my while loop to run continuously until current time=stop time. I'm having a hard time finding any example code for this (simple?) operation, and I would really appreciate help. Ultimately I want time stamp info to incorporate into my data file but not the priority now. As you can see my code is a mess right now.
Solved! Go to Solution.
12-13-2012 07:34 PM - edited 12-13-2012 07:35 PM
Use an elapsed timer. Subtract the start time from end time and wire the result to the Time Target of the Elapsed Timer. The Elapsed Timer will be in your loop. Wire the "Time has Elapsed?" boolean to your loop conditional control.