LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Modbus Error 56 after windows update from 7 to 10

Hi,

 

I have a Modbus device that is not working any more. It was working very well till last week, but then we had to update the PC to Windows 10. After that, the Modbus device is giving error 56. Initially I thought maybe it's because the COM port changed. But when I checked the program in highlight execution mode, I saw that the first part of the program that is Modbus initialize where we initialized the COM port, give slave ID, set it to RTU, set baud rate, parity and flow control, there is no error here. I was expecting error here. The error happened in the second part that is write multiple holding registers where I enter the value to configure the device to input or output. This was working perfectly till last week. Now since Windows 10 update then it is giving error 56. Can anyone help me as to why this is? Thank you. 

0 Kudos
Message 1 of 2
(748 Views)

Hi, I have found the solution that com port has changed. But now i changed the com port and now there is a new error. There is a third part to the program which is write and read multiple holding registers. And now this is giving error 538172. Why is that? The device is input output device. So when you set it to output then the write of write and read multiple holding registers and when it is set to input then the read of write and read multiple holding registers is used. But here the read is the problem. Because when I use it as output then the device works perfectly even though an error is generated. But when i use it in input mode to see which inputs are on then there is a problem. So why is this error happening. Also this error is new, it didnt happen when the system was running under windows 7. Thank you. 

0 Kudos
Message 2 of 2
(719 Views)