[[ds:software|Back to software overview]] ====== High Voltage Control ====== ===== Common Fesa Interface ===== ^ ^ MPOD Fesa class (data type double unless noted) ^ CAEN Fesa class (Channel) ^ CAEN Fesa class (Crate) ^ GUI ^ ^ Configuration data fields (for info only) ^^^^ | Model type {SY1527, SY2527, SY4527, SY5527 | - | - | model \\ (enum SYX527_MODEL) | | | Login | - | - | login | | | Password | - | - | password \\ (plain text) | | | Acquisition mode {POLLING_MODE, EVENT_MODE}. Event mode falls back to polling mode on old SY1527/2527 crates | - | - | acqMode (enum SET_ACQ_MODE) | | | Is the crate (and implicitely all registered channels) a real device? | - | //implicit via crate config// | isRealDevice \\ (bool, default: true) | | | Address of the crate | crateIP (e.g. 140.181.12.34) | - | hostnameFQDN \\ (e.g. sdhv003.acc.gsi.de) | - | | Number/Index of the HV channel | - | inCrate \\ (exact(!) FESA crate name) | - | - | | Board slot index on which channel resides | - | inSlot | - | - | | Number/Index of the HV channel | - | chNum (first channel == 0) | - | - | | Does the channel support only one ramp rate | singleRampRate | singleRampRate \\ (bool, default false) | - | - | | minimum ramp rate (always >= 0) | minRamp | minRamp | - | - | | maximum ramp rate (always >= 0) | maxRamp | maxRamp | - | - | | resolution of the voltage measurement | resVoltage | resVoltage \\ (default 0.5 V) | - | - | | resolution of the current measurement | resCurrent | resCurrent | - | - | | maximum current supported by board | //queried// | currentS_max_manual \\ CAEN does not allow to query that property | - | | polarity of channel | //queired// | polarity \\ CAEN does not allow to safely query that property | - | | mockup or real device (true means it is a mockup device) | isMockupDevice | //implicit// | //see isRealDevice// | - | ^ Setting Property ^^^^ | Demanded voltage (Sollspannung) | voltageS (+_min, _max) | voltageS (+_min,_max) | - | voltageS | ^ ExpertSetting Property ^^^^ | current limit | currentS (+_max) | currentS (+_max) | - | currentS (+_min,_max) | | ramp up rate | rampUpRate (+_min, _max) | rampUpRate (+_min,_max) | - | rampUpRate (+_min, _max) | | ramp down rate | rampDownRate (+_min, _max) | rampDownRate (+_min,_max) | - | rampDownRate (+_min, _max) | | trip time | tripTime ExpertSettings | tripTime | - | tripTime | ^ **Acquisition** ^^^^ | actual voltage (Istspannung) | voltageI | voltageI | - | voltageI | | actual current (Iststrom) | currentI | currentI | - | currentI | | channel polarity | polarity (char array: + or -) not used in the GUI, just for info purposes | polarity {'+','-'} (config value, can't be queried!) | - | voltageI sollte das widerspiegeln | | actual ramp up rate | rampUpRateI | rampUpRateI | - | | | actual ramp down rate | rampDownRateI | rampDownRateI | - | | | demanded voltage on the device (Sollpannung die auf dem Gerät gesetzt ist) | setVoltageHardwareI | setVoltageHardwareI | - | Es gibt bei CSCO immer wieder Überlegungen, ob der Sollwert nochmal mitgeschickt werden soll. Ich persönlich finde es überflüssig, ausser vielleicht, es ist der aus dem Gerät ausgelesene Sollwert. Aber da gibt es viele Meinungen. | | An/Aus des Kanals | //not implemented// | | | Ich glaube das sollte das powerState field in der Status property sein rh: ist es| | actual trip time | tripTimeI | tripTimeI | - | | | actual current limit | currentLimitI | setCurrentLimitHardwareI | - | | ^ **Status** ^^^^ | Detailed status | siehe unten | | | | ^ Info (partly filled with the values from the configuration fields) ^^^^ | only one ramp rate? | singleRampRate (bool) | singleRampRate (bool) | - | | | minimum channel voltage | minVoltage (queried from hardware) | minVoltage (queried from hardware) | - | | | maximum channel voltage | maxVoltage (queried from hardware) | maxVoltage (queried from hardware) | - | | | maximum channel current | maxCurrent (queried from hardware) | maxCurrent (manual config field via currentS_max_manual) | - | | | minimum ramp rate | minRamp | minRamp | - | | | maximum ramp rate | maxRamp | maxRamp | - | | | resolution of the voltage measurement | resVoltage | resVoltage | - | | | resolution of the current measurement | resVoltage | resCurrent | - | | | polarity | polarity (char array: + or -) | polarity (char array: + or -) | - | | | Number of the slot the card with the channel sits in | slotNumber (int32_t) | slotNumber (int32_t) | - | | | Number of the channel on a card | channelNumber (int32_t) | channelNumber (int32_t) | - | | ==== MPOD::Detailed Status Bits ==== In der MPOD Klasse werden momentan diese Bits ausgelesen und gesetzt. Teilweise verhalten sich die Bits nicht wie erwartet, z.B. "outputOn" zeigt nur true, wenn der Kanal eingeschaltet ist UND eine Spannung anliegt. Wenn der Kanal eingeschaltet ist aber auf 0V steht, ist das Bit false. Auf manchen Karten ist das outputAdjusting Bit immer an. * outputOn * outputInhibit * outputFailureMinSenseVoltage * outputFailureMaxSenseVoltage * outputFailureMaxTerminalVoltage * outputFailureMaxCurrent * outputFailureMaxTemperature * outputFailureMaxPower * outputFailureTimeout * outputCurrentLimited * outputRampUp * outputRampDown * outputEnableKill * outputEmergencyOff * outputAdjusting * outputConstantVoltage * outputVoltageBoundsExceeded * outputCurrentBoundsExceeded * outputFailureCurrentLimit ACHTUNG: Bei den Failure Bits bedenken, dass gilt: ERROR_ON_FALSE und WARNING_ON_FALSE, d.h. bit gesetzt bedeutet alles OK! ==== CAEN::Kanal::Detailed Status Bits ==== * outputOn * outputRampUp * outputRampDown * outputOverCurrent * outputOverVoltage * outputUnderVoltage * outputExternalTrip * outputMaxVoltage * outputExternalDisable * outputInternalDisable * outputCalibrationError * outputUnplugged * outputOVProtection * outputPowerFail * outputTemperatureError * outputChannelOutOfRange * outputSlotOutOfRange * outputNoSuchBoard * outputAmbiguousConfig * outputInvalidCrate * boardPowerFail * boardFirmwareChecksumError * boardHvCalibrationError * boardTempCalibrationError * boardUndertempError * boardOvertempError ==== CAEN::Crate::Detailed Status Bits ==== TODO [[ds:software|Back to software overview]]