3: Software Reference S530 Parametric Test Systems Frequency Analysis Option
3-10 S530-923-01 Rev. A / January 2014
freq_measure_next
Purpose: This routine returns the frequency and amplitude of the next highest peak in the
frequency spectrum.
Format:
int freq_measure_next( double *freq_result, double *amp_result );
Parameters: None
Returns: This command returns a 1, if executed without error; otherwise, a negative
number is returned to indicate an error.
measured frequency in Hz
Remarks: The scope card must be initialized before using the freq_measure_next
command.
Example:
double freq;
double ampltd;
double freq_next;
double ampltd_next;
.
.
.
Status1 = freq_init( );
Status2 = freq_setup(20e6, 850e6, 1e6);
status3 = freq_measure(&freq, &ltd);
status4 = freq_measure_next(&freq_next, &ltd_next);