10-31-2025 12:29 AM
I want to implement Modbus protocol over RS-232 for my SBrio board. is it possible and how ?
Solved! Go to Solution.
10-31-2025 02:07 AM
in sbrio 9638 can i use modbus communication, if it's possible how ?
10-31-2025 02:29 AM - edited 10-31-2025 02:48 AM
Hi AJAYY,
@AJAYY06 wrote:
I want to implement Modbus protocol over RS-232 for my SBrio board. is it possible ... ?
Yes.
@AJAYY06 wrote:
and how ?
By writing code.
What have you tried?
Where are you stuck?
Which (specific) software environment do you use?
Did you try any of those ModBus libraries from VIPM?
10-31-2025 02:47 AM
Hi AJAYY,
@AJAYY06 wrote:
in sbrio 9638 can i use modbus communication, if it's possible how ?
Please stick with your thread instead of creating multiple threads/discussions on the very same problem!
11-01-2025 05:08 AM - edited 11-01-2025 05:09 AM
@AJAYY06 wrote:
I want to implement Modbus protocol over RS-232 for my SBrio board. is it possible and how ?
And why do you want to implement it yourself? There are about at least half a dozen existing libraries that do this in more or less similar ways. A quick search offers these options but I'm sure there are more:
https://www.vipm.io/package/ni_lib_modbus_library/
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LP9SAM&l=nl-NL
https://github.com/plasmapper/modbus-client-labview
https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019
https://github.com/NISystemsEngineering/LabVIEW-Modbus-API
And some knowledge article from NI about how it principally works and what are some of their options:
I usually go with the second option above. It has its particularities that I would have solved differently but it does the job and is fairly easy to use.