07-08-2021 03:44 AM
I am trying to program the keithley device to measure current values at a single voltage value for a long period eg . 5 minutes. The next step would be to increase the voltage in steps then take the current measurement at each step for 5 minutes. Can anyone help me with this program . Below I've attached the picture of the program that i have made that increases the voltages in steps and take current values at each voltage but I am not sure how to take more measurements on a single value of the voltage before moving on to the next voltage step.
07-12-2021 08:16 AM
How about switching to a single meaurement and adding a while loop around it? This way, you can check the elapsed time and stop measuring if you have reached the 5 min. For the next step you could use a for loop around all of it to sweep the output voltage over all the values.
07-14-2021 11:24 AM
As suggested you can use a while loop to do what you need. Have a look at this example - https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Keithley-2450-Continuous-current-measurement...
It uses the newer Keithley 2450 (a different driver than the 2401) but the format of the measure would be the same just use the equivalent Keithley 24xx drivers VIs.
Post your code if you get stuck.
Craig
07-20-2021 07:54 AM
The while loop worked for the single value of voltage, thereby now I can take multiple values of current at a particular voltage. However the next step is to increase the voltage in steps (maybe using a for loop ) and then taking multiple current values at each incremented voltage.When I try to to do this I get an error on my keithley device which says "error 803 not permitted with output off". Can anyone help me with this issue. I'm attaching my program, without the for loop, here . Thanks in advance 🙂