Measurement-computing Micro 488/EX rev.2.1 Manuale Utente Pagina 146

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 218
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 145
Section 5 Command Descriptions
5.76
SET TIME
The
SET
TIME
command is used to set the internal clock. 24 hour format is
implied if the AM or PM specifier is not included. The time specified must include
hours (
hh
) and minutes (
mm
). Seconds (
ss
), if omitted, are set to
00
.
Both 12 and 24 hour formats may be used to set the time. If AM or PM is not
specified, 24 hour format is assumed. The relationship between the 12 and 24 hour
operations are
24 Hour 12 Hour
Midnight 00:00:00 12:00:00 AM
01:00:00 01:00:00 AM
……
11:59:59 11:59:59 AM
Noon (Midday) 12:00:00 12:00:00 PM
13:00:00 01:00:00 PM
……
23:59:59 11:59:59 PM
SYNTAX
SET
TIME
[
;
]
hh:mm
[
:ss
] [
AM
|
PM
]
hh
specifies hours in 24 hour format unless
AM
or
PM
is included
mm
specifies minutes
ss
specifies seconds, set to
00
if omitted
RESPONSE None
MODE Any
BUS STATES None
EXAMPLE
PRINT#1,"SET TIME 2:22 AM"
PRINT#1,"TIME"
INPUT #1,T$
Read the time string
PRINT T$
Printed to the screen
02:22:00 AM
Output is time and format dependent
Vedere la pagina 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 217 218

Commenti su questo manuale

Nessun commento