Home AMX User Forum NetLinx Studio

DEFINE_MUTUALLY_EXCLUSIVE Issues

Greetings,

Are there know times when channels defined as mutually exclusive will operate together?

I have a system in which I have several mutually exclusive sets (for the sake of feedback) and the defined sets will work together. The set are button feedbacks on AXD-CV5 and CV7 panels. Some other sets, defined very similarly, operate exclusively as intended.

The channels in question exist on physical panels that are device combined with a virtual.

Any thoughts?

Comments

  • DHawthorneDHawthorne Posts: 4,584
    There are 3 types of channels: input, output, and feedback; the nomenclature is identical, context determines which one you are referencing. DEFINE_MUTUALLY_EXCLUSIVE only applies to input and output, as I understand it. Inasmuch as input/output are followed by feedback, it will work, but if there is a difference, it won't. That is why there is a TOTAL_OFF keyword, it will turn feedback off in cases where it may not go off following the output channel.

    The whole thing is a bit confusing, and I can't say I ever quite grasped it 100%. I just don't make feedback exclusive, I set it explicity for every channel. The exclusive keyword was intended for mainly for output channels, to prevent relays from coming on together, stuff like that.
  • mpullinmpullin Posts: 949
    Yeah, I second that. It is tempting to use Mutually Exclusive Sets to control button feedback, but I've come to learn that it's not a good idea. It is always better to use a variable for feedback in situations where you think you may need a Mututally Exclusive Set.
Sign In or Register to comment.