Appendix C. Aggregating Dataloggers
C-2
Since the aggregating datalogger station uses PakBus to communicate with the
CRVW3 stations, you must set beaconing and verify intervals on the
datalogger to ensure that PakBus discovery occurs on the network.
When the aggregator station is to be the base station on an RF451 radio
network, the RF450 or RF451 radio connected or built-in to the datalogger
should be configured as the master radio. Otherwise, it should be configured as
a Slave or Slave/Repeater radio. Use a portable base station or portable
LoggerNet
laptop to confirm the operation of the aggregator before leaving the
Complex (Large) Radio Networks
, for more
details about deploying radio stations.
C.2 Programming the Aggregator
In the
CRBasic
program running on the aggregating datalogger, you must
define a separate table for each CRVW3 station from which data will be
collected, and declare appropriate variables for those stored values. The
datalogger will collect the
VW_Data
table from each CRVW3. In order for
this to work properly, the definition of the table in the CRVW3 and in the
datalogger program must match each other. To obtain this table definition (a
DataTable/EndTable
structure) you must execute the “show table structure”
terminal mode command on each CRVW3 whose data will be collected. Once
the table information is captured from the CRVW3, it should be integrated into
the CRBasic program. For information about using the terminal mode on the
CRVW3, see Appendix
Terminal Mode from Connect Screen or DevConfig
(p. B-1)
.
If you change the configuration of the CRVW3, the table
definitions given by the “show table structure” terminal command
will change, thus requiring the command to be executed again and
your CRBasic program to be updated again. Whenever possible,
finalize the settings of the CRVW3 before retrieving its structure
for use in the datalogger program.
Once the tables have been set up in the program properly, you use the
GetDataRecord()
instruction in your
CRBasic
program to get data from the
CRVW3 and have it updated into the proper final storage table of the
datalogger. Within the
GetDataRecord()
instruction, you must use the PakBus
address of the CRVW3 and any PakBus router/neighbor address needed to
make the connection to that device. A sample program is given in Appendix
(p. D-1)
.
NOTE
Summary of Contents for CRVW3
Page 2: ......
Page 3: ......
Page 7: ......
Page 13: ...Table of Contents vi ...
Page 121: ...Appendix A Updating CRVW3 Firmware A 4 ...
Page 131: ...Appendix E Engineering Output and Calibration E 4 ...
Page 133: ......
Page 134: ......