Showing results for 
Search instead for 
Did you mean: 

Resistance measurement using Keithley 6517B

Go to solution



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 5

Code is attached.

Download All
0 Kudos
Message 2 of 5
Accepted by topic author ponty2007
  • Figured it out.
0 Kudos
Message 3 of 5

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,

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5


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 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?










Config VI:




0 Kudos
Message 5 of 5