Cf Card Data Retrieval - Campbell NL116 Instruction Manual

Ethernet and compactflash module
Table of Contents

Advertisement

NL116 Ethernet and CompactFlash
CAUTION
4.4

CF Card Data Retrieval

CAUTION
8
®
Module
Size: A constant is entered in the Size to define the size of the DataTable on
the Card. Size can be defined as a fixed number of records, as auto-allocate, or
as the size of the datalogger memory.
To set the table size to a fixed number of records, enter that value. Enter a –1
to set the size to auto-allocate. If set to auto-allocate, all memory that remains
after creating fixed-sized tables will be allocated to this table. If multiple data
tables are declared with a –1 for size, the available memory will be divided
among the tables. The datalogger attempts to allocate memory to the tables so
that all tables are filled at the same time. Enter –1000 to set the size of the
table on the card to the size of the table in the datalogger's memory.
In the following example, the minimum batt_volt and a sample of PTemp are
written to the card each time the data table is called. The StopRing parameter
is 0 for ring mode. This means that once the data table is full, new data will
begin overwriting old data. The size parameter is –1, so all available space on
the card will be allocated to the table.
DataTable(Table1,1,-1)
CardOut(0 ,-1)
Minimum(1,batt_volt,FP2,0,False)
Sample(1,PTemp,IEEE4)
EndTable
To prevent losing data, collect data from the CF card before
sending the datalogger a new or modified program. When
a program is sent to the datalogger using the Send button in
the Connect screen of LoggerNet or PC400, an attribute is
sent along with the program that commands the datalogger
to erase all data on the CF card from the currently-running
program.
For other methods of saving data to the CF card, see the TableFile() instruction
in the CRBasic Editor help.
Data stored on cards can be retrieved through a communication link to the
datalogger or by removing the card and carrying it to a computer with a CF
adapter. With large files, transferring the CF card to a computer may be faster
than collecting the data over a communication link. CF card-data retrieval is
discussed in detail in Section 7.4, CF Card Data-Retrieval Details
Removing a card while it is active can cause garbled data
and can actually damage the card.
Initiate Removal button and wait for a green light before
removing card.
.
(p. 26)
Always press the

Advertisement

Table of Contents
loading

Table of Contents