09-26-2009 02:10 AM
I am new to LV.. and the concept of Clusters..
I have one sample program of two channel oscilloscope..
The waveform control is having pink border...but when I am trying to do same thing..my control is coming with orange border..
What property do I need to change to make my waveform control compatible to a access cluster of input signals.
09-26-2009 07:50 AM
09-27-2009 01:06 PM
The color of a wire/control/indicator is indicative of the data type.
The pink color you are seeing means that your data is in a cluster.
The orange color you see means your control is either double or single precision float.
A cluster of data can be sent to an XY graph, but not a waveform chart/graph.
To use a cluster for an XY graph, you should have a 1D array of X data clustered with a 1D array of Y data.
I'm assuming this is not what your cluster is right now.
You probably have a cluster with both channels of data from your oscilloscope.
Use the 'unbundle' function to extract both arrays of data.
Then build an array of each of the two 1D arrays. Pass this newly created 2D array to a waveform chart, and you should be all set.