Menu

Linknx object readable

Help
Erik
2009-06-19
2012-12-14
  • Erik

    Erik - 2009-06-19

    I have an object, which relies on Linknx logic, e.g. {{{daylight}}}, which is set by a Linknx logic specified elsewhere. This object is configured with
    {{{
            <object gad="1/0/0" id="daylight">Tageslicht</object>
    }}}
    A read on the bus shows no reply.

    Thank you for your help,

    Erik

     
    • jef2000

      jef2000 - 2009-06-24

      Hi,

      If you want to be able to read the object's value from the bus, you need to set the  read flag for that object. In linknx, you can do it like this:

      <object gad="1/0/0" id="daylight" flags="crwtu">Tageslicht</object>

      (If the "flags" parameter is omitted, the default value is "cwtu")
      The details of flags settings are described in the wiki:
      http://linknx.wiki.sourceforge.net/Object+Definition+Syntax

      Regards,

      Jean-François

       
    • Erik

      Erik - 2009-06-27

      Hi Jean-François,

      thank you for your hint. That exactly does what I was looking for.

      Regards,

      Erik

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.