Good to know, thanks!
Looking at this made me wonder, using the convenience methods in the TCP master class, and the modbuslocator, is there currently a way to get multiple values.
Looking at the getValue method, it appears like it utilizes the batch feature, but only with a single read (or multiple registers, but only up to the required number for the specified value type).
For my app, the user sets the starting register/bit location, and the length they want to read, so I would ideally get some type of array back with the data in it. Then they can also select how to display that data (i.e. float, signed int, unsigned it, word swapped float, etc.)
Sending that information to the locator and pulling it back out directly from it in that form would be handy.
In general, I've really liked what you're doing here, and love some of the flexibility in this library over jamodbus (hence why I'm trying to adapt from it), but I'm just trying to get my head around everything, so forgive me if my questions are pretty noob-ish.
This message was edited 1 time. Last update was at 28/06/2010 14:08:53