get_data
Get current sweep data.Parameters
boolean
Wait for a new trigger event
default: false boolean
Wait until entire frame is available
default: false number
Timeout for trigger event if wait_reacquire is true
default: 60allowed values:0 - infunits: Seconds number
Optional list of pin numbers to filter results on
default: undefinedallowed values:0 - infunits: Seconds boolean
When set to True, it returns both the raw data for channels and the computed measurements
default: falseEvery data frame is a time series data of 1024 points with following structure
"data":{
"pin1":[], // 1024 points
"pin2":[], // 1024 points
"pin3":[], // 1024 points
.
.
.
"pin16":[], // 1024 points
"pa1":[], // 1024 points for Protocol Analyzer 1
"pa2":[], // 1024 points for Protocol Analyzer 2
"time":[], // 1024 points
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# Examples
# Sample response
{
"pa1": [{"data": 0, "end": null, "start": null, "state": "incomplete_data"}],
"pa2": [{"data": 0, "end": null, "start": null, "state": "incomplete_data"}],
"pin1": [0.0, 0.0, "..."],
"pin2": [0.0, 0.0, "..."],
"pin3": [0.0, 0.0, "..."],
"pin4": [0.0, 0.0, "..."],
"pin5": [0.0, 0.0, "..."],
"pin6": [0.0, 0.0, "..."],
"pin7": [0.0, 0.0, "..."],
"pin8": [0.0, 0.0, "..."],
"pin9": [0.0, 0.0, "..."],
"pin10": [0.0, 0.0, "..."],
"pin11": [0.0, 0.0, "..."],
"pin12": [0.0, 0.0, "..."],
"pin13": [0.0, 0.0, "..."],
"pin14": [0.0, 0.0, "..."],
"pin15": [0.0, 0.0, "..."],
"pin16": [0.0, 0.0, "..."],
"time": [-4.096e-07, -4.088e-07, "..."]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21