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

VISA Seesion ID lost during write function

$
0
0

I am having an issue with the session ID getting lost at random times.  Sometimes it disappears right when entering the subvi, other times after a property node, this time shown in my attachment is during the 'Write' function.  I am trying to talk RS485 to an ICP CON module (I-7063) via the Ethernet port and an Ethernet to RS485 converter module (ICP CON 7188E8D).  This happens on my desktop PC using a USB 3.0 to Ethernet adapter and with an embedded PXIe controller connected directly to the ethernet port.  Most times it runs as it is supposed to but if you wait long enough (about a minute of retires), it will fail at a random location.  When it happens during the Write function, the Read function doesn't have a session to get data from so the code following will error.  Any thoughts as to why this may be happening? 

LV 2012 SP1

Windows7


Viewing all articles
Browse latest Browse all 5667

Trending Articles



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