Signal

From SweepMe! Wiki
Jump to navigation Jump to search

The Signal module is used to control signal generators, function generators, and pulse generators. It applies a waveform, e.g. a sine, square, ramp, or pulse signal, and can vary one signal parameter, e.g. the frequency or the amplitude, according to the selected Sweep mode.

User interface

The module has two tabs:

  • Setup: driver, port, Sweep mode, Sweep value, and all signal options.
  • Sweep values: a SweepEditor to define the list of sweep values, e.g. a list of frequencies.

Which fields are available depends on the selected driver. Fields that are not supported by the driver are disabled. The field "Channel" is only shown if the driver supports several channels.

Sweep

  • Sweep mode: the signal parameter that is varied, e.g. "Frequency in Hz" or "Amplitude in V". The options are defined by the driver. With "None", the signal is applied with fixed values.
  • Sweep value: where the sweep values come from, see Sweep value.

Options

Several fields have a combo box instead of a fixed label. With this combo box, you select which of two quantities you enter in the field next to it:

Field Options of the label combo box
Period or frequency "Frequency in Hz", "Period in s"
Amplitude or high level "Amplitude in V", "HiLevel in V"
Offset or low level "Offset in V", "LoLevel in V"
Phase or delay "Phase in deg", "Delay in s"
Duty cycle or pulse width "Duty cycle in %", "Pulse width in s"
Power limit "Power limit in dBm", "Power limit in W"

Further fields:

  • Waveform: the shape of the signal, e.g. "Sine", "Square", "Ramp", or "Pulse". The options are defined by the driver.
  • Number of steps: number of steps between low and high level for staircase-like waveforms.
  • Rise time in s: time to change from low level to high level.
  • Fall time in s: time to change from high level to low level.
  • Time constant in s: time constant of waveforms with exponential rise or decay.
  • Operation mode: e.g. "Continuous" or "Burst", as defined by the driver.
  • Impedance in Ohm: impedance of the output, e.g. "50 Ohm" or "High-Z".
  • Trigger: trigger source, or whether an external trigger is used.
  • Arbitrary waveform: path of a file that is uploaded to the instrument as waveform. The "Select" button next to the field opens a file dialog. It starts in the folder of the file that is currently entered, otherwise in the folder for custom files (see Folder system).
  • ALC: turns Automatic Level Control (ALC) on or off. ALC adjusts the output level automatically.
  • Power limit: maximum power that is applied to the load, in dBm or W depending on the label combo box. This is used to protect the device.

Parameter

If the driver defines further parameters that are not part of the standard fields, they are listed in the section "Parameter" in a table with the columns "Parameter" and "Value". The section is hidden if the driver has no further parameters.

Burst

In a burst, the selected waveform is applied for a number of periods, followed by a delay time. This procedure can be repeated multiple times. The fields are located in the expandable section "Burst":

  • Signal repetitions: number of periods of the waveform within one burst.
  • Burst delay in s: time without signal until the next burst starts.
  • Burst repetitions: number of times the entire burst is repeated.

Some drivers only use these fields if the Operation mode "Burst" is selected.

Return variables

The return variables are defined by the driver. Typically, the driver returns the quantity of the selected Sweep mode, e.g. "Frequency" in Hz if the Sweep mode is "Frequency in Hz". With the Sweep mode "None", many drivers return no variable. Some drivers return further values, e.g. a measured voltage or current.

Supported parameters

There are string-type keys that can be used during driver programming to interact with the GUI of the Signal module which are listed here. See also Driver Programming. Keys that are not listed here are shown in the section "Parameter" of the module.

SweepMode

A ComboBox with the currently selected Sweep mode.

Channel

A ComboBox to select the channel. The field is only shown if the driver returns this key.

Waveform

A ComboBox with the currently selected waveform.

PeriodFrequency

A ComboBox to select whether period or frequency is used.

PeriodFrequencyValue

A LineEdit to enter the value related to the field "PeriodFrequency".

AmplitudeHiLevel

A ComboBox to select whether amplitude or high level is used.

AmplitudeHiLevelValue

A LineEdit to enter the value related to the field "AmplitudeHiLevel".

OffsetLoLevel

A ComboBox to select whether offset or low level is used.

OffsetLoLevelValue

A LineEdit to enter the value related to the field "OffsetLoLevel".

DelayPhase

A ComboBox to select whether delay or phase is used.

DelayPhaseValue

A LineEdit to enter the value related to the field "DelayPhase".

DutyCyclePulseWidth

A ComboBox to select whether duty cycle or pulse width is used.

DutyCyclePulseWidthValue

A LineEdit to enter the value related to the field "DutyCyclePulseWidth".

NumberSteps

A LineEdit to enter the number of steps in case of a staircase waveform.

RiseTime

A LineEdit to enter the rise time in s. The rise time is the time to change from low to high level of a waveform.

FallTime

A LineEdit to enter the fall time in s. The fall time is the time to change from high to low level of a waveform.

TimeConstant

A LineEdit to enter the time constant in s as used for waveforms with exponential rise or decay.

OperationMode

A ComboBox to select which operation mode is used. Normal case should be "Continuous" which means that a signal generator creates the signal continuously and non-stop. Another operation mode might be "Burst" or "Stream".

Impedance

A ComboBox to select the impedance of the signal generator. Typical values are "50 Ohm" or "High-Z".

Trigger

A ComboBox to select the trigger mode. Typical options are "Internal" or "External".

ArbitraryWaveformFile

A LineEdit to enter the path of a file that will be uploaded to the instrument. Next to the field is a "Select" button that can be used to open a file dialog. Please add an option for arbitrary waveforms to the list of waveforms, e.g. "Arbitrary", so that the user can select whether the file is used.

ALC

A CheckBox to turn Automatic Level Control (ALC) on or off. ALC is used to automatically adjust the output level.

PowerLimit

A LineEdit to enter the maximum power that is applied to the load. This is used to protect the device. The unit is selected with the field "PowerLimitUnit".

PowerLimitUnit

A ComboBox that serves as the label of the field "PowerLimit". Default options are "Power limit in dBm" and "Power limit in W".

BurstSignalRepetitions

A LineEdit to enter the number of periods the selected waveform is repeated within one burst.

BurstDelay

A LineEdit to enter the time in s during which no signal is applied until the next burst starts.

BurstRepetitions

A LineEdit to enter the number of times the entire burst is repeated.