11-01-2019 06:56 AM
I have a task to read and control a device that operates with a PLC. The device has an HMI, like a LabVIEW GUI, and the internal communications uses the Modbus MTU(?) protocol. The customer wishes to remotely monitor specific operating parameters and controls (standby, run, stop) for this device with their LabView system. After reading a few pages on line I see that I would use Modbus, and to use Modbus I need a DSC module installed.
I have LabView 2014 (32 bit) operating on a win 10 (64 bit) computer (I have LV 2017 but it has not been installed because all of our applications are written with 2014). I need some help setting up my computer so I can create a VI to access the device and remotely control and store data. Do I need to purchase the DSC? Isn't it part of the 2014 development software?
11-01-2019 08:16 AM
I dont believe you need the DSC module. There is a free modbus library using the VI package manager. Search for Modbus.
I would recommend trying to communicate locally using the Modbus RTU if possible or just Modbus TCP using a crossover cable locally before you try to navigate through a business network.
11-01-2019 11:09 AM
That library is also now on GitHub now. If you download from VIPM some of the VIs will be locked but they aren't if you download the source from GitHub (needs to be fixed I just don't think anyone remembered that the build process locked some VIs when the repo was transferred over).
https://github.com/NISystemsEngineering/LabVIEW-Modbus-API