i build a new thread in my test program,in this program i a installpopup to show a PANEL,when this panel is displayed the test must stop,and when this panel is closed,the test is go on.so when the panel display i want the pre-panel no used,but when i write below code,this cann't realised,can you tell me the reason? and what can i do?
static int cvicallback testthread (void *functionData)
//thread of test
{
.....
hanel=LoadPanel (0, "panels.uir", PANEL);
while(true)
{
procedure1();
}
.....
}
void procedure1(void)
{
InstallPopup(handel);
RunUserInterface();
}