start_streaming
Start a streaming sessionReturns the streaming interface id which holds the data stream
Parameters
integer
Duration to stream for
default: undefined
units: Seconds
number
Target samples per second (For Moku:Pro, the maximum sampling rate is limited to 5MSa/s for 2 channel logging and 1.25MSa/s for 3 and 4 channel logging)
default: undefined
allowed values:Moku:Lab 10 to 1e6 Moku:Go 10 to 1e6 Moku:Pro 10 to 10e6
string
Trigger Source
default: undefined
allowed values:Moku:Lab Input1, Input2, External Moku:Go Input1, Input2 Moku:Pro Input1, Input2, Input3, Input4, External
number
Trigger level
default: 0
allowed values:-5 to 5
units: V
boolean
Disable all implicit conversions and coercions.
default: true
TIP
The sample_rate parameter here does exactly the same thing as set_samplerate, just in a more convenient way.
# Examples
# Sample response
{
"stream_id": "<stream_id>"
}
1
2
3
2
3