11-02-2016 06:34 AM
Look at my example, build an array of waveforms. Your Sine seems to have t=0 in the waveform, thus all Y values are positioned at x=0.
/Y
11-02-2016 07:02 AM
thanks yamaeda,
i tried your solution but they gave me this message
11-02-2016 07:21 AM - edited 11-02-2016 07:38 AM
You can use Build Waveform (+Unbundle) to convert from Cluster to Waveform.
/Y
11-03-2016 04:48 AM
i did it already and that doesn't work!!
11-03-2016 05:01 AM
11-03-2016 05:47 AM
hi GerdW,
how can i transform 2d array to 1d array without losing data.
I tryed to use index array but it's doesn't work.
11-03-2016 10:18 AM
Is the 2D array several channels sampled at the same time? If so, you can do the Build waveform in a loop, which'll extract a 1D each loop iteration.
/Y
11-04-2016 11:10 AM - edited 11-04-2016 11:11 AM
yes,it's a several channels sampled.i did a loop but when i want to connect the array's size to N it said that the size of the array is an array!!
11-04-2016 11:43 AM
i tryed to unbundle my cluster then i transformed my Daynamic Data to an d array of scalars and i bilt a new array (cluster's array+DD' array),after that i bundled all that and that gave me this result :
11-04-2016 02:24 PM
I have a suggestion that will help you and also help us to help you. Write the smallest program that you can that (a) gathers data from your device and (b) plots it. Get rid of all the other plots and as many other things as you can. Don't worry that it doesn't work, we'll help you "figure it out". Be sure to attach a VI of your code -- we can't work efficiently from a picture of the code.
Right now, I don't understand what you are doing and why you are having so much trouble (though when I see Dynamic Wires and Express VIs, I immediately start to worry). Making multi-channel plots of multi-channel data is something that LabVIEW does very well, and (usually) very easily. Starting with "simpler" code, you can probably figure it out by yourself, but we're certainly happy to help.
Bob Schor