RfGenerator

RfGenerator#

class RfGenerator(resourceName, name)#

Bases: Hardware

RfGenerator abstract base for RF signal generators.

Provides common timing/trigger/output configuration for RF sources and a minimal control API. Subclasses implement vendor-specific behavior.

  • Typical workflow: connect()set()upload()check()close()

Constructor Summary
RfGenerator(resourceName, name)#

Construct a RfGenerator.

Parameters:
  • resourceName (string) – Connection resource identifier (e.g., VISA)

  • name (string, optional) – Device nickname (default: [])

Property Summary
IsOutput logical#

Per-channel output enable flags

OutputLoad string {mustBeMember(OutputLoad,{'50','Infinity'})} = "50"#

Output load setting (‘50’ or ‘Infinity’)

OutputMode string {mustBeMember(OutputMode,{'Gated','Normal'})} = "Normal"#

Output mode (‘Gated’ or ‘Normal’)

SamplingRate double#

Sampling rate [Hz] for generated signal

TriggerSlope string {mustBeMember(TriggerSlope,{'Rise','Fall'})} = "Rise"#

Trigger edge selection

TriggerSource string {mustBeMember(TriggerSource,{'External','Software','Immediate'})} = "External"#

Trigger source selection

WaveformList cell#

Cell array of per-channel waveforms to output