10 data table access and management – Campbell Scientific CR200/CR200X-series Dataloggers User Manual
Page 118

Section 10. CRBASIC Programming Instructions
GetValue
Retrieves values from a variable in a data table of a PakBus datalogger.
Syntax
GetVariables (ResultCode, ComPort, NeighborAddr,
PakBusAddr, Security, TimeOut, "TableName",
"FieldName", Variable, Swath)
ReadSendGetInfo
Returns the interval and offset for the SendGetData instruction.
Syntax
ReadSendGetInfo (Dest, Port)
SendData
Sends the most recent record from a data table to a remote PakBus device.
Syntax
SendData (ComPort, NeighborAddr, PakBusAddr,
DataTable)
Note: For the CR200 series, this instruction is supported
only in a special 'S' operating system, version 5.10 and
greater (V06S).
SendGetData
Sends an array of values from a remote CR200(X) to a host datalogger and/or
retrieves an array of data from the host datalogger.
Syntax
SendGetData(ResponseDest, Control, Measurement,
Port, HostAddr, RepeatAddr, Security)
SetValue
Sends values from one or more variables to a remote datalogger's Public table.
Syntax
SetValue (ResponseDest, Source, Swath, RemoteVar,
Port, RemoteAddr, RepeatAddr, Security)
TimeUntilTransmit
The TimeUntilTransmit instruction returns the time remaining, in seconds,
before communication with the host datalogger.
Syntax
TimeUntilTransmit (port)
10.10 Data Table Access and Management
Commands to access and manage data stored in data tables, including Public
and Status tables.
SetStatus
Changes the value for a setting in the datalogger Status table.
Syntax
SetStatus ("FieldName", Value)
106