Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5674

VISA TCP/IP open connection does not work on localhost when network is disconected (VISA bug?)

$
0
0

Hi,

I have application (server) listening on TCP/IP and second application (LabVIEW client) connecting to it by VISA from local host (using raw socket). Everything works fine, until I disconnect all network cables (ie. there is no network connection in Windows), after that VISA open will return error -1073807343 (resource not found). The server is running fine, when I try tcp scoket from LV or another app, it will connect.

 

Is it some VISA bug/feature or Windows problem? Is there way how to avoid this?

 

I'm using VISA 18.0, Tried on two PC so far, my laptop (W10) and NI PXIe-1062Q (W7).

 

I'm including simple example demonstrating this issue. To make it (not) work unplug network cable and disable wifi, after that the visa client will not work.

 


Viewing all articles
Browse latest Browse all 5674

Trending Articles



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