Skip to content
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

Add support for float arrays #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NomAnor
Copy link

@NomAnor NomAnor commented Jan 13, 2023

I needed to read an array of float values from a modbus device into a waveform record and could not find the support in the modbus driver, so I added it myself.

I added the necessary functions by copying the existing int32 array functions and changing the readPlcInt32 calls to readPlcFloat calls. I also added templates and a paragraph to the documentation.

I don't have any of the ui programs so maybe someone with access to them could add a ui panel.
I also was not sure about what to add to the iocTest code.

I tested the code with Epics Base 3.15.9 and asyn 4.43.

Float arrays use the same logic as int arrays.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant