03-21-2011 08:53 PM
Hi all,
I'm pretty new to LabVIEW, and I'm trying to set a Time Stamp Control to relative time. I put the control on the form, then right click and choose Display format. I choose Date unused, then advanced editing. The control has a box with this in it:
%<%H:%M:%S>T
After I change the big T to a little t, the Valid indicator turns red. What am I doing wrong?
Thanks,
Simon
Solved! Go to Solution.
03-22-2011 02:31 AM
Hi,
Normally you don't have to edit that string. If you set it to date unused, and select at the bottom left "relative time", it should do what you intend to do 😉
03-22-2011 03:24 AM
The timestamp control only allows absolute time formating. You'll have to use a normal numeric for relative time (which can also display absolute time but not vice versa).
03-22-2011 07:07 AM
Got It! Thanks to both of you!
03-22-2011 08:18 AM
You can use LabVIEW units to set the relative time to minutes, hours, days, etc... and add this to the timestamp.
See Jim Kring's blog entry for examples: