How to Use VISA Calls

VISA Programming Examples

/* Initialize visa resource manger */

errStatus = viOpenDefaultRM (&defaultRM); if(errStatus < VI_SUCCESS)

{printf("Failed to open VISA Resource manager\n"); exit(errStatus);

}

/* Open session to GPIB device at address 20; the VI_NULL parameters 3,4

are mandatory and not used for VISA 1.0*/

errStatus = viOpen (defaultRM, "GPIB::20::INSTR", VI_NULL,VI_NULL,&vi);

if(errStatus < VI_SUCCESS)

{printf("Failed to open instrument\n"); exit(errStatus);

}

/* set timeout to 20 sec; this should work for all commands except for zeroing or READ commands with averaging times greater than the timeout */

errStatus = viSetAttribute(vi,VI_ATTR_TMO_VALUE,20000); checkError(vi,errStatus);

/* get the identification string of the instrument mainframe*/ errStatus = viQueryf(vi,"%s\n","%t","*IDN?",replyBuf); if(errStatus < VI_SUCCESS)

{checkError(vi,errStatus); } else printf("%s",replyBuf);

/* identify the installed modules */

errStatus = viQueryf(vi,"%s\n","%t","*OPT?",replyBuf); if(errStatus < VI_SUCCESS)

{checkError(vi,errStatus); } else printf("%s",replyBuf);

/* get information about the available options of a slot */ errStatus = viQueryf(vi,"%s","%t","SLOT1:OPT?\n",replyBuf); if(errStatus < VI_SUCCESS)

{checkError(vi,errStatus); } else printf("%s",replyBuf);

/*loop, until a key is pressed */ while(!scanf("%c",&c));

/*close the session */ viClose(vi);

}

Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition

191

Page 191
Image 191
Agilent Technologies 8164A, B, 8166A, 8163A manual 191, How to Use Visa Calls

8163A, 8164A, 8166A, B specifications

Agilent Technologies B,86100A is a high-performance oscilloscope and signal integrity analyzer designed primarily for advanced digital communications applications. As a versatile tool, it supports a wide range of testing needs, making it indispensable for engineers and researchers involved in the development and testing of high-speed digital signals.

One of the standout features of the B,86100A is its capability to analyze signals with various bandwidths, accommodating both current and emerging communication standards. The device features a sampling rate of up to 80 GS/s and bandwidth capabilities of 33 GHz to ensure high accuracy in capturing fast signal transitions, which is critical for ensuring the integrity of complex digital signals.

The B,86100A employs Agilent's proprietary digital signal processing (DSP) technology, which significantly enhances measurement precision and reduces noise, enabling users to obtain clearer insights into signal behavior. Its advanced triggering capabilities allow for precise signal capture, making it particularly useful in troubleshooting and validating high-speed designs, as well as in evaluating the performance of optical and electrical devices.

In addition to its high-speed capabilities, the B,86100A offers a robust set of measurement tools including jitter analysis, eye diagram analysis, and equalization assessment. These features allow engineers to effectively analyze signal quality and address potential issues related to signaling distortions and inter-symbol interference.

The graphical user interface of the B,86100A is intuitive, enabling users to efficiently navigate through measurement options and visualize data results. Customizable measurement setups streamline workflow, ensuring that users can quickly adapt their tests to evolving project requirements.

Another key characteristic of the B,86100A is its modularity. The system supports a variety of plug-in modules, which can be tailored to specific application needs, such as different types of optical and electrical signals. This flexibility not only extends the operational capability of the instrument but also makes it a future-proof investment as technology continues to evolve.

In summary, Agilent Technologies B,86100A combines high-speed acquisition with advanced processing capabilities, making it an essential instrument for anyone involved in high-speed digital design and testing. With its ability to deliver precise measurements and extensive analysis features, it empowers engineers to achieve optimal performance and reliability in their systems.