LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Names for Waveform Chart

Solved!
Go to solution

I want to programatically select between the two types of x axis on my waveform chart.

 

1) Absolute time---> Custom Time Format-->AM/PM and HH:MM:SS

 

2) SI Notation with 3 Digits (Digits of Precision) and Hide Trailing Zeros selected. 

 

 

Does anyone know the property names for these attributes of the waveform chart? I tried looking into the list that come up when you make a property node for waveform chart. But I could not find it. I think I am certainly missing it. 

 

BTW, I have 2 waveforms in the same waveform chart. 

0 Kudos
Message 1 of 5
(3,349 Views)
Solution
Accepted by topic author Neuropotential
What you want is XScale.DisplayFormat.Format, XScale.DisplayFormat.Precision, and Xscale.FormatString. To see the correct format strings, you can right click, select Xscale>Formatting and in the property window, select Advanced Editing Mode.
Message 2 of 5
(3,341 Views)

I found the following codes for the format as follows:

 

%<%I:%M:%S %p>T  ---- For absolute time

 

%#.3p   ---- For  relative times....

 

I think the above format as string will be inputted to XScale.FormatString. I might not require Precision since, its already coded inside the format string. 

 

Can you let me know what do I require for Xscale.format (integer required)?

0 Kudos
Message 3 of 5
(3,330 Views)

Neuropotential wrote:

 

 

Can you let me know what do I require for Xscale.format (integer required)?


Turn on context help and hover over that property node.  It will tell you what each integer actually means for that property node.

Message 4 of 5
(3,327 Views)
Thanks its working for me now.
0 Kudos
Message 5 of 5
(3,310 Views)