LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read timeout error

Good day to all,

 

I have this problem with my LabView program. It is being used to interface with a Energy Meter to retrieve the data. I am able to execute "Open" and "Write" VISA, but am unable to execute "Read" VISA. Attached below is the screenshot of the error.

 

error

 

EKI1521 is being used to interface serial connection from the meter to ethernet, connecting to the computer with

labview program. Attached are the settings for the EKI1521.

2.png

 

This is extracted from the main program after narrowing the problem down to the VISA Read function. The subVIs in this program are proprietary protocols of the meter and does not contribute to this Reading error.

 

It might be interesting to note that I am able to run another program to interface with another meter using Modbus protocol. It also used the same EKI1521 with the correct VCOM settings. (This should free the EKI1521 from any faults). 

 

Thanks & Regards,

Andrew

Download All
0 Kudos
Message 1 of 3
(3,247 Views)

Hi,

Stop me if I make a mistake, but you don't set Visa properties in your Labview code (type, baudrate... etc).

Best regards,

V-F
0 Kudos
Message 2 of 3
(3,239 Views)

I noticed you have the number of bytes set for 51. Are you sure the device will send that many bytes? It might time out while waiting for more bytes. 

0 Kudos
Message 3 of 3
(3,234 Views)