
AT381x User's Guide
54
6.1.9
SCPI [HANDSHAKE] ON/OFF
After the handshake is turned on, the instrument will return all the received data to the host as
it is.
To set up the command handshake ON/OFF:
Step 1
Press the [Meas] or [Setup] key and then press [SYSTEM] TO enter <SYSTEM CONFIG> page
Step 2
Use the cursor key to select [Command Handshake] field
Step 3
Use the soft keys to select.
Soft key
Function
OFF
ON
NOTE
This setting is valid only under the SCPI protocol.
6.1.10
SCPI [ERROR CODE] ON/OFF
When the error code is turned on, the AT381x will return the execution result of each
instruction to the host.
When the instruction is a query, the execution will return the result of the query correctly, and
the execution error will return an error code.
When the instruction does not need to return a value, the execution will return *E00 correctly,
and the execution error will return an error code.
Table 6-1
SCPI error code
Error code
Description
Explanation
*E00
NO ERROR
No error
*E01
BAD COMMAND
Command error
*E02
PARAMETER ERROR
Parameter error
*E03
MISSING PARAMETER
Missing parameters,
With parameter commands, no parameters
are provided
*E04
INPUT BUFFER OVERRUN
Receive buffer overflow, the maximum buffer
of the AT381x is 1000 bytes
*E05
SYNTAX ERROR
Syntactic error
*E06
INVALID SEPARATOR
Invalid separator
*E07
INVALID MULTIPLIER
Invalid multiplier
*E08
BAD NUMERIC DATA
Value error
*E09
VALUE TOO LONG
The value is too long, the numeric parameter
exceeds 20 bytes
*E10
INVALID COMMAND
Invalid command, the command is invalid
under certain conditions
*E11
UNKNOWN ERROR
Other unknown errors except the above errors
To set up the error code ON/OFF:
Step 1
Press the [Meas] or [Setup] key and then press [SYSTEM] TO enter <SYSTEM CONFIG> page
Step 2
Use the cursor key to select [Error Code] field
Step 3
Use the soft keys to select.