get_data
Get the latest sweep resultsParameters
  boolean  
  
                Wait for a new trigger event
            
default: false  string  
  
                Units
            
default: dBmallowed values:dBm, Vrms, Vpp, dBV  boolean  
  
                PSD Units
            
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  boolean  
  
                When set to True, it returns both the raw data for channels and the computed measurements
            
default: false  boolean  
  
                Disable all implicit conversions and coercions.
            
default: trueReturns a frame of dual-channel frequency spectrum data (amplitude vs frequency in Hz). Every data frame has the following structure. Please note that the number of data points for each frame can be any number between 512 and 1024.
"data":{
  "ch1":[],  // 1024 points
  "ch2":[],  // 1024 points
  "frequency":[],  // 1024 points
}
 1
2
3
4
5
2
3
4
5
Below are the examples on how to read the data frame,
← enable_xcorr Getters →