Hi all I'm using the I/O Server function of LabView 2019, where I connect through Modbus Slave Labview. To understand LabVIEW acts as Slave and C# acts as Master and I pass from false to true some labview bool correctly. But now I needed to export double values from LabVIEW to C# and I created three variables 40001,40002,40003 as shown in the attachment. However, from C# and from ModScan32 the values instead of being 5.0 are 4.59e-40 and I can't figure out where I'm wrong.
If you are refering to the number indicators, you need to change how it's presented, right click on the indicator and change the Display format as Floating Point, the way you mentioned it's as Scientific.
Thanks for the answer anyway in the indicator I see the double value correctly and I pass it in write mode to the variable (Voltage,Current,Time). It's when I go to ModScan32 or C# that I read values like 4.59e-40 while maybe something else is written.
Remember that float values are on 2 registre addresses! (2x 16bit values)
And that float values in Modbus are singles in LabVIEW
You're right in fact ModScan32 should show me the correct value with the conversion done. So I think I did something wrong in LabVIEW