Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

floating point modbus labview.

Hello , What is the Order of floating-point bytes in Modbus do labview ? I'm trying to do a supervisor for a meter kron , however to read the data , I need to change the configuration of floating point meter.
0 Kudos
Message 1 of 3
(4,480 Views)

Hi betows,

 

This document shows how LabVIEW stores data in Memory. refer to the link below and see if it helps.

 

http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/how_labview_stores_data_in_memory/

 

Best Regards!

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(4,469 Views)

Probably too late now but if anyone else comes along later and sees this, it depends on which API you're using. If you use IO servers its configurable here: http://zone.ni.com/reference/en-XX/help/371618G-01/lvmve/dsc_adv_attributes_setting/ (first word low?)

If you're using one of the modbus APIs it returns raw registers and you need to set the byte order based on your device. LabVIEW is big endian by default but that doesn't matter much.

0 Kudos
Message 3 of 3
(4,383 Views)