From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DigitalWaveformGraph with Time on X axis

Is there an example anywhere of using the DigitalWaveformGraph with time on the x axes.  I have tried creating a WaveformTiming object and to set the interval, but no luck. 

Thanks for any help.
0 Kudos
Message 1 of 2
(2,873 Views)
The XAxis of the digital graph controls this. You can set it to display time by setting the display mode of the XAxis to DigitalAxisDisplayMode.Time like so:
digitalWaveformGraph1.XAxis.DisplayMode = DigitalAxisDisplayMode.Time;
0 Kudos
Message 2 of 2
(2,862 Views)