def __init__(self, zobj): """ Initialize ZioCharDevice class. The zobj parameter is the object which use this interface. This object should be a channel """ ZioInterface.__init__(self, zobj) self.lastctrl = None self.__fdc = None self.__fdd = None # Set data and ctrl char devices self.ctrlfile = os.path.join(self.zio_interface_path, \ self.interface_prefix + "-ctrl") self.datafile = os.path.join(self.zio_interface_path, \ self.interface_prefix + "-data") self.__poll = select.poll()
def __init__(self, zobj): ZioInterface.__init__(self, zobj)