Exemple #1
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_on(sour, h.current_limit, h.voltages)
    print "turned on: %s" % (time.strftime("%Y-%m-%d %H:%M:%S"))
Exemple #2
0
def main():
    sour = serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts)
    h.power_on(sour, h.current_limit, h.voltages)
    return 0
Exemple #3
0
def main():
    sour=serial.Serial(h.dev, h.baud_rate, rtscts=h.rtscts);
    h.power_on(sour, h.current_limit, h.voltages)
    return 0