Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Referenced single-ended voltage configuration with VB6

Hello, I'm trying to control my USB-6008 with Visual Basic 6.  It should be able to take referenced single-ended voltage measurements, but I can't seem to find the right argument to use in DAQmxCreateAIVoltageChan.  The C reference says to type 'DAQmx_Val_RSE' but there doesn't seem to be a correlating argument for vb6.  The only thing that works is 'DAQmx_Cfg_Default' which sets it to differential mode.  Maybe there's a way to change the default setting on my DAQ?  If there's no way to measure single-ended voltages with VB6, I'll be very upset.  That's why I got this thing!
 
Thanks
0 Kudos
Message 1 of 2
(2,934 Views)
OK, I found the argument 'DAQmx_Val_InputTermCfg_RSE' by searching the object browser, I guess I just didn't look hard enough before.  Maybe this will help someone else.
0 Kudos
Message 2 of 2
(2,916 Views)