Object:
when program run, splash one child panel to give the operator one caution to check LED, but the function test don't want to be interrupt, if operator find problems when checking he can stop the program by press any key, or discard the child panel after one special time. Key: function test never stop, that's say, when the panel splash, the contact, the multimeter just work as the program:
I have done: install one callback function by InstallPanelCallback after load the child panel and activate the panel.
Problem: now, I can't rightly get the event to triggle the callback;
below is the help from CVI itself, but I don't know how to initiated the callback as the red show;
This function installs a panel callback. It takes a Panel Handle, the name of the Event Function (type PanelCallbackPtr) that processes events for that panel, and Callback Data of any type.
When an event is generated on the specified panel (after the callback is installed), the event function is called. The event function is passed the panel handle, the type of the event, any associated event data, and the callback data for processing.
A panel callback can also be installed from the Edit Panel window in the User Interface Editor.
Callbacks are initiated through RunUserInterface() or GetUserEvent().
/*-------------------- Prototype ---------------------*/
int InstallPanelCallback (int Panel_Handle,
PanelCallbackPtr Event_Function,
void *Callback_Data);
Best regards
Jaman
Developing Test Sepcialist