LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resistance measurement using Keithley 6517B

Solved!
Go to solution

Hi 

 

I am trying to measure the resistance using Keithley 6517B. I have modified the example that I downloaded from the NI driver page and added a voltage source in the code (I need to measure the resistance at a specific bias). I am new to LabView and I have come across several issues:

 

1. The code does not show the current measured value, instead it shows the value from previous measurement. It seems that I cant reset the buffer.

2. I would like to do 10 measurements with an interval of 10s and store the data. I guess a For Loop would be the best option with an a delay function.

 

I would greatly appreciate if someone has any feedback to resolve this issue.

0 Kudos
Message 1 of 8
(1,757 Views)

Code is attached.

Download All
0 Kudos
Message 2 of 8
(1,752 Views)
Solution
Accepted by topic author ponty2007
  • Figured it out.
0 Kudos
Message 3 of 8
(1,716 Views)

Hi ponty,

 


@ponty2007 wrote:
  • Figured it out.

Instead of marking "figured it out" as solution it would help others to provide a real solution...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(1,709 Views)

Hi, 

I also have issues trying to measure resistance with a Keithley 6517A using the labview driver (with labview v2013)

 

When I use the VI Keithley 6517 Acquire Measurement.vi the instrument never enter in OPER ON mode (no output) and I get an error 230 "stale data"

 

I tried to write a VI that kinda work, except not always and I don't understand why:

When I use the SENS:DATA:FRES? I understand that I should get a new measurement from the instrument, but this doesn't happen, and I get a timeout instead + error 230 stale data

 

If I change that part, and use a READ? command, then I get a correct measurement.

 

What is the difference? Could somebody explain?

 

Thanks

 

 

 

spms00_3-1649429505636.png

spms00_4-1649429523241.png

 

 

Config VI:

spms00_1-1649429007227.png

 

 

0 Kudos
Message 5 of 8
(1,638 Views)

what was the solution for this?

0 Kudos
Message 6 of 8
(299 Views)

I'm trying to get the Keithly 6517b electrometer to test resistance while outputting 100 volts all controlled through LabVIEW. i can send and receive idn? request through ni max but i cant get any LabVIEW code to actually read data from the device. below is code using the included drivers for the 617b but all I get is an error return every time I try and run it. has anyone have any working code using this device that is usable? im using a rs272 cable for communication.

0 Kudos
Message 7 of 8
(306 Views)

Hello,

I've looked into my directory and I did make a test.vi to play with the parameters for reading the keithley, here it is, I hope it can help

 

I've been doing other things recently, so I'm a bit out of it, but I recall that it was difficult to put the keithley into exactly the state that allowed it to measure correctly. I had to emulate the manual trigger on the front end, due to the bus-trig not working on RS232. I also had to modify slightly some VI from the keithley driver library, mainly to had some delays for the serial link to work correctly.

 

I'm sorry it's rather a bad code, it was written just to test how the thing worked, and I did make a formal application later (but I can't publish it here)

 

Good luck....

 

spms00_1-1707399495030.png

 

 

0 Kudos
Message 8 of 8
(246 Views)