
Section 13. PakBus Communication Instructions
13-4
See the CRBasic Editor help for parameter details.
SendTableDef (ComPort, RouterAddr, PakBusAddr, DataTable)
The SendTableDef instruction is used to send the table definitions from a data
table to a remote PakBus device.
Syntax
SendTableDef ( ComPort, RouterAddr, PakBusAddr, DataTable )
Remarks
This instruction can be used to send table definitions from a datalogger to a PC
running the LoggerNet server.
See the CRBasic Editor help for parameter details.
SendVariables (ResultCode, ComPort, RouterAddr, PakBusAddr, Security,
TimeOut, "TableName", "FieldName", Variable, Swath)
The SendVariables instruction is used to send 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 )
Remarks
Values can only be sent to the remote datalogger's Public or Status table. The
Dest and Swath parameters are used to determine what values will be sent to
the remote datalogger. The first value to be sent is defined with Dest, and the
number of values is specified by Swath. The most recent value(s) stored in the
table are sent.
If security is enabled in the remote datalogger, it must be unlocked to level 2
for this instruction to be successful.
See the CRBasic Editor help for parameter details.
SetSettings (ResultCode, ComPort, RouterAddr, PakBusAddr, Security,
TimeOut, Settings)
The SetSettings instruction is used to set one or more settings in a remote
datalogger.
Syntax
SetSettings ( ResultCode, ComPort, RouterAddr, PakBusAddr, Security,
TimeOut, Settings )
Remarks
This instruction can be used to set one or more existing PakBus settings or
user-created settings in the datalogger. If security is enabled in the remote
datalogger, it must be unlocked to level 1 for this instruction to be successful.
See the CRBasic Editor help for parameter details.
Comentários a estes Manuais