Programming Examples

C Programming Examples using VTL

viPrintf

viScanf These are the VTL formatted I/O functions that are patterned after those used in the C programming language. The viPrintf call sends the SCPI commands to the analyzer. The viPrintf call can also be used to query the analyzer. The viScanf call is then used to read the results.

viClose This function must be used to close each session. When you close a device session, all data structures that had been allocated for the session will be deallocated. When you close the default manager session, all sessions opened using the default manager session will be closed.

Linking to VTL Libraries

Your application must link to one of the VTL import libraries:

32-bit Version (assumes Windows 95operating system):

C:\VXIPNP\WIN95\LIB\MSC\VISA32.LIB for Microsoft compilers

C:\VXIPNP\WIN95\LIB\BC\VISA32.LIB for Borland compilers

16-bit Version:

C:\VXIPNP\WIN\LIB\MSC\VISA.LIB for Microsoft compilers

C:\VXIPNP\WIN\LIB\BC\VISA.LIB for Borland compilers

See the following section for information on how to use the VTL run-time libraries.

Compiling and Linking a VTL Program

32-bit Applications (assumes Windows 95operating system)

The following is a summary of important compiler-specific considerations for several C/C++ compiler products when developing WIN32 applications.

For Microsoft Visual C++ version 2.0 compilers:

• Select Project Update All Dependencies from the menu.

Select Project Settings from the menu. Click on the C/C++ button. Select Code Generation from the Use Run-Time Libraries list box. VTL requires these definitions for WIN32. Click on OK to close the dialog boxes.

Chapter 3

97

Page 97
Image 97
Agilent Technologies Model  A.08.xx manual Linking to VTL Libraries, Compiling and Linking a VTL Program, ViPrintf

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.