LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa ethernet problems

Hello;

 

I am having some problems,

 I am using a serial  HHP bar code scanner to get data to lab view,  but I need to use ethernet,   thus  I convert to ethernet using "lantronix uds100 converter"

I configured lantronix converter with IP address and added to Max   and every thing seems to be fine

but the problem is when I trigger the scanner to read a barcode,  because the information never is read by my code

(I proved using serial VISA and works fine   but when I change to ethernet visa does not work and I get an error message

 

I will appreciate if someone can help me

 

error.png 

 

 

 

 

 thanks

 

 

 

0 Kudos
Message 1 of 3
(2,489 Views)

hello

 

now  I have communication with my serial  barcode scanner and I receive data to my VI through ethernet

but I am still getting " time out expired before operation completed"

 

any ideas?

 

 

0 Kudos
Message 2 of 3
(2,437 Views)

Hi,

 

If you are able to receive data to your VI but you still getting time out error messages, the reason could be you have specified a Return Byte Count for the read that is larger than the data trying to be sent back. The VISA Read VI is waiting for more data than is going to be sent from Ethernet device. This is why it receives the return data, displays it correctly, and still times out. You can see more information about it at the following link:

 

http://digital.ni.com/public.nsf/allkb/383FA277AE7A364F862571020074F3EA?OpenDocument

 

Regards,

0 Kudos
Message 3 of 3
(2,420 Views)