Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Difference getProperty and readProperty


  • Hi,

    I would like to know what the difference between getProperty and readProperty is?


  • I've already the next question (not sure if it'd be better to open a new thread for every question or summarize it, I don't want to spam the forum)

    What is the most elegant way to discover the properties of an object?
    I already read this thread: http://forum.infiniteautomation.com/forum/posts/list/177.page If I understood this right there are two ways:

    1. readProperty() with PropertyIdentifier.all . The Problem I have with this is that both VTS and SlaveDeviceTest don't know that property.
    2. readProperty() for every single property (341 are implemented in BACnet4J). That seems not very elegant to me.

    And if I know a property is present at the RemoteObject, how do I know if the property is just readable or also writeable.

    Concerning my first post in this thread: Both in VTS and Wireshark show that getProperty() sends a ReadProperty-Message.

    Regards
    Robert


  • Next question, in hopes that I get an answer eventually ;)

    Is it possible to detect which type data has to be I want to write?