Keithley 3700A Series Reference Manual page 52

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter Reference Manual
/* Send an *IDN? string to the device */
checkErr(viPrintf(vi, "*IDN?\n"));
ViUInt16 status = 0;
do
{
checkErr(viReadSTB(vi, &status));
printf("ReadSTB = %X\n", status);
} while(status == 0);
/* Read results */
checkErr(viScanf(vi, "%t", &buf));
/* Print results */
printf ("Instrument identification string: %s\n", buf);
/* Close session */
checkErr(viClose(vi));
checkErr(viClose(defaultRM));
Error:
if(error < VI_SUCCESS)
printf("\nDone - Press Enter to Exit");
getchar();
return 0;
}
3700AS-901-01 Rev. D/June 2018
printf("Visa Error Code: %X\n", error);
Section 2: Installation
2-27

Advertisement

Table of Contents
loading

Table of Contents