TCP/IP, or cell modem). If no connection to
LoggerNet
is configured, regular visits to the data
logger to collect the aggregated data must be made.
Since the aggregating data logger station uses PakBus to communicate with the CRVW3 stations,
you must set beaconing and verify intervals on the data logger to ensure that PakBus discovery
occurs on the network.
When the aggregator station is to be the base station on an RF451/RF452 radio network, the
RF450 or RF451/RF452 radio connected or built into the data logger should be configured as the
gateway radio. Otherwise, it should be configured as an endpoint or endpoint/repeater radio.
Use a portable base station or portable
LoggerNet
laptop to confirm the operation of the
aggregator before leaving the site. For complex or large radio networks see the specific radio
manual:
or
.
C.2 Programming the aggregator
In the CRBasic program running on the aggregating data logger, you must define a separate
table for each CRVW3 from which data will be collected. Also, define appropriate variables for
those stored values. The data logger will collect the VW_Data table from each CRVW3. For this to
work properly, the definition of the table in the CRVW3 and in the data logger program must
match. To obtain this table definition (a
DataTable
/
EndTable
structure), the show table
structure terminal mode command must be executed 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
NOTE:
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. Whenever possible, finalize the settings of the
CRVW3 before retrieving its structure for use in the data logger program.
Once the tables have been set up in the program properly, 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 data logger. 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. See
GetDataRecord() sample program
CRVW3 3-Channel Vibrating-Wire Data Logger
78