generate_output

Generate interval or count bases signal on the given output channel

Outputs 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:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Moku:Delta1, 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: undefined
allowed values:
Moku:Pro2Vpp, 10Vpp
Moku:Delta1Vpp, 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