Forum Replies Created
-
AuthorPosts
-
john.doweParticipant
Update on this: After tracing the problem the people from labmaker sent us another multiplexer and it worked like a charm.
john.doweParticipantI was able to update it, but it fails when trying to disconnect the reactor. I have already reflashed to the latest version. Do you have a version that should almost certainly work so I could try with that one?:
Failed to recover multiplexer on device M0
2020-03-16 09:56:11.202802 Failed Multiplexer Comms 15 times
Failed to recover multiplexer on device M0
2020-03-16 09:56:13.238603 Failed Multiplexer Comms 16 times
^CTraceback (most recent call last):
File “app.py”, line 1354, in I2CCom
sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(sysItems[‘Multiplexer’][M],2)) #We have established connection to correct device.
File “/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py”, line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File “/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py”, line 268, in write_byte_data
self._device.write(data)
OSError: [Errno 16] Device or resource busyDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “app.py”, line 1368, in I2CCom
sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(0x00)) #Disconnect multiplexer.
File “/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py”, line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File “/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py”, line 268, in write_byte_data
self._device.write(data)
OSError: [Errno 16] Device or resource busyDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “app.py”, line 2193, in <module>
initialiseAll()
File “app.py”, line 386, in initialiseAll
initialise(M)
File “app.py”, line 370, in initialise
scanDevices(M)
File “app.py”, line 478, in scanDevices
I2CCom(which,’ThermometerInternal’,1,16,0×05,0,0)
File “app.py”, line 1368, in I2CCom
sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(0x00)) #Disconnect multiplexer.—————–
Thanks heaps! -
AuthorPosts