Home AMX User Forum NetLinx Studio

Who is last one in?

In TP4 a button with channel code 1 has a page flip assigned to show popup A.

In the button_event for that same button the code does a send_command to show popup X and popup X is in the same group as popup A.

Will popup X be guaranteed to show last (assuming of course the TP is online) or is it a hit or miss on who is last one in?

I would think the TP is always first and that the code will get notification after the TP already did its thing so that popup X will always win and it seems that way with a quick test I did. I?m wondering though if I?m making an assumption I shouldn?t be making. Maybe if the TP is busy animating something it might be step behind to show its own popup?

Basically I?m asking if the code is absolutely guaranteed to be the last one in or is it simply undefined.

Thanks.

Comments

  • viningvining Posts: 4,368
    I would think all commands would go to the TP's processing queue and commands embedded in the TPs button itself has got to enter this queue before the master get's a chance to receive the channel push, run the button event and then send the pop up x command back to the panel. Even if the panel was busy doing stuff, it's doing stuff in sequential order coming out of this queue which would be a typical FIFO buffered queue.

    Well at least that's the way I would expect it to behave.
Sign In or Register to comment.