SMA100B module
” Created on Fir Feb 02 13:00:00 2024
@author: mweizel
- class Instruments_Libraries.SMA100B.SMA100B(*args, **kwargs)[source]
Bases:
Instrument
A class thats uses vxi11 library to interface a SMA100B Need to have python ‘vxi11’ library installed!
- activate_DCOffset(state)[source]
Activates a DC offset.
- Parameters:
state (str) – ‘ON’ 1 or ‘OFF’ 0
- Return type:
None
- set_CMOS_Voltage(value)[source]
- Parameters:
value (int/float) – Sets the voltage for the CMOS signal. Range: 0.8 to 2.7 Increment: 0.001
- Raises:
ValueError – Wrong range Error.
- Return type:
None.
- set_ClockSigPhase(value)[source]
- Parameters:
value (int/float) – Shifts the phase of the generated clock signal. Range: -36000 to 36000 Increment: 0.1
- Raises:
ValueError – Wrong Value Error.
- Return type:
None.
- set_DCOffset(value)[source]
- Parameters:
value (int/float) – Sets the value of the DC offset. Range: -5 to 5 Increment: 0.001
- Return type:
None.
- set_OutputPowerLevel(value)[source]
Sets the Signal Generator Output Power in dBm. Alias for set_rf_power().
- Parameters:
value (int/float) – Output Power in dBm
- Return type:
None
- set_freq_CW(value, unit=None)[source]
- Parameters:
value (int/float) – Parameter Frequency
unit (str (optional)) – Frequency Unit: ‘GHz’ or ‘MHz’ or ‘Hz’
- Return type:
None.
- set_frequency_mode(MODE)[source]
- Parameters:
MODE (str) –
<Mode> CW | FIXed | SWEep | LIST | COMBined
- CW|FIXed
Sets the fixed frequency mode. CW and FIXed are synonyms. The instrument operates at a defined frequency.
- SWEep
Sets sweep mode. The instrument processes frequency (and level) settings in defined sweep steps.
- LIST
Sets list mode. The instrument processes frequency and level settings by means of values loaded from a list.
- COMBined
Sets the combined RF frequency / level sweep mode. The instrument processes frequency and level settings in defined sweep steps.
- Return type:
None
- set_output(state)[source]
Activates the Signal Genrator RF Output
- Parameters:
state (str/int) – ‘ON’ 1 or ‘OFF’ 0
- Raises:
ValueError – Valid values are: ‘ON’, ‘OFF’, 1, 0
- Return type:
None
- set_rf_output(state)[source]
Activates the Signal Genrator RF Output
- Parameters:
state (str/int) – ‘ON’ 1 or ‘OFF’ 0
- Raises:
ValueError – Valid values are: ‘ON’, ‘OFF’, 1, 0
- Return type:
None