beautypg.com

Campbell Scientific CR3000 Micrologger User Manual

Page 516

background image

Appendix A. CRBasic Programming Instructions

516 

 

 

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)

TimeUntilTransmit 
The TimeUntilTransmit instruction returns the time remaining, in seconds, before 
communication with the host datalogger. 

Syntax 

TimeUntilTransmit