09-01-2021 12:28 PM
I am trying to plot two equal length sets of data in a single waveform chart. Other posts have shown the method to use as using the bundle cluster node to combing the two sets of data into a cluster which is then wired to the waveform chart. However when I try this I am getting a wiring problem stating that the source is composed of two elements whereas the sink is of type double. It is possible to plot the two data sets separately but what I want is to combine the two datasets in a single waveform plot. Please see the attached image for the error.
Solved! Go to Solution.
09-01-2021 01:00 PM - edited 09-01-2021 01:16 PM
Use "built array" to create a 2D array, possibly transpose if needed. Alternatively, use "index and bundle cluster array"
(The bundle is to form X and Y data for an xy graph, not applicable here. It only works for charts if the inputs are scalar.)
Are you sure you don't want a graph instead of a chart? (Do you know the difference?). How big are these arrays? What is the chart history length?
You can get significantly better help when you attach a simple VI instead of a truncated picture. Please do so! Where does the data come from/ What does it represent? How often does it change? I am sure there quite a few other working alternatives.