Lines Matching refs:ch_id
389 ch_id = self._channels[channel]
398 self._iio[ch_id] = Popen([self._iiocapturebin, '-n',
410 ch_id = self._channels[channel]
412 self._iio[ch_id].poll()
413 if self._iio[ch_id].returncode:
420 out, _ = self._iio[ch_id].communicate()
422 self._iio[ch_id] = None
441 ch_id = self._channels[channel]
443 if self._iio[ch_id] is None:
446 self._iio[ch_id].poll()
447 if self._iio[ch_id].returncode:
452 out, _ = self._iio[ch_id].communicate()
454 self._iio[ch_id] = None
458 self._iio[ch_id].terminate()
459 out, _ = self._iio[ch_id].communicate()
460 self._iio[ch_id].wait()
461 self._iio[ch_id] = None