How do you impliment simultaneous multi-node testing using Keithley SMUs
时间:04-04
整理:3721RD
点击:
I am trying to implement a simultaneous multi-node, multi-channel testing using a 2 node Keithley SMU assembly. I was advised that the trigger functions already given in the 2602 manual could be used in order to achieve this. However, I don't know how to implement it. I have developed a script to measure current, how can you implement multithreading in this script?
Code:
function measureCurrent() node[1].smua.measure.rangei = 0.0001node[1].smub.measure.rangei = 0.0001node[2].smua.measure.rangei = 0.0001node[2].smub.measure.rangei = 0.0001 node[1].smua.source.levelv = 0.00node[1].smub.source.levelv = 0.00node[2].smua.source.levelv = 0.00node[2].smub.source.levelv = 0.00 node[1].smua.source.func = node[1].smua.OUTPUT_DCVOLTSnode[1].smub.source.func = node[1].smub.OUTPUT_DCVOLTSnode[2].smua.source.func = node[2].smua.OUTPUT_DCVOLTSnode[2].smub.source.func = node[2].smub.OUTPUT_DCVOLTS node[1].smua.source.limiti = node[1].smua.source.rangei = 1.000node[1].smub.source.limiti = node[1].smub.source.rangei = 1.000node[2].smua.source.limiti = node[2].smua.source.rangei = 1.000node[2].smub.source.limiti = node[2].smub.source.rangei = 1.000 node[1].smua.smu%s.source.output = node[1].smua.OUTPUT_ONnode[1].smub.smu%s.source.output = node[1].smub.OUTPUT_ONnode[2].smua.smu%s.source.output = node[2].smua.OUTPUT_ONnode[2].smub.smu%s.source.output = node[2].smub.OUTPUT_ON print(node[1].smua.measure.i())print(node[1].smub.measure.i())print(node[2].smua.measure.i())print(node[2].smub.measure.i()) node[1].smua.source.output = node[1].smua.OUTPUT_OFFnode[1].smub.source.output = node[1].smub.OUTPUT_OFFnode[2].smua.source.output = node[2].smua.OUTPUT_OFF node[2].smub.source.output = node[2].smub.OUTPUT_OFF end