Provided by: libgpib-doc_4.3.7-5_all bug

NAME

       ibcmda - write command bytes asynchronously (board)

SYNOPSIS

       #include <gpib/ib.h>

       int ibcmda(int ud, const void *commands, long num_bytes);

DESCRIPTION

       ibcmda() is similar to ibcmd() except it operates asynchronously. ibcmda() does not wait for the sending
       of the command bytes to complete, but rather returns immediately.

       While an asynchronous operation is in progress, most library functions will fail with an EOIP error. In
       order to successfully complete an asynchronous operation, you must call ibwait() with CMPL set in the
       wait mask, until the CMPL bit is set ibsta. Asynchronous operations may also be aborted with an ibstop()
       or ibonl() call.

       After the asynchronous I/O has completed and the results resynchronized with the current thread, the
       Linux-GPIB extensions AsyncIbsta, AsyncIberr, AsyncIbcnt, AsyncIbcntl may be useful to more cleanly
       separate the results of the asynchronous I/O from the results of the ibwait or similar call used to
       resynchronize.

RETURN VALUE

       The value of ibsta is returned.

COPYRIGHT

       Copyright © 2003-2006, 2008 Frank Mori Hess

linux-gpib 4.3.7                                   11/28/2025                                          IBCMDA(3)