Measurement Computing Serial488/4 User Manual
Page 88
Appendix A
Serial488/4 Command Summary
A.2
Command
Code
Description
HandshakeType
G0
Sets handskake to Rts/Cts (hardware)
G1
Sets handskake to Xon/Xoff (software)
G2
Sets handskake to none
G?
Returns current handshake type selected
Input Query
I?
Returns number of characters in serial input queue
Status EOI
K0
Assert EOI with last terminator
K1
EOI disabled
K?
Returns current status EOI selected
Data EOI
L0
Assert EOI on serial terminator
L1
EOI disabled
L2
Assert EOI on last character in buffer
L3
Assert EOI on terminator or last character
L?
Returns current data EOI selected
Service Request
M0
Disable bus SRQ
Mask
M1
SRQ on Serial port 1 input
M2
SRQ on Serial port 2 input
M4
SRQ on Serial port 3 input
M8
SRQ on Serial port 4 input
M16
SRQ on Ready for next command
M32
SRQ on Command error
M128
SRQ on Memory low
M?
Returns current SRQ mask
Handshake N0
Automatic
Control N1
Holdoff data
N2
Accept data
N3
Output 16 x baud clock on RTS line
N?
Returns current handshake control setting
Output Query
O?
Returns number of characters in serial output queue
Port Select
P1
Select serial port 1
P2
Select serial port 2