def __init__(self): SimpleProtocol.__init__(self) self.commands = [ ] # Queue of command sent to the device which will provide replies, each entry is a dict with keys "cmd","source","keep", and "sent" self.name = 'hw' self.type = 'hw' self.status_commands = [':APP:VOLT?', ':APP:CURR?', 'CHAN:OUTP:ALL?']
def __init__(self): SimpleProtocol.__init__(self) self.commands = [ ] # Queue of command sent to the device which will provide replies, each entry is a dict with keys "cmd","source","timeStamp" self.name = 'hw' self.type = 'hw' self.lastAutoRead = datetime.datetime.utcnow()
def __init__(self): SimpleProtocol.__init__(self) self.command_id = 0 self.commands = [] self.name = 'hw' self.type = 'hw' self.next_addr = -1 self.daemonQs = {} # queues for GPIB devices commands, the key as the address self.gpibAddrList = [] # a list of the active GPIB connection addresses self.readBusy = [False,time.time()]
def __init__(self): SimpleProtocol.__init__(self) self.commands = [ ] # Queue of command sent to the device which will provide replies, each entry is a dict with keys "cmd","source" self.name = 'hw' self.type = 'hw' self.status_commands = [ "input? a,b,c,d;:cont?", ":loop 1:err?;rang?;type?;load?;outp?;htrr?;sour?;setp?;ramp?;rate?;pman?;", ":loop 2:err?;rang?;type?;load?;outp?;htrr?;sour?;setp?;ramp?;rate?;pman?;", ":loop 3:err?;rang?;type?;load?;outp?;htrr?;sour?;setp?;ramp?;rate?;pman?;", ":loop 4:err?;rang?;type?;load?;outp?;htrr?;sour?;setp?;ramp?;rate?;pman?;" ]
def __init__(self): SimpleProtocol.__init__(self) self.commands = [ ] # Queue of command sent to the device which will provide replies, each entry is a dict with keys "cmd","source","timeStamp" self.name = 'hw' self.type = 'hw' self.lastAutoRead = datetime.datetime.utcnow() self.Iranges = { '1': '2nA', '2': '20nA', '3': '200nA', '4': '2uA', '5': '20uA', '6': '200uA', '7': '2mA' }
def __init__(self): SimpleProtocol.__init__(self) self.addr = -1
def __init__(self): SimpleProtocol.__init__(self) self.command_id = 0 self.name = 'hw' self.type = 'hw' self.commands = {}
def __init__(self): SimpleProtocol.__init__(self) self.name = None self.status = {}