01-30-2006 09:22 PM
01-31-2006 09:54 AM
Hey Peter,
I don't have LabVIEW installed on this machine, so I can't verify this, but I think you should be able to wire the task output terminal of the DAQ Assistant to a property node and get a list of the channels names.
01-31-2006 12:27 PM
01-31-2006 09:30 PM
02-01-2006 09:52 AM
Hi Peter,
The DAQmx Task Property Node that I was referring to is located in Measurement I/O >> DAQmx >> Task Configuration/Control. Once you place the property node on the block diagram, select "channels" and wire the task output of the DAQ Assistant into the Task input of the property node and create and indicator out of "channels" and run the code. You should see the channels in the task in the indicator.
Regards,
Hal L.
02-01-2006 11:37 PM
07-12-2006 10:09 AM
Hi I'm a complete newb to making a VI. I came across this post and what I want to do is combine the data from the daq assistant and the channel name in a single array. I have my channels setup, data coming out, and used the above to extract the channel names. Now I want to combine the 2 arrays in a single one.
thanks
07-13-2006 04:38 PM
Hi,
You can't combine different data types into an array. You want to include the channel name (string) with the channel data (numeric). To do this, you can make an array of clusters, where each cluster contains a string (channel name) and an array (your channle data). To do this, use the array and cluster VI's located in the "Array and Cluster" palette. For examples with arrays and clusters, go to Help>>Find Examples>>Browse Tab>>Fundamentals>>Arrays and clusters.
Post to let us know if you have further questions.