def __init__(self, parent=None): ScanEvent.__init__(self, parent) self.axis = 0 self.N = 257 self.dv = 0.1 self.propNames = ["Axis", "# Steps", "Step"] self.is_loop = True self.config = ["axis", "N", "dv"]
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.instr = 0 self.instrlist = [] self.quantity = 0 self.tag = "tmp" self.propNames = ["Instrument","Quantity","Tag"] self.config = ["instr","quantity","tag"]
def __init__(self, parent = None): ScanEvent.__init__(self, parent) # Generic read self.input = 0 self.propNames = ["Input"] self.is_input = True self.is_visible = False self.config = ["input"]
def __init__(self, parent=None): ScanEvent.__init__(self, parent) self.is_display = True self.canvas = None self.can_plot = True self.auto_refresh = True self.clock = 0 pub.subscribe(self.set_canvas, "broadcast_canvas") pub.subscribe(self.set_refresh, "broadcast_refresh")
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.axis = 0 self.axlist = [] self.position = 0.0 self.relative = False self.propNames = ["Axis","Position","Relative"] self.config = ["axis","position","relative"] self.is_axis = True
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.filename = "" self.fclass = "" self.autoname = True self.propNames = ["File format","File name","Automatic"] self.is_save = True self.config = ["fclass","filename","autoname"] self.filter = None
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.filename = "" self.autoname = True self.propNames = ["File name","Automatic"] self.is_save = True self.is_visible = False self.config = ["filename","autoname"] self.filter = None
def __init__(self, parent=None): ScanEvent.__init__(self, parent) self.axis = 0 self.min = 0.0 self.max = 25.6 self.N = 257 self.dv = 0.1 self.propNames = ["Axis", "Minimum", "Maximum", "# Steps", "Step"] self.is_loop = True self.config = ["axis", "N", "min", "max", "dv"]
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.axis = 0 self.axlist = [] self.trlist = [] self.step = 0.0 self.delay = 0.1 self.trigger = 0 self.quantity = 0 self.condition = 0 self.condlist = ["Equal","Smaller than","Greater than","Increased by","Decreased by","Multiplied by","Divided by"] self.value = 1.0 self.propNames = ["Axis","Step size","Delay","Trigger", "Quantity","Condition","Value"] self.config = ["axis","step","delay","trigger","quantity","condition","value"] self.is_axis = True
def __init__(self, parent = None): """ Initialization. Parameters: parent - parent control (wx.TreeCtrl) """ ScanEvent.__init__(self, parent) self.is_loop = False # set to True if this event implements a loop of some sort self.is_display = False # set to True if this event is meant to display something (i.e. plot/print/...) self.is_save = False # set to True if this event saves data to somewhere self.is_axis = False # set to True if this event acts on axis devices self.is_input = False # set to True if this event acts on input devices self.is_active = True # set to True if this event is active by default self.is_visible = True # set to True if this event is visible in the interface self.can_run = True # tell if the event can run (set to True on reset) self.host = parent # parent control (wx.TreeCtrl) self.name = self.__extname__ # event display name (str) self.propNames = [] # property names, as displayed in the interface self.propNodes = [] # property values self.config = [] # variables to be saved in config files
def __init__(self,parent=None): ScanEvent.__init__(self,parent) self.is_root = True
def __init__(self, parent = None): ScanEvent.__init__(self, parent) self.instr = 0 self.instrlist = [] self.propNames = ["Instrument"] self.config = ["instr"]
def __init__(self,parent=None): ScanEvent.__init__(self,parent) self.avg = 5 self.propNames = ["Count"] self.is_loop = True self.config = ["avg"]