Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

9237 FPGA I/O NODE is the wrong data type

I have been having a lot of trouble with the binary to nominal conversion on the 9237.  The conversion proceedure shown in the 9237 getting started example is not working for me.  I think the reson i am having trouble is that in the example code the FPGA I/O nodes output an unsigned int, while the FPGA I/O nodes in my project output fixed piont numbers.  If anyone has seen this problem before, or if anyone knows how I can recover my 9237 data from a fixed point please help
0 Kudos
Message 1 of 2
(3,055 Views)

Starting with NI-RIO 2.4 the default data type on analog modules is the new fixed point data type.  When you use the fixed point data type, the module will return calibrated values.  That is, you don't need to use the binary to nominal conversion vis anymore. 

If you want to use the binary to nominal conversion vi's then you can change the settings on your module to return binary values.  The examples you are looking at will then work.  To change these settings, right click on the module in the project and change the "Calibration Mode" from "Calibrated" to "Raw".

However, the fixed point data type IMHO is much nicer thant the raw non calibrated values.Smiley Happy

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 2
(3,048 Views)