Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting NI 9239 binary data

Hi there,
on page 15 of  the operating instructions for NI 9229/9239, I found the following statement: "Analog input C series modules in the system return uncalibrated binary data when used in a CompactRIO chassis. For these modules, you can apply calibration coefficients and convert the data to engineering units in software. Refer to the software documentation for information about converting data".
 
Can you direct me where exactly I can find the information? I cannot find it anywhere.
 
Thanks,
 
Dedy 
0 Kudos
Message 1 of 4
(4,213 Views)

Look in the LabVIEW/examples/compactrio/shared directory for the "binary to nominal" vi.  This takes the calibration constants which you read and transfer from FPGA and then the binary values transfered from FPGA. 

 

You can also look at the module specific examples and find the 9239 example.  this example implements the above. 

 

Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 2 of 4
(4,209 Views)
Hi,
thank you so much. I found some examples which implements this. They can be found in the Find Example under Help. I have implemented one of them. It is called Analog Input (FPGA).vi. Having specified the sampling rates to 500000 us,  I run this VI. I obtained the callibration coefficients etc. Unfortunately, the indicator of the channels do not show any change. The values shown by these indicators stay at zero. Do you have any idea what went wrong?
 
Dedy
0 Kudos
Message 3 of 4
(4,190 Views)
Hi Dedy,

Firstly, make sure that you are presenting valid signals on the analogue inputs that you wish to measure. Secondly, how are you running the VI? Is it being run from within a project such as the "Analog Input - cRIO.lvproj" example?

Regards,

Ian Colman
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 4
(4,166 Views)