Measurement application values

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Damaxx, May 6, 2010.

  1. Damaxx

    Damaxx

    Joined:
    May 12, 2008
    Messages:
    228
    Likes Received:
    47
    I am trying to use logic code to read the current temperature from 2 cbus sensors that I have installed and are on the measurement application manager on homegate to variables in logic. I tried to use GetCbusLevel but cannot work out what address it should be as they dont fall under a group address like lighting - (1 ,56 ,etc)

    I have tried the help file and searched on here for the answer but must be looking for the wrong thing!

    Would appreciate any assistance.
     
    Last edited by a moderator: May 6, 2010
    Damaxx, May 6, 2010
    #1
  2. Damaxx

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    GetCBusLevel is for use with the Lighting Application, not the Measurement Application.

    See the logic main file topic "Measurement App In-Built System IO"

    To get the value from a Measurement App channel in logic, use:

    Code:
    GetRealIBSystemIO("Measurement App Real Value", "Local Network", UnitId, ChannelNumber)
     
    Darren, May 6, 2010
    #2
  3. Damaxx

    Damaxx

    Joined:
    May 12, 2008
    Messages:
    228
    Likes Received:
    47
    Cheers Daren. Saved me pulling my hair out once again.
     
    Damaxx, May 6, 2010
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.