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

Read DAQmx: timeout too long

$
0
0

Hello,

 

The DAQmx Read VI does not seem to take the timeout I set into account: when the connection with my cDAQ 9181 is lost, I would like the Read VI try only once to read the data and quicly return an error instead of waiting for 10+ seconds.

 

The attached screenshot summarizes the problem: I let the while loop run for a while normally before to unplug the ethernet cable from the cDAQ to simulate a network failure. As you can see, it took more than 18 seconds for the Read VI to return an error although I set the timeout to 1 second.

 

I am obviously misunderstanding something, but what?

 

The module is a NI-9206

 

Thank you!


Viewing all articles
Browse latest Browse all 67231

Trending Articles



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