01-25-2007 10:17 PM
01-25-2007 11:00 PM
You create your channel list with the DAQmx Create Channel. The format of the list is Dev1/ai0:ai5 for example if you want continuous channels or Dev1/ai0, Dev1/ai3, Dev1/ai5 for example for non-continuous channels. The channel control/constant has a little arrow on the right side. To make it easy. click on it and select Browse if you want multiple channels. The same function has inputs for min and max. If you want different settings for different channels, use separate Create Channel functions for each or use a single one inside a for loop with an array of values outside the loop. The DAQmx Timing function sets the acquistion rate and DAQmx Read has an input for number of channels. You separate multiple channels the same way you did before. Use an Index Array function or you can use the new Split Signal function.
You should check out the information at http://zone.ni.com/devzone/cda/tut/p/id/5434 to help you get started with DAQmx. There are also a lot of shipping examples. You could also try the DAQ Assistant. After you've set up the assistant, you cna right click on it and select Open Front Panel to see the actual DAQmx functions.
01-26-2007 09:03 AM
01-29-2007 12:25 AM