• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About wolftek

  • Rank
  1. wolftek

    Data Conversion

    I am having a problem with data conversion using modbus TCP. From what I can gather my data in DAQ is 64-Bit floating point. I am trying to write to a modbus register that is 32-bit floating point. Therefore there is a overflow into the next register. Modbus_Reg = 2756 Device.Ft_RMC.SetRegisterFloat(0, Modbus_Reg, Data]) //Modbus Register #2756 is a 32-Bit floating point register. "Data" is a 64-Bit floating point. So the question is how do I convert the 64-Bit Floating Point to a 32-Bit Floating point. Thank you,