Programming Examples

Reading Trace Data Using 32-bit Real Format (RS-232)

/*Query number of sweep points per trace (firmware revision A.04.00 or later)*/ /*For firmware revisions prior to A.04.00, the number of sweep points is 401 */ iSwpPnts = 401; viQueryf(viESA,"SENSE:SWEEP:POINTS?\n","%d",&iSwpPnts);

/*Calculate number of bytes in the header. The header consists of the "#" sign*/ /*followed by a digit representing the number of digits to follow. The digits */ /*which follow represent the number of sweep points multiplied by the number */

/*of bytes per point. */

 

 

iHeaderBytes = 3;

/*iDataBytes >0, plus increment for "#" and "n" */

iDataBytes = (iSwpPnts*iBytesPerPnt);

 

lNumberBytes = iDataBytes;

 

while ((iDataBytes = (iDataBytes / 10

)) > 0 )

{

 

 

iHeaderBytes++;

 

 

}

 

 

/*Set analyzer to single sweep mode */ viPrintf(viESA,"INIT:CONT 0 \n");

/* Set the analyzer to 50MHz-center frequency */ viPrintf(viESA,"SENS:FREQ:CENT 50 MHZ\n");

/*Set the analyzer to 50MHz Span */ viPrintf(viESA,"SENS:FREQ:SPAN 50 MHZ\n");

/* Specify dB per division of each vertical division & Units */ viPrintf(viESA,"DISP:WIND:TRAC:Y:SCAL:PDIV 10dB\n"); viPrintf(viESA,"UNIT:POW DBM\n");

/*Set analyzer trace data format to 32-bit Real */ viPrintf(viESA,"FORM:DATA REAL,32\n");

/*Set the binary byte order to SWAP */ viPrintf(viESA, "FORM:BORD SWAP\n");

/*Trigger a sweep */ viPrintf(viESA,"INIT:IMM\n");

/*Read the operation complete query */ viQueryf(viESA, "*OPC?\n", "%d", &lOpc); if (!lOpc)

{

printf("Program Abort! error ocurred: last command was not completed!\n"); exit(0);

}

Chapter 3

133

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

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.