Open yichaoliang opened 2 weeks ago
I found this post, similar question, but to pyads. It's a good reference to my question here. https://stackoverflow.com/questions/74134828/how-to-access-a-nested-structure-using-pyads
You can define a struct in Rust and derive the relevant zerocopy
traits. I just pushed an example:
https://github.com/birkenfeld/ads-rs/blob/master/examples/values_via_handle.rs
For example, I have a DUT
And I have a instance LSL001 of udtDI. so it has two elements.
The two elements are different data type.
I want to read LSL001 as a lot, can I read the values by sum_read or by multi_read? And is Multi_Read faster than reading the tags one by one?