ICP
1
|
#include <isisdae.h>
Classes | |
struct | histogram_async_t |
struct | spec_map_info |
struct | test_async_t |
struct | veto_desc |
Public Types | |
enum | DAEType { UnknownDAE =0, NeutronDAE2 =1, MuonDAE2 =2, NeutronDAE3 =3, MuonDAE3 =4 } |
enum | PeriodType { PeriodTypeSoftware =0, PeriodTypeHardwareInternal =1, PeriodTypeHardwareExternal =2 } |
enum | StopRunMode { StopRunClean, StopRunFast, StopRunDiscard } |
typedef Addmap | MyAddmap |
typedef std::map< int, spec_map_info > | dae1spec_map_t |
typedef std::map< int, std::vector< int > > | dae2spec_map_t |
Public Member Functions | |
const dae1spec_map_t & | getDAE1Specmap () const |
const dae2spec_map_t & | getDAE2Specmap () const |
ISISDAE (DAEType type, DAEstatus &status, bool endian_workaround, bool simulate) | |
virtual | ~ISISDAE () |
isis32_t | open (const char *dae_name, DAEstatus &status) |
isis32_t | openBackplane (const char *dae_name_bp, DAEstatus &status) |
isis32_t | close (DAEstatus &status) |
bool | isRunning (DAEstatus &status) |
void | printStatus (std::ostream &os, DAEstatus &status) |
void | printAddmap (std::ostream &os, DAEstatus &status) |
void | printSpectrum (int spec, std::ostream &os, DAEstatus &status) |
DetectorCardIntf * | findDetectorCard (int position, DAEstatus &status) |
int | readHistogramMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status) |
isisU32_t | sumAllHistogramMemory (DAEstatus &status) |
int | clearHistogramMemory (DAEstatus &status) |
int | writePOSLUTMemory (int card_id, isisU32_t *buffer, int len, DAEstatus &status) |
int | clearPOSLUTMemory (DAEstatus &status) |
int | writeHistogramMemory (int card_id, isisU32_t *buffer, int start, int len, 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 | getGoodPPPLower (isisU32_t *value, DAEstatus &status) |
int | getGoodPPPUpper (isisU32_t *value, DAEstatus &status) |
int | getRawFramesPeriod (isisU32_t *value, int period, DAEstatus &status) |
int | getGoodFramesPeriod (isisU32_t *value, int period, DAEstatus &status) |
float | getRawUAmpHours (DAEstatus &status) |
float | getGoodUAmpHours (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) |
int | setTimeChannels (int crat, isisU32_t *tcb, int ntc, DAEstatus &status) |
int | setTimeChannels (int crat, int start[], int nbound[], int step[], int nblocks, DAEstatus &status) |
int | readDAE1Spectrum (int dae1_spectrum, isisU32_t *buffer, int nbuffer, DAEstatus &status) |
int | readDAE1Spectra (isisU32_t *buffer, int nbuffer, int spec_to_crpt_offset[], int spec_start, int nspec, int period, int persize, DAEstatus &status) |
int | readAllDAE1Spectra (isisU32_t *buffer, int nbuffer, int spec_to_crpt_offset[], int persize, DAEstatus &status) |
@ todo specttrum 0 may have differet size for time regimes More... | |
int | programDAE1POSLUT (int crat[], int maxcrate, int modn[], int mpos[], int spec[], int ndet, int nper_daq, DAEstatus &status) |
int | programPOSLUT (int cards[], int dims[], int pos_start[], int npos[], int spec[], int spec_step[], int nblocks, DAEstatus &status) |
int | startRun (bool clear_counters, int run_number, time_t &start_time, DAEstatus &status) |
int | stopRun (StopRunMode mode, DAEstatus &status) |
int | changePeriod (int period, int daq_period, DAEstatus &status) |
int | changeNumberOfPeriods (int nperiod, DAEstatus &status) |
int | resetRunController (DAEstatus &status) |
int | setDAE1Vetos (int vetos[], int n, DAEstatus &status) |
int | setFrameSync (FrameSync fs, int muon_pulse, DAEstatus &status) |
int | setFrameSyncDelay (isisU32_t delay, DAEstatus &status) |
int | getFrameSyncDelay (isisU32_t *delay, DAEstatus &status) |
int | setDCFrameSyncDelay (int crat, isisU32_t delay, DAEstatus &status) |
int | getDCFrameSyncDelay (int crat, isisU32_t *delay, DAEstatus &status) |
int | setPeriodType (ISISDAE::PeriodType type, bool single_daq_period, DAEstatus &status) |
int | getCurrentHardwarePeriod (isisU32_t *period, DAEstatus &status) |
int | getCurrentDAQHardwarePeriod (isisU32_t *period, DAEstatus &status) |
int | getCurrentPeriodSequence (isisU32_t *period_sequence, 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 | getTS2PulseVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getISIS50HzVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getMSModeVetoedFrames (isisU32_t *value, DAEstatus &status) |
int | getTotalCounts (int64_t *value, DAEstatus &status) |
int | programPeriodCard (PeriodType period_type, int nper, int nperseq_request, isisU32_t *outputs, isisU16_t *dwell_flags, isisU16_t *frames, int period_output_delay, DAEstatus &status) |
int | disablePeriodCard (DAEstatus &status) |
bool | isMultiplePeriodSequenceComplete (DAEstatus &status) |
template<class DAECardPolicy > | |
int | VMEWriteValue (unsigned long card_id, unsigned long card_address, bool sixteen_bit, unsigned long value, unsigned long mode, DAEstatus &status) |
template<class DAECardPolicy > | |
int | VMEReadValue (unsigned long card_id, unsigned long card_address, bool sixteen_bit, unsigned long *value, DAEstatus &status) |
template<class DAECardPolicy > | |
int | VMEWriteArray (unsigned long card_id, unsigned long card_address, isisU32_t *values, unsigned long num_values, DAEstatus &status) |
template<class DAECardPolicy > | |
int | VMEReadArray (unsigned long card_id, unsigned long card_address, isisU32_t *values, unsigned long num_values, DAEstatus &status) |
int | clearCounters (DAEstatus &status) |
int | clearCounters (int run_number, DAEstatus &status) |
int | fillWithTestPattern (unsigned long pattern, DAEstatus &status) |
int | checkTestPattern (unsigned long pattern, DAEstatus &status) |
int | checkTestPatternAsync (unsigned long pattern, DAEstatus &status) |
int | getVetoStatus (std::string &veto_text, DAEstatus &status) |
int | whichVeto (std::string &veto_text, DAEstatus &status) |
int | setVeto (const std::string &name, bool enable, DAEstatus &status) |
void | setUAmpScale (float scale) |
int | enableDelayedStart (DAEstatus &status) |
int | disableDelayedStart (DAEstatus &status) |
void | setEventMode (bool value) |
void | clearDCEventMode (DAEstatus &status) |
void | setDCEventMode (unsigned long card_id, bool value, DAEstatus &status) |
void | setDCCardMode (unsigned long card_id, bool neutron_data, DAEstatus &status) |
isis32_t | check (DAEstatus &status) |
int | requestEndRunAfterNextSequenceCompletes (DAEstatus &status) |
bool | isFinalSequenceComplete (DAEstatus &status) |
std::list < boost::signals2::connection > | addGoodEventCallback (const EventCallbackSlotType &slot) |
std::list < boost::signals2::connection > | addAllEventCallback (const EventCallbackSlotType &slot) |
std::list < boost::signals2::connection > | addGoodFrameCallback (const FrameCallbackSlotType &slot) |
std::list < boost::signals2::connection > | addAllFrameCallback (const FrameCallbackSlotType &slot) |
std::list < boost::signals2::connection > | addNoFrameCallback (const NoFrameCallbackSlotType &slot) |
void | clearCallbacks (const std::list< boost::signals2::connection > &callback_list) |
void | getEventSourceIDs (std::vector< int > &ids) |
void | getEnabledEventSourceIDs (std::vector< int > &ids) |
double | frameTimerDrift (DAEstatus &status) |
frame timer drift (icp - dae) More... | |
void | closeEventFiles (DAEstatus &status) |
int | getExternalResetCommands (std::list< std::pair< std::string, std::string > > &commands, DAEstatus &status) |
void | startEventBroadcaster (const CRPTProxy &crpt) |
Static Public Attributes | |
static const char * | DAEType_desc [] |
static const char * | PeriodType_desc [] |
Protected Types | |
typedef int(EnvironmentCardIntf::* | env_veto_set_func_t )(DAEstatus &status) |
typedef int(EnvPeriodCardIntf::* | env_pc_veto_set_func_t )(DAEstatus &status) |
typedef std::vector< ISISVME * > | vme_list_t |
typedef std::vector < DetectorCardIntf * > | det_list_t |
typedef std::vector < EnvironmentCardIntf * > | env_list_t |
typedef std::vector < EnvPeriodCardIntf * > | env_period_list_t |
Protected Member Functions | |
int | updateAddmap (DAEstatus &status) |
template<class DAEPolicy > | |
int | locateCards (ISISVME *vme, int dae_number, DAEstatus &status) |
int | waitForAsync () |
int | doneAsync () |
called by async worker thread when it has completed its work More... | |
int | readDCHistogramAsync (DetectorCardIntf *dc, unsigned long start, isisU32_t *buffer, int len, DAEstatus &dstatus) |
int | clearFramesVetosAndPPP (DAEstatus &status) |
int | clearTotalCountsRegisters (DAEstatus &status) |
int | readDescriptorTimeBinLimitRegister (int det_card, isisU32_t *value, DAEstatus &status) |
int | writeDescriptorTimeBinLimitRegister (int det_card, isisU32_t value, DAEstatus &status) |
int | readTCGTimeBinLimitRegister (int det_card, isisU32_t *value, DAEstatus &status) |
int | writeTCGTimeBinLimitRegister (int det_card, isisU32_t value, DAEstatus &status) |
DetectorCardIntf * | getDCForSpectrum (int spec) const |
int | getDCSpecForSpectrum (int spec) const |
void | getDCSpecInfoForSpectrum (int spec, spec_map_info &info) const |
int | getNTimeChannels (int spectrum, isisU32_t *ntc, DAEstatus &status) |
int | getSpectrumSize (int spectrum, isisU32_t *nchan, DAEstatus &status) |
int | getTimeChannels (int spec, isisU32_t *tcb, int ntc, DAEstatus &status) |
int | getTimeChannels (int spec, double *tcb, int ntc, DAEstatus &status) |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions | |
static DWORD __stdcall | readDCHistogramThread (void *arg) |
static DWORD __stdcall | checkTestPatternThread (void *arg) |
static int | daeTriggerFunc (void *arg, time_t the_secs, unsigned short the_ms, int trig_id) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes | |
vme_list_t | m_vme |
det_list_t | m_detCards |
env_list_t | m_envCards |
env_period_list_t | m_envPeriodCards |
MyAddmap * | m_addmap |
dae1spec_map_t | m_dae1_spec_map |
dae2spec_map_t | m_dae2_spec_map |
EventStore | m_es |
int | m_lenAddmap |
int | m_clock_frequency |
float | m_uamp_scale |
Poco::TaskManager | m_taskmgr |
DAEProgressHandler | m_task_ph |
DAEType | m_dae_type |
PeriodType | m_period_mode |
CRITICAL_SECTION | m_dae_cs |
bool | m_simulate |
bool | m_event_mode |
HANDLE | m_async_complete_event |
volatile LONG | m_num_async_requests |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Static Protected Attributes | |
static veto_desc | veto_setters [] |
Private Member Functions | |
ISISDAE () | |
typedef std::map< int, spec_map_info > ISISDAE::dae1spec_map_t |
typedef std::map< int, std::vector<int> > ISISDAE::dae2spec_map_t |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
typedef Addmap ISISDAE::MyAddmap |
|
protected |
enum ISISDAE::DAEType |
enum ISISDAE::PeriodType |
enum ISISDAE::StopRunMode |
Definition at line 112 of file isisdae.cpp.
References DAE2DetCardPolicy::DAESPECMAX, LOGSTR_INFORMATION, m_addmap, m_async_complete_event, m_clock_frequency, m_dae_cs, m_dae_type, m_task_ph, m_taskmgr, MuonDAE2, MuonDAE3, NeutronDAE2, NeutronDAE3, DAEProgressHandler::onFinished(), DAEProgressHandler::onProgress(), NIVisa::setEndianWorkaround(), and ISIS::Base::setLoggerName().
|
virtual |
Definition at line 150 of file isisdae.cpp.
References close(), m_addmap, m_async_complete_event, m_dae_cs, m_detCards, m_envCards, m_envPeriodCards, m_task_ph, m_taskmgr, m_vme, DAEProgressHandler::onFinished(), and DAEProgressHandler::onProgress().
|
inline |
Definition at line 269 of file isisdae.h.
References EventStore::addAllEventCallback(), and m_es.
Referenced by ICPEventWriter::start().
|
inline |
Definition at line 277 of file isisdae.h.
References EventStore::addAllFrameCallback(), and m_es.
Referenced by ICPEventWriter::start().
|
inline |
Definition at line 265 of file isisdae.h.
References EventStore::addGoodEventCallback(), and m_es.
Referenced by ISISinstrumentControl::endRunMain(), and ISISinstrumentControl::ISISinstrumentControl().
|
inline |
Definition at line 273 of file isisdae.h.
References EventStore::addGoodFrameCallback(), and m_es.
|
inline |
Definition at line 281 of file isisdae.h.
References EventStore::addNoFrameCallback(), and m_es.
Referenced by ICPEventWriter::start().
int ISISDAE::changeNumberOfPeriods | ( | int | nperiod, |
DAEstatus & | status | ||
) |
Definition at line 231 of file isisdae.cpp.
References m_dae_cs, and m_detCards.
Referenced by ISISinstrumentControl::changeNumberOfSoftwarePeriods().
int ISISDAE::changePeriod | ( | int | period, |
int | daq_period, | ||
DAEstatus & | status | ||
) |
Definition at line 221 of file isisdae.cpp.
References m_dae_cs, and m_detCards.
Referenced by ISISinstrumentControl::changePeriod(), and DAERESUME().
Definition at line 691 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_INVCARD, FAC_DAE, DAEstatus::Failure, m_detCards, m_envCards, m_envPeriodCards, SEV_FATAL, and DAEstatus::Success.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
int ISISDAE::checkTestPattern | ( | unsigned long | pattern, |
DAEstatus & | status | ||
) |
Definition at line 1938 of file isisdae.cpp.
References m_detCards, and ISISVME::Success.
int ISISDAE::checkTestPatternAsync | ( | unsigned long | pattern, |
DAEstatus & | status | ||
) |
Definition at line 1904 of file isisdae.cpp.
References DAEstatus::add(), checkTestPatternThread(), ERRTYPE_OUTOFMEM, FAC_DAE, ICPTimer::info(), m_detCards, m_num_async_requests, SEV_ERROR, ISISVME::Success, and waitForAsync().
Referenced by ISISinstrumentControl::checkTestPattern().
|
staticprotected |
Definition at line 1895 of file isisdae.cpp.
References DetectorCardIntf::checkTestPattern(), ISISDAE::test_async_t::dae, ISISDAE::test_async_t::dc, doneAsync(), ISISDAE::test_async_t::pattern, and ISISDAE::test_async_t::status.
Referenced by checkTestPatternAsync().
|
inline |
Definition at line 285 of file isisdae.h.
References EventStore::clearCallbacks(), and m_es.
Referenced by ISISinstrumentControl::endRunMain(), and ICPEventWriter::stop().
int ISISDAE::clearCounters | ( | DAEstatus & | status | ) |
Definition at line 836 of file isisdae.cpp.
References clearFramesVetosAndPPP(), and clearTotalCountsRegisters().
Referenced by ISISinstrumentControl::beginRunMainEx(), clearCounters(), ISISinstrumentControl::setupDAE(), and startRun().
int ISISDAE::clearCounters | ( | int | run_number, |
DAEstatus & | status | ||
) |
Definition at line 822 of file isisdae.cpp.
References clearCounters(), EventStore::closeAndDeleteOutputFile(), m_es, m_event_mode, and EventStore::setOutputFileName().
void ISISDAE::clearDCEventMode | ( | DAEstatus & | status | ) |
Definition at line 2056 of file isisdae.cpp.
References m_detCards, m_es, EventStore::setCardStatus(), and DetectorCardIntf::setEventCollectionMode().
Referenced by ISISinstrumentControl::setupDAE().
|
protected |
Definition at line 1562 of file isisdae.cpp.
References ENV_FUNCTION, and m_envPeriodCards.
Referenced by clearCounters().
int ISISDAE::clearHistogramMemory | ( | DAEstatus & | status | ) |
Definition at line 815 of file isisdae.cpp.
References m_detCards, m_taskmgr, and pollUntilTasksComplete().
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
int ISISDAE::clearPOSLUTMemory | ( | DAEstatus & | status | ) |
Definition at line 355 of file isisdae.cpp.
References m_detCards.
|
protected |
Definition at line 710 of file isisdae.cpp.
References m_vme, and DAEstatus::result().
Referenced by ~ISISDAE().
void ISISDAE::closeEventFiles | ( | DAEstatus & | status | ) |
Definition at line 872 of file isisdae.cpp.
References EventStore::closeOutputFile(), and m_es.
Referenced by ISISinstrumentControl::endRunMain().
|
staticprotected |
Definition at line 675 of file isisdae.cpp.
References DAEstatus::Success.
Referenced by openBackplane().
int ISISDAE::disableDelayedStart | ( | DAEstatus & | status | ) |
Definition at line 2016 of file isisdae.cpp.
References m_envCards, m_envPeriodCards, and ISISVME::Success.
Referenced by ISISinstrumentControl::stopDataCollection().
int ISISDAE::disablePeriodCard | ( | DAEstatus & | status | ) |
Definition at line 1755 of file isisdae.cpp.
References m_envPeriodCards, PERIOD_FUNCTION, and DAEstatus::result().
Referenced by ISISinstrumentControl::setupDAE().
|
protected |
called by async worker thread when it has completed its work
Definition at line 188 of file isisdae.cpp.
References m_async_complete_event, and m_num_async_requests.
Referenced by checkTestPatternThread(), and readDCHistogramThread().
int ISISDAE::enableDelayedStart | ( | DAEstatus & | status | ) |
Definition at line 2001 of file isisdae.cpp.
References DAEstatus::addInfo(), FAC_DAE, m_envCards, m_envPeriodCards, and ISISVME::Success.
Referenced by ISISinstrumentControl::beginRunMainEx().
int ISISDAE::fillWithTestPattern | ( | unsigned long | pattern, |
DAEstatus & | status | ||
) |
Definition at line 1927 of file isisdae.cpp.
References DAEstatus::addInfoVa(), FAC_DAE, m_detCards, and ISISVME::Success.
Referenced by ISISinstrumentControl::fillWithTestPattern().
DetectorCardIntf * ISISDAE::findDetectorCard | ( | int | position, |
DAEstatus & | status | ||
) |
Definition at line 1135 of file isisdae.cpp.
References m_detCards.
Referenced by getDCFrameSyncDelay(), programDAE1POSLUT(), setDCCardMode(), setDCEventMode(), setDCFrameSyncDelay(), setTimeChannels(), writeHistogramMemory(), and writePOSLUTMemory().
double ISISDAE::frameTimerDrift | ( | DAEstatus & | status | ) |
frame timer drift (icp - dae)
Definition at line 1507 of file isisdae.cpp.
References m_envPeriodCards.
Referenced by ISISinstrumentControl::updateICPTimeDiffLog().
Definition at line 1619 of file isisdae.cpp.
References ISISVME::Error, m_detCards, m_period_mode, and PeriodTypeSoftware.
Referenced by ISISinstrumentControl::getCurrentPeriodNumber().
Definition at line 1597 of file isisdae.cpp.
References ISISVME::Error, m_detCards, m_period_mode, PERIOD_FUNCTION, PeriodTypeHardwareExternal, PeriodTypeHardwareInternal, and DAEstatus::result().
Referenced by ISISinstrumentControl::getCurrentPeriodNumber().
Definition at line 1764 of file isisdae.cpp.
References m_envPeriodCards, PERIOD_FUNCTION, and DAEstatus::result().
Referenced by ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
|
inline |
Definition at line 79 of file isisdae.h.
References m_dae1_spec_map.
|
inline |
Definition at line 80 of file isisdae.h.
References m_dae2_spec_map.
Referenced by ISISinstrumentControl::updateSpecmapsFromDAE().
|
inlineprotected |
Definition at line 320 of file isisdae.h.
References m_dae1_spec_map.
Referenced by getNTimeChannels(), getSpectrumSize(), and getTimeChannels().
Definition at line 1538 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, findDetectorCard(), DetectorCardIntf::getFrameSyncDelay(), DAEstatus::result(), and SEV_ERROR.
|
inlineprotected |
Definition at line 326 of file isisdae.h.
References m_dae1_spec_map.
|
inlineprotected |
Definition at line 332 of file isisdae.h.
References ISISDAE::spec_map_info::card, m_dae1_spec_map, and ISISDAE::spec_map_info::spec.
|
inline |
Definition at line 293 of file isisdae.h.
References EventStore::getEnabledEventSourceIDs(), and m_es.
Referenced by ICPEventWriter::start().
|
inline |
Definition at line 289 of file isisdae.h.
References EventStore::getEventSourceIDs(), and m_es.
int ISISDAE::getExternalResetCommands | ( | std::list< std::pair< std::string, std::string > > & | commands, |
DAEstatus & | status | ||
) |
Definition at line 2085 of file isisdae.cpp.
References m_detCards, m_envCards, m_envPeriodCards, and DAEstatus::Success.
Referenced by ISISinstrumentControl::setupDAE().
Definition at line 1662 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by ISISinstrumentControl::stopDataCollection(), and stopRun().
Definition at line 1667 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by ISISinstrumentControl::stopDataCollection(), and stopRun().
Definition at line 1519 of file isisdae.cpp.
References ENV_FUNCTION.
Definition at line 1028 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by DAEEND(), DAEPAUSE(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::getGoodFrames(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1015 of file isisdae.cpp.
References m_period_mode, PERIOD_FUNCTION, PeriodTypeSoftware, and ISISVME::Success.
Referenced by ISISinstrumentControl::getCurrentPeriodGoodFrames(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
Definition at line 1043 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by RIO(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1103 of file isisdae.cpp.
References DAEstatus::Failure, and m_envPeriodCards.
Definition at line 1048 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by RIO(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1116 of file isisdae.cpp.
References DAEstatus::Failure, and m_envPeriodCards.
float ISISDAE::getGoodUAmpHours | ( | DAEstatus & | status | ) |
Definition at line 1552 of file isisdae.cpp.
References ENV_FUNCTION, and m_uamp_scale.
Referenced by ISISinstrumentControl::getGoodUAmpH(), ISISinstrumentControl::getUAmpHAllPeriods(), and ISISinstrumentControl::stopDataCollection().
float ISISDAE::getGoodUAmpHoursPeriod | ( | int | period, |
DAEstatus & | status | ||
) |
Definition at line 1065 of file isisdae.cpp.
References m_envPeriodCards, and m_uamp_scale.
Referenced by ISISinstrumentControl::getCurrentPeriodGoodUAmpH(), ISISinstrumentControl::getUAmpHAllPeriods(), and ISISinstrumentControl::stopDataCollection().
Definition at line 1657 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by ISISinstrumentControl::stopDataCollection(), and stopRun().
Definition at line 1672 of file isisdae.cpp.
References m_envPeriodCards.
Referenced by ISISinstrumentControl::stopDataCollection().
Definition at line 305 of file isisdae.cpp.
References getDCForSpectrum(), and DetectorCardIntf::getNTimeChannels().
Definition at line 997 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by DAEEND(), DAEPAUSE(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::getRawFrames(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1002 of file isisdae.cpp.
References m_period_mode, PERIOD_FUNCTION, PeriodTypeSoftware, and ISISVME::Success.
Referenced by ISISinstrumentControl::getCurrentPeriodRawFrames(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
Definition at line 1033 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by RIO(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1077 of file isisdae.cpp.
References DAEstatus::Failure, and m_envPeriodCards.
Definition at line 1038 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by RIO(), ISISinstrumentControl::RIO(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
Definition at line 1090 of file isisdae.cpp.
References DAEstatus::Failure, and m_envPeriodCards.
float ISISDAE::getRawUAmpHours | ( | DAEstatus & | status | ) |
Definition at line 1557 of file isisdae.cpp.
References ENV_FUNCTION, and m_uamp_scale.
Referenced by ISISinstrumentControl::getRawUAmpH(), ISISinstrumentControl::getUAmpHAllPeriods(), and ISISinstrumentControl::stopDataCollection().
float ISISDAE::getRawUAmpHoursPeriod | ( | int | period, |
DAEstatus & | status | ||
) |
Definition at line 1053 of file isisdae.cpp.
References m_envPeriodCards, and m_uamp_scale.
Referenced by ISISinstrumentControl::getCurrentPeriodRawUAmpH(), ISISinstrumentControl::getUAmpHAllPeriods(), and ISISinstrumentControl::stopDataCollection().
Definition at line 1647 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by ISISinstrumentControl::stopDataCollection(), and stopRun().
Definition at line 299 of file isisdae.cpp.
References getDCForSpectrum(), and DetectorCardIntf::getSpectrumSize().
Referenced by getTimeChannels(), printSpectrum(), readAllDAE1Spectra(), readDAE1Spectra(), and readHistogramMemory().
Definition at line 311 of file isisdae.cpp.
References getDCForSpectrum(), and DetectorCardIntf::getTimeChannels().
Referenced by getTimeChannels(), and printSpectrum().
|
protected |
Definition at line 1633 of file isisdae.cpp.
References getSpectrumSize(), getTimeChannels(), and m_clock_frequency.
int ISISDAE::getTotalCounts | ( | int64_t * | value, |
DAEstatus & | status | ||
) |
Definition at line 1685 of file isisdae.cpp.
References m_detCards.
Referenced by ISISinstrumentControl::getTotalCounts().
Definition at line 1652 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by ISISinstrumentControl::stopDataCollection(), and stopRun().
int ISISDAE::getVetoStatus | ( | std::string & | veto_text, |
DAEstatus & | status | ||
) |
Definition at line 1950 of file isisdae.cpp.
References ENV_FUNCTION, and ISISVME::Success.
Referenced by ISISinstrumentControl::getVetoStatus(), and stopRun().
bool ISISDAE::isFinalSequenceComplete | ( | DAEstatus & | status | ) |
Definition at line 2074 of file isisdae.cpp.
References m_envPeriodCards, m_period_mode, PERIOD_FUNCTION, PeriodTypeHardwareExternal, and PeriodTypeHardwareInternal.
Referenced by ISISinstrumentControl::isFinalSequenceComplete().
bool ISISDAE::isMultiplePeriodSequenceComplete | ( | DAEstatus & | status | ) |
Definition at line 1777 of file isisdae.cpp.
References m_envPeriodCards.
Referenced by ISISinstrumentControl::updateFunc().
bool ISISDAE::isRunning | ( | DAEstatus & | status | ) |
Definition at line 1129 of file isisdae.cpp.
References ENV_FUNCTION.
|
protected |
Definition at line 723 of file isisdae.cpp.
References DAEstatus::add(), EventStore::addCard(), DAEstatus::addInfo(), ISISVME::device(), ERRTYPE_OUTOFMEM, FAC_DAE, m_detCards, m_envCards, m_envPeriodCards, m_es, and SEV_ERROR.
Definition at line 613 of file isisdae.cpp.
References DAEstatus::add(), DAEstatus::addInfo(), DAEstatus::addInfoVa(), ERRTYPE_NODAE, FAC_DAE, ISISVME::initOK(), ISISVME::lockDevice(), LOGSTR_INFORMATION, m_dae_type, m_simulate, m_vme, MuonDAE3, NeutronDAE3, ISISVME::open(), ISISVME::scanBus(), and SEV_ERROR.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), and open_dae_cds().
Definition at line 604 of file isisdae.cpp.
References DAEstatus::addInfoVa(), daeTriggerFunc(), FAC_DAE, m_vme, ISISVME::openBackplane(), ISISVME::setTriggerFunc(), and ISISVME::Success.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
void ISISDAE::printAddmap | ( | std::ostream & | os, |
DAEstatus & | status | ||
) |
Definition at line 268 of file isisdae.cpp.
References Addmap::card, Addmap::dae1add, Addmap::dae2add, Addmap::len, m_addmap, m_lenAddmap, and Addmap::spec.
void ISISDAE::printSpectrum | ( | int | spec, |
std::ostream & | os, | ||
DAEstatus & | status | ||
) |
Definition at line 280 of file isisdae.cpp.
References getSpectrumSize(), getTimeChannels(), m_clock_frequency, and readDAE1Spectrum().
void ISISDAE::printStatus | ( | std::ostream & | os, |
DAEstatus & | status | ||
) |
Definition at line 241 of file isisdae.cpp.
References DAEType_desc, m_dae_type, m_detCards, m_envCards, m_envPeriodCards, m_lenAddmap, m_period_mode, m_uamp_scale, m_vme, and PeriodType_desc.
Referenced by ISISinstrumentControl::printStatus().
int ISISDAE::programDAE1POSLUT | ( | int | crat[], |
int | maxcrate, | ||
int | modn[], | ||
int | mpos[], | ||
int | spec[], | ||
int | ndet, | ||
int | nper_daq, | ||
DAEstatus & | status | ||
) |
Definition at line 365 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_INVCARD, FAC_DAE, findDetectorCard(), m_dae_type, m_detCards, MuonDAE2, MuonDAE3, SEV_ERROR, and updateAddmap().
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
int ISISDAE::programPeriodCard | ( | PeriodType | period_type, |
int | nper, | ||
int | nperseq_request, | ||
isisU32_t * | outputs, | ||
isisU16_t * | dwell_flags, | ||
isisU16_t * | frames, | ||
int | period_output_delay, | ||
DAEstatus & | status | ||
) |
Definition at line 1710 of file isisdae.cpp.
References DAEstatus::addInfo(), EnvPeriodCardIntf::clearPeriodCounters(), EnvPeriodCardIntf::disableMSMode(), EnvPeriodCardIntf::enableMSMode(), EnvPeriodCardIntf::enablePeriodMode(), FAC_DAE, FrameSyncMuonMS, EnvPeriodCardIntf::getFrameSync(), m_envPeriodCards, PeriodTypeHardwareExternal, EnvPeriodCardIntf::programOUTLUT(), EnvPeriodCardIntf::programPERLUT(), EnvPeriodCardIntf::resetPeriodCard(), DAEstatus::result(), EnvPeriodCardIntf::setMultiplePeriodSequenceMode(), EnvPeriodCardIntf::setNumberOfPeriods(), EnvPeriodCardIntf::setPeriodControlBits(), EnvPeriodCardIntf::setPeriodOutputDelay(), EnvPeriodCardIntf::setSinglePeriodSequenceMode(), EnvPeriodCardIntf::zeroPeriodFrameCounters(), and EnvPeriodCardIntf::zeroPeriodProtonCounters().
Referenced by ISISinstrumentControl::setupDAE().
int ISISDAE::programPOSLUT | ( | int | cards[], |
int | dims[], | ||
int | pos_start[], | ||
int | npos[], | ||
int | spec[], | ||
int | spec_step[], | ||
int | nblocks, | ||
DAEstatus & | status | ||
) |
Definition at line 413 of file isisdae.cpp.
References m_detCards, and updateAddmap().
int ISISDAE::readAllDAE1Spectra | ( | isisU32_t * | buffer, |
int | nbuffer, | ||
int | spec_to_crpt_offset[], | ||
int | persize, | ||
DAEstatus & | status | ||
) |
@ todo specttrum 0 may have differet size for time regimes
Definition at line 561 of file isisdae.cpp.
References DAEstatus::addInfoVa(), compareBuffers(), FAC_DAE, getSpectrumSize(), m_dae1_spec_map, m_detCards, m_taskmgr, pollUntilTasksComplete(), readDAE1Spectra(), readDAE1Spectrum(), and readHistogramMemory().
Referenced by ISISinstrumentControl::updateCRPTWithDAE().
int ISISDAE::readDAE1Spectra | ( | isisU32_t * | buffer, |
int | nbuffer, | ||
int | spec_to_crpt_offset[], | ||
int | spec_start, | ||
int | nspec, | ||
int | period, | ||
int | persize, | ||
DAEstatus & | status | ||
) |
doesn't correct for spectrum 0 buffer should be whole crpt, so just spectra range
Definition at line 535 of file isisdae.cpp.
References DAEstatus::addInfoVa(), FAC_DAE, getSpectrumSize(), m_detCards, and readDAE1Spectrum().
Referenced by readAllDAE1Spectra(), ISISinstrumentControl::updateCRPTSpectra(), and ISISinstrumentControl::updateCRPTSpectraAllPeriods().
int ISISDAE::readDAE1Spectrum | ( | int | dae1_spectrum, |
isisU32_t * | buffer, | ||
int | nbuffer, | ||
DAEstatus & | status | ||
) |
Definition at line 498 of file isisdae.cpp.
References m_detCards.
Referenced by ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getSpectrumIntegral(), printSpectrum(), readAllDAE1Spectra(), readDAE1Spectra(), readHistogramMemory(), and ISISinstrumentControl::updateCRPTSpectra().
|
protected |
Definition at line 205 of file isisdae.cpp.
References DAEstatus::Failure, m_num_async_requests, readDCHistogramThread(), and DAEstatus::Success.
Referenced by readHistogramMemory().
|
staticprotected |
Definition at line 196 of file isisdae.cpp.
References ISISDAE::histogram_async_t::buffer, ISISDAE::histogram_async_t::dae, ISISDAE::histogram_async_t::dc, doneAsync(), ISISDAE::histogram_async_t::len, DetectorCardIntf::readHistogramMemory(), ISISDAE::histogram_async_t::start, and ISISDAE::histogram_async_t::status.
Referenced by readDCHistogramAsync().
|
protected |
Definition at line 1334 of file isisdae.cpp.
References m_detCards.
int ISISDAE::readHistogramMemory | ( | unsigned long | start, |
isisU32_t * | buffer, | ||
int | len, | ||
DAEstatus & | status | ||
) |
Definition at line 1220 of file isisdae.cpp.
References DAEstatus::add(), Addmap::dae1add, Addmap::dc, ERRTYPE_SPECREAD, FAC_DAE, getSpectrumSize(), Addmap::len, m_addmap, m_async_complete_event, m_lenAddmap, readDAE1Spectrum(), readDCHistogramAsync(), DetectorCardIntf::readHistogramMemory(), SEV_ERROR, Addmap::spec, and waitForAsync().
Referenced by DAEEND(), readAllDAE1Spectra(), RMEM(), RMEMD(), and RMEMVI().
|
protected |
Definition at line 1344 of file isisdae.cpp.
References m_detCards.
int ISISDAE::requestEndRunAfterNextSequenceCompletes | ( | DAEstatus & | status | ) |
Definition at line 2062 of file isisdae.cpp.
References m_envPeriodCards, m_period_mode, PERIOD_FUNCTION, PeriodTypeHardwareExternal, PeriodTypeHardwareInternal, and DAEstatus::Success.
Referenced by ISISinstrumentControl::requestEndRunAfterNextSequenceCompletes().
int ISISDAE::resetRunController | ( | DAEstatus & | status | ) |
Definition at line 987 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
int ISISDAE::setDAE1Vetos | ( | int | vetos[], |
int | n, | ||
DAEstatus & | status | ||
) |
Definition at line 1362 of file isisdae.cpp.
References DAEstatus::addInfo(), DAEstatus::addInfoVa(), ENV_FUNCTION, FAC_DAE, DetectorCardIntf::FIFOLateVeto, DetectorCardIntf::FrameOverflowVeto, m_detCards, and DetectorCardIntf::MemoryFullVeto.
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
void ISISDAE::setDCCardMode | ( | unsigned long | card_id, |
bool | neutron_data, | ||
DAEstatus & | status | ||
) |
Definition at line 2043 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, findDetectorCard(), DetectorCardIntf::ModeNeutronData, DetectorCardIntf::ModeSEData, DetectorCardIntf::setCardMode(), and SEV_ERROR.
Referenced by ISISinstrumentControl::setupDAE().
void ISISDAE::setDCEventMode | ( | unsigned long | card_id, |
bool | value, | ||
DAEstatus & | status | ||
) |
Definition at line 2029 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, findDetectorCard(), m_es, EventStore::setCardStatus(), DetectorCardIntf::setEventCollectionMode(), and SEV_ERROR.
Referenced by ISISinstrumentControl::setupDAE().
Definition at line 1524 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, findDetectorCard(), DAEstatus::result(), DetectorCardIntf::setFrameSyncDelay(), and SEV_ERROR.
Referenced by ISISinstrumentControl::setupDAE().
|
inline |
Definition at line 254 of file isisdae.h.
References m_event_mode.
Referenced by ISISinstrumentControl::setupDAE().
Definition at line 1491 of file isisdae.cpp.
References ENV_FUNCTION, m_envPeriodCards, and DAEstatus::Success.
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
Definition at line 1501 of file isisdae.cpp.
References ENV_FUNCTION.
Referenced by DAESET(), and ISISinstrumentControl::setupDAE().
int ISISDAE::setPeriodType | ( | ISISDAE::PeriodType | type, |
bool | single_daq_period, | ||
DAEstatus & | status | ||
) |
Definition at line 1576 of file isisdae.cpp.
References DAEstatus::addInfo(), ENV_FUNCTION, FAC_DAE, m_detCards, m_period_mode, PeriodTypeHardwareExternal, and PeriodTypeSoftware.
Referenced by ISISinstrumentControl::setupDAE().
Definition at line 341 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_OUTOFMEM, FAC_DAE, findDetectorCard(), DetectorCardIntf::setTimeChannels(), and SEV_ERROR.
Referenced by DAESET(), setTimeChannels(), and ISISinstrumentControl::setupDAE().
int ISISDAE::setTimeChannels | ( | int | crat, |
int | start[], | ||
int | nbound[], | ||
int | step[], | ||
int | nblocks, | ||
DAEstatus & | status | ||
) |
Definition at line 317 of file isisdae.cpp.
References setTimeChannels().
|
inline |
Definition at line 250 of file isisdae.h.
References m_uamp_scale.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
int ISISDAE::setVeto | ( | const std::string & | name, |
bool | enable, | ||
DAEstatus & | status | ||
) |
Definition at line 1447 of file isisdae.cpp.
References DAEstatus::add(), DAEstatus::addVa(), ISISDAE::veto_desc::ec_disable, ISISDAE::veto_desc::ec_enable, ERRTYPE_OUTOFMEM, FAC_DAE, m_envCards, m_envPeriodCards, ISISDAE::veto_desc::pc_disable, ISISDAE::veto_desc::pc_enable, SEV_ERROR, and veto_setters.
Referenced by ISISinstrumentControl::setVeto().
|
inline |
Definition at line 302 of file isisdae.h.
References m_es.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
int ISISDAE::startRun | ( | bool | clear_counters, |
int | run_number, | ||
time_t & | start_time, | ||
DAEstatus & | status | ||
) |
Definition at line 843 of file isisdae.cpp.
References clearCounters(), EventStore::closeAndDeleteOutputFile(), END_IMMEDIATELY_FILE, ENV_FUNCTION, m_es, m_event_mode, PERIOD_FUNCTION, EventStore::setOutputFileName(), and EventStore::start().
Referenced by DAERESUME(), DAESET(), and ISISinstrumentControl::startDataCollection().
int ISISDAE::stopRun | ( | StopRunMode | mode, |
DAEstatus & | status | ||
) |
<
<
Definition at line 877 of file isisdae.cpp.
References DAEstatus::addInfo(), END_IMMEDIATELY_FILE, EventStore::endHeaderSeen(), ENV_FUNCTION, FAC_DAE, getExternalVetoedFrames(), getFIFOVetoedFrames(), getISIS50HzVetoedFrames(), getSMPVetoedFrames(), getTS2PulseVetoedFrames(), getVetoStatus(), LOGSTR_INFORMATION, LOGSTR_WARNING, m_detCards, m_envPeriodCards, m_es, m_event_mode, m_period_mode, EventStore::nNewEventWords(), PERIOD_FUNCTION, PeriodTypeHardwareExternal, PeriodTypeHardwareInternal, EventStore::stop(), StopRunClean, and StopRunFast.
Referenced by DAEEND(), DAEPAUSE(), DAESET(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::stopDataCollection().
Definition at line 1323 of file isisdae.cpp.
References m_detCards.
Referenced by ISISinstrumentControl::sumAllHistogramMemory().
|
protected |
Definition at line 426 of file isisdae.cpp.
References DAEstatus::addInfo(), Addmap::card, Addmap::dae1add, Addmap::dae2add, DAE2DetCardPolicy::DAESPECMAX, Addmap::dc, FAC_DAE, DetectorCardIntf::getDAE2SpecMap(), DetectorCardIntf::highspec(), Addmap::len, m_addmap, m_dae1_spec_map, m_dae2_spec_map, m_detCards, m_lenAddmap, DetectorCardIntf::NOSPECTRUM, DAE2CardIntf::position(), and Addmap::spec.
Referenced by programDAE1POSLUT(), and programPOSLUT().
template int ISISDAE::VMEReadArray< DAE2CardPolicy > | ( | unsigned long | card_id, |
unsigned long | card_address, | ||
isisU32_t * | values, | ||
unsigned long | num_values, | ||
DAEstatus & | status | ||
) |
Definition at line 1873 of file isisdae.cpp.
References m_vme, DAE2Card< DAECardPolicy >::makeAddress(), ISISVME::readBlockU32(), ISISVME::TransferBlock, and ISISVME::TransferLittleEndian.
Referenced by ISISinstrumentControl::VMEReadArray().
template int ISISDAE::VMEReadValue< DAE2CardPolicy > | ( | unsigned long | card_id, |
unsigned long | card_address, | ||
bool | sixteen_bit, | ||
unsigned long * | value, | ||
DAEstatus & | status | ||
) |
Definition at line 1843 of file isisdae.cpp.
References m_vme, DAE2Card< DAECardPolicy >::makeAddress(), ISISVME::readU16(), ISISVME::readU32(), and ISISVME::TransferNoOptions.
Referenced by ISISinstrumentControl::VMEReadValue().
template int ISISDAE::VMEWriteArray< DAE2CardPolicy > | ( | unsigned long | card_id, |
unsigned long | card_address, | ||
isisU32_t * | values, | ||
unsigned long | num_values, | ||
DAEstatus & | status | ||
) |
Definition at line 1865 of file isisdae.cpp.
References m_vme, DAE2Card< DAECardPolicy >::makeAddress(), ISISVME::TransferBlock, ISISVME::TransferLittleEndian, and ISISVME::writeBlockU32().
Referenced by ISISinstrumentControl::VMEWriteArray().
template int ISISDAE::VMEWriteValue< DAE2CardPolicy > | ( | unsigned long | card_id, |
unsigned long | card_address, | ||
bool | sixteen_bit, | ||
unsigned long | value, | ||
unsigned long | mode, | ||
DAEstatus & | status | ||
) |
Definition at line 1790 of file isisdae.cpp.
References DAEstatus::addInfoVa(), FAC_DAE, m_vme, DAE2Card< DAECardPolicy >::makeAddress(), ISISVME::readU16(), ISISVME::readU32(), ISISVME::TransferNoOptions, ISISVME::writeU16(), and ISISVME::writeU32().
Referenced by ISISinstrumentControl::VMEWriteValue().
|
protected |
Definition at line 168 of file isisdae.cpp.
References m_async_complete_event, and m_num_async_requests.
Referenced by checkTestPatternAsync(), and readHistogramMemory().
int ISISDAE::whichVeto | ( | std::string & | veto_text, |
DAEstatus & | status | ||
) |
Definition at line 1958 of file isisdae.cpp.
References ENV_FUNCTION, m_detCards, and ISISVME::Success.
Referenced by ISISinstrumentControl::whichVeto().
|
protected |
Definition at line 1339 of file isisdae.cpp.
References m_detCards.
int ISISDAE::writeHistogramMemory | ( | int | card_id, |
isisU32_t * | buffer, | ||
int | start, | ||
int | len, | ||
DAEstatus & | status | ||
) |
Definition at line 1985 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, DAEstatus::Failure, findDetectorCard(), SEV_ERROR, ISISVME::Success, and DetectorCardIntf::writeHistogramMemory().
Referenced by ISISinstrumentControl::loadDAEWithData(), and ISISinstrumentControl::loadDAEWithNeXusData().
Definition at line 1970 of file isisdae.cpp.
References DAEstatus::addVa(), ERRTYPE_SPECREAD, FAC_DAE, DAEstatus::Failure, findDetectorCard(), SEV_ERROR, ISISVME::Success, and DetectorCardIntf::writePOSLUTMemory().
Referenced by ISISinstrumentControl::loadDAEWithData(), and ISISinstrumentControl::loadDAEWithNeXusData().
|
protected |
Definition at line 1349 of file isisdae.cpp.
References m_detCards.
|
static |
Definition at line 66 of file isisdae.h.
Referenced by RootHandler::handleRequest(), ISISinstrumentControl::ISISinstrumentControl(), and printStatus().
|
protected |
Definition at line 123 of file isisdae.h.
Referenced by ISISDAE(), printAddmap(), readHistogramMemory(), updateAddmap(), and ~ISISDAE().
|
protected |
Definition at line 144 of file isisdae.h.
Referenced by doneAsync(), ISISDAE(), readHistogramMemory(), waitForAsync(), and ~ISISDAE().
|
protected |
Definition at line 131 of file isisdae.h.
Referenced by getTimeChannels(), ISISDAE(), and printSpectrum().
|
protected |
Definition at line 124 of file isisdae.h.
Referenced by getDAE1Specmap(), getDCForSpectrum(), getDCSpecForSpectrum(), getDCSpecInfoForSpectrum(), readAllDAE1Spectra(), and updateAddmap().
|
protected |
Definition at line 125 of file isisdae.h.
Referenced by getDAE2Specmap(), and updateAddmap().
|
protected |
Definition at line 139 of file isisdae.h.
Referenced by changeNumberOfPeriods(), changePeriod(), ISISDAE(), and ~ISISDAE().
|
protected |
Definition at line 137 of file isisdae.h.
Referenced by ISISDAE(), open(), printStatus(), and programDAE1POSLUT().
|
protected |
Definition at line 120 of file isisdae.h.
Referenced by changeNumberOfPeriods(), changePeriod(), check(), checkTestPattern(), checkTestPatternAsync(), clearDCEventMode(), clearHistogramMemory(), clearPOSLUTMemory(), clearTotalCountsRegisters(), fillWithTestPattern(), findDetectorCard(), getCurrentDAQHardwarePeriod(), getCurrentHardwarePeriod(), getExternalResetCommands(), getTotalCounts(), locateCards(), printStatus(), programDAE1POSLUT(), programPOSLUT(), readAllDAE1Spectra(), readDAE1Spectra(), readDAE1Spectrum(), readDescriptorTimeBinLimitRegister(), readTCGTimeBinLimitRegister(), setDAE1Vetos(), setPeriodType(), stopRun(), sumAllHistogramMemory(), updateAddmap(), whichVeto(), writeDescriptorTimeBinLimitRegister(), writeTCGTimeBinLimitRegister(), and ~ISISDAE().
|
protected |
Definition at line 121 of file isisdae.h.
Referenced by check(), disableDelayedStart(), enableDelayedStart(), getExternalResetCommands(), locateCards(), printStatus(), setVeto(), and ~ISISDAE().
|
protected |
Definition at line 122 of file isisdae.h.
Referenced by check(), clearFramesVetosAndPPP(), disableDelayedStart(), disablePeriodCard(), enableDelayedStart(), frameTimerDrift(), getCurrentPeriodSequence(), getExternalResetCommands(), getGoodPPPLowerPeriod(), getGoodPPPUpperPeriod(), getGoodUAmpHoursPeriod(), getMSModeVetoedFrames(), getRawPPPLowerPeriod(), getRawPPPUpperPeriod(), getRawUAmpHoursPeriod(), isFinalSequenceComplete(), isMultiplePeriodSequenceComplete(), locateCards(), printStatus(), programPeriodCard(), requestEndRunAfterNextSequenceCompletes(), setFrameSync(), setVeto(), stopRun(), and ~ISISDAE().
|
protected |
Definition at line 126 of file isisdae.h.
Referenced by addAllEventCallback(), addAllFrameCallback(), addGoodEventCallback(), addGoodFrameCallback(), addNoFrameCallback(), clearCallbacks(), clearCounters(), clearDCEventMode(), closeEventFiles(), getEnabledEventSourceIDs(), getEventSourceIDs(), locateCards(), setDCEventMode(), startEventBroadcaster(), startRun(), and stopRun().
|
protected |
Definition at line 141 of file isisdae.h.
Referenced by clearCounters(), setEventMode(), startRun(), and stopRun().
|
protected |
Definition at line 127 of file isisdae.h.
Referenced by printAddmap(), printStatus(), readHistogramMemory(), and updateAddmap().
|
protected |
Definition at line 145 of file isisdae.h.
Referenced by checkTestPatternAsync(), doneAsync(), readDCHistogramAsync(), and waitForAsync().
|
protected |
Definition at line 138 of file isisdae.h.
Referenced by getCurrentDAQHardwarePeriod(), getCurrentHardwarePeriod(), getGoodFramesPeriod(), getRawFramesPeriod(), isFinalSequenceComplete(), printStatus(), requestEndRunAfterNextSequenceCompletes(), setPeriodType(), and stopRun().
|
protected |
Definition at line 134 of file isisdae.h.
Referenced by ISISDAE(), and ~ISISDAE().
|
protected |
Definition at line 133 of file isisdae.h.
Referenced by clearHistogramMemory(), ISISDAE(), readAllDAE1Spectra(), and ~ISISDAE().
|
protected |
Definition at line 132 of file isisdae.h.
Referenced by getGoodUAmpHours(), getGoodUAmpHoursPeriod(), getRawUAmpHours(), getRawUAmpHoursPeriod(), printStatus(), and setUAmpScale().
|
protected |
Definition at line 119 of file isisdae.h.
Referenced by close(), open(), openBackplane(), printStatus(), VMEReadArray(), VMEReadValue(), VMEWriteArray(), VMEWriteValue(), and ~ISISDAE().
|
static |
Definition at line 68 of file isisdae.h.
Referenced by printStatus().
|
staticprotected |
Definition at line 114 of file isisdae.h.
Referenced by setVeto().