import time c='X07MB-OP2:TOTAL-CYCLES' c='X07MB-OP2:SMPL' c='X07MB-OP2:SMPL' c='X07MB-OP-WV1:WT_SET' c='X07MB-OP-MO:E-SET.OUT' c='X07MB-OP2:SMPL' c='X07MB-OP-KEITH3:setGain' c='X07MB-OP2:START-CSMPL' c='X07MB-OP2:SMPL-DONE' C=Channel(c) print(c) d=C.get() print('read as such' ,d) print(type(d)) C=Channel(c,type='i') d=C.get() print('as int',d) print(type(d)) C=Channel(c,type='d') d=C.get() print('as double',d) print(c)