qtics.instruments.ni package#

National Instruments instruments.

Submodules#

qtics.instruments.ni.pxie5170r module#

PXiE 5170R NI driver.

class qtics.instruments.ni.pxie5170r.DigitalTrigger(source: str | None, slope: TriggerSlope = TriggerSlope.POSITIVE, holdoff: float = 0.0, delay: float = 0.0)[source]#

Bases: Trigger

Digital trigger class.

configure(session: Session)[source]#

Configure a session.

delay: float = 0.0#

Delay between trigger and acquisition.

holdoff: float = 0.0#

Waiting time before trigger [s].

slope: TriggerSlope = 1#

Activation slope of the trigger.

class qtics.instruments.ni.pxie5170r.EdgeTrigger(source: str | None, slope: TriggerSlope = TriggerSlope.POSITIVE, holdoff: float = 0.0, delay: float = 0.0, level: float = 1.0, trigger_coupling: TriggerCoupling = TriggerCoupling.DC)[source]#

Bases: Trigger

Edge trigger class.

configure(session: Session)[source]#

Configure a session.

delay: float = 0.0#

Delay between trigger and acquisition.

holdoff: float = 0.0#

Waiting time before trigger [s].

level: float = 1.0#

Voltage threshold.

slope: TriggerSlope = 1#

Activation slope of the trigger.

trigger_coupling: TriggerCoupling = 1#
class qtics.instruments.ni.pxie5170r.Pxie5170R(address: str, name: str = 'Pxie5170R')[source]#

Bases: Instrument

NI PXIe-5170R oscilloscope.

acquire(channels, duration, ref_position=50, options=None)[source]#

Perform an acquisition.

property available#

Check if instrument is available.

connect()[source]#

Empty method to comply with interface.

property coupling#

The coupling property.

disconnect()[source]#

Empty method to comply with interface.

property sample_rate: int#

The sample_rate property.

property trigger#

The trigger property.

property voltage_range#

The voltage_range property.

qtics.instruments.ni.pxie5170r.Pxie570R#

alias of Pxie5170R

class qtics.instruments.ni.pxie5170r.SoftwareTrigger(source: str | None = None, holdoff: float = 0.0, delay: float = 0.0)[source]#

Bases: Trigger

Software trigger class.

configure(session: Session)[source]#

Configure a session.

delay: float = 0.0#

Delay between trigger and acquisition.

holdoff: float = 0.0#

Waiting time before trigger [s].

source: str | None = None#

Software trigger has no source.

class qtics.instruments.ni.pxie5170r.Trigger(source: str | None)[source]#

Bases: ABC

Abstract trigger object.

abstract configure(session: Session)[source]#

Configure session.

source: str | None#

Source of the trigger.

qtics.instruments.ni.quicksyn module#

QuickSyn microwave synthesizers by National Instruments.

class qtics.instruments.ni.quicksyn.FSL0010(transport: Transport | str, name: str = '', **transport_kwargs)[source]#

Bases: QuickSyn

FSL_0010 QuickSyn.

max_freq = 10000000000.0#
min_freq = 650000000.0#
class qtics.instruments.ni.quicksyn.FSL0020(transport: Transport | str, name: str = '', **transport_kwargs)[source]#

Bases: QuickSyn

FSL_0020 QuickSyn.

max_freq = 20000000000.0#
min_freq = 650000000.0#
class qtics.instruments.ni.quicksyn.FSW0010(transport: Transport | str, name: str = '', **transport_kwargs)[source]#

Bases: QuickSyn

FSW_0010 QuickSyn.

max_freq = 10000000000.0#
min_freq = 500000000.0#
class qtics.instruments.ni.quicksyn.FSW0020(transport: Transport | str, name: str = '', **transport_kwargs)[source]#

Bases: QuickSyn

FSW_0020 QuickSyn.

max_freq = 20000000000.0#
min_freq = 500000000.0#
class qtics.instruments.ni.quicksyn.QuickSyn(transport: Transport | str, name: str = '', **transport_kwargs)[source]#

Bases: RFSource, SCPIInstrument

QuickSyn microwave synthesizer by National Instruments.

default_transport#

alias of SerialTransport

property ext_ref_source: bool#

Use external reference source.

property frequency: float#

Output signal frequency in Hz.

max_freq = 10000000000.0#
min_freq = 500000000.0#
property output: bool#

Whether the RF output is on.

property temperature: float#

Temperature in degrees Celsius.

transport_defaults: ClassVar[Dict[str, Any]] = {'baudrate': 115200, 'delay': 0.1, 'timeout': 10}#