09-21-2017 09:31 AM
To whomever,
I am trying to write a labview script using the K2600 series driver for labview. The script is for producing an IV transfer curve (drain current vs gate voltage at a constant drain voltage) and IV output curve (drain current vs drain voltage at constant gate voltages) for an OFET. I have looked over the advance sweep example; however, I am having some issues and would like to get some clarification. Find attached my VI and a tsp that I am emulating into the script. My issue is how to incorporate the following Lua code using the driver triggers into the transfer_curve script:
-- overwrite some value setup in the configSweep() function -- no current measurements on gate, but measure voltage for use in printData() gatesmu.trigger.measure.v(gatesmu.nvbuffer1) -- gate sources after drain sources the Vds bias gatesmu.trigger.source.stimulus = drainsmu.trigger.SOURCE_COMPLETE_EVENT_ID -- measure drain current after each gate voltage is sourced drainsmu.trigger.measure.stimulus = gatesmu.trigger.SOURCE_COMPLETE_EVENT_ID -- output on, run the sweep and then turn the output off. drainsmu.source.output = drainsmu.OUTPUT_ON gatesmu.source.output = gatesmu.OUTPUT_ON -- start the gate first, so that is armed and can detect drain source complete event gatesmu.trigger.initiate() drainsmu.trigger.initiate() waitcomplete() drainsmu.source.output = drainsmu.OUTPUT_OFF gatesmu.source.output = gatesmu.OUTPUT_OFF
and how to incorporate the following codes into the output_curves script:
smu.trigger.source.limiti = smu.LIMIT_AUTO smu.trigger.source.action = smu.ENABLE smu.trigger.endsweep.action = smu.SOURCE_IDLE smu.trigger.endsweep.action = smu.SOURCE_HOLD smu.trigger.source.set()
I do realize that SMU needs to refer to a specific SMU; however, in this case I am just generalizing the code.
I emphasize that I am not trying to upload a tsp script, but rather use all driver capabilities to do the same routine with labview. I have initiated the sweep on the gate channel; however, I do not know how to proceed afterwards. Any information would be greatly appreciated.
09-21-2017 09:50 AM - edited 09-21-2017 09:50 AM
all I can think of is to place a write command to the VISA with the exact string.
09-21-2017 11:25 AM
Hi,
In the 2600 driver there's a VI to run scripts.
Check out this post.
Curt
09-21-2017 11:29 AM
as I emphasize above I am not interested in running any TSP script, but rather convert to labview.
09-21-2017 12:57 PM
For the transfer I wrote the commands in. Please let me know if I can improve this code or something is wrong.
09-21-2017 01:12 PM
Similar I wrote the commands directly to VISA for output. Can someone also check this script.
09-25-2017 04:31 PM
I use the Keithley LabVIEW 2600 drivers a lot, but mainly with single SMUs (2601, 2611). I do output and transfer curves with 2x single K2600 SMUs using BUS triggering. When I have some time later this week I'll get a K2636 which has 2 SMUs, and I will look at the issue of triggering the second SMU based on the actions of the first SMU. Someone here has also asked me too look at just this issue. The trigger criteria is often tricky to setup correctly but I've done it before with the 2400s.
I'll keep you posted.
09-25-2017 04:35 PM
my scripts should help you. the transfer works but I get an error -285 and output I am working on now. It would be great to get this stuff finalized sometime next week.
09-27-2017 10:57 AM
please refer to these scripts. I believe the issue has to do with asserting a timer. This I cannot figure out how to use properly.
10-10-2017 07:41 AM
any progress?
Thanks,