Announcement

Collapse
No announcement yet.

Are I/O pins linked to MagicEvent in one form apply to other forms?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Are I/O pins linked to MagicEvent in one form apply to other forms?

    Suppose I place an I/O pin (Pin0) and link it to MagicEvent0, say in Form0. So, MagicEvent0 is run, when the active form is Form0 and the status of Pin0 changes from its predefined idle status.

    My question is if the active form is NOT Form0 and the status of Pin0 changes, will MagicEvent0 run?

    If this answer is no and I want Pin0 to apply to all forms, I would need to do this in the main loop (MagicCode), wouldn't I?

  • #2
    Hi Johnsont,

    Yes, MagicEvent0 will always run as the Pin0 status has changed regardless of the active form.

    I've attached a sample project that is related to your concern.

    Hopefully, this will help you.

    Best Regards,
    Kayven
    Attached Files

    Comment

    Working...
    X