beautypg.com

A.9 voice-modem instructions – Campbell Scientific CR3000 Micrologger User Manual

Page 509

background image

Appendix A. CRBasic Programming Instructions

509

 

IfTime 
Returns a number indicating True (‐1) or False (0) based on the datalogger's real‐
time clock. 

Syntax 

If (IfTime(TintoInt, Interval, Units)) Then

-or-

Variable = IfTime(TintoInt, Interval, Units)

PakBusClock 
Sets the datalogger clock to the clock of the specified PakBus device. 

Syntax 

PakBusClock(PakBusAddr)

RealTime 
Parses year, month, day, hour, minute, second, micro‐second, day of week, 
and/or day of year from the datalogger clock. 

Syntax 

RealTime(Dest)

SecsSince1990 
Returns seconds elapsed since 1990. DataType is LONG. Used with GetRecord()

Syntax 

SecsSince1990(date, option)

TimeIntoInterval 
Returns a number indicating True (‐1) or False (0) based on the datalogger's real‐
time clock. 

Syntax 

Variable = TimeIntoInterval(TintoInt, Interval, Units)

-or-

If TimeIntoInterval(TintoInt, Interval, Units)

Timer 
Returns the value of a timer. 

Syntax 

variable = Timer(TimNo, Units, TimOpt)

A.9 Voice-Modem Instructions

Note Refer to the Campbell Scientific voice-modem manuals for complete
information.

DialVoice 
Defines the dialing string for a COM310 voice modem. 

Syntax 

DialVoice(DialString)