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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two 1D arrays to cluster to waveform?

This seems like an easy fix, but I can't find it. Maybe I'm not searching for the right word combination.

 

I would like to plot two (1x8) arrays on the same waveform. The variables come from my instrument in chunks of 8 data points each. I would like to capture all 8 points for each variable and plot them in real-time.

 

Attached is a simple for-loop to build the array. I can't connect my array-cluster to the waveform chart. How/where do I change the settings/type so they can be plotted? Should I be doing this differently?

 

Thanks!

0 Kudos
Message 1 of 2
(2,143 Views)

Take a look at the "Charts" example in the Example finder.  Your code, even when the graphs are wired properly, will only graph the last point due to the use of a shift register around the for loop where you probably want a tunnel.

0 Kudos
Message 2 of 2
(2,140 Views)