Just got a GMC-320 plus. I'm using it with pyRadMon on a Linux PC. It works great however the sampling stops after 128 samples with the following error.
Problem in getData procedure (disconnected USB device?): (5, 'Input/output error').
See Python code below.
When I start the problem (without doing anything else such as unplugging/replugging the device), it works again for 128 samples, then stops again. As far as I can tell the device is operating normally - observing what I see on the display.
# wait for data
while (self.serialPort.inWaiting()==0 and self.stopwork==0):
time.sleep(0.1) # just to ensure all CPM bytes are in serial port buffer
# read all available data
while (self.serialPort.inWaiting()>0 and self.stopwork==0):
x = x + self.serialPort.read()
except Exception as e:
print "Problem in getData procedure (disconnected USB device?):", str(e)," exiting!!!"