LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use external data for x axis of a graph

Solved!
Go to solution

Hi,

 

I am looking for a way to use external values (from a tdms) as x axis values in a graph.

Just like you do in excel where you select a column to use as the x axis values.

 

The first channel of the tdms holds the values of a counter. (xx.yy secs)

I cannot find a way to use these values as x axis reference.

 

Thanks in advance.

Download All
0 Kudos
Message 1 of 4
(2,905 Views)
Solution
Accepted by topic author F.Willems

Hi F.,

 

why do you use a SplitSignals Express function to index elements on a waveform array? (Get rid of ExpressVIs and DDT as much as possible…)

 

On your question: get the Y component of your waveforms and build a XY graph from them!

 

Like this:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,894 Views)
Solution
Accepted by topic author F.Willems

You actually want to use an XY Graph.  You use a Bundle to create a cluster.  The first item is an array of the X values and the second item is an array of the Y values.  This cluster then gets wired up to the XY Graph's terminal.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 4
(2,892 Views)

Thank you guys !

My search quest ended Smiley Happy

0 Kudos
Message 4 of 4
(2,852 Views)