get_afg_state
Retrieve current function generator settings, including output state and modulation, for a specific channel or all channels at once.
Instructions
Return the function generator settings, including whether the output is on.
With channel given, the settings of that channel are returned flat (channel, output, waveform, impedance, frequency_hz, amplitude_vpp, offset_v, phase_deg, duty_percent, symmetry_percent). With channel omitted, every generator channel is returned under channels, keyed by the channel number as a string: {"channels": {"1": {...}, "2": {...}}}.
output tells whether the generator is currently driving its connector. Reading never changes it. modulation reports the modulation settings (enabled, type, the effective type's depth/deviation, frequency_hz, waveform). This is read-only: it costs about 14 queries per channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No |