The only thing I can think of is Python is returning the wrong line when providing the ValueError.
I wanted to post this to make this Git aware of the problem, I know it's not the most active repo. I think this is just a one-off exception but this code has been working for over a year without fail.
System Information
read_registers()
for a value.Problem
This error was thrown from the following code:
var_1 = i.read_registers(registeraddress=2012, numberOfRegisters=2, functioncode=3)
The device was setup like this, if it's relevant:
The only thing I can think of is Python is returning the wrong line when providing the ValueError.
I wanted to post this to make this Git aware of the problem, I know it's not the most active repo. I think this is just a one-off exception but this code has been working for over a year without fail.
Thanks