08-09-2006 01:56 AM
08-09-2006 07:12 AM - last edited on 03-15-2024 04:27 PM by Content Cleaner
Hi Pascal,
You could try the Modbus LabVIEW Library. This is a bit buggy as can be seen by the comments on the download page, but should give you a big boost in creating code to program your instrument.
Hope this helps you.
Regards
JamesC
NIUK and Ireland
08-09-2006 07:52 AM - last edited on 03-15-2024 04:27 PM by Content Cleaner
This thread has an example to read holding registers over ethernet.
https://forums.ni.com/t5/LabVIEW/Modbus-examples/m-p/249832/page/2?view=by_date_ascending
08-09-2006 09:59 AM
Look at the Labview DSC add-on module. Not cheap but it makes modbus communication very simple. Three steps:
1 - Create and configure a modbus server for either TCPIP or serial communication.
2 - Create and configure shared network variables that are bound to the Modbus Server. Each variable is configured to points to a particular register or bit in a register.
3 - Place the shared variables in your vi and simply read or write to them.