Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

, I am trying to write a Labview program that reads from a Keithley 2400 SourceM

Hello, I am trying to write a Labview program that reads from a Keithley 2400 SourceMeter. I want to source a current and monitor the voltage over time. I am using a GPIB card.

I downloaded the Certified LabVIEW Plug and Play (project-style) Instrument Driver but some how the examples I find there reset the source range. It looks like the source range gets reset every time I measure resistance even tough that’s not what I want to measure - the program does that.

It would be great if you can help me on that problem.

0 Kudos
Message 1 of 7
(5,446 Views)
Hello Hanna,
       Which example in particular is the most like what you would like to accomplish?  By default, the Initialize VI for the instrument resets the instrument.  I recommend that you wire a False Boolean to the Reset input and see if that takes care of the issue that you are seeing.

        In general it is not a good idea to rely on previous instrument settings in yourr application.  You should always strive to explicitly configure all of the necessary settings before using them.  That way there are no surprises if someone changes the instrument settings before you use the instrument.  It can also be valuable when a firmware upgrade might change the default values.

       If turning off the reset in initialize does not help, please run the Example in Highlight Execution mode and let us know which VI is causing the source range to reset.  The only thing that I could find close to source ouput range is the OVP level.

        Please also keep in mind that the examples are only meant as an illustration of how the instrument driver can be used.  It is up to each user to identify the requirements for their application and either build it from a blank VI or modify an example.

Cheers,

NathanT
0 Kudos
Message 2 of 7
(5,419 Views)
Hi

What is missing in the driver is a way to limit the data measured to a subset of all possibilities.
The old driver had this but lacked other features.
I have tried to implement them in the vi's below but have not tried them in an application yet.
I try to find them and send them in later today.
But keep in mind not yet complete.


greetings from the Netherlands
0 Kudos
Message 3 of 7
(5,399 Views)
well, if i got your problem right, i have the solution for it. I did a program that does an I-V measurement using Keithley 2400. i'll attach the initialization and the measurement part of the program. Sorry i cant send you the whole program. Company policy Smiley Sad

just reply on the thread for further explanation
0 Kudos
Message 4 of 7
(5,390 Views)
Here are some vi's that have to be added to the k24xx library.
But probably it is also necessary to modify the read vi because not all measurements will be done.
Thes belong in the public config folder and I even imagine that the userdata may be used for remebering whaat to read, but I did not have the time for testing.

greetings from the Netherlands
Download All
0 Kudos
Message 5 of 7
(5,374 Views)

Hi, thanks for your help.

Unfortunately I can’t load the IV.vi program since I can’t find the required VI for that program. My next problem is I have LabView 8.2 so I am not able to open the Configure data Format.vi and Configure Measurement Data.vi but we will get the new version in a couple of weeks.

 

I attached the program I wrote where I am having the mentioned problems. On that program I modified the Keithley 24xx Read Single.vi.

 

0 Kudos
Message 6 of 7
(5,365 Views)
all the keithley VIs tht are provided are standard VIs provided by the manufacturer.
0 Kudos
Message 7 of 7
(5,362 Views)