IEEE-488 Reference
3-145
:CLEar
:SYSTem:CLEar
Clear Error Queue
This action command is used to clear the Error Queue of messages.
PRINT #1, "output 16; :syst:cle"
' Clear Error Queue
:LFRequency
:SYSTem:LFRequency
Query power line frequency
This query command is used to read the frequency of the power line that powers the Model
2002.
PRINT #1, "output 16; :syst:lfr?"
' Query the power line
PRINT #1, "enter 16"
' Get response from 2002
:DATE <yr>, <mo>, <day>
:SYSTem:DATE <yr>, <mo>, <day>
Set date for clock
<yr> =
1993 to 2092
Specify year
<mo> = 1 to 12
Specify month
<day>= 1 to 31
Specify day
:DATE?
Query the date
This command is used to set the date for the real-time clock. Setting an invalid date (i.e. Febru-
ary 29, 1994) result in an error and the previous date is retained.
PRINT #1, "output 16; :syst:date <1993>, <12>, <1>; date?"
' Set date to
December 1, 1993
and
query
PRINT #1, "enter 16"
' Get
response
message from
2002
:TIME <hr>, <min>, <sec>
:SYSTem:TIME <hr>, <min>, <sec>
Set time for clock
<hr> =
0 to 23
Specify hour (24 hr format)
<min> = 0 to 59
Specify minute
<sec>= 0.00 to 59.99
Specify second (rounded to 1/100 sec.)
:TIME?
Query the time
This command is used to set the time for the real-time clock. Note that the time must be set using
the 24-hour format (i.e. hour 13 is 1PM). Setting an invalid time results in an error and the pre-
vious time is retained.
:TIME? returns the time to nearest hundreth of a second.
PRINT #1, "output 16; :syst:time <14>, <36>, <0>; time?"
' Set time to 2:36
pm and query
PRINT #1, "enter 16"
' Get response mes-
sage from 2002
3.21.10
Description
Program fragment
3.21.11
Description
Program fragment
3.21.12
Parameters
Query
Description
Program fragment
3.21.13
Parameters
Query
Description
Program fragment
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......