pulse_modulate
Configures pulse modulation mode of a channel.The Arbitrary Waveform Generator has the ability to insert a dead time between cycles of the look-up table. This time is specified in cycles of the waveform. During this time, the output will be held at the given dead_voltage. This allows the user to, for example, generate infrequent pulses without using space in the LUT to specify the time between, keeping the full LUT size to provide a high-resolution pulse shape.
Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4
number
Number of cycles which show the dead voltage.
default: 0
allowed values:1 to 262144
number
Signal level during dead time (the voltage cannot be below low level or above high level)
default: 0
allowed values:-5 to 5
units: V
boolean
Disable all implicit conversions and coercions.
default: true
# Examples
# Sample response
{
"dead_cycles":100,
"dead_voltage":0.5
}
1
2
3
4
2
3
4
← Getters set_defaults →