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.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the x axis to something other than time?

I've searched and couldn't find an answer to this. I need to plot load vs cycle count, and I cannot figure out how to change the x-axis from time to cycle count. In other words, I want to read the load on the y axis, and I want the plot updated everytime a cycle occurs.

0 Kudos
Message 1 of 5
(6,058 Views)

tavwtby,

 

You can change the name of the scale on the x-axis in the Scales tab of the Chart Properties Dialog Box (Right Click » Properties).  To have a plot update each time it recieves a new value, use a Waveform Chart (Controls » Graphs » Waveform Chart).  You can also change the Update Mode from Right-Click » Advanced » Update Mode.  See this link for more details:

 

http://zone.ni.com/reference/en-XX/help/371361G-01/lvprop/wfmchrt_updt_mode/

  

Drew T.
Camber Ridge, LLC.
0 Kudos
Message 2 of 5
(6,048 Views)

1). When I want counts vs. amplitude, I think "Histogram". Investigate the Histogram PtByPt.vi. See below for a graph example.

 

2). You're in the wrong forum, belongs in LabVIEW. Smiley Wink

 

HistogramChart.png

Richard






0 Kudos
Message 3 of 5
(6,044 Views)

PtByPt.vi s for plot discrete data in histogram graph.. i want to plot continuous data (x-axis being voltage) and y-axis being counts

Krithika
0 Kudos
Message 4 of 5
(5,898 Views)

Kriti,

 

Have you looked at something like this:

 

https://decibel.ni.com/content/docs/DOC-4152

Drew T.
Camber Ridge, LLC.
0 Kudos
Message 5 of 5
(5,885 Views)