EasyManuals Logo

Agilent Technologies 8166B Programming Guide

Agilent Technologies 8166B
274 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #211 background imageLoading...
Page #211 background image
How to Log Results VISA Programming Examples
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition 211
{
ViStatus errStatus; /* returned error code from visa call */
ViSession defaultRM; /* default visa resource manager variable
*/
/* First get initialized the visa library (see example 1) */
errStatus = viOpenDefaultRM (&defaultRM);
if (errStatus < VI_SUCCESS)
printf("Failed to open VISA Resource manager\n");
/* Open session to GPIB device at address 20; */
errStatus = viOpen (defaultRM, "GPIB::20::INSTR",
VI_NULL,VI_NULL,iHandle);
if (errStatus < VI_SUCCESS)
printf("Failed to open instrument\n");
return errStatus;
}

Table of Contents

Other manuals for Agilent Technologies 8166B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8166B and is the answer not in the manual?

Agilent Technologies 8166B Specifications

General IconGeneral
BrandAgilent Technologies
Model8166B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals