generate_output
Generate interval or count bases signal on the given output channelOutputs are matched to their corresponding Intervals. For example, Output 1 (or Output A) is always matched to Interval 1, and so on for all channels.
Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4, 5, 6, 7, 8
string required
Output signal type
allowed values:Interval, Count number required
Scaling ratio of the interval (in seconds) into Volts
units: V number
Time duration that is converted to 0V
default: 0 string
Output range
default: undefinedallowed values:Moku:Pro 2Vpp, 10Vpp Moku:Delta 1Vpp, 10Vpp
boolean
Whether to invert the output signal
default: false boolean
Disable all implicit conversions and coercions
default: true# Examples
# Sample response
{
"Enabled": true,
"Signal": "Interval",
"channel": 1,
"invert": false,
"range": "10Vpp",
"scaling": 1.0,
"signal_type": "Interval",
"zero_point": 0.0
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10