Home AMX User Forum AMX Technical Discussion

DO_PUSH... always fires twice

I'm not overly concerned by this, but has anyone else noticed that when you execute a DO_PUSH, the button push and release shows up twice in the notifications window i.e:

Line 89 :: Input Status:Pushed [10001:1:1] - Channel 1699 - 10:40:45
Line 90 :: Input Status:Pushed [10001:1:1] - Channel 1699 - 10:40:45
.
.
.
Line 108 :: Input Status:Released [10001:1:1] - Channel 1699 - 10:40:46
Line 109 :: Input Status:Released [10001:1:1] - Channel 1699 - 10:40:46

Is this expected or am I doing something wierd. This happens every time I execute a DO_PUSH on any button/channel.

Pat

Comments

  • Patrick,

    Is the DO_PUSH in a BUTTON_EVENT or is it fired in a module or include file.
    Maybe this gives the result.
  • GasHedGasHed Posts: 31
    They are in BUTTON_EVENTS... I'd say that its possible that the event is being fired twice, but the logic around the DO_PUSH only executes once.

    Pat
Sign In or Register to comment.