157
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Sets the RS-232C communications handshake
Syntax
RS232c:HANDshake_<X/ HARD/ OFF>
(X: software handshake, HARD: hardware handshake, OFF: no handshake)
Function
Select the type of handshake.
Note
・
Even if a system error occurs, this query is executed.
・
If "X" or "HARD" is selected, the length of a command should be less than
750 bytes.
Errors
・
Execution error/ If the setting data is other than listed above or when using
GP-IB interface
・
Command error/ If the setting data is not character data.
・ System error/ This query is not executed. A device dependent error occurs.
Example
Transmission
":RS232:HAND X"
Sets to software handshake (XON/XOFF).
■ Queries the setting for the RS-232C communications handshake.
Syntax
RS232c:HANDshake?
Function
The value of the communications handshake is returned as character data (X,
HARD or OFF).
Notes
・ With this query, if any error occurs, no response message is produced.
・ Even if a system error occurs, this query is executed.
Response
syntax
Headers: ON
Headers: OFF
":RS232C:HANDSHAKE_<
X/HARD/OFF
>"
"<
X/HARD/OFF
>"
Errors
・ Query error/ If the response message is longer than 1000 bytes.
・ Execution error/ If this query is executed when using GP-IB interface
Example
Transmission
Response
Headers: ON
Headers: OFF
":RS232:HAND?"
":RS232C:HANDSHAKE X"
"X"
RS232c:HANDshake
(Command for the RS-232C interface)
RS232c:HANDshake?
(Command for the RS-232C interface)