From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Adjust DAQ voltage range in C

Solved!
Go to solution

Hi

 

I am trying to run a USB-6211 in C++ and I wish to alter the voltage range from (-10V to10V ) to (-1V to 1 V). Can I simply change the minVal and maxVal in DAQmxBaseCreateAIVoltageChan call? Or do I need to adjust the device itself and recalibrate. 

 

Regards

Simon

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

Hi

 

Just wondering if anyone has thoughts on this issue?

0 Kudos
Message 2 of 3
(2,600 Views)
Solution
Accepted by topic author zepp2

Hi Simon,

 

Thanks for your post. You are correct, you just need to change the minVal and maxVal in the DAQmxBaseCreateAIVoltageChan call. The DAQmx base driver takes care of the hardware from the range you select, you do not need to re-calibrate your device of adjust any of the hardware.

 

Regards,

 

Ben B.

Applications Engineer
National Instruments UK & Ireland

"I've looked into the reset button, the science is impossible!"
Message 3 of 3
(2,594 Views)