Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple channel string format

I'm developing an application in VB6 for a USB-6009.  I need to sample analog channels 0,1,2,4 at a certain range (+10/-10) with respect to ground, but also channel 3-7 differentially at a different range (+1/-1).  Can I specify this with a channel string or do I have to create multiple virtual channels in the program?  The bundled example for analog input (Acq-Int Clk.frm) allows you to specify a channel string but I'm pretty sure whichever I enter it's sampling differentially.
 
Thanks,  Peter Chabot
0 Kudos
Message 1 of 2
(2,893 Views)

You will have to use multiple create channel function calls.  You can use one create channel function for the channels you want RSE, set your range to +-10V and use a channel string like this: "DevX/ai0:2, DevX/ai4".  Use another create channel function for the channel you want to measure differentially.  Set the range to +-1V, use the channel string: "DevX/ai3".  Use the same task name for both functions to add all channels to the same task. 
-Alan A.

0 Kudos
Message 2 of 2
(2,879 Views)