DDSGen

class tam.DDSGen(ipaddr, port)[source]
property chan: int

Get or set the output channel to be used.

property chan_str: str

Return a string representation of the output channel.

property freq: float

The channel output frequency (in MHz) as a float.

property level: float

The channel output level as a float. The units of the output level will depend on which level unit has been set for the output channel. See level_units.

property level_units: str

The unit used for the channel output level. This is one of: ['DAC', 'MV', 'DBM']

property output: bool

The output channel state as a bool

set_signal_output(freq: float, level: float) None[source]

Set the channel output frequency and level.

Parameters:
  • freq (float) – The channel output frequency to set (in MHz)

  • level (float) – The channel output level to set (in the current channel level units).