Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5352

keithley 2200 list mode

$
0
0

Hello,

 

I am trying to create a list and send it to the power supply Keithley 2200

 

This code should creates a list of  5 items and trigger OUTPUT

 

Ke2200_WriteString(instrumentHandle, "TRIG: SOUR BUS");
Ke2200_WriteString(instrumentHandle, "LIST: STEP 5\n");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:MODE CONT");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:COUT 2");

Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:VOLT 1, 2V");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:VOLT 2, 2V");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:VOLT 3, 5V");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:VOLT 4, 6V");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:VOLT 5, 1V");

Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:CURR 1, 5A");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:CURR 2, 5A");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:CURR 3, 3A");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:CURR 4, 1A");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:CURR 5, 3A");


Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:WIDTH 1, 0.001S");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:WIDTH 2, 0.001S");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:WIDTH 3, 0.001S");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:WIDTH 4, 0.001S");
Ke2200_WriteString(instrumentHandle, "SOURCE:LIST:WIDTH 5, 0.001S");

Ke2200_WriteString(instrumentHandle, "SOURCE:LIST: SAV 3");
Ke2200_WriteString(instrumentHandle, "OUTPUT ON");
Ke2200_WriteString(instrumentHandle, " "SOURCE:FUNC:MODE LIST");
Ke2200_WriteString(instrumentHandle, ""*TRG");

 

 

There is no errors, but the code doesn't work. Any idea why???

 

THANKS in advance


Viewing all articles
Browse latest Browse all 5352

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>