Hi, thanks for the advice, this works properly now.
However, is there a maximum sized array that can be passed to the datapoints field? I currently have a datapoints array with 32 addresses, but i need to write:
device.myDevice.setRegisterS16(station, starting_address, data[0,16])
device.myDevice.setRegisterS16(station, starting_address, data[17,31])
I am unable to simply do device.myDevice.setRegisterS16(station, starting_address, data).
Cheers,
Ben