The tk_afg3000 module

Module for Agilent 81160 pattern generators. Compatible with the signal module.

API

cmd_tk_afg3000.init_tk_afg3000(tk_afg3000_id, conf_string)[source]

Initialize tk_afg3000 pattern generator.

conf_string: must include:

  • channel: channel on which the tk_afg3000_id will act
  • bus: conf_string of the underlying link module (gpib, tcp, serial, ...)
cmd_tk_afg3000.deinit_tk_afg3000(tk_afg3000_id)[source]

Deregister an tk_afg3000 from the pool

cmd_tk_afg3000.config_tk_afg3000(tk_afg3000_id)[source]

Configure an tk_afg3000

cmd_tk_afg3000.inval_tk_afg3000(tk_afg3000_id)[source]

Invalidate configuration of an tk_afg3000

cmd_tk_afg3000.reset_tk_afg3000(tk_afg3000_id)[source]

Send RST signal to PG

cmd_tk_afg3000.configure_sine_tk_afg3000(tk_afg3000_id, frequency, sync, high_level, low_level, phase)[source]

Configure tk_afg3000 to a sine wave with the specified parameters

cmd_tk_afg3000.configure_square_tk_afg3000(tk_afg3000_id, frequency, sync, high_level, low_level, phase, duty_cycle)[source]

Configure tk_afg3000 to a square wave with the specified parameters

cmd_tk_afg3000.configure_ramp_tk_afg3000(tk_afg3000_id, frequency, sync, high_level, low_level, phase, symmetry)[source]

Configure tk_afg3000 to a ramp wave with the specified parameters

cmd_tk_afg3000.configure_pulse_tk_afg3000(tk_afg3000_id, frequency, sync, high_level, low_level, delay, pulse_width, rising_edge, falling_edge)[source]

Configure tk_afg3000 to a pulse train with the specified parameters

cmd_tk_afg3000.power_on_tk_afg3000(tk_afg3000_id)[source]

Turn on

cmd_tk_afg3000.power_off_tk_afg3000(tk_afg3000_id)[source]

Turn off