LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'am having problem with a graph property node by using format & precision

I would like to display an amount of data in a waveform graph and to choose the X scale to display absolute time (whitout date information) or scaled decimal value.
Absolute time is a must because the scaling should reflect the acquisition time and not only a value in hour, minute and second.
Using the property node I can choose between 10 differents formats (0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, and 9-Custom).
 
Format 7 - Time and Date should be a good choice but LabVIEW set automatically system time AND system date without any possibilities to change anything.
 
Trying format 9 - Custom ends everytime with error 1077 (invalid property value).
 
Any help to explain me how to use the format Custom or to give me a solution to switch between time (no date) and decimal scaling is appreciate.
 
Thank 
0 Kudos
Message 1 of 3
(2,740 Views)

In addition to the Xscale.Format property node, you also need to set the XScale.FormatString (see a little below the Format entry).

Use %<%.0X>T as format string.

Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,734 Views)
Thank You chilly charly, it's work perfectly. All the time, I was searching the XScale.FormatString at  the wrong place.
 
Philippe
0 Kudos
Message 3 of 3
(2,723 Views)