When i use viReadAsync to do a asynchronous read, the read call isn't executed
asynchronous, but synchronous and returns (after timeout) with VI_SUCCESS_SYNC
without having read anything. I have enabled events(IO_COMPLETION).
I'm developing a multithreaded program to read and write to/from serial ports
using VISA (2.0) and don't want my threads using 100% processor time.
Why doesn't the viReadAsync() function execute asynchronous?