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
Attributes | Value | multiplexed | false |
partial-setting | true |
type | setting |
visibility | operational |
Reset
[Back to top]Control property, used to reset the device while keeping the persistent data.
Attributes | Value | multiplexed | false |
partial-setting | true |
type | setting |
visibility | operational |
Setting
[Back to top]Used for setting hardware parameters for controlling the device.
Attributes | Value | multiplexed | true |
partial-setting | true |
type | setting |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | mode | INOUT | B2B_MODE | custom-type-scalar | |
frequency | INOUT | double | scalar | Revolution frequency |
frequency_max | OUT | double | scalar | |
frequency_min | OUT | double | scalar | |
convertLSAtoDDS | INOUT | bool | scalar | Convert LSA frequency values to true DDS frequency values. Set to true unless an exceptional case |
harmonicNumber | INOUT | int32_t | scalar | Harmonic number at RF cavity |
harmonicNumber_max | OUT | int32_t | scalar | |
harmonicNumber_min | OUT | int32_t | scalar | |
triggerOffset | INOUT | int32_t | scalar | Offset for kicker trigger, reasonable values are +/- the revolution time in the extraction ring |
bucketNumber | INOUT | int32_t | scalar | EXT: extraction starts at this bucket number, required if extraction ring is larger than injection ring. INJ: injection starts at this bucket number, required if injection ring is larger than extraction ring |
bucketNumber_max | OUT | int32_t | scalar | |
bucketNumber_min | OUT | int32_t | scalar | |
phaseDifference | INOUT | int32_t | scalar | Phase difference between h=1 Group DDS for injection and extraction, reasonable values are +/- the revolution time in the extraction ring |
fineTune | INOUT | bool | scalar | Useful when extraction ring is larger than injection ring; enhances precision |
multiBeatTune | INOUT | bool | scalar | Useful with short beating periods; enhances precision but takes more time (multiple beating periods |
sidExtRing | INOUT | int32_t | scalar | Injection ring only: must match SID of extraction ring |
Min-Value-Items | Direction | Type | Scalarity | Description | frequency_min | OUT | double | scalar | |
harmonicNumber_min | OUT | int32_t | scalar | |
bucketNumber_min | OUT | int32_t | scalar | |
Max-Value-Items | Direction | Type | Scalarity | Description | frequency_max | OUT | double | scalar | |
harmonicNumber_max | OUT | int32_t | scalar | |
bucketNumber_max | OUT | int32_t | scalar | |
DebugMode
[Back to top] Attributes | Value | multiplexed | false |
partial-setting | false |
type | setting |
visibility | development |
Value-Items | Direction | Type | Scalarity | Description | DebugMode | INOUT | bool | scalar | |
Power
[Back to top]Used to turn the power of a device on or off.
Attributes | Value | multiplexed | false |
partial-setting | true |
type | setting |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | power | INOUT | DEVICE_POWER | custom-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.
Attributes | Value | cycle-bound | false |
partial-setting | false |
type | acquisition |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | status | OUT | DEVICE_STATUS | custom-type-scalar | |
detailedStatus | OUT | bool | array | Detailed 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_labels | OUT | char | array2D | Labels of detailed status bits. |
detailedStatus_severity | OUT | DETAILED_STATUS_SEVERITY | custom-type-array | Severities of the detailed status bits |
powerState | OUT | DEVICE_POWER_STATE | custom-type-scalar | Power state of the device (ON, OFF) |
control | OUT | DEVICE_CONTROL | custom-type-scalar | |
interlock | OUT | bool | scalar | Interlock state of the device |
opReady | OUT | bool | scalar | Contains the devices state regarding operation |
modulesReady | OUT | bool | scalar | Contains the devices module state |
error_codes | OUT | int32_t | array | |
error_messages | OUT | char | array2D | |
error_timestamps | OUT | int64_t | array | |
error_cycle_names | OUT | char | array2D | |
ModuleStatus
[Back to top]Gives detailed information on the state of 3rd party hardware and software components which are required to operate the device.
Attributes | Value | cycle-bound | false |
partial-setting | false |
type | acquisition |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | moduleStatus | OUT | MODULE_STATUS | custom-type-array | |
moduleStatus_labels | OUT | char | array2D | |
Acquisition
[Back to top]Used for returning acquisition data which is retrieved from the hardware.
Attributes | Value | cycle-bound | true |
partial-setting | false |
type | acquisition |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | state | OUT | int32_t | scalar | |
nBadState | OUT | int32_t | scalar | |
nBadStatus | OUT | int32_t | scalar | |
statusArray | OUT | int64_t | scalar | |
nTransfers | OUT | int32_t | scalar | |
processIndex | OUT | int32_t | scalar | |
sequenceIndex | OUT | int32_t | scalar | |
chainIndex | OUT | int32_t | scalar | |
eventNumber | OUT | int32_t | scalar | |
timingGroupID | OUT | int32_t | scalar | |
acquisitionStamp | OUT | int64_t | scalar | |
eventStamp | OUT | int64_t | scalar | |
processStartStamp | OUT | int64_t | scalar | |
sequenceStartStamp | OUT | int64_t | scalar | |
chainStartStamp | OUT | int64_t | scalar | |
Version
[Back to top]Returns the current software and hardware versions of a piece of equipment.
Attributes | Value | cycle-bound | false |
partial-setting | false |
type | acquisition |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | classVersion | OUT | char | array | |
deployUnitVersion | OUT | char | array | |
fesaVersion | OUT | char | array | |
firmwareVersion | OUT | char | array | |
b2blibraryVersion | OUT | char | array | |
Global Interface
[Back to top] Setting Properties
[Back to top]DiagnosticSetting
[Back to top]Generic property which allows to diagnose any FESA classes
Attributes | Value | multiplexed | false |
partial-setting | false |
type | setting |
visibility | expert |
Value-Items | Direction | Type | Scalarity | Description | requestState | IN | bool | scalar | |
Acquisition Properties
[Back to top]DeviceDescription
[Back to top] Attributes | Value | cycle-bound | false |
partial-setting | false |
type | acquisition |
visibility | operational |
Value-Items | Direction | Type | Scalarity | Description | deviceNameTimingReceiver | OUT | char | array | |
propertyNames | OUT | char | array2D | |
deviceNames | OUT | char | array2D | |
globalDeviceName | OUT | char | array | |
host | OUT | char | array | |
Subset Interface
[Back to top]B2B_INJ
[Back to top]B2B_EXT
[Back to top] Data
[Back to top] Device Data
[Back to top] Configuration
[Back to top] Acquisition
[Back to top] Setting
[Back to top] Global Data
[Back to top] Configuration
[Back to top] Acquisition
[Back to top]None
Setting
[Back to top]None
Custom Types
[Back to top] Struct and Enumeration Data
[Back to top] GSI_ERROR
[Back to top] GSI_ACQ_CONTEXT
[Back to top] Name | Scalarity | Type | Size | Description | processIndex | scalar | int32_t | | Used in order to index process-multiplexed data |
sequenceIndex | scalar | int32_t | | Used in order to index sequence-multiplexed data |
chainIndex | scalar | int32_t | | Refers to a specific beam production chain |
eventNumber | scalar | int32_t | | The number of the event describes it's type |
timingGroupID | scalar | int32_t | | ID of the timing group for which the event is relevant |
acquisitionStamp | scalar | int64_t | | The acquisition stamp is used to indicate when a measurement was done |
eventStamp | scalar | int64_t | | The event stamp is used to indicate when WhiteRabbit event was triggered on the Timing Receiver |
processStartStamp | scalar | int64_t | | The process start stamp indicates when the first event of the current process was triggered |
sequenceStartStamp | scalar | int64_t | | The sequence start stamp indicates when the first event of the current sequence was triggered |
chainStartStamp | scalar | int64_t | | The chain start stamp indicates when the first event of the current chain was triggered |
[Back to top] Symbol | Value | Access | UNKNOWN | 0 | RW |
OK | 1 | RW |
WARNING | 2 | RW |
ERROR | 3 | RW |
[Back to top] Symbol | Value | Access | UNKNOWN | 0 | RW |
ON | 1 | RW |
OFF | 2 | RW |
STANDBY | 3 | RW |
POWER_DOWN | 4 | RW |
POWER_UP | 5 | RW |
[Back to top] Symbol | Value | Access | ON | 1 | RW |
OFF | 2 | RW |
[Back to top] Symbol | Value | Access | REMOTE | 0 | RW |
LOCAL | 1 | RW |
[Back to top] Symbol | Value | Access | ABS | 0 | RO |
REL | 1 | RO |
[Back to top] Symbol | Value | Access | INFO | 0 | RO |
WARNING_ON_FALSE | 1 | RO |
ERROR_ON_FALSE | 2 | RO |
[Back to top] Symbol | Value | Access | UNKNOWN | 0 | RO |
OK | 1 | RO |
WARNING | 2 | RO |
ERROR | 3 | RO |
NOT_AVAILABLE | 4 | RO |
[Back to top] Symbol | Value | Access | OFF | 0 | RW |
EVT_KICK_START | 1 | RW |
2 | RW |
B2COASTING_BEAM | 3 | RW |
B2BUCKET | 4 | RW |
[Back to top] Symbol | Value | Access | EXT | 0 | RW |
INJ | 1 | RW |
[Back to top]bit-enum-32bits
Bit | Name | b0 | NOT_OK |
b1 | BAD_QUALITY |
b2 | DIFFERENT_FROM_SETTING |
b3 | OUT_OF_RANGE |
b4 | BUSY |
b5 | TIMEOUT |
b6 | bit6_is_reserved_for_later_usage |
b7 | bit7_is_reserved_for_later_usage |
b8 | bit8_is_reserved_for_later_usage |
b9 | bit9_is_reserved_for_later_usage |
b10 | bit10_is_reserved_for_later_usage |
b11 | bit11_is_reserved_for_later_usage |
b12 | bit12_is_reserved_for_later_usage |
b13 | bit13_is_reserved_for_later_usage |
b14 | bit14_is_reserved_for_later_usage |
b15 | bit15_is_reserved_for_later_usage |
b16 | bit_16_and_higher_can_be_used_by_the_class_developer |
Constants
[Back to top]