Home AMX User Forum AMXForums Archive Threads AMX Applications and Solutions

define latching

What is the significance of this? Is it similiar to define toggling?
I was hoping to mute the picture using one button and then by pressing same button again cause an unmute condition.
perhaps a status variable and some if /elses?

Also in TP design 3 is there a way to have the on properties of a particuliar button have different text then the off properties?
Thanks in advance.

Comments

  • kbeattyAMXkbeattyAMX Junior Member Posts: 358
    Without defining a mutually exclusive, latching and toggle look the same but...Latching needs a successive press of it channel to turn on or off the channel. Toggle channel can be turned off with a mutually exclusive definition.

    (***********************************************************)
    (* LATCHING DEFINITIONS GO BELOW *)
    (***********************************************************)
    DEFINE_LATCHING
    [dvTP,1]..[dvTP,9]

    (***********************************************************)
    (* MUTUALLY EXCLUSIVE DEFINITIONS GO BELOW *)
    (***********************************************************)
    DEFINE_MUTUALLY_EXCLUSIVE
    ([dvTP,1]..[dvTP,19])


    define_toggling
    [dvTP,11]..[dvTP,19]
  • kbeattyAMXkbeattyAMX Junior Member Posts: 358
    Sorry I messed that up... The Toggle will clear the feedback on a mutually exclusive channel and the Latch will not.
Sign In or Register to comment.