LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the time/date text of a float indicator be displayed on a single line?

Very simple question: is it possible to get the time+date numeric text format for a float to display on a single line instead of time on top line and date on a 2nd line? I am frustrated trying to get parallel arrays of timestamps and data to line up on the front panel. I am handling potentially large data sets (30+MB), and don't want to have to convert all the timestamps to strings.
0 Kudos
Message 1 of 4
(2,760 Views)
Are you using LabVIEW 7.0? If so, you can set the format string to do that. Right-click on the control and select "Format and Precision". Select the "Advanced editing mode" radio button on the button and type the string "%<%X %x>T" into the Format string field at the top.

You can read more about the different format strings in the help.
0 Kudos
Message 2 of 4
(2,760 Views)
Nope, I'm using Labview 6.1.
0 Kudos
Message 3 of 4
(2,760 Views)
6.1 has only two formatting choices for time: absolute or relative. One thing you can do is format the strings yourself and use an array of strings instead.
0 Kudos
Message 4 of 4
(2,760 Views)