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.
Which GPIB cards or interfaces are installed?
What version of GPIB driver?
What operating system?
What software program(s) are you running that seem to be running slow?
Device part number: KUSB-488B
Driver: Version 188.8.131.52 taken from the 3.12 driver disk
Operating system: Windows 7 64 bit
We are running a locally developed program
Have you ever run with more that one USB 488 device running on the same PC?
Systems Integration Lab Manager
The Boeing Company
- Keithley Applications
- Posts: 402
- Joined: June 10th, 2013, 6:00 am
- Country: United States
Code: Select all
# Curve trace program for Keithley 236/237/238 Source Measure Units (SMUs) # SMU A controls the drain of a FET SMU B controls the gate # import visa #import NI Virtual Instrument Software Architecture import time #import python time functionality A = visa.instrument("GPIB::1") #create variable for instrument address B = visa.instrument("GPIB::17") #variable for voltage stepvoltage = -1.0 sweeploopcount = 16 steploopcount = 5 sweepresults =  # create list to store measurements A.write("F0,0X") # Force Force V measure I A.write("H0X") # Immediate trigger A.write("G5,2,0X") # source and measure B.write("F0,0X") # Force Force V measure I B.write("H0X") # Immediate trigger B.write("G5,2,0X") #Bias voltage , auto range, no delay B.write("N1X") for j in range(steploopcount): sweepvoltage = 0 stepvoltage = stepvoltage + 1.0 B.write("B" +str(stepvoltage) +",0,0X") for i in range(sweeploopcount): #loop variable and loop count A.write("B" +str(sweepvoltage) +",0,0X") #Bias voltage , auto range, no delay A.write("N1X") # Operate (output on) sweepvoltage = sweepvoltage + 1 #increment voltage time.sleep(0.05) # Wait sweepresults.append(A.read()) # read measurement from SMU time.sleep(0.05) # Wait # print results[i] #print measurement to console A.write("N0X") # Standby (output off) B.write("N0X") print "Rdg","Voltage"," Current" print " " for i in range(sweeploopcount*steploopcount): print i,sweepresults[i] #print list of measurements time.sleep(5)
Who is online
Users browsing this forum: No registered users and 4 guests