02-01-2011 10:13 AM
Can anyone help me out there , all I would like to do is apply a clock function that will start from 00:00:00 and when the VI
stops I can make a record of how long the VI has been running. On the next start the VI should also reset back to 00:00:00.
If some one can make this VI and attach to the forum, I will be very grateful.
02-01-2011 10:59 AM
Can you post the code you've already written? If you're not sure where to start, you'll want to use Get Date/Time in Seconds at the beginning of your program. Put the same function inside your program's main loop. Subtract the two and wire that value to a numeric control, formatted to display relative time.
02-01-2011 11:03 AM
Pretty basic- NOTE: the indicator "Numeric" has display format as "Relative Time." As seen in the next Figure.
The Time format for indicators is a pretty powerful feature that can save a lot of hassle trying to make a time indicator.