Skip to content
Snippets Groups Projects
Commit 7d8ae5de authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

VSU as the sweep source in constant pulse measurement

parent 5fc53578
No related branches found
No related tags found
No related merge requests found
......@@ -172,12 +172,6 @@ def constant_meas(dictionary,device):
mode = 'VPULSE',
func = 'CONS'
)
smu_help.update(
iname = 'I3',
vname = 'V3',
mode = 'V',
func = 'VAR1'
)
smu_ground.update(
iname ='I4',
vname = 'V4',
......@@ -203,9 +197,16 @@ def constant_meas(dictionary,device):
device.measurement_mode("SWE")
device.smu_disable(1)
device.smu_disable(3)
device.setup_smu(2,smu_v)
device.setup_smu(3,smu_help)
device.setup_smu(4,smu_ground)
# define the vsu that can be used as help (commands taken from the manual as this is an emergency)
# set it up VSU1
device.inst.write(":PAGE:CHAN:VSU1:VNAME 'VHELP'") #Name
device.inst.write(":PAGE:CHAN:VSU1:FUNC VAR1") # sweep mode
device.setup_var1(sweep_params)
device.setup_pulse(sweep_params)
device.setup_cons_smu(2,cons)
......@@ -246,6 +247,8 @@ def constant_meas(dictionary,device):
times = (elapsed_time,expected_time)
values = (V_i,I_i,R_i)
# disable VSU1
device.inst.write(":PAGE:CHAN:VSU1:DIS")
device.autoscaling()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment