get_data

Get a frame of the data from the instrument

In the PID instrument, the frame comes from the Monitor subsystem. See `set_monitor`.

Parameters

Wait for a new trigger event
default: false
boolean
Wait until entire frame is available
default: false
boolean
When set to True, it returns both the raw data for channels and the computed measurements
default: false
number
Timeout for trigger event if wait_reacquire is true
default: 60
allowed values:0 - inf
units: Seconds

Every data frame is a time series data of 1024 points with following structure

"data":{
  "ch1":[],  // 1024 points
  "ch2":[],  // 1024 points
  "time":[],  // 1024 points
}
1
2
3
4
5

Below are the examples on how to read the data frame,