From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

attach arrays and show in a graph

Solved!
Go to solution

Hi I have 2 arrays and I would like to merge them together to show in a graph.

Consider the value of X for one of them is from 0 to 250

and the second one from 250 to 500 and I would like to see the graph from 0 to 500 just when both arrays are available it means that I would like to see nothing when 0 to 250 is available but when I have also the second one I would like to see the trace in one go and wait for the next update. Would you please help me with this code

0 Kudos
Message 1 of 3
(1,966 Views)

Just build the two array and change the Build array to concatenate. For plotting Check the array size and display it only when the expected amount of data is available.

 

Good luck

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(1,964 Views)
Solution
Accepted by topic author tintin99

You can do like this.

 

Array to graph 1.png

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 3
(1,962 Views)