beautypg.com

A.16 information services – Campbell Scientific CR3000 Micrologger User Manual

Page 521

background image

Appendix A. CRBasic Programming Instructions

521

 

TableName.Record 
Determines the record number of a specific data table record. 

Syntax 

TableName.Record(1,n)

TableName.TableFull 
Indicates whether a fill‐and‐stop table is full or whether a ring‐mode table has 
begun overwriting its oldest data. 

Syntax 

TableName.TableFull(1,1)

TableName.TableSize 
Returns the number of records allocated for a data table. 

Syntax 

TableName.TableSize(1,1)

TableName.TimeStamp 
Returns the time into an interval or a time stamp for a record in a specific data 
table. 

Syntax 

TableName.TimeStamp(m,n)

WorstCase  
Saves one or more "worst case" data storage events into separate tables. Used in 
conjunction with DataEvent()

Syntax 

WorstCase(TableName, NumCases, MaxMin, Change, RankVar)

A.16 Information Services

These instructions address use of email, SMS, Web Pages, and other IP services.
These services are available only when the CR3000 is used with network link-
devices that have the PPP/IP key enabled, i.e., when the CR3000 IP stack is used.
See the appendix Network Links

(p. 569).

Read More! See Information Services

(p. 171).

DHCPRenew 
Restarts DHCP on the ethernet interface. 

Syntax 

DHCPRenew

EMailRecv 
Polls an SMTP server for email messages and stores the message portion of the 
email in a string variable. 

Syntax 

variable = EMailRecv("ServerAddr", "ToAddr", "FromAddr",

"Subject", Message, "Authen", "UserName", "PassWord",
Result)