Appendix A. CRBasic Programming Instructions
string to output</p>")
HTTPOut("<p>html string to output " + variable + " additional
string to output</p>")
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)
IPInfo
Returns the IP address of the specified datalogger interface into a string.
Syntax
Variable = IPInfo(Interface, Option )
IPNetPower
Controls power state of individual Ethernet devices.
Syntax
IPNetPower( IPInterface, State)
IPRoute
Sets the interface to be used (Ethernet or PPP) when the CR1000 sends an
outgoing packet and both interfaces are active.
Syntax
IPRoute(IPAddr, IPInterface)
IPTrace
Writes IP debug messages to a string variable.
Syntax
IPTrace(Dest)
NetworkTimeProtocol
Synchronizes the datalogger clock with an Internet time server.
Syntax
variable = NetworkTimeProtocol(NTPServer, NTPOffset,
NTPMaxMSec)
595