get_data

Get the most recent amplitude, frequency and phase reading

Parameters

boolean deprecated
Wait for a new trigger event
default: false
number deprecated
Timeout for trigger event if wait_reacquire is true
default: 60
allowed values:0 - inf
units: Seconds

Every time the function is called, the data will be returned in the following format

{
  "data":{
    "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
23
24
25
26
27
28

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