LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't plot cluster on waveform chart.

This problem may have been solved already but in a quick search, did not find a solution and with lack of time to continue searching, I'm posting my own question.

 

I am trying to plot multiple signals on a waveform chart.  I am reading these signals using a cRIO.  I can plot one at a time on a waveform chart but can't get the chart to accept more than one. It's probably something silly but I cannot figure it out to save my life so please help!

Chart Problem.jpg

0 Kudos
Message 1 of 5
(3,978 Views)

Try using build array instead of bundle into a cluster.

 

Rob

0 Kudos
Message 2 of 5
(3,974 Views)

I looked into the build array but it comes out as a 1D array and I want 3 plots and I know you can manipulate that but it shouldn't be that hard to get these signals to plot on the same chart.  Every help document and example shows that to plot multiple plots on a waveform chart, put data into a cluster and connect to waveform chart.  Is there a property setting or something that I'm missing?  I changed the property to plot 3 plots and it still won't accept the cluster.

0 Kudos
Message 3 of 5
(3,969 Views)

Take the output of your build array and pass it to a second build array (with just the one element). This will convert your 1D array to a 2D array and you should now see all three traces on your chart.

0 Kudos
Message 4 of 5
(3,961 Views)

What of you would simply insert a "To DBL" after bundling? Since FXP gets coerced anyway (in the single plot case), there is no use keeping it FXP.

0 Kudos
Message 5 of 5
(3,951 Views)