Home
Tektronix
Power Supply
KEITHLEY 2200 Series
Tektronix KEITHLEY 2200 Series User Manual
4
of 1
of 1 rating
104 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
{
ErrorStatus = vi
Printf(KI200
, "INSTrument:NSE
L
ect %d\n", i+1);
//Select the chann
el
CheckError("Unab
le to select the
channel");
ErrorStatus = vi
Printf(KI200
,"Measure:v
oltage?\n"); // Measur
e the output v
oltage
CheckError("Unab
le to write the d
evice");
ErrorStatus = viScanf(
KI200,"%f",
&query[i][0]
); // Retri
eve the reading
CheckError("Unab
le to rea
d voltage");
ErrorStatus = vi
Printf(KI200
,"Measure:current
?
\n"); // Measur
e the output cu
rrent
CheckError("Unab
le to write the d
evice");
ErrorStatus = viScanf(
KI200,"%f",
&query[i][1]
); // Retri
eve the reading
CheckError("Unab
le to read
current");
printf("Channel:
%d, measured v
oltage(V):%f, curren
t(A):%f \n", i+
1,
query[i][0], quer
y[i][1]);
}
return 0;
}
void OpenPort()
{
//Open communicati
on session wi
th the power sup
ply
ErrorStatus = viOp
enDefaultRM(
&defaultRM);
ErrorStatus =viOpen(d
efaultRM,
"USB0::0X0699::0
X0397::0
8300110667
3201002::INST
R",0
,0,&KI2
00);
/*When using the
GPIB int
erface, replace the
above c
ommand line with
"GPIB0::21::IN
STR". Note t
he argument "
21" is an exa
mple and refers
to the GPIB add
ress.
Sub
stitute the appropriat
e GPIB addres
s in the comma
nd line.*/
CheckError("Unab
le to open the por
t");
SendSCPI("SYSTem:RE
Mote");
}
void SendSCPI(char
* pString
)
{
char* pdest;
strcpy(commandStri
ng,pString);
strcat(commandStri
ng, "\n");
ErrorStatus = vi
Printf(KI200, co
mmandString);
CheckError("Can'
t Write to Power Su
pply");
pdest = strchr(co
mmandStr
ing, '?'); // Search f
or the qu
ery command
if (pdest != NULL)
{
ErrorStatus = viBufR
ead(KI20
0, (ViBuf)ReadBuffer,
sizeof(ReadBuffer),
VI_NULL);
CheckError("Can'
t read from driv
er");
strcpy(pString, ReadBu
ffer);
}
}
void ClosePort()
{
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
B-3
86
88
Table of Contents
Table of Contents
7
Preface
9
Welcome
9
Products
9
Extended Warranty
10
Contact Information
10
Getting Started
11
Using the USB Interface
13
Using the GPIB Interface
13
Command Timing
14
Command Syntax
15
Command and Query Structure
15
Command Entry
17
Command Groups
21
Status Commands
21
Save and Recall Commands
22
System Commands
23
Diagnostic Commands
23
Synchronization Commands
23
Trigger Commands
24
Measurement Commands
25
Source Commands
25
Channel Combination Commands
26
Display Commands
26
Commands Listed in Alphabetical Order
27
Status and Events
57
Status and Events
65
Status Reporting Structure
67
Registers
69
Queues
75
Messages and Codes
76
4
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Tektronix KEITHLEY 2200 Series and is the answer not in the manual?
Ask a question
Tektronix KEITHLEY 2200 Series Specifications
General
Brand
Tektronix
Model
KEITHLEY 2200 Series
Category
Power Supply
Language
English
Related product manuals
Tektronix Keithley 2260B Series
207 pages
Tektronix 1103
26 pages
Tektronix PS280
44 pages
Tektronix PS 5010
266 pages
Tektronix TM 515
89 pages