Campbell Scientific CR3000 Micrologger User Manual
Page 522

Appendix A. CRBasic Programming Instructions
522
EMailSend
Sends an email message to one or more email addresses via an SMTP server.
Syntax
variable = EMailSend("ServerAddr", "ToAddr", "FromAddr",
"Subject", "Message", "Attach", "UserName", "PassWord",
Result)
EthernetPower
Controls power state of all Ethernet devices.
Syntax
EthernetPower(state)
FTPClient
Sends or retrieves a file via FTP.
Syntax
Variable = FTPClient("IPAddress", "User", "Password",
"LocalFileName", "RemoteFileName", PutGetOption)
HTTPGET
Sends a request to an HTTP server using the Get method.
Syntax
HTTPGET( URI, Response, Header)
HTTPOut
Defines a line of HTML code to be used in a datalogger‐generated HTML file.
Syntax
WebPageBegin
("WebPageName", WebPageCmd)
HTTPOut
("
html string to output " + variable + " additional
string to output
")HTTPOut
("
html string to output " + variable + " additional
string to output
")WebPageEnd
HTTPPOST
Sends files or text strings to a URL.
Syntax
HTTPPOST( URI, Contents, Response, Header)
HTTPPUT
Sends a request to the HTTP server to store the enclosed file/data under the
supplied URI.
Syntax
HTTPPUT(URI, Contents, Response, Header, NumRecs, FileOption)
IPNetPower
Controls power state of individual Ethernet devices.
Syntax
IPNetPower( IPInterface, State)
IPRoute
Sets the interface to be used (Ethernet or PPP) when the datalogger sends an
outgoing packet and both interfaces are active.
Syntax
IPRoute(IPAddr, IPInterface)