configure_modulation
Configure modulation for a signal generator channel: enable it, select type (AM, FM, ASK, etc.), set modulation parameters, and adjust carrier settings.
Instructions
Configure modulation on a channel. Set state first (ON), then type and parameters. Commands are sent sequentially: state, then type, then type-specific parameters, then carrier parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Modulation type | |
| depth | No | AM modulation depth in % (0-120) | |
| state | No | Modulation state. Must be ON before setting other params. | |
| source | No | Modulation source (availability depends on type) | |
| channel | Yes | Channel to configure | |
| mod_wave | No | Modulating waveform shape (only when source is INT) | |
| polarity | No | PSK polarity | |
| deviation | No | FM frequency deviation in Hz, or PM phase deviation in degrees (0-360), or PWM duty deviation in % | |
| frequency | No | Modulation frequency in Hz (AM/FM/PM/PWM) or key frequency (ASK/FSK/PSK) | |
| carrier_phase | No | Carrier phase in degrees (0-360) | |
| hop_frequency | No | FSK hop frequency in Hz | |
| carrier_offset | No | Carrier DC offset in volts | |
| carrier_waveform | No | Carrier waveform type | |
| carrier_amplitude | No | Carrier amplitude in Vpp | |
| carrier_frequency | No | Carrier frequency in Hz |