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: 60
allowed values:0 - inf
units: Seconds
number
Optional list of pin numbers to filter results on
default: undefined
allowed values:0 - inf
units: Seconds
boolean
When set to True, it returns both the raw data for channels and the computed measurements
default: false
Every 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
Below are the examples on how to read the data frame,