qtics.instruments.valon package#

Valon instruments.

Submodules#

qtics.instruments.valon.v5019 module#

20GHz Frequency Synthesizer module Valon Model 5019.

class qtics.instruments.valon.v5019.Valon5019(transport: Transport | str, name: str = 'Valon5019', **transport_kwargs)[source]#

Bases: RFSource, MessageInstrument

Frequency synthesizer driver for Valon 5019.

property am_frequency#

AM frequency from 1Hz to 2 kHz.

property am_modulation#

Enables AM modulation (value in dB).

decrement_freq()[source]#

In CW mode, step frequency is used for decrement.

default_transport#

alias of SerialTransport

property f_offset#

Offset frequency that can be added or subtracted to the frequency.

property f_start#

Start frequency for Sweep mode.

property f_step#

Step frequency for Sweep mode.

property f_step_cw#

Step frequency for the CW mode. Used with increment/decrement.

property f_stop#

Stop frequency for Sweep mode.

static freq_result_to_hz(res)[source]#

Convert list [value, unit] to Hz value.

property frequency#

Output signal frequency in Hz.

get_id() → str[source]#

Return the name of the device.

increment_freq()[source]#

In CW mode, step frequency is used for increment.

property list_entry#

Frequencies in the table for list mode.

property mode#

Return current mode of operation (continuous tone, sweep, list).

property output: bool#

Enable or disable the RF output buffer amplifiers, leaving the PLL locked.

property power#

Power of the output in dBm.

property power_pdn#

Place the synthesizer in a low power mode by disabling most of the synthesizer internal circuits.

read()[source]#

Read a message, removing the echo of the command and splitting in tokens.

property ref_freq#

Expected value of the external reference frequency.

property ref_source#

Check which clock reference is used.

reset(defaults: bool = True)[source]#

Reset all values, then restore the default values.

sweep_halt()[source]#

Halt sweep.

property sweep_rate#

Sweep rate in milliseconds for Sweep mode.

property sweep_rtime#

Sweep retrace time.

sweep_run()[source]#

Start sweep.

property sweep_tmode#

Set trigger mode.

Auto trigger is a free-running mode with internal trigger. Manual trigger is a single-sweep mode with TRG command. External trigger expects a positive edge on USER PORT. External steps waits for trigger and increments frequency by step

sweep_trigger()[source]#

Start trigger for manual sweep mode.

transport_defaults: ClassVar[Dict[str, Any]] = {'baudrate': 9600, 'delay': 0.3, 'terminator': '\r', 'timeout': 10}#
write(cmd, sleep=False)[source]#

Write a message to the serial port.