Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5359

Issue connecting to Barcode Scanner using ConnectToTCPServer

$
0
0

Hello everyone,

 

I am having a weird issue when using ConnectToTCPServer  to connect to a barcode scanner. 

 

The first attempt at connecting will always fail due to a timeout error, but then if I immediately call the function and try again, it connects without issue. I have tried increasing the timeout value to see if that was the issue, but no matter how large I make it, it will always fail on the first attempt.

 

I am using the same function to connect to a printer, and I am having no issues with that.

 

Has anyone experienced this issue before or know how I can resolve it?

 

Thanks!

 

 

 


Viewing all articles
Browse latest Browse all 5359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>