EasyManuals Logo

Agilent Technologies 75000 Series B User Manual

Agilent Technologies 75000 Series B
78 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 #41 background imageLoading...
Page #41 background image
/* Read returned data * /
iread(addr, into, length, NULL, &actual);
/* NULL terminates result string and print the results * /
if (actual)
{
into[actual - 1] = (char) 0;
printf(“ \n%s” , into);
}
/* Close communication * /
iclose(addr);
/* Release SICL resource allocation; not needed for Windows NT * /
_siclcleanup();
}
Example to Read Formatted Data
To read formatted data, replace the iread function in the above program with theiscanf function.
/* Read returned data * /
iscanf(addr, “ %t , into);
/*Print the results */
printf(“ \n%s” , into);
Example to Send and Read Formatted Data
To send and read formatted data, replace theiscanf and “iprintf functions with the ipromptf function.
/* Send SCPI command and read returned data * /
ipromptf(addr, SYSTem:ERRor?\n” , “ %t , into);
Sending SCPI Commands 2-9

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 75000 Series B Specifications

General IconGeneral
BrandAgilent Technologies
Model75000 Series B
CategoryControl Unit
LanguageEnglish

Related product manuals