Status Variables Reference




    //=============================================================================
    // Identification
    //=============================================================================
    BYTE FPGA;                    // @field FPGA
    BYTE Firmware;                // @field firmware revision
    BYTE Build;                   // @field firmware Build revision 
    ULONG SerialNumber;           // @field unit serial number
    BYTE DppDeviceID;             // @field device indicator from status block 
                                    // (0=DP5,1=PX5,2=DP5G,3=MCA8000D)
    
    //=============================================================================
    // Configuration
    //=============================================================================
    BOOL 80MHzMode;               // @field 80MHz FPGA clock mode
    BOOL DppConfigured;           // @field DPP Device has been configured
    BYTE DppOptions;              // @field DPP Additional Options Indicator
    BOOL FPGAAutoClock;           // @field FPGA Clock was AUTO set (CLCK=AUTO)
    BOOL ReBootFlag;              // @field first packet since reboot

    //=============================================================================
    // Tuning
    //=============================================================================
    BOOL FastThresholdLocked;     // @field DPP tune fast thresh has successfully done
    BOOL InputOffsetLocked;       // @field DPP tune input offset has successfully done

    //=============================================================================
    // Monitors
    //=============================================================================
    double BoardTemp;            // @field board temperature monitor value
    double HVMonitor;            // @field high voltage monitor value
    double TECMonitor;           // @field TEC temperature monitor value (displayed in Kelvin)

    //=============================================================================
    // Acquisition Parameters
    //=============================================================================
    double FastCount;            // @field fast channel count
    double SlowCount;            // @field slow channel count
    double AccumulationTime;     // @field AccumulationTime
    double RealTime;             // @field RealTime
    double LiveTime;             // @field LiveTime

    //=============================================================================
    // Acquisition Mode
    //=============================================================================
    BOOL McaEnabled;             // @field mca enabled status, high during acq, 
                                    // Preset Acquisition Time resets flag            
    BOOL MCSDone;                // @field MCS done flag 1=finished, 0=not finished
    BOOL PresetCountDone;        // @field indicates preset counts have been reached
    BOOL PresetRtDone;           // @field indicates realtime counter has been reached
    BOOL PresetLtDone;           // @field indicates livetime counter has been reached

    //=============================================================================
    // PC5
    //=============================================================================
    BOOL PC5_PRESENT;
    BOOL PC5_HV_POL;
    BOOL PC5_8_5V;

    //=============================================================================
    // Advanced
    //=============================================================================
    BOOL ScopeDataReady;
    double GpCounter;