pos = Channel('X07MB-OP-MO:E-SET', alias="POS", type='s') c1 = Channel('X07MB-OP2-SAI_07:MEAN', alias="TEST") c2 = Channel('X07MB-OP-MO:E-GET', alias="TEST2") sensors = [c1,c2] ret = lscan(pos, sensors, start=2450, end=2460, steps=10) for c in sensors: c.close()