You can also change the event tables at run-time. If you plan to insert more than two new event code-event function pairs into any event table, however, you will need to modify the header file vv_glob.h to add empty entries to that event table.
Inserting, Changing, and Deleting Event Code-Event Function Pairs
Deleting an Event Function From an Event Table
Changing or Adding a Default Event Function
Determining What Function Is Associated with an Event Code