Personal488 User's Manual For Windows 95 and Windows NT
API Command Reference 57
ControlLine
Syntax
INT WINAPI ControlLine(DevHandleT devHandle);
ControlLine
returns a bit mapped number.
devHandle
refers to the I/O adapter. If
devHandle
refers to an external device, the
ControlLine
command acts on the hardware interface to which the external device
is attached.
Response
-1
if error
otherwise, a bit map of the current state of the IEEE 488 interface. Under 32-bit Driver488
software, serial interfaces are no longer supported.
Mode
Any
Bus States
None
Example
result = ControlLine(ieee);
printf(“The response is %X\n”,result);
See Also
TimeOut
The
ControlLine
command may be used only on IEEE 488 devices. Under 32-bit Driver488
software, serial interfaces are no longer supported. This command returns the status of the IEEE 488
bus control lines as an 8-bit unsigned value (bits 2 and 1 are reserved for future use), as shown below:
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
EOI
SRQ
NRFD
NDAC
DAV
ATN
0
0
Summary of Contents for OMB-PER-488/W95
Page 1: ......
Page 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Page 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Page 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...