added method to read channel from device.
added method to read channel from device.
reading channel from device