
III. COMMAND REFERENCES - 15. Command References 15B. Driver488/SUB, W31, W95, & WNT
Personal488 User’s Manual, Rev. 3.0 III-319
Bus State Bus Lines Data Transfer (DIO) Lines
8 7 6 5 4 3 2 1
IEEE 488 Interface
ATN
Attention (&H04) 00000100
EOI
End-Or-Identify (&H80) 1 0000000
SRQ
Service Request (&H40) 01000000
DAV
Data Valid (&H08) 00001000
NDAC
Not Data Accepted (&H10) 0 0010000
NRFD
Not Ready For Data (&H20)00100000
Serial Interface
DTR
Data Terminal Ready (&H02)00000010
RI
Ring Indicator (&H10) 00010000
RTS
Request To Send (&H01) 00000001
CTS
Clear To Send (&H04) 00000100
DCD
Data Carrier Detect (&H08) 00001000
DSR
Data Set Ready (&H20) 00100000
ControlLine
Driver488/W31 and Driver488/W95 only
SYNTAX
int pascal 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 mapped integer indicating the value of the
control lines.
MODE
Any
BUS STATES
None
SEE ALSO
TimeOut, ControlLine (Driver488/SUB only)
EXAMPLES
result = ControlLine(ieee);
printf(“The response is %X\n”,result);
The
ControlLine
command applies to IEEE 488 devices only. It 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:
87654321
EOI SRQ NRFD NDAC DAV ATN 0 0
Disarm
SYNTAX
int pascal Disarm(DevHandleT devHandle, ArmCondT condition);
devHandle
refers to either an IEEE 488 interface or an external device. If
devHandle
refers to an external device, then the
Disarm
command acts on
the hardware interface to which the external device is attached.
condition
specifies which of the conditions are no longer to be monitored. If
condition is
0
, then all conditions are
Disarm
ed.
RETURNS
-1 if error
MODE
Any
BUS STATES
None
SEE ALSO
Arm, OnEvent, LightPen
EXAMPLES
errorcode=Disarm(ieee,acTalk|acListen|acChange);
Commentaires sur ces manuels