RTDX_channelBusy
2-356
C Interface
Syntax
int RTDX_channelBusy( RTDX_inputChannel *pichan );
Parameters
pichan
/* Identifier for the input data channel */
Return Value
int
/* Status: 0 = Channel is not busy. */
/* non-zero = Channel is busy. */
Reentrant
yes
Description
RTDX_channelBusy is designed to be used in conjunction with
RTDX_readNB. The return value indicates whether the specified data
channel is currently in use or not. If a channel is busy reading, the
test/control flag (TC) bit of status register 0 (STO) is set to 1. Otherwise,
the TC bit is set to O.
Constraints and
Calling Context
❏
RTDX_channelBusy cannot be called by an HWI function.
See Also
RTDX_channelBusy
Return status indicating whether data channel is busy