start_streaming

Start a streaming session

Returns 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:Lab10 to 1e6
Moku:Go10 to 1e6
Moku:Pro10 to 10e6
Trigger Source
default: undefined
allowed values:
Moku:LabInput1, Input2, External
Moku:GoInput1, Input2
Moku:ProInput1, Input2, Input3, Input4, External
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