Controlline, Controlline testsrq, Syntax – Measurement Computing GPIB-488.2 User Manual
Page 25

GPIB 488.2 Porting Guide
986992
IOtech to Associated MCC APIs
3-7
IOtech GPIB Command
Associated MCC GPIB 488.2 Command
ControlLine TestSRQ
Limited functionality
Syntax
ControlLine
INT WINAPI ControlLine(DevHandleT devHandle);
TestSRQ
TestSRQ(int board, short *result)
Usage Notes
ControlLine, no longer to be used. The ControlLine command could only be used only
on IEEE 488 devices. This command returned the status of the IEEE 488 bus control lines as
an 8-bit unsigned value (bits 2 and 1 were reserved for future use), as indicated in the table.
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
EOI SRQ NRFD
NDAC
DAV ATN 0
0
TestSRQ Is used to evaluate state of the SRQ line. TestSRQ does not alter the state of the
SRQ line. In the example, we test to see if SRQ is asserted.
Example:
Short result;
TestSRQ (0, &result);
if (result == 1)
{ /* SRQ is asserted */}
else
{ /* No SRQ at this time */}
- ACC-300 (7 pages)
- AI-EXP32 (20 pages)
- AI-EXP48 (19 pages)
- BTH-1208LS (30 pages)
- 6K-ERB08 (32 pages)
- BTH-1208LS Quick Start (4 pages)
- 6K-SSR-RACK08 (33 pages)
- BTH-1208LS-OEM (27 pages)
- CB-COM-Digital (68 pages)
- CB-7018 (68 pages)
- CB-7000 Utilities (44 pages)
- CB-7080D (74 pages)
- CB-COM-7033 (44 pages)
- CB-COM-7017 (72 pages)
- CB-COM-7024 (76 pages)
- CB-NAP-7000P (36 pages)
- CIO-DAC02/16 (16 pages)
- CIO-DAC02 (18 pages)
- CB-NAP-7000D (56 pages)
- CIO-DAC16-I (16 pages)
- CIO-DAC16/16 (20 pages)
- CIO-DAS08 (21 pages)
- CIO-DAC16 (20 pages)
- CIO-DAS08/JR (16 pages)
- CIO-DAS08/JR/16 (14 pages)
- CIO-DAS08/JR-AO (16 pages)
- CIO-DAS08-AOM (32 pages)
- CIO-DAS08-PGM (28 pages)
- CIO-DAS16/330 (34 pages)
- CIO-DAS48-I (17 pages)
- CIO-DAS16/M1 (38 pages)
- CIO-DAS48-PGA (18 pages)
- CIO-DAS800 (20 pages)
- CIO-DAS802/16 (22 pages)
- CIO-DAS6402/16 (40 pages)
- CIO-DAS-TEMP (20 pages)
- CIO-DDA06/16 (18 pages)
- CIO-DDA06/JR (17 pages)
- CIO-DIO24H (20 pages)
- CIO-DIO24/CTR3 (21 pages)
- CIO-DI192 (24 pages)
- CIO-DDA06 (21 pages)
- CIO-DIO48 (19 pages)
- CIO-DO192H (16 pages)
- CIO-DIO192 (20 pages)