ICP
1
|
#include <env_period_card.h>
Public Member Functions | |
EnvPeriodCard (int position, ISISVME *vme, DAEstatus &status) | |
void | printStatus (std::ostream &os, DAEstatus &status) |
int | getCurrentPeriodNumber (DAEstatus &status) |
bool | inDwellPeriod (DAEstatus &status) |
int | setNumberOfPeriods (isisU16_t n, DAEstatus &status) |
int | getNumberOfPeriods (DAEstatus &status) |
int | getCurrentPeriodSequence (DAEstatus &status) |
int | getMSModeVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | resetPeriodCard (DAEstatus &status) |
int | clearPeriodCounters (DAEstatus &status) |
int | setSinglePeriodSequenceMode (DAEstatus &status) |
int | setMultiplePeriodSequenceMode (int nseq, DAEstatus &status) |
bool | isMultipleSequenceComplete (DAEstatus &status) |
int | enablePeriodMode (bool external_mode, DAEstatus &status) |
int | disablePeriodMode (DAEstatus &status) |
int | enableMSMode (DAEstatus &status) |
int | disableMSMode (DAEstatus &status) |
int | endRunAfterSequenceCompletes (DAEstatus &status) |
bool | isRunEndedAndSequenceComplete (DAEstatus &status) |
bool | isEndRunAfterSequenceCompletesInProgress (DAEstatus &status) |
int | enableEventMode (DAEstatus &status) |
int | disableEventMode (DAEstatus &status) |
int | programPERLUT (isisU16_t *dwell_flags, isisU16_t *frames, int nperiod, DAEstatus &status) |
int | programOUTLUT (isisU32_t *outputs, int nperiod, DAEstatus &status) |
int | readPERLUT (isisU16_t *dwell_flags, isisU16_t *frames, int nperiod, DAEstatus &status) |
int | readOUTLUT (isisU32_t *outputs, int nperiod, DAEstatus &status) |
int | getPeriodRawFrames (int period, isisU32_t *frames, DAEstatus &status) |
int | getPeriodGoodFrames (int period, isisU32_t *frames, DAEstatus &status) |
int | zeroPeriodFrameCounters (DAEstatus &status) |
int | zeroPeriodProtonCounters (DAEstatus &status) |
int | zeroPeriodExtraCounters (DAEstatus &status) |
int | setPeriodControlBits (isisU32_t mask, bool preserve, DAEstatus &status) |
float | getRawUAmpHoursPeriod (int period, DAEstatus &status) |
float | getGoodUAmpHoursPeriod (int period, DAEstatus &status) |
int | getRawPPPLowerPeriod (int period, isisU32_t *value, DAEstatus &status) |
int | getRawPPPUpperPeriod (int period, isisU32_t *value, DAEstatus &status) |
int | getGoodPPPLowerPeriod (int period, isisU32_t *value, DAEstatus &status) |
int | getGoodPPPUpperPeriod (int period, isisU32_t *value, DAEstatus &status) |
void | abortSequenceCompleteWait (DAEstatus &status) |
int | setPeriodOutputDelay (isisU32_t delay, DAEstatus &status) |
int | setMuonPulse (int pulse, DAEstatus &status) |
int | enableDelayedStart (DAEstatus &status) |
int | disableDelayedStart (DAEstatus &status) |
int | startRun (DAEstatus &status) |
int | stopRun (DAEstatus &status) |
int | ClearFramesAndPPP (DAEstatus &status) |
int | setFrameSync (FrameSync fs, DAEstatus &status) |
FrameSync | getFrameSync (DAEstatus &status) |
bool | isRunning (DAEstatus &status) |
int | resetRunController (DAEstatus &status) |
int | getRawFrames (isisU32_t *value, DAEstatus &status) |
int | getGoodFrames (isisU32_t *value, DAEstatus &status) |
int | getRawPPPLower (isisU32_t *value, DAEstatus &status) |
int | getRawPPPUpper (isisU32_t *value, DAEstatus &status) |
int | getRawPPP (isisU64_t *value, DAEstatus &status) |
int | getGoodPPPLower (isisU32_t *value, DAEstatus &status) |
int | getGoodPPPUpper (isisU32_t *value, DAEstatus &status) |
int | getGoodPPP (isisU64_t *value, DAEstatus &status) |
int | enableSMPVeto (DAEstatus &status) |
int | enableExternalVeto (int veto_number, DAEstatus &status) |
int | enableInternalVeto (DAEstatus &status) |
int | enableFIFOVeto (DAEstatus &status) |
int | enableFermiChopperVeto (int chopper_number, int delay, int width, DAEstatus &status) |
int | enableTS2PulseVeto (DAEstatus &status) |
int | enableISIS50HzVeto (DAEstatus &status) |
int | syncFrameTimer (DAEstatus &status) |
int | readFrameTimer (FILETIME &ft, DAEstatus &status) |
double | frameTimerDrift (DAEstatus &status) |
return drift in microseconds, icp - dae More... | |
int | enableHardwarePeriods (DAEstatus &status) |
int | disableHardwarePeriods (DAEstatus &status) |
int | disableSMPVeto (DAEstatus &status) |
int | disableExternalVeto (int veto_number, DAEstatus &status) |
int | disableInternalVeto (DAEstatus &status) |
int | disableFIFOVeto (DAEstatus &status) |
int | disableFermiChopperVeto (int chopper_number, DAEstatus &status) |
int | disableTS2PulseVeto (DAEstatus &status) |
int | disableISIS50HzVeto (DAEstatus &status) |
int | getSMPVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getExternalVetoedFrames (int veto_number, isisU32_t *value, DAEstatus &status) |
int | getFIFOVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getInternalVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getFermiChopperVetoedFrames (int chopper_number, isisU32_t *value, DAEstatus &status) |
int | getTS2PulseVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getISIS50HzVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | setFrameSyncDelay (isisU32_t value, DAEstatus &status) |
int | getFrameSyncDelay (isisU32_t *value, DAEstatus &status) |
float | getRawUAmpHours (DAEstatus &status) |
float | getGoodUAmpHours (DAEstatus &status) |
bool | usingHardwarePeriods (DAEstatus &status) |
int | getFChopperVetoedFrames (int chopper_number, isisU32_t *value, DAEstatus &status) |
int | enableFChopperVeto (int chopper_number, int delay, int width, DAEstatus &status) |
int | disableFChopperVeto (int chopper_number, DAEstatus &status) |
int | printVetoDetails (std::ostream &os, DAEstatus &status) |
int | whichVeto (std::ostream &os, DAEstatus &status) |
keeps a static variable count of last values, should be safe as only one environment card More... | |
virtual int | resetCardState (DAEstatus &status) |
virtual int | position () const |
virtual std::string | daeDevice () const |
Public Member Functions inherited from DAE2Card< EnvPeriodPolicy > | |
DAE2Card (int position, ISISVME *vme, DAEstatus &status) | |
int | setRegisterBits (unsigned long address, isisU32_t mask, bool preserve, DAEstatus &status, bool little_endian=false) |
int | clearRegisterBits (unsigned long address, isisU32_t mask, DAEstatus &status, bool little_endian=false) |
int | setAndClearRegisterBits (unsigned long address, isisU32_t mask, bool preserve, DAEstatus &status, bool little_endian=false) |
int | setAndClearRegisterBits (const unused_t &address, isisU32_t mask, bool preserve, DAEstatus &status, bool little_endian=false) |
int | changeRegisterBits (unsigned long address, isisU32_t mask, bool set, bool check, DAEstatus &status, bool little_endian=false) |
bool | registerBitsSet (unsigned long address, isisU32_t mask, DAEstatus &status, bool little_endian=false) |
bool | registerBitsClear (unsigned long address, isisU32_t mask, DAEstatus &status, bool little_endian=false) |
int | readRegister (unsigned long address, isisU32_t *value, DAEstatus &status, bool little_endian=false, bool retry=true) |
int | readRegister (unsigned long address, isisU16_t *value, DAEstatus &status, bool little_endian=false, bool retry=true) |
int | readRegister (const unused_t &address, isisU32_t *value, DAEstatus &status, bool little_endian=false, bool retry=true) |
int | writeRegister (unsigned long address, isisU32_t value, DAEstatus &status, bool little_endian=false) |
int | writeRegister (const unused_t &address, isisU32_t value, DAEstatus &status, bool little_endian=false) |
int | writeRegister16 (unsigned long address, isisU16_t value, DAEstatus &status, bool little_endian=false) |
int | writeRegister16 (const unused_t &address, isisU16_t value, DAEstatus &status, bool little_endian=false) |
int | readRegister16As32 (unsigned long address0, unsigned long address1, isisU32_t *value, DAEstatus &status, bool little_endian=false) |
int | writeRegister32As16 (unsigned long address0, unsigned long address1, isisU32_t value, DAEstatus &status, bool little_endian=false) |
int | position () const |
std::string | daeDevice () const |
std::string | getFirmwareVersionAsString (DAEstatus &status) |
virtual | ~DAE2Card () |
void | printRegister (const char *name, unsigned long address, std::ostream &os, bool print_bits_set=false) |
int | readMemory (unsigned long address, typename T *buffer, int len, ISISVME::TransferProps props, DAEstatus &status) |
int | readMemoryChunked (unsigned long address, T *buffer, int len, int chunk_len, ISISVME::TransferProps props, DAEstatus &status) |
int | writeMemory (unsigned long address, T *buffer, int len, uint64_t read_check_mask, ISISVME::TransferProps props, DAEstatus &status) |
int | zeroMemory (unsigned long start, int len, uint64_t read_check_mask, ISISVME::TransferProps props, DAEstatus &status) |
Public Member Functions inherited from DAE2CardIntf | |
DAE2CardIntf () | |
virtual | ~DAE2CardIntf () |
Public Member Functions inherited from EnvPeriodCardIntf | |
EnvPeriodCardIntf () | |
virtual | ~EnvPeriodCardIntf () |
Protected Member Functions | |
int | setVetoRegisterBits (isisU32_t mask, bool preserve, DAEstatus &status) |
int | clearVetoRegisterBits (isisU32_t mask, DAEstatus &status) |
int | clearPeriodControlBits (isisU32_t mask, DAEstatus &status) |
int | setAndClearPeriodControlBits (isisU32_t mask, bool preserve, DAEstatus &status) |
int | getRawFrames (int period_start, int nperiod, isisU32_t frames[], DAEstatus &status) |
int | getGoodFrames (int period_start, int nperiod, isisU32_t frames[], DAEstatus &status) |
int | getPeriodRequestedFrames (int period, isisU32_t *frames, DAEstatus &status) |
int | getRequestedFrames (int period_start, int nperiod, isisU32_t frames[], DAEstatus &status) |
int | lookupAccessOUTLUT (DAEstatus &status) |
int | lookupAccessPERLUT (DAEstatus &status) |
int | lookupFinished (DAEstatus &status) |
int | setRunControlBits (isisU32_t mask, bool preserve, DAEstatus &status) |
int | clearRunControlBits (isisU32_t mask, DAEstatus &status) |
int | setAndClearRunControlBits (isisU32_t mask, bool preserve, DAEstatus &status) |
int | clearPPP (DAEstatus &status) |
int | updateOptions (DAEstatus &status) |
void | setOptions (EnvPCOptions opts) |
void | clearOptions (EnvPCOptions opts) |
bool | checkOptions (EnvPCOptions opts) |
int | processFermiChopperVeto (int chopper_number, boost::function< int(isisU32_t, DAEstatus &)> func, DAEstatus &status) |
int | computeTimeOffsetDelay (isisU32_t &delay, DAEstatus &status) |
compute the delay in reading or writing a value in DAE time units (20ns) More... | |
Protected Member Functions inherited from DAE2Card< EnvPeriodPolicy > | |
virtual unsigned long | makeAddress (unsigned long address) |
void | reverseEndian (isisU32_t *value) |
void | reverseEndian (isisU16_t *value) |
std::string | loggingPrefix () const |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
void | setThisLoggerLevel (int level) |
Private Types | |
enum | EnvPCOptions { MSMode =0x1, RotateFrameCountersRight =0x2, FChopperVeto =0x4, NoCheckSRAM =0x8, EventModeTimer =0x10 } |
Private Attributes | |
unsigned | m_options |
Additional Inherited Members | |
Public Types inherited from DAE2CardIntf | |
enum | CardType { EmptySlot = 0, UnknownCard = 1, EnvCard = 2, EnvPeriodCard = 3, NeutronDetectorCard = 4, MuonDetectorCard = 5, MuonPeriodCard = 6 } |
Static Public Member Functions inherited from DAE2Card< EnvPeriodPolicy > | |
static bool | isCardPresent (int position, ISISVME *vme, DAEstatus &status) |
static CardType | getCardType (int position, ISISVME *vme, DAEstatus &dstatus) |
static unsigned long | makeAddress (int position, unsigned long address) |
Static Protected Member Functions inherited from DAE2Card< EnvPeriodPolicy > | |
static int | getFirmwareVersion (int position, ISISVME *vme, firmware_version *fw, DAEstatus &status) |
static const char * | yesNoStr (bool b) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from DAE2Card< EnvPeriodPolicy > | |
int | m_position |
ISISVME * | m_vme |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 150 of file env_period_card.h.
|
private |
Bits used to indicate period vcard mode/functionality If you add an option you also need to modify updateOptions() so that the relevant information is read from the DAE on startup to correctly set the option
Definition at line 158 of file env_period_card.h.
EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard | ( | int | position, |
ISISVME * | vme, | ||
DAEstatus & | status | ||
) |
Definition at line 16 of file env_period_card.cpp.
References DAEstatus::addInfo(), EnvPeriodCard< EnvPeriodPolicy >::checkOptions(), EnvPeriodCard< EnvPeriodPolicy >::EventModeTimer, FAC_ENVCARD, LOGSTR_INFORMATION, LOGSTR_WARNING, EnvPeriodCard< EnvPeriodPolicy >::NoCheckSRAM, EnvPeriodCard< EnvPeriodPolicy >::printStatus(), ISIS::Base::setLoggerName(), and EnvPeriodCard< EnvPeriodPolicy >::updateOptions().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 496 of file env_period_card.cpp.
References PCENDAFTER.
|
inlineprotected |
Definition at line 347 of file env_period_card.h.
References EnvPeriodCard< EnvPeriodPolicy >::m_options.
Referenced by EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 834 of file env_period_card.cpp.
|
inlineprotected |
Definition at line 343 of file env_period_card.h.
References EnvPeriodCard< EnvPeriodPolicy >::m_options.
|
protected |
Definition at line 255 of file env_period_card.cpp.
References PCREG.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 371 of file env_period_card.cpp.
References PCCLRPC.
|
protected |
Definition at line 843 of file env_period_card.cpp.
|
protected |
Definition at line 807 of file env_period_card.cpp.
|
protected |
Definition at line 795 of file env_period_card.cpp.
|
protected |
compute the delay in reading or writing a value in DAE time units (20ns)
Definition at line 1584 of file env_period_card.cpp.
References DAEstatus::Success.
|
inlinevirtual |
Implements DAE2CardIntf.
Definition at line 331 of file env_period_card.h.
References DAE2Card< DAECardPolicy >::daeDevice().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 201 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1598 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1093 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), FAC_DAE, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1428 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1129 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1123 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1304 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1117 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1157 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 438 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 425 of file env_period_card.cpp.
References PCENAB.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1087 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1151 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 195 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1592 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1033 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), FAC_DAE, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1407 of file env_period_card.cpp.
References DAEstatus::add(), DAEstatus::addInfoVa(), ERRTYPE_OUTOFMEM, FAC_DAE, DAEstatus::Failure, and SEV_ERROR.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1069 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1063 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1298 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1057 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1081 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 431 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 411 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1027 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1075 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 446 of file env_period_card.cpp.
References PCENDAFTER.
|
virtual |
return drift in microseconds, icp - dae
Implements EnvPeriodCardIntf.
Definition at line 1546 of file env_period_card.cpp.
References diffFileTimes(), and g_icp_clock.
|
virtual |
|
virtual |
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1169 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), FAC_DAE, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1434 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1213 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), array_length(), FAC_DAE, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1200 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 849 of file env_period_card.cpp.
References DAEstatus::addVa(), ERRTYPE_OUTOFMEM, FAC_DAE, FrameSyncInternalTest, FrameSyncISIS, FrameSyncISISFirstTS1Pulse, FrameSyncMuonCerenkov, FrameSyncMuonMS, FrameSyncSMP, and SEV_ERROR.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1289 of file env_period_card.cpp.
|
protected |
Definition at line 701 of file env_period_card.cpp.
References GFCNT0START, DAEstatus::result(), and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 959 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1011 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 997 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1485 of file env_period_card.cpp.
References GPCNT0START, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1004 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1495 of file env_period_card.cpp.
References DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1344 of file env_period_card.cpp.
References PPP_TO_UAMPH.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1451 of file env_period_card.cpp.
References PPP_TO_UAMPH.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1206 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1234 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1194 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 338 of file env_period_card.cpp.
References MAX_NUM_PERIODS, and MPLIM.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 639 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 633 of file env_period_card.cpp.
|
protected |
Definition at line 645 of file env_period_card.cpp.
|
protected |
Definition at line 667 of file env_period_card.cpp.
References DAEstatus::result(), RFCNT0START, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 953 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 987 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 973 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1462 of file env_period_card.cpp.
References RPCNT0START, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 980 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1472 of file env_period_card.cpp.
References DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1355 of file env_period_card.cpp.
References PPP_TO_UAMPH.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1440 of file env_period_card.cpp.
References PPP_TO_UAMPH.
|
protected |
Definition at line 651 of file env_period_card.cpp.
References PERLUTSTART, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1163 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1228 of file env_period_card.cpp.
|
virtual |
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 468 of file env_period_card.cpp.
References PCENDAFTER, PCENDSEQCOMP, and PCREG.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 483 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 452 of file env_period_card.cpp.
References PCENDAFTER, PCENDSEQCOMP, and PCREG.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 938 of file env_period_card.cpp.
|
protected |
Definition at line 297 of file env_period_card.cpp.
|
protected |
Definition at line 303 of file env_period_card.cpp.
|
protected |
Definition at line 309 of file env_period_card.cpp.
References LOOKTAR.
|
inlinevirtual |
Implements DAE2CardIntf.
Definition at line 330 of file env_period_card.h.
References DAE2Card< DAECardPolicy >::position().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 58 of file env_period_card.cpp.
References period_modes::bit, mode_list, PCREG, DAE2Card< DAECardPolicy >::printStatus(), PSCNT, period_modes::set, and period_modes::unset.
Referenced by EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 181 of file env_period_card.cpp.
References DAEstatus::Success.
|
protected |
Definition at line 1136 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), array_length(), FAC_DAE, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 556 of file env_period_card.cpp.
References OUTLUTSIZE, OUTLUTSTART, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 503 of file env_period_card.cpp.
References PERLUTSIZE, PERLUTSTART, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1559 of file env_period_card.cpp.
References DAEEventList::DAETimeToFILETIME(), DAEEventHeader::DAETime::high, DAEEventHeader::DAETime::low, and DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 571 of file env_period_card.cpp.
References OUTLUTSTART, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 536 of file env_period_card.cpp.
References PERLUTSTART, and ISISVME::TransferLUTSpace.
|
virtual |
This emulates Kelvin Gascoyne's ClearVMEPORT.bat file to reset the state of the period card
Register write:
MANTALK 0 card(hex) address(hex) data(hex) <count(hex) <step(hex)>>
* mantalk 0 0 200 1 * mantalk 0 0 204 fa0 * mantalk 0 0 208 5dc * mantalk 0 0 300 0 6 * mantalk 0 0 40000 0 * mantalk 0 0 40080 0 * mantalk 0 0 40084 c006 * mantalk 0 0 40088 8000 * mantalk 0 0 40084 100008 * mantalk 0 0 40088 0 * mantalk 0 0 80000 0 10000 * mantalk 0 0 c0000 0 4000 * mantalk 0 0 100000 0 10000 * mantalk 0 0 140000 0 10000 *
Implements EnvPeriodCardIntf.
Definition at line 1627 of file env_period_card.cpp.
References LOGSTR_INFORMATION, LOOKTAR, MPCNT, MPLIM, OUTLUTSIZE, OUTLUTSTART, PCREG, PERLUTSIZE, PERLUTSTART, PSCNT, PSLR, RFCNT0SIZE, RFCNT0START, ISISVME::Success, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 365 of file env_period_card.cpp.
References PCRESET.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1021 of file env_period_card.cpp.
|
protected |
Definition at line 261 of file env_period_card.cpp.
References PCREG.
|
protected |
Definition at line 813 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 881 of file env_period_card.cpp.
References DAEstatus::addVa(), ERRTYPE_OUTOFMEM, FAC_DAE, DAEstatus::Failure, FrameSyncInternalTest, FrameSyncISIS, FrameSyncISISFirstTS1Pulse, FrameSyncMuonCerenkov, FrameSyncMuonMS, FrameSyncSMP, and SEV_ERROR.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1265 of file env_period_card.cpp.
References DAEstatus::add(), ERRTYPE_INVCARD, FAC_ENVCARD, and SEV_ERROR.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 404 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 920 of file env_period_card.cpp.
References DAEstatus::addWarningVa(), FAC_DAE, and DAEstatus::Failure.
|
virtual |
|
inlineprotected |
Definition at line 339 of file env_period_card.h.
References EnvPeriodCard< EnvPeriodPolicy >::m_options.
|
virtual |
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 763 of file env_period_card.cpp.
References DAEstatus::add(), ERRTYPE_INVCARD, FAC_ENVCARD, and SEV_ERROR.
|
protected |
Definition at line 801 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 398 of file env_period_card.cpp.
References PCMULENAB.
|
protected |
Definition at line 789 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 819 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 827 of file env_period_card.cpp.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1512 of file env_period_card.cpp.
References DAEstatus::addInfoVa(), DAEEventList::DAETimeAsString(), FAC_DAE, DAEEventList::FILETIMEToDAETime(), g_icp_clock, DAEEventHeader::DAETime::high, ICPTimer::info(), DAEEventHeader::DAETime::low, and DAEstatus::Success.
|
protected |
<
Definition at line 1366 of file env_period_card.cpp.
References DAEstatus::addInfo(), FAC_DAE, MPLIM, PCREG, and DAEstatus::result().
Referenced by EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard().
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 1310 of file env_period_card.cpp.
|
virtual |
keeps a static variable count of last values, should be safe as only one environment card
Implements EnvPeriodCardIntf.
Definition at line 208 of file env_period_card.cpp.
References DAEstatus::Success.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 616 of file env_period_card.cpp.
References ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 587 of file env_period_card.cpp.
References GFCNT0SIZE, GFCNT0START, RFCNT0SIZE, RFCNT0START, and ISISVME::TransferLUTSpace.
|
virtual |
Implements EnvPeriodCardIntf.
Definition at line 597 of file env_period_card.cpp.
References GPCNT0START, RPCNT0START, and ISISVME::TransferLUTSpace.
|
private |
Configuration Options for period card - see EnvPCOptions for meaning of bits
Definition at line 154 of file env_period_card.h.
Referenced by EnvPeriodCard< EnvPeriodPolicy >::checkOptions(), EnvPeriodCard< EnvPeriodPolicy >::clearOptions(), and EnvPeriodCard< EnvPeriodPolicy >::setOptions().