Specifications
Section 10. CRBASIC Programming Instructions
10-32
ClockReport
Sends the datalogger clock value to a remote datalogger in the PakBus
network.
Syntax
ClockReport (ComPort, RouterAddr, PakBusAddr)
DataGram
Initializes a SerialServer / DataGram / PakBus application in the datalogger
when a program is compiled.
Syntax
DataGram (ComPort, BaudRate, PakBusAddr, DestAppID,
SrcAppID)
DialSequence … EndDialSequence
Defines the code necessary to route packets to a PakBus device.
Syntax
DialSequence (PakBusAddr)
DialSuccess = DialModem (ComPort, DialString, ResponseString)
EndDialSequence (DialSuccess)
GetDataRecord
Retrieves the most recent record from a data table in a remote PakBus
datalogger and stores the record in the CR1000.
Syntax
GetDataRecord(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, Timeout, Tries, TableNo, DestTableName)
GetVariables
Retrieves values from a variable or variable array in a data table of a PakBus
datalogger.
Syntax
GetVariables (ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "TableName", "FieldName", Variable, Swath)
Network
In conjunction with SendGetVariables, configures destination dataloggers in a
PakBus network to send and receive data from the host.
Syntax
Network (ResultCode, Reps, BeginAddr, TimeIntoInterval, Interval,
Gap, GetSwath, GetVariable, SendSwath, SendVariable)
PakBusClock
Sets the datalogger clock to the clock of the specified PakBus device.
Syntax
PakBusClock (PakBusAddr)
Route
Returns the neighbor address of (or the route to) a PakBus datalogger.
Syntax
variable = Route (PakBusAddr)