Campbell Scientific CR1000 Measurement and Control System User Manual
Page 513

Appendix A. CRBasic Programming Instructions
513
Route
Returns the neighbor address of (or the route to) a PakBus datalogger.
Syntax
variable = Route(PakBusAddr)
RoutersNeighbors
Returns a list of all PakBus routers and their neighbors known to the datalogger.
Syntax
RoutersNeighbors( DestArray(MaxRouters, MaxNeighbors+1))
Routes
Returns a list of known dynamic routes for a PakBus datalogger that has been
configured as a router in a PakBus network.
Syntax
Routes(Dest)
SendData
Sends the most recent record from a data table to a remote PakBus device.
Syntax
SendData(ComPort, RouterAddr, PakBusAddr, DataTable)
SendFile
Sends a file to another PakBus datalogger.
Syntax
SendFile(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "LocalFile", "RemoteFile")
SendGetVariables
Sends an array of values to the host PakBus datalogger, and / or retrieve an array
of data from the host datalogger.
Syntax
SendGetVariables(ResultCode, ComPort, RouterAddr, PakBusAddr,
Security, TimeOut, SendVariable, SendSwath, GetVariable,
GetSwath)
SendTableDef
Sends the table definitions from a data table to a remote PakBus device.
Syntax
SendTableDef(ComPort, RouterAddr, PakBusAddr, DataTable)
SendVariables
Sends value(s) from a variable or variable array to a data table in a remote
datalogger.
Syntax
SendVariables(ResultCode, ComPort, RouterAddr, PakBusAddr,
Security, TimeOut, "TableName", "FieldName", Variable,
Swath)
StaticRoute
Defines a static route to a PakBus datalogger.
Syntax
StaticRoute(ComPort, NeighborAddr, PakBusAddr)