dwfpy.analog_output.AnalogOutputChannelNode

class AnalogOutputChannelNode(channel, node)[source]

Bases: object

Represents an Analog Output channel node.

Methods

set_data_samples

Sets the custom data or to prefill the buffer with play samples.

set_play_samples

Sets new data samples for play mode.

Attributes

amplitude

Gets or sets the amplitude.

amplitude_max

Gets the maximum amplitude.

amplitude_min

Gets the minimum amplitude.

data_samples_max

Gets the maximum number of samples allowed for custom data generation.

data_samples_min

Gets the minimum number of samples allowed for custom data generation.

enabled

Enables the node.

frequency

Gets or sets the frequency.

frequency_max

Gets the maximum frequency.

frequency_min

Gets the minimum frequency.

function

Gets or sets the generator function.

function_info

Gets the supported channel nodes.

offset

Gets or sets the offset.

offset_max

Gets the maximum offset.

offset_min

Gets the minimum offset.

phase

Gets or sets the phase.

phase_max

Gets the maximum phase.

phase_min

Gets the minimum phase.

play_status

Gets information about the recording process.

symmetry

Gets or sets the symmetry percentage.

symmetry_max

Gets the maximum symmetry percentage.

symmetry_min

Gets the minimum symmetry percentage.

type

Gets the node type.

property amplitude: float

Gets or sets the amplitude.

Return type

float

property amplitude_max: float

Gets the maximum amplitude.

Return type

float

property amplitude_min: float

Gets the minimum amplitude.

Return type

float

property data_samples_max: int

Gets the maximum number of samples allowed for custom data generation.

Return type

int

property data_samples_min: int

Gets the minimum number of samples allowed for custom data generation.

Return type

int

property enabled: bool

Enables the node.

Return type

bool

property frequency: float

Gets or sets the frequency.

Return type

float

property frequency_max: float

Gets the maximum frequency.

Return type

float

property frequency_min: float

Gets the minimum frequency.

Return type

float

property function: Function

Gets or sets the generator function.

Return type

Function

property function_info: Tuple[Function, ...]

Gets the supported channel nodes.

Return type

Tuple[Function, ...]

property offset: float

Gets or sets the offset.

Return type

float

property offset_max: float

Gets the maximum offset.

Return type

float

property offset_min: float

Gets the minimum offset.

Return type

float

property phase: float

Gets or sets the phase.

Return type

float

property phase_max: float

Gets the maximum phase.

Return type

float

property phase_min: float

Gets the minimum phase.

Return type

float

property play_status: Tuple[int, int, int]

Gets information about the recording process. Returns (samples_free, lost_samples, corrupted_samples)

Return type

Tuple[int, int, int]

set_data_samples(samples)[source]

Sets the custom data or to prefill the buffer with play samples.

Return type

None

set_play_samples(samples)[source]

Sets new data samples for play mode.

Return type

None

property symmetry: float

Gets or sets the symmetry percentage.

Return type

float

property symmetry_max: float

Gets the maximum symmetry percentage.

Return type

float

property symmetry_min: float

Gets the minimum symmetry percentage.

Return type

float

property type: AnalogOutputNode

Gets the node type.

Return type

AnalogOutputNode