取消
显示结果 
搜索替代 
您的意思是: 

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

下载全部
0 项奖励
1 条消息(共 3 条)
3,535 次查看

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 项奖励
2 条消息(共 3 条)
3,527 次查看

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 项奖励
3 条消息(共 3 条)
3,522 次查看