12-07-2006 03:15 AM
12-07-2006 04:09 AM
usualy a list/group of physical channels are specified to a scan list.
For example, let the scan list be Dev1\ai0,Dev1\ai1, Dev1\ai2
Depending on the instance of 'DAQmx Read' ( its a poly morphic vi) selected , data can be read in any of below
N channels 1 sample, Data in 1D arrray format [aio,ai1,ai2]
N channels N samples( 2D array), Here each row of 2D array corresponds to one channel's data. Row0: data of ai0, Row1: data of ai1, Row 2: Data of ai2
N channels N samples(Waveform): Data in 1D array of waveform clusters with 0th element being waveform cluster of aio and so on
You have to use array functions to index out the required channel's data, build a new array of the selected cahnnel's data and save this resultant array
12-07-2006 07:46 AM
Thank you for your feedback.
I'm not sure how to implement the scan list you are referring to.
What I have done so far, is to create an array of all the available channels. Attached is the program for this.
What is desireable is to have a select function like the one I found a picture of in the forum. See attached picture.
How can pick out the elements in the array and write them into this box?
Thanks in advance for all answers