enums
¶
Module containing Enums for the tm_devices package.
ConfigFileType
¶
Bases: CustomStrEnum
Class holding valid config file extensions.
ConnectionTypes
¶
Bases: CustomStrEnum
Class holding the valid connection types supported.
GPIB
class-attribute
instance-attribute
¶
GPIB = 'GPIB'
An enum member representing a VISA connection made over the GPIB interface.
MOCK
class-attribute
instance-attribute
¶
MOCK = 'MOCK'
An enum member representing a VISA connection to a MOCK device.
REST_API
class-attribute
instance-attribute
¶
REST_API = 'REST_API'
An enum member representing a REST API connection made over LAN.
SERIAL
class-attribute
instance-attribute
¶
SERIAL = 'SERIAL'
An enum member representing a VISA connection made over the Serial (ASRL) interface.
SOCKET
class-attribute
instance-attribute
¶
SOCKET = 'SOCKET'
An enum member representing a VISA connection made over the Socket interface.
TCPIP
class-attribute
instance-attribute
¶
TCPIP = 'TCPIP'
An enum member representing a VISA connection made over the TCPIP interface.
USB
class-attribute
instance-attribute
¶
USB = 'USB'
An enum member representing a VISA connection made over the USBTMC interface.
CustomStrEnum
¶
Bases: Enum
A custom base class for string Enums.
This class provides better type hinting for the value property.
DeviceTypes
¶
Bases: CustomStrEnum
Class holding the valid device types supported.
Any additions to this class need to be added to
the tm_devices.helpers.constants_and_dataclasses.VALID_DEVICE_CONNECTION_TYPES
constant as well.
AFG
class-attribute
instance-attribute
¶
AFG = 'AFG'
An enum member representing an Arbitrary Function Generator.
AWG
class-attribute
instance-attribute
¶
AWG = 'AWG'
An enum member representing an Arbitrary Waveform Generator.
DAQ
class-attribute
instance-attribute
¶
DAQ = 'DAQ'
An enum member representing a Data Acquisition system.
DMM
class-attribute
instance-attribute
¶
DMM = 'DMM'
An enum member representing a Digital Multimeter.
PSU
class-attribute
instance-attribute
¶
PSU = 'PSU'
An enum member representing a Power Supply Unit.
SCOPE
class-attribute
instance-attribute
¶
SCOPE = 'SCOPE'
An enum member representing an Oscilloscope.
SMU
class-attribute
instance-attribute
¶
SMU = 'SMU'
An enum member representing a Source Measure Unit.
UNSUPPORTED
class-attribute
instance-attribute
¶
UNSUPPORTED = 'UNSUPPORTED'
An enum member representing an unsupported device type.
LoadImpedanceAFG
¶
Bases: Enum
AFG/IAFG Impedance Values.
SASSetWaveformFileTypes
¶
Bases: CustomStrEnum
Supported file types for the command MMEMory:OPEN:SASSet[:WAVeform].
SignalGeneratorFunctionBase
¶
Bases: Enum
An enumeration for all function name enumerations to inherit from.
SignalGeneratorFunctionsAFG
¶
Bases: SignalGeneratorFunctionBase
AFG function names.
SignalGeneratorFunctionsAWG
¶
Bases: SignalGeneratorFunctionBase
AWG function names.
SignalGeneratorFunctionsIAFG
¶
Bases: SignalGeneratorFunctionBase
IAFG function names.
SignalGeneratorOutputPaths5200
¶
Bases: SignalGeneratorOutputPathsBase
Output signal path types for AWG5200’s.
SignalGeneratorOutputPathsBase
¶
Bases: CustomStrEnum
Base output signal path types.
SignalGeneratorOutputPathsNon5200
¶
Bases: SignalGeneratorOutputPathsBase
Output signal path types for non-AWG5200’s.
SupportedModels
¶
Bases: CustomStrEnum
Class containing all model series supported by the device management system.
SupportedRequestTypes
¶
Bases: CustomStrEnum
All request types supported by a RESTAPIControl.