Programming Examples

Measuring Harmonic Distortion (RS-232)

/*Query and read the marker amplitude in Volts*/ /*Store the result in the fHarmV array.*/ viQueryf(viESA,"CALC:MARK:Y?\n","%1f", &fHarmV[lNum]);

/*Change the amplitude units to dBm */ viPrintf(viESA,"UNIT:POW DBM\n");

/* Read the marker amplitude */ viQueryf(viESA,"CALC:MARK:Y?\n","%1f", &fHarmDbm[lNum]);

}

/*Sum the square of each element in the fHarmV array and calculate the relative amplitude of each harmonic relative to the fundamental*/

for (lNum=2;lNum<=lMaxHarmonic;lNum++)

{

dSumSquare= dSumSquare + (pow (double(fHarmV[lNum]) ,2.0));

/* Relative Amplitude */

fRelAmptd[lNum] = fHarmDbm[lNum] - fFundaAmptdDbm ;

}

/*Calculate the total harmonic distortion by dividing the square root of the sum of the squares (dSumSquare) by the fundamental amplitude in Volts (dFundaAmptdV).Multiply this value by 100 to obtain a result in percent*/ dPrcntDistort = ((sqrt(double (dSumSquare))) /dFundaAmptdV) *100 ;

/*Fundamental amplitude in dBm */

printf("\nFundamental Amplitude: %lf dB \n",fFundaAmptdDbm);

/*Fundamental frequency in MHz*/

printf("Fundamental Frequency is: %lf MHz \n",dFundamental/10e5);

/*Relative amplitude of each harmonic in dBc*/ for (lNum=2;lNum<=lMaxHarmonic;lNum++)

printf("Relative amplitude of Harmonic[%d]: %lf dBc \n",lNum,fRelAmptd[lNum]);

/*Total harmonic distortion in percent*/

printf("Total Harmonic Distortion: %lf percent\n",dPrcntDistort);

/*Close the session*/ viClose(viESA); viClose(defaultRM);

}

176

Chapter 3

Page 176
Image 176
Agilent Technologies Model  A.08.xx manual 176

Model A.08.xx specifications

Agilent Technologies has long been a leader in the field of measurement and analytical instrumentation, and their Model A.08.xx is a prime example of this expertise. This advanced instrument is designed for a wide array of applications, spanning from life sciences to chemical analysis, offering unparalleled precision and reliability to meet the demands of laboratory environments.

One of the main features of the A.08.xx model is its advanced measurement capabilities. The instrument boasts a high-resolution detector that provides exceptional sensitivity, allowing researchers to detect even trace levels of analytes in complex samples. The enhanced signal-to-noise ratio is particularly beneficial for users working with low concentrations, ensuring accurate results without the need for laborious sample preparation.

The A.08.xx is equipped with state-of-the-art technologies that significantly enhance its performance. One such technology is its multi-wavelength detection system, which allows simultaneous analysis of multiple compounds within a single run. This not only boosts efficiency but also reduces the time required for method development and validation. Additionally, the model utilizes sophisticated software for data analysis, providing users with intuitive tools to interpret results quickly and effectively.

Another characteristic of the A.08.xx is its robust build quality and user-friendly interface. Designed for rigorous laboratory use, the instrument can withstand the demanding conditions of a busy research environment. Its intuitive touchscreen display simplifies operations, allowing users to set up experiments and navigate through various functions with ease. This user-centric design reduces the learning curve for new operators, enhancing productivity in the lab.

The A.08.xx also incorporates connectivity features that align with modern laboratory needs. With options for remote monitoring and data sharing, researchers can easily collaborate and access results in real-time, streamlining workflows and promoting innovation.

In conclusion, Agilent Technologies’ Model A.08.xx is not just an analytical instrument; it is a comprehensive solution for researchers and scientists seeking reliability and performance in their analytical work. With its advanced measurement capabilities, cutting-edge technologies, and user-friendly design, it continues to set the standard for excellence in laboratory instrumentation, facilitating groundbreaking research across various scientific fields.