07-28-2009 09:34 AM
We have a PCI-6036E DAQ board, use driver Traditional NI-DAQ (Legacy) C, Version 7.xx. Currently the input range is set to -+5V use function
SCAN_Setup (deviceNumber, numChans, chanVector, gainVector).
The gain vector is set asshort piGainVect[8] = {1,1,1,1,1,1,1,1};
Now we want to set input range to -+10V. Is it posible and how to do it?
Thanks!
Jiachun
07-29-2009 01:03 PM
Hello Jiachun,
Thanks for using NI forums. The PCI-6036E has four software selectable input ranges, one of them being +/-10V. According to the E Series User Manual, a gain of 0.5 will give you an input range of +/-10V. All of the gain settings require an integer value, but according to the DAQ Device Gain Settings table (in the Traditional NI-DAQ (Legacy) C Function Reference Help) you need to use a value of -1 in order to receive a gain setting of 0.5. The Traditional DAQ help file can be found by going to Start>>Programs>>National Instruments>>NI-DAQ>>Traditional NI-DAQ Function Reference Help. This should work for you but please let me know if you run into any problems.
Have a nice day,