beautypg.com

3 export data instructions, Cardflush, Cardout (stopring, size) – Campbell Scientific CR9000X Measurement and Control System User Manual

Page 195

background image

Section 6. Data Table Declarations and Output Processing Instructions

6.3 Export Data Instructions

CardFlush

Used to force buffered data in the CR9000X internal memory, that is associated
with any Data Tables that are setup to be stored on the PC Card, to be
immediately written to the PC Card.

Care should be taken when using this instruction, as every time the CPU is
Flushed, a complete Card data frame is used, regardless of the amount of data
being written. This is not only an inefficient use of memory, but can also result
in the premature degradation of the Card storage media.

This instruction does not replace pressing the Card Control button
prior to removing the card. If CardFlush is executed and the card
removed without pressing the Control button, the data will be
available on the card for conversion but the same card cannot be
reinserted unless all the files are deleted.

NOTE

CardOut (StopRing, Size)

Used to send output data to the PCMCIA card. This instruction creates a data
table on the PCMCIA card. CardOut must be entered within each data table
declaration that is to be stored to the PCMCIA card.

If Ring is selected for the StopRing option, once full, the newest data are
written over the oldest. Selecting FillStop sets the Card memory for the
datatable as fill and stop. Once the table is filled, no more data are stored until
the table has been reset. The table can be reset from within the program by
executing the ResetTable instruction. Tables can also be reset from RTDAQ's
Status Table window (Datalogger/Status Table).

If either the CPU (FillStop instruction) or the Card is set to "fill
and stop", when either media is filled, the writing to the Table in
both will be stopped. Data storage will not resume until the Table
has been reset.

NOTE

6-11