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.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Data Type for FPGA I/O Node

I am looking at some of the sample code that came with a sbRIO-9631. In Exercise 3, there is a sign wave generated on AO0. The data type for that output is I16. When I copy that code into one of the other examples, the data type changes from I16 to fixed point (FXP). Can I change the data type for the FPGA I/O Node from fixed point to I16?

 

Thanks!

 

0 Kudos
Message 1 of 2
(6,268 Views)

Hi Machanix,

 

For the analog input and ouput modules, the data will either be a fixed-point or integer number which corresponds to either calibrated or raw data. Calibrated data will come in as a voltage and raw data will come in as an integer value which corresponds to a voltagea value. If the module you are using supports different data outputs, you can right-click on the module in your project and navigate to the properties of that module. This will allow you to choose the Calibration Mode if your module supports both types of modes. 

 

Forum1.png

Forum2.png

Tannerite
National Instruments
Message 2 of 2
(6,237 Views)