
Appendix A. CRBasic Programming Instructions
509
IfTime
ReturnsanumberindicatingTrue(‐1)orFalse(0)basedonthedatalogger'sreal‐
timeclock.
Syntax
If (IfTime(TintoInt, Interval, Units)) Then
-or-
Variable = IfTime(TintoInt, Interval, Units)
PakBusClock
SetsthedataloggerclocktotheclockofthespecifiedPakBusdevice.
Syntax
PakBusClock(PakBusAddr)
RealTime
Parsesyear,month,day,hour,minute,second,micro‐second,dayofweek,
and/ordayofyearfromthedataloggerclock.
Syntax
RealTime(Dest)
SecsSince1990
Returnssecondselapsedsince1990.DataTypeisLONG.UsedwithGetRecord().
Syntax
SecsSince1990(date, option)
TimeIntoInterval
ReturnsanumberindicatingTrue(‐1)orFalse(0)basedonthedatalogger'sreal‐
timeclock.
Syntax
Variable = TimeIntoInterval(TintoInt, Interval, Units)
-or-
If TimeIntoInterval(TintoInt, Interval, Units)
Timer
Returnsthevalueofatimer.
Syntax
variable = Timer(TimNo, Units, TimOpt)
A.9 Voice-Modem Instructions
Note Refer to the Campbell Scientific voice-modem manuals for complete
information.
DialVoice
DefinesthedialingstringforaCOM310voicemodem.
Syntax
DialVoice(DialString)
Comentários a estes Manuais