get_data
Get the most recent amplitude, frequency and phase readingParameters
boolean deprecated
Wait for a new trigger event
default: false number deprecated
Timeout for trigger event if wait_reacquire is true
default: 60allowed values:0 - infunits: SecondsEvery time the function is called, the data will be returned in the following format:
{
"ch1":{
"frequency":...,
"amplitude":...,
"phase":...
},
"ch2":{
"frequency":...,
"amplitude":...,
"phase":...
},
"ch3":{
"frequency":...,
"amplitude":...,
"phase":...
},
"ch4":{
"frequency":...,
"amplitude":...,
"phase":...
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Examples
# Sample response
{
"ch2": {
"amplitude": 0.348,
"frequency": 998288.0,
"phase": 155.528
},
"ch3": {
"amplitude": 0.009,
"frequency": 999875.7,
"phase": 249.888
}
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12