EasyManuals Logo

Keithley 2110 User Manual

Keithley 2110
221 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 #219 background imageLoading...
Page #219 background image
Appendix
C: Communication interface Model 2110 5½ Digit Multimeter Reference Manu
al
C-20 2110-901-01 Rev. C/August 2013
VISA-C sample code
The following is a simple C/C++ console application that reads back the instrument identification
string using VISA-C. You need to include visa.h and link with the visa32.lib file.
#include "stdafx.h"
#include <visa.h>
#define checkErr(fCall) if (error = (fCall), (error = (error <
0) ? error : VI_SUCCESS)) \
{goto Error;} else error = error
int _tmain(int argc, _TCHAR* argv[])
{
ViSession defaultRM, vi;
char buf [256] = {0};
ViStatus error = VI_SUCCESS;
/* Open session to GPIB device at address 22 */
checkErr(viOpenDefaultRM(&defaultRM));
checkErr(viOpen(defaultRM, "GPIB0::14::INSTR", VI_NULL,VI_NULL, &vi));
/* Initialize device */
checkErr(viPrintf(vi, "*RST\n"));
/* 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("Visa Error Code: %X\n", error);
printf("\nDone - Press Enter to Exit");
getchar();
return 0;
}

Table of Contents

Other manuals for Keithley 2110

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2110 and is the answer not in the manual?

Keithley 2110 Specifications

General IconGeneral
Model2110
DC Voltage Range100 mV to 1000 V
AC Voltage Range100 mV to 750 V
ContinuityYes
Diode TestYes
CategoryDigital Multimeter
Display5.5 digit
DC Current Range100 µA to 3 A
AC Current Range100 µA to 3 A
Resistance Range100 MΩ
Frequency Range3 Hz to 300 kHz
Frequency Accuracy0.01% + 1 count
Capacitance Range1 nF to 100 µF
Capacitance Accuracy1% + 5 counts
ConnectivityUSB, GPIB (optional)
Dimensions88 mm
Power Supply100 V to 240 V AC, 50/60 Hz
DC Voltage Accuracy±0.012% + 2 counts

Related product manuals