2-48
Return to
KPCI-488LPA-900-01 Rev. A / December 2008
Section 2: NI Command Compatible Functions
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
WaitSRQ
Description
This command waits until the device controls the GPIB SRQ line. When
WaitSRQ
returns, the result contains a non-zero value if the SRQ line in controlled. Otherwise
the result contains a zero value. Get the current status of the GPIB SRQ line by using
TestSRQ
. Use
WaitSRQ
to wait before the SRQ line can be controlled.
Syntax
Microsoft C/C++ and Borland C++
void WaitSRQ (int board_desc, short *result)
Visual Basic
call WaitSRQ (ByVal ud As Integer,
result As Integer)
Parameters
board_desc
: board ID
result
: the status of the SRQ line
Error Codes
EDVR, EOIP, ENEB