-
Notifications
You must be signed in to change notification settings - Fork 965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minval and maxval for float32 in simulator #1658
Comments
datastore/simulator.py#633 it seems to do what it is supposed to do. I need to check it. |
I see it's not covered in our test suite, I will add a specific test and see what happens. |
I have now added a test case, and as far as I can see everything works as it should. Did you make the configuration within the "float32" label ? I added your values just to test. The test case retrieves 100 values and all are between minval and maxval. If you need further help, please add the pymodbus debug log, as the issue template asked you to do. |
Yeah I added it within the "float" block. Would it help to upload the entire json file? |
No, a debug log would help. |
Versions
Pymodbus Specific
Description
I have this defined in my json file for the simulator.
It does not seem to follow the minval and maxval values from what I can see. I am getting random Float values, so that works. But it isn't in between the bounds. Any ideas?
The text was updated successfully, but these errors were encountered: