Status table system information

The Status table is an automatically created data table. View the Status table by connecting the data logger to your computer (see Making the software connection for more information).

Most fields in the Status table are read only and of a numeric data type unless noted. Error counters (for example, WatchdogErrors or SkippedScan) may be reset to 0 for troubleshooting purposes.

Status table values may be accessed programatically using SetStatus() or Tablename.Fieldname syntax. For example: Variable = Status.Fieldname. For more information see: https://www.campbellsci.com/blog/programmatically-access-stored-data-values .

Battery

Voltage (VDC) of the battery powering the system. Updates once per minute, when viewing the Status table, or programatically.

BuffDepth

Shows the current Closedpipeline mode A CRBasic program execution mode wherein instructions are evaluated in groups of like instructions, with a set group prioritization. processing buffer depth, which indicates how far the processing task is currently behind the measurement task. Updated at the conclusion of scan processing, prior to waiting for the next scan.

CalCurrent

Shows the offset calibration factor for the resistor used in 0-20 and 4-20 mA measurements on RG terminals. Measured once during production calibration.

CalGain

Array of floating-point values reporting calibration gain (mV) for each integration / range combination.

CalOffset

Displays the offset calibration factor for the different voltage ranges.

CalRefOffset

Displays voltage reference temperature compensation offset.

CalRefSlope

Displays voltage reference temperature compensation slope.

CalVolts

Array of floating-point values reporting a factory calibrated correction factor for the different voltage ranges.

CardStatus

Contains a string with the most recent status information for the removable memory card.

  • String data type

ChargeInput

Voltage on the CHG terminals. Updates when background calibration executes.

ChargeState

State of the CHG terminals. Responses include: Regulator Fault, No Charge, Current Limit, Float Charge, Low Charge Input. Updates when background calibration executes (see Power input for more information).

  • String data type

CommsMemFree

Memory allocations for communications. Numbers outside of parentheses reflect current memory allocation. Numbers inside parentheses reflect the lowest memory size reached.

CompileResults

Contains messages generated at compilation or during runtime. Updated after compile and for runtime errors such as variable out of bounds.

  • String data type

ErrorCalib

Number of erroneous calibration values measured. Erroneous values are discarded. Updated at startup.

FullMemReset

Enter 98765 to start a full-memory reset, all data and programs will be erased.

IxResistor

Factory-calibrated correction factor (in units of ohms) applied to resistance measurements. Normal value is near 1000 ohms. Updates at start up.

LastSystemScan

Reports the time of the of the last auto (background) calibration, which runs in a hidden slow-sequence type scan. See MaxSystemProcTime , SkippedSystemScan , and SystemProcTime.

LithiumBattery

Voltage of the internal lithium battery. Updated at CR6 power up. For battery information, see Internal battery.

Low12VCount

Counts the number of times the primary CR6 supply voltage drops below ≈9.0 VDC. Updates with each Status table update. Reset by entering 0. Incremented prior to scan (slow or fast) with measurements if the internal hardware signal is asserted.

MaxBuffDepth

Maximum number of buffers the CR6 will use to process lagged measurements. Enter 0 to reset.

MaxProcTime

Maximum time (μs) required to run through processing for the current scan. Value is reset when the scan exits. Enter 0 to reset. Updated at the conclusion of scan processing, prior to waiting for the next scan.

MaxSystemProcTime

Maximum time (μs) required to process the auto (background) calibration, which runs in a hidden slow-sequence type scan. Displays 0 until a background calibration runs. Enter 0 to reset.

  • Numeric data type

MeasureOps

Reports the number of task-sequencer opcodes required to do all measurements. Calculated at compile time. Includes operation codes for calibration (compile time), auto (background) calibration (system), and Slow Sequences. Assumes all measurement instructions run each scan. Updated after compile and before running.

MeasureTime

Reports the time (μs) needed to make measurements in the current scan. Calculated at compile time. Includes integration and settling time. In pipeline mode, processing occurs concurrent with this time so the sum of MeasureTime and ProcessTime is not equal to the required scan time. Assumes all measurement instructions will run each scan. Updated when a main scan begins.

MemoryFree

Unallocated final-data memory on the CPU (bytes). All free memory may not be available for data tables. As memory is allocated and freed, holes of unallocated memory, which are unusable for final-data memory, may be created. Updated after compile completes.

MemorySize

Total final-data memory size (bytes) in the CR6. Updated at startup.

Messages

Contains a string of manually entered messages.

  • String data type

OSDate

Release date of the operating system in the format mm/dd/yyyy. Updated at startup.

  • String data type

OSSignature

Signature of the operating system.

OSVersion

Version of the operating system in the CR6. Updated at OS startup.

  • String data type

PakBusRoutes

Lists routes or router neighbors known to the data logger at the time the setting was read. Each route is represented by four components separated by commas and enclosed in parentheses: (port, via neighbor address, pakbus address, response time in ms). Updates when routes are added or deleted.

  • String data type

PanelTemp

Current processor board temperature (°C). Updates once per minute, when viewing the Status table, or programatically.

PortConfig

Provides information on the configuration settings (input, output, SDM, RS-485, SDI-12, COM port) for Cor U terminals in numeric order of terminals. Default = Input. Updates when the port configuration changes.

  • String data type

PortStatus

States of C terminals configured for control. On/high (true) or off/low (false). Array elements in numeric order of C terminals. Default = false. Updates when state changes. Enter -1 to set to true. Enter 0 to set to false.

  • Boolean data type

PowerSource

Primary source of data logger power. Updates when background calibration executes.

  • String data type

ProcessTime

Processing time (μs) of the last scan. Time is measured from the end of the EndScan instruction (after the measurement event is set) to the beginning of the EndScan (before the wait for the measurement event begins) for the subsequent scan. Calculated on-the-fly. Updated at the conclusion of scan processing, prior to waiting for the next scan.

ProgErrors

Number of compile or runtime errors for the running program. Updated after compile.

ProgName

Name of current (running) program; updates at startup.

  • String data type

ProgSignature

Signature of the running CRBasic program including comments. Does not change with operating-system changes. Updates after compiling the program.

RecNum

Record number increments when the Status Table is requested by support software. Range = 0 to 232.

  • Long data type

RevBoard

Electronics board revision in the form xxx.yyy, where xxx = hardware revision number; yyy = clock chip software revision. Stored in flash memory. Updated at startup.

  • String data type

RunSignature

Signature of the running binary (compiled) program. Value is independent of comments or non-functional changes. Often changes with operating-system changes. Updates after compiling and before running the program.

SerialNumber

CR6 serial number assigned by the factory when the data logger was calibrated. Stored in flash memory. Updated at startup.

SkippedScan

Number of skipped program scans (see Checking station status for more information) that have occurred while running the CRBasic program. Does not include scans intentionally skipped as may occur with the use of ExitScan and Do / Loop instructions. Updated when they occur. Enter 0 to reset.

SkippedSystemScan

Number of scans skipped in the background calibration. Enter 0 to reset. See LastSystemScan, MaxProcTime, and SystemProcTime.

StartTime

Time (date and time) the CRBasic program started. Updates at beginning of program compile.

  • NSEC data type

StartUpCode

Indicates how the running program was compiled. Updated at startup. 65 = Run on powerup is running and normal powerup occurred.

StationName

Station name stored in flash memory. This is not the same name as that is entered into your Closeddata logger support software LoggerNet, RTDAQ, and PC400 - these Campbell Scientific software applications include at least the following functions: data logger communications, downloading programs, clock setting, and retrieval of measurement data.. This station name can be sampled into a data table, but it is not the name that appears in data file headers. Updated at startup or when the name is changed. This value is read-only if the data logger is currently running a program with a CardOut() instruction.

  • String data type

SW12Volts

Status of switched, 12 VDC terminal(s). On/high (true) or off/low (false) Enter -1 to set to true. Enter 0 to set to false. Updates when the state changes.

  • Boolean data type

SystemProcTime

Time (μs) required to process auto (background) calibration. Default is 0 until background calibration runs.

TimeStamp

Scan-time that a record was generated.

  • NSEC data type

VarOutOfBound

Number of attempts to write to an array outside of the declared size. The write does not occur. Indicates a CRBasic program error. If an array is used in a loop or expression, the pre-compiler and compiler do not check to see if an array is accessed out-of-bounds (i.e., accessing an array with a variable index such as arr(index) = arr(index–1), where index is a variable). Updated at runtime when the error occurs. Enter 0 to reset.

WatchdogErrors

Number of watchdog errors that have occurred while running this program. Resets automatically when a new program is compiled. Enter 0 to reset. Updated at startup and at occurrence.

WiFiUpdateReq

Shows if WiFi operating system update is available. Update available (true) or not (false). Updates when state changes.

  • Boolean data type