MiniFesaMasp
version 0.2.2 class documentation
thaberm ( CSCO )
Generated on 2015-12-17T15:28:17+01:00


Introduction

Explain the purpose of this class

HTML part of introduction


Table of Contents

Interface

   [Back to top]

Device Interface

   [Back to top]

Setting Properties

   [Back to top]

Init

   [Back to top]

Control property, used to initialize the device with default values from the device instantiation file

AttributesValue
multiplexedfalse
partial-settingtrue
typesetting
visibilityoperational

Reset

   [Back to top]

Control property, used to reset the device while keeping the persistent data.

AttributesValue
multiplexedfalse
partial-settingtrue
typesetting
visibilityoperational

BeamModes

   [Back to top]

Beam modes for all BeamModeDomains and Experiment info

AttributesValue
multiplexedtrue
partial-settingtrue
typesetting
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
beamModeUNILACINOUTBEAM_MODEcustom-type-scalar
beamModeSIS18INOUTBEAM_MODEcustom-type-scalar
beamModeFRSINOUTBEAM_MODEcustom-type-scalar
beamModeESRINOUTBEAM_MODEcustom-type-scalar
beamModeCryRingINOUTBEAM_MODEcustom-type-scalar
beamModeExperimentINOUTBEAM_MODEcustom-type-scalar
experimentIDINOUTchararray
experimentDescriptionINOUTchararray
experimentDetailedDescriptionINOUTchararray
experimentLocationINOUTchararray

ExpertSetting

   [Back to top]

AttributesValue
multiplexedfalse
partial-settingfalse
typesetting
visibilityexpert

Value-ItemsDirectionTypeScalarityDescription
faultySystemMaskINOUTboolarray
signalsINOUTchararray2D

Setting

   [Back to top]

AttributesValue
multiplexedtrue
partial-settingfalse
typesetting
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
signalsOUTchararray2D
setupBeamFlagMaskableOUTboolarray
setupBeamFlagMaskINOUTboolarray

LSASetting

   [Back to top]

AttributesValue
multiplexedtrue
partial-settingfalse
typesetting
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
particleTransfersINOUTchararray2D
nominallyMaskedSignalSourcesINOUTchararray2D

Power

   [Back to top]

Used to turn the power of a device on or off.

AttributesValue
multiplexedfalse
partial-settingtrue
typesetting
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
powerINOUTDEVICE_POWERcustom-type-scalar

Acquisition Properties

   [Back to top]

Status

   [Back to top]

Used to display the (cycle independent) overall status of the device.Detailed status information may be additionally added to this property.

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
statusOUTDEVICE_STATUScustom-type-scalar
detailedStatusOUTboolarrayDetailed status should consist of an array of boolean values considered as detailed status information as well as acorresponding string array containing keys to illustrate the meaning of the detailed status information.
detailedStatus_labelsOUTchararray2DLabels of detailed status bits.
detailedStatus_severityOUTDETAILED_STATUS_SEVERITYcustom-type-arraySeverities of the detailed status bits
powerStateOUTDEVICE_POWER_STATEcustom-type-scalarPower state of the device (ON, OFF)
controlOUTDEVICE_CONTROLcustom-type-scalar
interlockOUTboolscalarInterlock state of the device
opReadyOUTboolscalarContains the devices state regarding operation
modulesReadyOUTboolscalarContains the devices module state
error_codesOUTint32_tarray
error_messagesOUTchararray2D
error_timestampsOUTint64_tarray
error_cycle_namesOUTchararray2D

ModuleStatus

   [Back to top]

Gives detailed information on the state of 3rd party hardware and software components which are required to operate the device.

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilitydevelopment

Value-ItemsDirectionTypeScalarityDescription
moduleStatusOUTMODULE_STATUScustom-type-array
moduleStatus_labelsOUTchararray2D

Acquisition

   [Back to top]

Used for returning acquisition data which is retrieved from the hardware.

AttributesValue
multiplexedtrue
partial-settingfalse
typeacquisition
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
signalsOUTchararray2Dlists all signals for this BPC, other arrays in this property refer to the signal at same index in this array
globalBPCStatusOUTboolscalar
signalStatusOUTboolarray
particleTransfersOUTchararray2D
beamModeDomainOUTchararray2D
nominalMaskOUTboolarray
faultySystemMaskOUTboolarray
setupBeamFlagMaskOUTboolarray
setupBeamFlagMaskableOUTboolarray
beamModesOUTBEAM_MODEcustom-type-array
detailedBPCStatusOUTboolarray2Dstatus per beam mode x beam mode domain
beamPresenceFlagOUTboolscalar
setupBeamFlagOUTboolarray
detailedBPCStatus_dimensionsOUTint8_tarray
detailedBPCStatus_labelsOUTchararray2D
detailedBPCStatus_dim1_labelsOUTchararray2D
detailedBPCStatus_dim2_labelsOUTchararray2D
processIndexOUTint32_tscalar
sequenceIndexOUTint32_tscalar
chainIndexOUTint32_tscalar
eventNumberOUTint32_tscalar
timingGroupIDOUTint32_tscalar
acquisitionStampOUTint64_tscalar
eventStampOUTint64_tscalar
processStartStampOUTint64_tscalar
sequenceStartStampOUTint64_tscalar
chainStartStampOUTint64_tscalar

AllSignalsStatus

   [Back to top]

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilitydevelopment

Value-ItemsDirectionTypeScalarityDescription
signalsOUTchararray2D
signalsStatusRawOUTMASP_STATUScustom-type-array
signalsStatusOUTboolarray
particleTransfersOUTchararray2D
faultySystemMaskOUTboolarray
setupBeamFlagMaskableOUTboolarray
emitterTypeOUTEmitterTypecustom-type-array
processIndexOUTint32_tscalar
sequenceIndexOUTint32_tscalar
chainIndexOUTint32_tscalar
eventNumberOUTint32_tscalar
timingGroupIDOUTint32_tscalar
acquisitionStampOUTint64_tscalar
eventStampOUTint64_tscalar
processStartStampOUTint64_tscalar
sequenceStartStampOUTint64_tscalar
chainStartStampOUTint64_tscalar

Single_dev_status

   [Back to top]

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilitydevelopment

Value-ItemsDirectionTypeScalarityDescription
OP_READYOUTMASP_STATUScustom-type-scalar
REMOTEOUTMASP_STATUScustom-type-scalar
INTERLOCKOUTMASP_STATUScustom-type-scalar
POWER_ONOUTMASP_STATUScustom-type-scalar
MOD_RDYOUTMASP_STATUScustom-type-scalar
ONLINEOUTMASP_STATUScustom-type-scalar
HW_INTERLOCKOUTMASP_STATUScustom-type-scalar
processIndexOUTint32_tscalar
sequenceIndexOUTint32_tscalar
chainIndexOUTint32_tscalar
eventNumberOUTint32_tscalar
timingGroupIDOUTint32_tscalar
acquisitionStampOUTint64_tscalar
eventStampOUTint64_tscalar
processStartStampOUTint64_tscalar
sequenceStartStampOUTint64_tscalar
chainStartStampOUTint64_tscalar

Filter-ItemsDirectionTypeScalarityDescription
NomenINchararray

Version

   [Back to top]

Returns the current software and hardware versions of a piece of equipment.

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
classVersionOUTchararray
deployUnitVersionOUTchararray
fesaVersionOUTchararray

Global Interface

   [Back to top]

Setting Properties

   [Back to top]

DiagnosticSetting

   [Back to top]

Generic property which allows to diagnose any FESA classes

AttributesValue
multiplexedfalse
partial-settingfalse
typesetting
visibilityexpert

Value-ItemsDirectionTypeScalarityDescription
requestStateINboolscalar

Acquisition Properties

   [Back to top]

DeviceDescription

   [Back to top]

AttributesValue
multiplexedfalse
partial-settingfalse
typeacquisition
visibilityoperational

Value-ItemsDirectionTypeScalarityDescription
deviceNameTimingReceiverOUTchararray
propertyNamesOUTchararray2D
deviceNamesOUTchararray2D
globalDeviceNameOUTchararray
hostOUTchararray

Data

   [Back to top]

Device Data

   [Back to top]

Configuration

   [Back to top]

NameTypeDescription
detailedStatus_labelschar
detailedStatus_severityDETAILED_STATUS_SEVERITY
moduleStatus_labelschar

Acquisition

   [Back to top]

NameTypeDescription
Status_num_entries_fieldint64_t
Status_id_array_fieldchar
Status_status_fieldMASP_STATUS
eat_my_shorts_mp_fieldchar
Dummy_fieldbool
controlDEVICE_CONTROL
powerStateDEVICE_POWER_STATE
statusDEVICE_STATUS
interlockbool
opReadybool
modulesReadybool
detailedStatusbool
moduleStatusMODULE_STATUS
acquisitionContextGSI_ACQ_CONTEXT
error_collectionGSI_ERROR

Setting

   [Back to top]

NameTypeDescription
powerDEVICE_POWER

Global Data

   [Back to top]

Configuration

   [Back to top]

NameTypeDescription
deviceNameTimingReceiverchar

Acquisition

   [Back to top]

None

Setting

   [Back to top]

None

Custom Types

   [Back to top]

NameType
DIAG_TOPICcustom-types
DEVICE_STATUScustom-types
DEVICE_POWER_STATEcustom-types
DEVICE_POWERcustom-types
DEVICE_CONTROLcustom-types
TOL_CHECK_MODEcustom-types
AQN_STATUScustom-types
GSI_ERRORcustom-types
GSI_ACQ_CONTEXTcustom-types
MAX_ERROR_MESSAGE_LENGTHcustom-types
MAX_NUMBER_OF_ERROR_MESSAGEScustom-types
MAX_CYCLE_NAME_LENGTHcustom-types
MAX_VERSION_NAME_LENGTHcustom-types
MAX_DETAILED_STATUS_LABEL_LENGTHcustom-types
DETAILED_STATUS_SIZEcustom-types
DETAILED_STATUS_SEVERITYcustom-types
MODULE_STATUScustom-types
MAX_MODULE_STATUS_LABEL_LENGTHcustom-types
MODULE_STATUS_SIZEcustom-types
Max_Status_num_entriescustom-types
MASP_STATUScustom-types
BEAM_MODEcustom-types
STATUS_EMTTER_TYPEcustom-types
EmitterTypecustom-types

Struct and Enumeration Data

   [Back to top]

GSI_ERROR

   [Back to top]
NameScalarityTypeSizeDescription
error_stringarraycharMAX_ERROR_MESSAGE_LENGTH
error_codescalarint32_t
error_timestampscalarint64_t
error_cycle_namearraycharMAX_CYCLE_NAME_LENGTH

GSI_ACQ_CONTEXT

   [Back to top]
NameScalarityTypeSizeDescription
processIndexscalarint32_tUsed in order to index process-multiplexed data
sequenceIndexscalarint32_tUsed in order to index sequence-multiplexed data
chainIndexscalarint32_tRefers to a specific beam production chain
eventNumberscalarint32_tThe number of the event describes it's type
timingGroupIDscalarint32_tID of the timing group for which the event is relevant
acquisitionStampscalarint64_tThe acquisition stamp is used to indicate when a measurement was done
eventStampscalarint64_tThe event stamp is used to indicate when WhiteRabbit event was triggered on the Timing Receiver
processStartStampscalarint64_tThe process start stamp indicates when the first event of the current process was triggered
sequenceStartStampscalarint64_tThe sequence start stamp indicates when the first event of the current sequence was triggered
chainStartStampscalarint64_tThe chain start stamp indicates when the first event of the current chain was triggered

DEVICE_STATUS

   [Back to top]
SymbolValueAccess
UNKNOWN0RW
OK1RW
WARNING2RW
ERROR3RW

DEVICE_POWER_STATE

   [Back to top]
SymbolValueAccess
UNKNOWN0RW
ON1RW
OFF2RW
STANDBY3RW
POWER_DOWN4RW
POWER_UP5RW

DEVICE_POWER

   [Back to top]
SymbolValueAccess
ON1RW
OFF2RW

DEVICE_CONTROL

   [Back to top]
SymbolValueAccess
REMOTE0RW
LOCAL1RW

TOL_CHECK_MODE

   [Back to top]
SymbolValueAccess
ABS0RO
REL1RO

DETAILED_STATUS_SEVERITY

   [Back to top]
SymbolValueAccess
INFO0RO
WARNING_ON_FALSE1RO
ERROR_ON_FALSE2RO

MODULE_STATUS

   [Back to top]
SymbolValueAccess
UNKNOWN0RO
OK1RO
WARNING2RO
ERROR3RO
NOT_AVAILABLE4RO

MASP_STATUS

   [Back to top]
SymbolValueAccess
OK0RW
NOT_OK1RW
UNKNOWN2RW
UNDEF3RW

BEAM_MODE

   [Back to top]
SymbolValueAccess
UNKNOWN-3RW
POST_MORTEM-2RW
RECORERY-1RW
NO_BEAM0RW
PILOT_BEAM1RW
INTENISTY_RAMP_UP2RW
ADJUST3RW
STABLE_BEAMS4RW

STATUS_EMTTER_TYPE

   [Back to top]
SymbolValueAccess
FESA_EMITTER0RW
CAP_GATEWAY1RW
HW_INTERLOCK2RW
CUSTOM_EMITTER3RW

EmitterType

   [Back to top]
SymbolValueAccess
FESA_EMITTER0RW

AQN_STATUS

   [Back to top]

bit-enum-32bits

BitName
b0NOT_OK
b1BAD_QUALITY
b2DIFFERENT_FROM_SETTING
b3OUT_OF_RANGE
b4BUSY
b5TIMEOUT
b6bit6_is_reserved_for_later_usage
b7bit7_is_reserved_for_later_usage
b8bit8_is_reserved_for_later_usage
b9bit9_is_reserved_for_later_usage
b10bit10_is_reserved_for_later_usage
b11bit11_is_reserved_for_later_usage
b12bit12_is_reserved_for_later_usage
b13bit13_is_reserved_for_later_usage
b14bit14_is_reserved_for_later_usage
b15bit15_is_reserved_for_later_usage
b16bit_16_and_higher_can_be_used_by_the_class_developer

Constants

   [Back to top]

NameTypeValue
MAX_ERROR_MESSAGE_LENGTHuint32_t256

NameTypeValue
MAX_NUMBER_OF_ERROR_MESSAGESuint32_t16

NameTypeValue
MAX_CYCLE_NAME_LENGTHuint32_t256

NameTypeValue
MAX_VERSION_NAME_LENGTHuint32_t256

NameTypeValue
MAX_DETAILED_STATUS_LABEL_LENGTHuint32_t30

NameTypeValue
DETAILED_STATUS_SIZEuint32_t2

NameTypeValue
MAX_MODULE_STATUS_LABEL_LENGTHuint32_t30

NameTypeValue
MODULE_STATUS_SIZEuint32_t2

NameTypeValue
Max_Status_num_entriesuint32_t8000