LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using modbus RTU via serial line, EXE not able to communicate

Visa Runtime Library is also embedded while making the exe. file. 

0 Kudos
Message 11 of 16
(533 Views)

COM1 Is present in VI but that is not working it shows the error 56, 

0 Kudos
Message 12 of 16
(527 Views)

Hi Wajiddjo,

 


@Wajiddjo wrote:

COM1 Is present in VI but that is not working it shows the error 56, 


Is COM1 also present in that other computer?

Is your device connected to the very same COM port?

Are you able to change the COM port in your executable, either by some preferences menu or (atleast) by using an INI file?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 16
(521 Views)

COM 1 shows in every computer but when i open it in my computer, these option are occurred and 4th option (ASRL3::INSTR) working, but when it comes to another PC it does not show any of the below option except COM 1

Picture 1.png

0 Kudos
Message 14 of 16
(516 Views)

Hi Wajiddjo,

 

those other options seems to come from an Ethernet-To-Serial converter.

Did you install the needed drivers for that converter?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 16
(508 Views)

Yes, I installed the drivers, from the website which was mentioned while purchasing the converter.

0 Kudos
Message 16 of 16
(481 Views)