Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66684

Visa Read Hang (Not Timing Out!)

$
0
0

Hey y'all, I've inherited a bit of code, and everything seems to be working fine except for a part of the code that seems to hang indefinitely.  I tracked it down to a Visa Read, but I'm a bit confused, as there was a timeout set when openned of 10 seconds, and it definitely hangs for longer than 10 seconds (I'd even prefer it to timeout honestly)

 

This is the connection VI that is run during initialization

EthanHenry_0-1712285287047.png

 

It also makes it impossible to shut down the software, and I can't even seem to abort the VI that's reading, leading to me having to task kill software, and eventually restart the computer to get the VISA connection back.  Any ideas would be greatly appreciated, as I'm kind of at a loss 😕


Viewing all articles
Browse latest Browse all 66684

Trending Articles