National Instruments GPIB-PC Network Card User Manual


 
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls
©National Instruments Corp. 4A-69 GPIB-PC User Manual
3. IBCMD sends the following commands:
Untalk (UNT) and Unlisten (UNL); and
Serial Poll Disable (SPD).
The interpretation of the response in SPR%, other than the
RQS bit, is device-specific. For example, the polled
device might set a particular bit in the response byte to
indicate
that it has data to transfer, and another bit to indicate a
need for reprogramming. Consult the device documentation
for interpretation of the response byte.
Refer to IBCMD and IBRD for additional information.
Device Example:
1. Obtain the Serial Poll response (SPR) byte from the device
TAPE%.
100 CALL IBRSP (TAPE%,SPR%)
110 REM The application program would then
120 REM analyze the response in SPR%.