InstroAWG#
- class InstroAWG(
- name: str | None = None,
- driver: AWGDriverBase | None = None,
- num_channels: int | None = None,
- publishers: list[Publisher] | None = None,
- config: AWGConfig | dict | Path | str | None = None,
- autostart: bool = False,
- **kwargs,
Bases:
InstrumentAWG instrument. Methods return Measurement/Command for publishing.
Initialize an InstroAWG. Provide either
configordriver/num_channelstogether, not both.
Attributes
Seconds between background daemon iterations (0 = no wait). |
|
Return an insertion-ordered snapshot of all published channel names. |
Methods
Append |
|
Register a publisher to receive this instrument's Measurement/Command data. |
|
Sync the phase of all channels. |
|
Enable or disable burst mode on the given channel. |
|
Close the underlying driver. |
|
Convert an amplitude value between units using channel's configured waveform. |
|
Replace all daemon functions with a single |
|
Fire a burst trigger on channel now; the trigger source must already be MANUAL. |
|
Fire a sweep trigger on channel now; the trigger source must already be MANUAL. |
|
Read back the current amplitude and its measurement unit on channel. |
|
Read back the burst trigger delay (seconds) on channel. |
|
Read back the gate polarity for GATED bursts on channel. |
|
Read back the number of cycles per trigger for NCYCLE bursts on channel. |
|
Read back the internal burst period (seconds) on channel. |
|
Read back whether burst mode is enabled on channel. |
|
Read back the burst trigger source on channel. |
|
Read back the burst type currently active on channel. |
|
Return the most recent |
|
Read back whether modulation is enabled on channel. |
|
Read back the modulation type currently active on channel. |
|
Read back the DC offset (volts) on channel. |
|
Read back the output load impedance on channel. |
|
Read back whether the output is enabled on channel. |
|
Return the most recent sample for |
|
Read back the sweep end frequency (Hz) on channel. |
|
Read back the sweep return time (seconds) on channel. |
|
Read back the sweep start frequency (Hz) on channel. |
|
Read back the sweep start hold time (seconds) on channel. |
|
Read back whether sweep mode is enabled on channel. |
|
Read back the sweep stop hold time (seconds) on channel. |
|
Read back the sweep time (seconds) on channel. |
|
Read back the sweep trigger source on channel. |
|
Read back the sweep type currently configured on channel. |
|
Read back the current waveform definition on channel. |
|
Enable or disable modulation on the given channel. |
|
Open the underlying driver and apply any configured channel state. |
|
Enable or disable the output on channel. |
|
Fan |
|
Set the output amplitude on channel. |
|
Configure channel's burst type. |
|
Set the burst trigger delay (seconds) on channel. |
|
Set the gate polarity for GATED bursts on channel. |
|
Set the number of cycles per trigger for NCYCLE bursts on channel. |
|
Set the internal burst period (seconds) on channel. |
|
Set the burst trigger source on channel. |
|
Configure channel's carrier modulation with modulator shape. |
|
Set the DC offset (volts) on channel. |
|
Set the output load impedance; None means high-Z. |
|
Configure the sweep type on channel. |
|
Set the sweep end frequency (Hz) on channel. |
|
Set the sweep return time (seconds) on channel. |
|
Set the sweep start frequency (Hz) on channel. |
|
Set the sweep start hold time (seconds) on channel. |
|
Set the sweep stop hold time (seconds) on channel. |
|
Set the sweep time (seconds) on channel. |
|
Set the sweep trigger source on channel. |
|
Program channel with a waveform. |
|
Start the background daemon. |
|
Signal the background daemon to stop and join it. |
|
Enable or disable sweep mode on channel. |