ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview modbus

hi,

      i am using labview modbus library version 1.21. while i reading the value i got only U16 format. how can show the decimal point here?.  i got only temperature value 232 instead of 23.2 deg C.

 

does any modbus library has for read a float data format....?  

Regards,
Balaji DP
0 Kudos
Message 1 of 3
(2,771 Views)

This is what is comming back from the device, what is the device, the translation is usually in the communications manual.

An example is a eurotherm, gives back a u16 and a different register holds the decimal places U16 - 19500 and 3 decimal places = 19.5C.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(2,764 Views)

Most likely just divide by 10.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,763 Views)