Keithley 2002 User Manual page 281

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

IEEE-488 Reference
Description
Program fragment
Parameters
Query
Description
Program fragment
3-158
This command is used to set the date for the RTCLock control source. Setting an invalid date
(i.e. February 29, 1994) for the clock event results in an error and the previous date is retained.
PRINT #1, "output 16; :arm:rtcl:date <1993>, <12>, <1>; date?"
PRINT #1, "enter 16"
:TIME <hr>, <min>, <sec>
:ARM[:SEQuence[1]][LAYer[]]:RTCLock:TIME <hr>, <min>, <sec>
<hr> =
0 to 23
<min> =
0 to 59
<sec> =
0.00 to 59.99
:DATE? Query the time
This command is used to set the time for the RTCLock control source. 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 previous time is retained.
:TIME? returns the time to nearest hundreth of a second.
PRINT #1, "output 16; :arm:rtcl:time <14>, <36>, <0>; time?"
PRINT #1, "enter 16"
Specify hour (24 hour format)
Specify minute
Specify second (round to 1/100 sec.)
' Set date to
December
1993 and query
' Get response
message from
2002
Set time for RTCLock control source
' Set time to
2:36 pm and
query
' Get
response
message
2002
1,
from

Advertisement

Table of Contents
loading

Table of Contents