hvl_ccb.dev.fug.constants

Inheritance diagram of hvl_ccb.dev.fug.constants

Constants of FuG

class FuGDigitalVal(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for digital values understood by FuG

NO = 0
OFF = 0
ON = 1
YES = 1
class FuGMonitorModes(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for the different ADC modes

T1MS = 1

15 bit + sign, 1 ms integration time

T200MS = 6

typ. 19 bit + sign, 200 ms integration time

T20MS = 3

17 bit + sign, 20 ms integration time

T256US = 0

14 bit + sign, 256 us integration time

T40MS = 4

17 bit + sign, 40 ms integration time

T4MS = 2

15 bit + sign, 4 ms integration time

T800MS = 7

typ. 20 bit + sign, 800 ms integration time

T80MS = 5

typ. 18 bit + sign, 80 ms integration time

class FuGPolarities(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for the different polarities

NEGATIVE = 1
POSITIVE = 0
class FuGProbusIVCommands(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: NameEnum

Enum for the command of the (older) “Probus IV” interface. The input_type defines the type of a value that can be written.

ADMODE = ('S', (<aenum 'FuGMonitorModes'>, <class 'int'>))
CURRENT = ('I', (<class 'int'>, <class 'float'>))
EXECUTE = ('X', None)
EXECUTEONX = ('G', (<aenum 'FuGDigitalVal'>, <class 'int'>))

Wait for “X” to execute pending commands

ID = ('*IDN?', None)
OUTPUT = ('F', (<aenum 'FuGDigitalVal'>, <class 'int'>))
POLARITY = ('P', (<aenum 'FuGPolarities'>, <class 'int'>))
QUERY = ('?', None)
READBACKCHANNEL = ('N', (<aenum 'FuGReadbackChannels'>, <class 'int'>))
RESET = ('=', None)
TERMINATOR = ('Y', (<aenum 'FuGTerminators'>, <class 'int'>))
VOLTAGE = ('U', (<class 'int'>, <class 'float'>))
XOUTPUTS = ('R', <class 'int'>)

TODO: the possible values are limited to 0..13

class FuGRampModes(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for the different ramp modes

FOLLOWRAMP = 1

Follow the ramp up- and downwards

IMMEDIATELY = 0

Standard mode: no ramp

ONLYUPWARDSOFFTOZERO = 4

Follow the ramp up- and downwards, if output is OFF set value is zero

RAMPUPWARDS = 2

Follow the ramp only upwards, downwards immediately

SPECIALRAMPUPWARDS = 3

Follow a special ramp function only upwards

class FuGReadbackChannels(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for the readback channels for Trigger-on-Talk

CURRENT = 1
FIRMWARE = 5
RATEDCURRENT = 4
RATEDVOLTAGE = 3
SN = 6
STATUSBYTE = 2
VOLTAGE = 0
class FuGTerminators(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Enum for the terminators of the command strings

CR = 3
CRLF = 0
LF = 2
LFCR = 1