#include <config.h>
#include <spectrodaq.h>
#include <sis3300.h>
#include <string>
#include <CVMEInterface.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <stdio.h>
#include <Iostream.h>
#include <Iomanip.h>
Go to the source code of this file.
Functions | |
const unsigned long | EDIREndEventMask (0x1ffff) |
const unsigned long | EDIRWrapFlag (0x80000) |
Variables | |
const char * | sDevice = "/dev/vme32d32" |
const unsigned long | nDeviceSize = 0x383000 |
const unsigned long | K = 1024L |
const unsigned long | CRLedOn = 1 |
const unsigned long | CRUserOutputOn = 2 |
const unsigned long | CREnableTriggerOutput = 4 |
const unsigned long | CRInvertTriggerOutput = 0x000010 |
const unsigned long | CRTriggerOnArmedAndStarted = 0x000020 |
const unsigned long | CRLedOff = 0x010000 |
const unsigned long | CRUserOutputOff = 0x020000 |
const unsigned long | CREnableUserOutput = 0x040000 |
const unsigned long | CRNormalTriggerOutput = 0x100000 |
const unsigned long | CRTriggerOnArmed = 0x200000 |
const unsigned long | SRLedStatus = 1 |
const unsigned long | SRUserOutputState = 2 |
const unsigned long | SRTriggerOutputState = 4 |
const unsigned long | SRTriggerIsInverted = 0x000010 |
const unsigned long | SRTriggerCondition = 0x000020 |
const unsigned long | SRUserInputCondition = 0x010000 |
const unsigned long | SRP2_TEST_IN = 0x020000 |
const unsigned long | SRP2_RESET_IN = 0x040000 |
const unsigned long | SRP2_SAMPLE_IN = 0X080000 |
const unsigned long | DAQSampleBank1On = 0x00000001 |
const unsigned long | DAQSampleBank2On = 0x00000002 |
const unsigned long | DAQEnableHiRARCM = 0x00000008 |
const unsigned long | DAQAutostartOn = 0x00000010 |
const unsigned long | DAQMultiEventOn = 0x00000020 |
const unsigned long | DAQStopDelayOn = 0x00000080 |
const unsigned long | DAQStartDelayOn = 0x00000040 |
const unsigned long | DAQEnableLemoStartStop = 0x00000100 |
const unsigned long | DAQEnableP2StartStop = 0x00000200 |
const unsigned long | DAQEnableGateMode = 0x00000400 |
const unsigned long | DAQEnableRandomClock = 0x00000800 |
const unsigned long | DAQClockSetMask = 0x00007000 |
const unsigned long | DAQDisableHiRARCM = 0x00080000 |
const unsigned long | DAQClockSetShiftCount = 12 |
const unsigned long | DAQSampleBank1Off = 0x00010000 |
const unsigned long | DAQBusyStatus = 0x00010000 |
const unsigned long | DAQSampleBank2Off = 0x00020000 |
const unsigned long | DAQAutostartOff = 0x00100000 |
const unsigned long | DAQMultiEventOff = 0x00200000 |
const unsigned long | DAQStopDelayOff = 0x00800000 |
const unsigned long | DAQStartDelayOff = 0x00400000 |
const unsigned long | DAQDisableLemoStartStop = 0x01000000 |
const unsigned long | DAQDisableP2StartStop = 0x02000000 |
const unsigned long | DAQDisableGateMode = 0x04000000 |
const unsigned long | DAQDisableRandomClock = 0x08000000 |
const unsigned long | DAQClockClearMask = 0x70000000 |
const unsigned long | DAQCLockClearShiftCount = 28 |
const unsigned long | ECFGPageSizeMask = 7 |
const unsigned long | ECFGPageSizeShiftCount = 0 |
const unsigned long | ECFGWrapMask = 8 |
const unsigned long | ECFGWrapShiftCount = 3 |
const unsigned long | ECFGRandomClock = (1 << 11) |
const unsigned long | THRLt = 0x8000 |
const unsigned long | THRChannelShift = 16 |
const unsigned long | HIRAFWMAJOR = 0x13 |
const unsigned long | HIRAFWMINOR = 0x05 |
const unsigned long EDIREndEventMask | ( | 0x1ffff | ) |
Referenced by CSIS3300::ReadAGroup().
const unsigned long EDIRWrapFlag | ( | 0x80000 | ) |
Referenced by CSIS3300::ReadAGroup().
const unsigned long CREnableTriggerOutput = 4 |
const unsigned long CREnableUserOutput = 0x040000 |
Definition at line 68 of file sis3300.cpp.
const unsigned long CRInvertTriggerOutput = 0x000010 |
Definition at line 64 of file sis3300.cpp.
const unsigned long CRLedOff = 0x010000 |
const unsigned long CRLedOn = 1 |
Definition at line 61 of file sis3300.cpp.
const unsigned long CRNormalTriggerOutput = 0x100000 |
const unsigned long CRTriggerOnArmed = 0x200000 |
const unsigned long CRTriggerOnArmedAndStarted = 0x000020 |
const unsigned long CRUserOutputOff = 0x020000 |
const unsigned long CRUserOutputOn = 2 |
Definition at line 62 of file sis3300.cpp.
const unsigned long DAQAutostartOff = 0x00100000 |
Definition at line 104 of file sis3300.cpp.
const unsigned long DAQAutostartOn = 0x00000010 |
Definition at line 90 of file sis3300.cpp.
const unsigned long DAQBusyStatus = 0x00010000 |
const unsigned long DAQClockClearMask = 0x70000000 |
Definition at line 112 of file sis3300.cpp.
const unsigned long DAQCLockClearShiftCount = 28 |
Definition at line 113 of file sis3300.cpp.
const unsigned long DAQClockSetMask = 0x00007000 |
Definition at line 98 of file sis3300.cpp.
const unsigned long DAQClockSetShiftCount = 12 |
const unsigned long DAQDisableGateMode = 0x04000000 |
Definition at line 110 of file sis3300.cpp.
const unsigned long DAQDisableHiRARCM = 0x00080000 |
Definition at line 99 of file sis3300.cpp.
const unsigned long DAQDisableLemoStartStop = 0x01000000 |
Definition at line 108 of file sis3300.cpp.
const unsigned long DAQDisableP2StartStop = 0x02000000 |
Definition at line 109 of file sis3300.cpp.
const unsigned long DAQDisableRandomClock = 0x08000000 |
Definition at line 111 of file sis3300.cpp.
const unsigned long DAQEnableGateMode = 0x00000400 |
const unsigned long DAQEnableHiRARCM = 0x00000008 |
const unsigned long DAQEnableLemoStartStop = 0x00000100 |
const unsigned long DAQEnableP2StartStop = 0x00000200 |
const unsigned long DAQEnableRandomClock = 0x00000800 |
const unsigned long DAQMultiEventOff = 0x00200000 |
Definition at line 105 of file sis3300.cpp.
const unsigned long DAQMultiEventOn = 0x00000020 |
Definition at line 91 of file sis3300.cpp.
const unsigned long DAQSampleBank1Off = 0x00010000 |
Definition at line 101 of file sis3300.cpp.
Referenced by CSIS3300::DisArm1(), and CSIS3300::WaitUntilDone().
const unsigned long DAQSampleBank1On = 0x00000001 |
Definition at line 87 of file sis3300.cpp.
Referenced by CSIS3300::Arm1(), CSIS3300::ClearDaq(), and CSIS3300::InitDaq().
const unsigned long DAQSampleBank2Off = 0x00020000 |
Definition at line 103 of file sis3300.cpp.
Referenced by CSIS3300::DisArm2(), and CSIS3300::WaitUntilDone().
const unsigned long DAQSampleBank2On = 0x00000002 |
const unsigned long DAQStartDelayOff = 0x00400000 |
Definition at line 107 of file sis3300.cpp.
const unsigned long DAQStartDelayOn = 0x00000040 |
const unsigned long DAQStopDelayOff = 0x00800000 |
Definition at line 106 of file sis3300.cpp.
const unsigned long DAQStopDelayOn = 0x00000080 |
const unsigned long ECFGPageSizeMask = 7 |
Definition at line 119 of file sis3300.cpp.
const unsigned long ECFGPageSizeShiftCount = 0 |
const unsigned long ECFGRandomClock = (1 << 11) |
const unsigned long ECFGWrapMask = 8 |
const unsigned long ECFGWrapShiftCount = 3 |
Definition at line 122 of file sis3300.cpp.
const unsigned long HIRAFWMAJOR = 0x13 |
const unsigned long HIRAFWMINOR = 0x05 |
Definition at line 139 of file sis3300.cpp.
const unsigned long K = 1024L |
const unsigned long nDeviceSize = 0x383000 |
Definition at line 55 of file sis3300.cpp.
const char* sDevice = "/dev/vme32d32" |
Definition at line 54 of file sis3300.cpp.
const unsigned long SRLedStatus = 1 |
Definition at line 74 of file sis3300.cpp.
const unsigned long SRP2_RESET_IN = 0x040000 |
Definition at line 81 of file sis3300.cpp.
const unsigned long SRP2_SAMPLE_IN = 0X080000 |
Definition at line 82 of file sis3300.cpp.
const unsigned long SRP2_TEST_IN = 0x020000 |
Definition at line 80 of file sis3300.cpp.
const unsigned long SRTriggerCondition = 0x000020 |
Definition at line 78 of file sis3300.cpp.
const unsigned long SRTriggerIsInverted = 0x000010 |
Definition at line 77 of file sis3300.cpp.
const unsigned long SRTriggerOutputState = 4 |
Definition at line 76 of file sis3300.cpp.
const unsigned long SRUserInputCondition = 0x010000 |
const unsigned long SRUserOutputState = 2 |
Definition at line 75 of file sis3300.cpp.
const unsigned long THRChannelShift = 16 |
const unsigned long THRLt = 0x8000 |