ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

pci-6036e gain setup

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 as  

short 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

0 Kudos
Message 1 of 2
(3,095 Views)

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,

0 Kudos
Message 2 of 2
(3,082 Views)