I couldnt find a way to enter values as IEEE754 floats (32 bits). It could be a great improvement for simulating devices using that (IE: Eastron SDM230 Energy monitor).
Jean-Philippe,
All that you need to do is to go to the "Fmt:" field at the top center of the main screen and select "float 32". Now when you enter a number it will be converted to the IEEE754 format of 32-bit and placed in the register selected and its following register. This can be confusing when looking at the display because it is not possible to determine which is the beginning set of bits. Therefore, the display shows the converted "float 32" number at each beginning position and the value shown at the second position will be read most times as a garbage number. You can now change the "Fmt:" back to "hex" to see the values in hex again. You can use the checkbox for "Clone" to reverse the order that the display stores the input number. In other words, this will reverse the two 16-bit packets when you enter an input or output so that the program reading the data can use low bits first or high bits first.
Hopefully this helps. Let me know if you have any questions.
Thanks, Doug Lyons
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jean-Philippe,
All that you need to do is to go to the "Fmt:" field at the top center of the main screen and select "float 32". Now when you enter a number it will be converted to the IEEE754 format of 32-bit and placed in the register selected and its following register. This can be confusing when looking at the display because it is not possible to determine which is the beginning set of bits. Therefore, the display shows the converted "float 32" number at each beginning position and the value shown at the second position will be read most times as a garbage number. You can now change the "Fmt:" back to "hex" to see the values in hex again. You can use the checkbox for "Clone" to reverse the order that the display stores the input number. In other words, this will reverse the two 16-bit packets when you enter an input or output so that the program reading the data can use low bits first or high bits first.
Hopefully this helps. Let me know if you have any questions.
Thanks, Doug Lyons
There has been no response from the reporter for about 10 days, so I am closing this now.