Error -1967353900 When Using Modbus IO Server via Serial Port

Updated Nov 27, 2019

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I'm using ModBus IO Server in LabVIEW DSC module to communicate with a device using a RS-485 to USB converter. I was able to install the converter driver and communicate using the converter vendor's application, but when I go to LabVIEW, the bound variable in my VI returns the following error:

Error -1967353900 ocurred at Shared Variable in Untitled1.vi

Possible reasons: 

LabVIEW DSC: (Hex 0x8ABC8FD4) The Modbus I/O server failed to allocate a serial port. Ensure that the specified serial port is available.

This error or warning occurs while writing the following Shared Variable
\\MyComputer\ModbusMaster\'4000001.1'
\\127.0.0.1\ModbusMaster\'4000001.1'

 

 
How can I troubleshoot this error?

Solution

That error occurs when the NI Variable Engine cannot allocate the serial port to perform the modbus communication. Here are some troubleshooting steps you can try: