Clear; Lfrequency; Date <Yr>, <Mo>, <Day; Time <Hr>, <Min>, <Sec - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

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

:CLEar

:SYSTem:CLEar
Clear Error Queue
This action command is used to clear the Error Queue of messages.
PRINT #1, "output 16; :syst:cle"

: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?"
PRINT #1, "enter 16"
:DATE <yr>, <mo>, <day>
:SYSTem:DATE <yr>, <mo>, <day>
<yr> =
1993 to 2092
<mo> = 1 to 12
<day>= 1 to 31
: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?"
PRINT #1, "enter 16"
:TIME <hr>, <min>, <sec>
:SYSTem:TIME <hr>, <min>, <sec>
<hr> =
0 to 23
<min> = 0 to 59
<sec>= 0.00 to 59.99
: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?"
PRINT #1, "enter 16"
' Clear Error Queue
Set date for clock
Specify year
Specify month
Specify day
Set time for clock
Specify hour (24 hr format)
Specify minute
Specify second (rounded to 1/100 sec.)
IEEE-488 Reference
' Query the power line
' Get response from 2002
' Set date to
December 1, 1993
and query
' Get
message
2002
' Set time to 2:36
pm and query
' Get response mes-
sage from 2002
response
from
3-145

Advertisement

Table of Contents
loading

Table of Contents