dwfpy.analog_output.AnalogOutputChannel
- class AnalogOutputChannel(module, channel)[source]
Bases:
objectRepresents an Analog Output channel.
Methods
Applies changes to the instrument.
Configures and optionally starts the instrument.
Gets the instrument status.
Resets and configures all instrument parameters to default values.
Sets up a new carrier waveform.
Applies an AM modulation to a waveform.
Applies an FM modulation to a waveform.
Attributes
Gets the device.
Enables the repeat count trigger in wait-run repeat cycles.
Gets or sets the generator idle output option.
Gets the supported channel nodes.
Gets the channel index.
Gets or sets the channel label.
Gets or sets the limitation value.
Gets the maximum limitation value.
Gets the minimum limitation value.
Gets or sets the master node index.
Gets or sets the generator mode option.
Gets the Analog Output module.
Gets the channel nodes.
Gets or sets the repeat count.
Gets the maximum repeat count.
Gets the minimum repeat count.
Gets the remaining repeat count.
Gets or sets the run length in seconds.
Gets the maximum run length in seconds.
Gets the minimum run length in seconds.
Gets the remaining run length in seconds.
Gets the trigger unit.
Gets or sets the wait length in seconds.
Gets the maximum wait length in seconds.
Gets the minimum wait length in seconds.
- property enable_repeat_trigger: bool
Enables the repeat count trigger in wait-run repeat cycles.
- Return type
bool
- property idle: AnalogOutputIdle
Gets or sets the generator idle output option.
- Return type
- property idle_info: Tuple[AnalogOutputIdle, ...]
Gets the supported channel nodes.
- Return type
Tuple[AnalogOutputIdle,...]
- property index: int
Gets the channel index.
- Return type
int
- property label: str
Gets or sets the channel label.
- Return type
str
- property limitation: float
Gets or sets the limitation value. Voltage offset in volts or modulation offset percentage.
- Return type
float
- property limitation_max: float
Gets the maximum limitation value.
- Return type
float
- property limitation_min: float
Gets the minimum limitation value.
- Return type
float
- property master: int
Gets or sets the master node index.
- Return type
int
- property mode: AnalogOutputMode
Gets or sets the generator mode option.
- Return type
- property module: AnalogOutput
Gets the Analog Output module.
- Return type
- property nodes: Tuple[AnalogOutputChannelNode, ...]
Gets the channel nodes.
- Return type
Tuple[AnalogOutputChannelNode,...]
- property repeat_count: int
Gets or sets the repeat count.
- Return type
int
- property repeat_count_max: int
Gets the maximum repeat count.
- Return type
int
- property repeat_count_min: int
Gets the minimum repeat count.
- Return type
int
- property repeat_count_status: float
Gets the remaining repeat count.
- Return type
float
- reset()[source]
Resets and configures all instrument parameters to default values.
- Return type
None
- property run_length: float
Gets or sets the run length in seconds.
- Return type
float
- property run_length_max: float
Gets the maximum run length in seconds.
- Return type
float
- property run_length_min: float
Gets the minimum run length in seconds.
- Return type
float
- property run_length_status: float
Gets the remaining run length in seconds.
- Return type
float
- setup(function=None, frequency=None, amplitude=None, offset=None, symmetry=None, phase=None, enabled=True, configure=False, start=False)[source]
Sets up a new carrier waveform.
- functionstr, optional
The generator function. Can be ‘dc’, ‘sine’, ‘square’, ‘triangle’, ‘ramp-up’, ‘ramp-down’, ‘noise’, ‘pulse’, ‘trapezium’, or ‘sine-power’.
- frequencyfloat, optional
The waveform frequency in Hz.
- amplitudefloat, optional
The waveform amplitude in Volts.
- offsetfloat, optional
The waveform offset in Volts.
- symmetryfloat, optional
The waveform symmetry (or duty cycle) in percent.
- phasefloat, optional
The waveform phase in degree.
- enabledbool, optional
If True, then the node is enabled (default True).
- configurebool, optional
If True, then the instrument is configured (default False).
- startbool, optional
If True, then the instrument is started (default False).
- Return type
None
- setup_am(function=None, frequency=None, amplitude=None, offset=None, symmetry=None, phase=None, enabled=True, configure=False, start=False)[source]
Applies an AM modulation to a waveform.
- functionstr, optional
The generator function. Can be ‘dc’, ‘sine’, ‘square’, ‘triangle’, ‘ramp-up’, ‘ramp-down’, ‘noise’, ‘pulse’, ‘trapezium’, or ‘sine-power’.
- frequencyfloat, optional
The waveform frequency in Hz.
- amplitudefloat, optional
The waveform amplitude in percent.
- offsetfloat, optional
The waveform offset in percent.
- symmetryfloat, optional
The waveform symmetry (or duty cycle) in percent.
- phasefloat, optional
The waveform phase in degree.
- enabledbool, optional
If True, then the node is enabled (default True).
- configurebool, optional
If True, then the instrument is configured (default False).
- startbool, optional
If True, then the instrument is started (default False).
- Return type
None
- setup_fm(function=None, frequency=None, amplitude=None, offset=None, symmetry=None, phase=None, enabled=True, configure=False, start=False)[source]
Applies an FM modulation to a waveform.
- functionstr, optional
The generator function. Can be ‘dc’, ‘sine’, ‘square’, ‘triangle’, ‘ramp-up’, ‘ramp-down’, ‘noise’, ‘pulse’, ‘trapezium’, or ‘sine-power’.
- frequencyfloat, optional
The waveform frequency in Hz.
- amplitudefloat, optional
The waveform amplitude in percent.
- offsetfloat, optional
The waveform offset in percent.
- symmetryfloat, optional
The waveform symmetry (or duty cycle) in percent.
- phasefloat, optional
The waveform phase in degree.
- enabledbool, optional
If True, then the node is enabled (default True).
- configurebool, optional
If True, then the instrument is configured (default False).
- startbool, optional
If True, then the instrument is started (default False).
- Return type
None
- property trigger: AnalogOutputChannelTrigger
Gets the trigger unit.
- Return type
- property wait_length: float
Gets or sets the wait length in seconds.
- Return type
float
- property wait_length_max: float
Gets the maximum wait length in seconds.
- Return type
float
- property wait_length_min: float
Gets the minimum wait length in seconds.
- Return type
float