It was all working fine before Xmas but now whenever I uses j.setchannelenable(True, True) the channels sometimes turn on & off but always raises the exception UnexpectedReplyError(ret)
It doesnt seem to matter which channel I'm enable/disabling I sometimes get what I asked for but always get that exception.
Things I've changed, I'm now running from a virtual environment which has QCodes in it that needs Python 3.8 or above, will this effect the functionality of your code?