68
8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
3
Instrument Setup and Status
Interface/Instrument Behaviour Settings
–
The SYSTem Subsystem
The SYSTem subsystem lets you control the instrument’s serial interface.
You can also control some internal data (like date, time, and so on)
command:
:SYSTem:DATE
syntax:
:SYSTem:DATE<wsp><year>,<month>,<day>
description:
Sets the instrument’s internal date.
parameters:
the first value is the year (four digits),
the second value is the month, and
the third value is the day.
response:
none
example:
syst:date 1999, 1, 12
command:
:SYSTem:DATE?
syntax:
:SYSTem:DATE?
description:
Returns the instrument’s internal date.
parameters:
none
response:
The date in the format year, month, day (
16-bit signed integer
values)
example:
syst:date?
->
+1999,+1,+12<END>
command:
:SYSTem:ERRor?
syntax:
:SYSTem:ERRor?
description:
Returns the next error from the error queue (see
Each error has the error code and a
short
description of the error, separated by a comma, for example
0,
"No error".
Error codes are numbers in the range -32768 and +32767.
Negative error numbers are defined by the SCPI standard. Positive error numbers are device dependent.
parameters:
none
response:
The number of the latest error, and its meaning.
example:
syst:err?
->
-113,"Undefined header"<END>