Programmatically Setting the NI 9205/9206 Voltage Range

Updated Jan 4, 2018

Reported In

Hardware

  • NI-9205
  • NI-9206

Driver

  • NI-RIO

Issue Details

I want to be able to programmatically set the voltage range on each of my analog inputs on the NI 9205/9206 independently. How do I set these ranges?

Solution

If you want to be able to dynamically set the voltage ranges of each of your analog inputs on the NI 9205/9206, while the FPGA is running, you need to use an FPGA I/O Method Node. Follow these steps to accomplish this:
  1. Place an FPGA I/O Method Node on your FPGA VI block diagram.
  2. Right-click on the node and click on Select Item»[ Module Name ].
Note: You must select the entire module not the specific analog inputs.
  1. Click on the method text of the node and select Set Voltage Range.
  1. In order to identify the different voltage ranges supported for the NI 9205, right-click on the Voltage Range input of the method node and create a constant.
Note: You will only be able to set the voltage range for modules that have programmable input ranges.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful