maodevice.transmitter module¶
Controller of Optical Switch¶
-
class
maodevice.transmitter.
Model3390AWG
(com)[source]¶ Bases:
maodevice.scpi.ScpiHandler
Control “Model 3390 Arbitrary Waveform Generator”.
Note
This class is based on “maodevice.scpi.ScpiHandler”.
-
MANUFACTURER
¶ Manufacturer of the device.
Type: str
-
PRODUCT_NAME
¶ Name of the device.
Type: str
-
CLASSIFICATION
¶ Classification of the device.
Type: str
-
enable_cmds
¶ IEEE-488.2 common commands to use.
Type: list
ofstr
-
CLASSIFICATION
= 'Function generator'
-
MANUFACTURER
= 'Keithley'
-
PRODUCT_NAME
= 'Model 3390 Arbitrary Waveform Generator'
-
enable_cmds
= ['*CLS', '*ESE', '*OPC', '*PSC', '*RCL', '*RST', '*SAV', '*SRE', '*TRG', '*WAI', '*ESE?', '*ESR?', '*IDN?', '*LRN?', '*OPC?', '*PSC?', '*SRE?', '*STB?', '*TST?']
-
query_frequency
()[source]¶ Query frequency of the signal.
Returns: The frequency value in Hz. Return type: ret (bytes)
-
query_function
()[source]¶ Query the function of the signal.
Returns: Function of the signal. Return type: ret (bytes)
-
query_offset_voltage
()[source]¶ Query the DC offset voltage of the signal.
Returns: The DC offset voltage value. Return type: ret (float)
-
query_pulse_high_low_levels
()[source]¶ Query pulse high and low levels.
Returns: Dictionary of Pulse high and low levels. Return type: ret (dict)
-
query_voltage
()[source]¶ Query voltage of the signal.
Returns: The voltage value in the specified unit. Return type: ret (float)
-
query_waveform_polarity
()[source]¶ Query waveform polarity.
Returns: The waveform polarity. Return type: ret (str)
-
set_dc_offset_voltage
(v_off)[source]¶ Set DC offset voltage of the signal.
Parameters: v_off (float) – The DC offset voltage values. Returns: None
-
set_frequency
(freq)[source]¶ Set frequency of the signal.
Parameters: freq (float) – Value of the frequency. Returns: None
-
set_function
(func)[source]¶ Set function of the signal.
Parameters: func (str) – Function of the signal. Returns: None
-
set_pulse_high_low_levels
(v_hi, v_low)[source]¶ Set pulse high and low levels.
Parameters: - v_hi (float) – Pulse high level.
- v_low (float) – Pulse low level.
Returns: None
-
Components of Optical Transmitter¶
-
class
maodevice.transmitter.
Md20M
(com)[source]¶ Bases:
maodevice.core.BaseDeviceHandler
Control “MD-20-M”.
The Optilab MD-20-M Modulator Driver (MD) is a 20 GHz bandwidth RF amplifier in a compact and user-friendly module that provides a high-quality, single-ended voltage to drive an optical modulator.
Note
This class is based on “maodevice.core.BaseDeviceHandler”
Parameters: com (maodevice.communicator) – Communicator instance to control the device. -
MANUFACTURER
¶ Manufacturer of the device.
Type: str
-
PRODUCT_NAME
¶ Name of the device.
Type: str
-
CLASSIFICATION
¶ Classification of the device.
Type: str
-
CLASSIFICATION
= 'Modulator Driver'
-
MANUFACTURER
= 'Optilab'
-
PRODUCT_NAME
= 'MD-20-M'
-
set_vadj
(vadj)[source]¶ Set the voltage which controls the duty cycle.
Note
The setting range is 0.01 - 4.99.
Parameters: vadj (float) – The voltage which controls the duty cycle. Returns: None
-
set_vbias
(vbias)[source]¶ Set the voltage of the output DC voltage.
Note
The setting range is 0.01 - 9.99.
Parameters: vbias (float) – The voltage of the output DC voltage. Returns: None
-
-
class
maodevice.transmitter.
Lta20Q
(com)[source]¶ Bases:
maodevice.core.BaseDeviceHandler
Control “LTA-20-Q”.
The LTA-20-Q modular transmitters are a wideband RF-over-fiber transmitter modules designed for antenna remoting and broadband RF transmission applications using single mode optical fiber.
Note
This class is based on “maodevice.core.BaseDeviceHandler”.
Parameters: com (maodevice.communicator) – Communicator instance to control the device. -
MANUFACTURER
¶ Manufacturer of the device.
Type: str
-
PRODUCT_NAME
¶ Name of the device.
Type: str
-
CLASSIFICATION
¶ Classification of the device.
Type: str
-
CLASSIFICATION
= 'E/O Converter'
-
MANUFACTURER
= 'Optilab'
-
PRODUCT_NAME
= 'LTA-20-Q'
-
-
class
maodevice.transmitter.
Pd30M
(com)[source]¶ Bases:
maodevice.core.BaseDeviceHandler
Control “PD-30-M”.
The PD-30-M is a 30 GHz bandwidth PIN receiver photodiode module designed for RF over fiber, antenna remoting, and broadband RF transmission applications using single mode optical.
Note
This class is based on “maodevice.core.BaseDeviceHandler”.
Parameters: com – (maodevice.communicator) Communicator instance to control the device. -
MANUFACTURER
¶ Manufacturer of the device.
Type: str
-
PRODUCT_NAME
¶ Name of the device.
Type: str
-
CLASSIFICATION
¶ Classification of the device.
Type: str
-
CLASSIFICATION
= 'O/E converter'
-
MANUFACTURER
= 'Optilab'
-
PRODUCT_NAME
= 'PD-30-M'
-