Hello,
I am using the beta version an trying to write float values with precision 1 to an slave running as a windows service. The problem is whatever float value I set in the register box, it is automatically transformed to a number with the format of integer(0-9) E+N. For example, if I put 27.1, it is transformed to 3E+02.
As it is a beta version, maybe the float numbers is not fully working, but if you may share the source code of that version I could probably solve the problem myself.
Thanks
Anonymous
Hello,
thanks for writing in. You can download the sources from SourceForge site.
Regards
I do apologize, but I cannot find de sources of the Beta version 5.3 . I only see
qModMaster-code-0.5.2-3.zip
Thanks
Hello.
from the QModMaster page in SourceForge select 'Mercurial > Main' and then 'Download Snapshot'.
Regards
Hi, and many thanks.
I have solved my problem. If you select float value from the GUI to write float numbers, the spin box placed to the right and labeled
precisionis not the number of decimals you want to have after the decimal point, but the total number of digits the float number will contain.So, if you set 'precision' to 1 an try to write the float '27.1', the float value is rounded to 3E+01.
To write '27.1', precision must be set to 3.
Regards
Float is not working indeed