AWG#

class AWG(root: NodeTree, tree: tuple, serial: str, index: int, device_type: str, device_options: str)[source]#

Bases: Node

AWG node.

This class implements the basic functionality for the device specific arbitrary waveform generator. Besides the upload/compilation of sequences it offers the upload of waveforms and command tables.

Parameters:
  • root (NodeTree) – Root of the nodetree

  • tree (tuple) – Tree (node path as tuple) of the current node

  • session – Underlying session.

  • serial (str) – Serial of the device.

  • index (int) – Index of the corresponding awg channel

  • device_type (str) – Device type

  • device_options (str) –

Methods

compile_sequencer_program(sequencer_program, ...)

Compiles a sequencer program for the specific device.

enable_sequencer(*, single)

Starts the sequencer of a specific channel.

load_sequencer_program(sequencer_program, ...)

Compiles the given sequencer program on the AWG Core.

read_from_waveform_memory([indexes])

Read waveforms from the waveform memory.

wait_done(*[, timeout, sleep_time])

Wait until the AWG is finished.

write_to_waveform_memory(waveforms[, indexes])

Writes waveforms to the waveform memory.

Attributes

commandtable

Command table module.