beautypg.com

Set real-time clock – Measurement Computing TempScan/1100 User Manual

Page 248

background image

A-52 API Command Reference

889897

TempScan / MultiScan User’s Manual

S

- Set Real-Time Clock

TYPE

System

EXECUTION

Immediate

SYNTAX

Stime

Set the internal real-time clock where

time

is in the standard Time/Date

input format:

hh:mm:ss:t,MM/DD/YY

where

hh

is in hours,

mm

is in

minutes,

ss

is in seconds,

t

is in tenths of a second,

MM

is the month,

DD

is the day, and

YY

is the year.

S?

Query the internal real-time clock.

DESCRIPTION

The Set Real-Time Clock (

S

) command is used to set the battery-backed-up internal real-time clock of the unit.

The

time

argument follows the same format as the standard Time/Date input format. In order for the Time/Date

stamping of output data to be accurate, the real-time clock must be set to an accurate Time/Date. Once set, the
real-time clock will remember the current time, even when powered off.

For more information on the real-time clock, Time/Date stamping and data formats, see section Additional
Configuration
, section Stamping Configuration and section Data Format Configuration, respectively, in the chapter
System Configuration.

EXAMPLE

PRINT#1, “OUTPUT07; S14:00:00.0,4/30/97X”

‘ Current date and time

This manual is related to the following products: