Custom events

PatGPatG Junior MemberPosts: 42

Hi there, I was wondering if someone could point me to a good resource to learn about these. I'm querying a touch panel with ?MAC to get a MAC address which is apparently returned as a custom event but I really have no idea what that is, and what I read in the programmer's guide didn't shed much light on it.

Thanks

Comments

  • HARMAN_icraigieHARMAN_icraigie Technical Trainer II, Harman Professional University Posts: 471

    The custom_event HELP section in NetLinx Studio would be one place.
    The HELP section on LISTVIEW_ON_ROW_SELECT_EVENT shows a complete custom_event when a user presses a List View cell on a touch panel.

  • ericmedleyericmedley Senior Member - 3709 Posts Posts: 4,159

    The Custom Event is one of those names that I feel doesn't accurately describe its function but I also don't have a better name...

    The basic deal with the Custom Event is that it allows for some device specific events to trigger actions in your programming.

    Just as in a Data Event you have Online, Offline,String,Command, etc... the Custom Event also has specific events. But because these events vary from device to device, they user number IDs instead of human-readable names. The key is to look at the devices specific events and use its number ID instead of ONLINE or whatnot. Those number IDs mighht be something like 1101.

    and like the other events, there is the dot notation that approximates object oriented event tages. (Like DATA.TEXT or whatnot)

    The help menu that Ian suggests is actually pretty good.

Sign In or Register to comment.