I’m attempting to use the latest features of RMP to find some PDOs that I will need. In this case, I’m trying to get actual/demand velocity, using Axis::NetworkIndexGet(…).
Does RMP automatically attempt to locate the axis features described in RSINetworkIndexType?
I’m currently looking for
My guess is that it would rely on information in
NodeInfo.xml, in particular, the
VelocityActual elements of a
Would I need to do more to help RMP find the right things than ensuring that NodeInfo.xml defines these elements for a product?
What should I expect the return value to be if the lookup fails? I have observed that it’s a 32-bit unsigned integer with the (conspicuous) value of 65535 (0xFFFF), but the documentation doesn’t say what I should expect.
Assuming 0xFFFF is what’s returned on failure, why is this 16-bit value (-1) used? Is that type used because of the hardcoded limit of how many network ins/outs there are (i.e. 32,767)? Why doesn’t the function return a word that’s the same size? Is there some other context in which a 32-bit number makes more sense?
(EDIT: I corrected the decimal representation of 0xFFFF. It should have been 65535. I also corrected incorrect API scope.)