Skip to content
Snippets Groups Projects
Commit fc35ff23 authored by JupyterHub User's avatar JupyterHub User
Browse files

added functions for changing smu names

parent eefc7f6f
No related branches found
No related tags found
No related merge requests found
......@@ -41,10 +41,6 @@ class HP4155a(object):
#inst.write("*TRG")
#self.inst.query('*OPC?')
#stop current operation
def stop_operation(self):
self.inst.write(":PAGE:SCONtrol:STOP")
#get data from HP4155a
def get_data(self):
self.inst.write(":FORM REAL")
......@@ -262,4 +258,12 @@ class HP4155a(object):
command = f":PAGE:MEAS:VAR2:PCOM {pcomp}" #set other value to enable pcomp
self.inst.write(command)
#--------------------------------------------end of var2 functions--------------------------------------------------
#-----------------------------------------SMU NAMES----------------------------------------------------------------
def smu_vname(self,smu_number,vname):
command=f":PAGE:CHAN:SMU{smu_number}:VNAME '{vname}'"
self.inst.write(command)
def smu_iname(self,smu_number,iname):
command=f":PAGE:CHAN:SMU{smu_number}:INAME '{iname}'"
self.inst.write(command)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment