Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

I-V Characteristics

Post Reply
OnionG
Posts: 1
Joined: July 23rd, 2019, 12:40 pm
Country: United States

I-V Characteristics

Post by OnionG » July 23rd, 2019, 1:09 pm

Hi, I am measuring I-V characteristics of diodes with breakdown voltage ca. 1200 V. I am using Keithley 6517B and I automatized my work with SCPI commands in Python script. I would like to know if my script does exactly what I would like it to do. The idea is here:
1. Set voltage to required value (0V -- 1000V)
2. Read current (ca. 0A -- 2e-03A)
3. Set voltage to 0V
4. Move to another diode
I do not want to use built-in leakage current test sequence because I always measure all diodes on one voltage then I increase the voltage and repeat the measurement. My script looks like this (what would you add, discard or change?) :

import visa
rm = visa.ResourceManager()
KEITHLEY_VS = rm.open_resource('GPIB0::27::INSTR')

def voltage(KEITHLEY_VS, VOLTAGE):
KEITHLEY_VS.write('*RST; :STATus:PRESet; *CLS')
KEITHLEY_VS.write('STATus:MEASurement:ENABle 512; *SRE 1')

KEITHLEY_VS.write(':FORMat ASCii')
KEITHLEY_VS.write(':FORMat:ELEMents READing,STATus,VSOurce')

KEITHLEY_VS.write(':SENSe:CURRent:DIGits MAXimum')
KEITHLEY_VS.write(':SENSe:VOLTage:DC:GUARd ON) <---------------------------ON or OFF?
#KEITHLEY_VS.write(':SENSe:CURRent:DC:RANGe 0 to 2e-3') <---------------------------AUTO RANGE or OWN RANGE?
KEITHLEY_VS.write(':SENSe:FUNCtion "CURRent:DC"')
KEITHLEY_VS.write(':SENSe:CURRent:DC:RANGe:AUTO ON')
KEITHLEY_VS.write(':SYSTem:ARSPeed NORMal')
KEITHLEY_VS.write(':SOURce:VOLTage:MCONect OFF') <---------------------------ON or OFF?
KEITHLEY_VS.write('SOURce:CURRent:RLIMit:STATe OFF') <---------------------------ON or OFF?

KEITHLEY_VS.write(':OUTPut1 ON')
KEITHLEY_VS.write(':SOURce:VOLTage {}'.format(VOLTAGE))
KEITHLEY_VS.query('*OPC?')
KEITHLEY_VS.write(':TRIGger:SOUrce BUS')
KEITHLEY_VS.assert_trigger()
KEITHLEY_VS.wait_for_srq(timeout=None)
data = KEITHLEY_VS.query_ascii_values(':SENSe:DATA:FRESH?')
KEITHLEY_VS.query('STATus:MEASurement?')
KEITHLEY_VS.write(':SOURce:VOLTage 0')
KEITHLEY_VS.write(':OUTPut1 OFF')
KEITHLEY_VS.query('*OPC?')
KEITHLEY_VS.write('TRACe:CLEar; FEED:CONTrol NEXT')

return data

Thanks for advice!

Post Reply

Return to “Low Current Measurements”

Who is online

Users browsing this forum: No registered users and 2 guests