Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
I have a plc which communicates using Modbus TCP IP with my Lab view code.
I want to develop my code such that the reconnection happens automatically whenever I remove my ethernet cable and connect again.
Go to Solution.
I was suggesting putting a VISA close function and wire your module ports reference to it before closing the ModBUS communication.
Continuously check for error. If there is no error then pass the modbus reference. If there is any error disconnect the reference and create new reference as below image.
What do you need our team of experts to assist you with?
We'll be in touch soon!