aelamspychron / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
0 stars 0 forks source link

ModbusIOException #9

Open ael-noblegas opened 3 years ago

ael-noblegas commented 3 years ago

active branch=dev/dc

active analyses=

description="Not sure what triggered this one. Pychron was running when I did a stop-run transfer to the PLC CPU."

Traceback

Traceback (most recent call last):
  File "C:\Users\Science\.pychron.0\pychron\pychron\core\helpers\exception_helper.py", line 285, in run_with_except_hook
    run_old(*args, **kw)
  File "C:\anaconda3\envs\pychron3\lib\threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\heater_manager.py", line 37, in _scan
    h.update()
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\heater.py", line 57, in update
    v = self.read_readback()
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\__init__.py", line 101, in wrapper
    t = func(*args, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\heater.py", line 139, in read_readback
    v = self._read_input_float(self.readback_address)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\core\modbus.py", line 30, in _read_input_float
    return self._decode_float(result)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\core\modbus.py", line 33, in _decode_float
    decoder = BinaryPayloadDecoder.fromRegisters(result.registers, Endian.Big, wordorder=Endian.Little)
AttributeError: 'ModbusIOException' object has no attribute 'registers'