Home AMX User Forum NetLinx Studio

a COMBINE_LEVELS question

Hi Everyone,

I had a question regarding COMBINE_LEVELS...

1) If you combine a level, is it combined until you uncombine it? In other words if I combine two levels in one statement then combine the same level with
another level later, are all 3 levels connected? Here's a code example of what I'm asking. Are vdvVOLUME_CONTROL level 1, dvNXCVOL4 Level 1, dvNXCVOL4 Level 2 all combined after button 100 and button 101 are pushed?
BUTTON_EVENT [dvTP_RoomVolume, 100]
{
  RELEASE:
  {
     COMBINE_LEVELS (vdvVOLUME_CONTROL, 1, dvNXCVOL4,1)
  }
}


BUTTON_EVENT [dvTP_RoomVolume, 101]
{
  RELEASE:
  {
     COMBINE_LEVELS (vdvVOLUME_CONTROL, 1, dvNXCVOL4,2)
  }
}


Thanks!


--John

EDIT: Changed "PUSH" event handlers to "RELEASE" event handlers.
Sign In or Register to comment.