ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sync/async GPIB commands?

Whay are there no synchronous/asychronous flavours of GPIB 488.2
commands like the traditional GPIB commands?
~paul prew
0 Kudos
Message 1 of 2
(2,956 Views)
"Paul F. Prew" wrote...
> Whay are there no synchronous/asychronous flavours of GPIB 488.2
> commands like the traditional GPIB commands?

It's because the C API in NI-488.2 (aka, the NI GPIB driver) doesn't
offer an asynchronous interface; the GPIB command is always done
synchronously in the driver. The "traditional" GPIB C API has functions
like "ibrda()" and "ibwrta()" which we call from LabVIEW to do asynchronous
I/O.
The asynchronous driver calls became less important when LabVIEW became
multithreaded. Do you have a particular application in mind for
asynchronous 488.2 functions?


Brian
Message 2 of 2
(2,956 Views)