S530 Parametric Test Systems
Frequency Analysis Option Manual Section 3:
S530-923-01 Rev. A / January 2014 3-9
freq_measure
Purpose: This routine measures frequency and amplitude of the strongest signal.
Format:
int freq_measure( 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.
Remarks: The scope card must be initialized before using the freq_measure command.
Example:
double freq;
double ampltd;
.
.
.
Status1 = freq_init( );
Status2 = freq_setup(20e6, 850e6, 1e6);
Status3 = freq_measure(&freq, &ltd);