Hi,
I want to execute/load a panel during runtime, from a CVI dll function.
my CVI dll "test.dll" has "READ_PAN" function. while executing this function from a Test Stand Action step i want Configure Panel (from FR_GUI.uir) to pop up.
can you please suggest me how can i do this from my "test" project of CVI.
int __stdcall __export RunFRConfig (CAObjHandle step,CAObjHandle thisContext)
{
ERRORINFO errorInfo;
char errMsg[1024];
int pan;
pan = LoadPanelEx (0, "FR_GUI.uir", READ_PAN, __CVIUserHInst);
DisplayPanel (pan);
RunUserInterface();
DiscardPanel (pan);
return 0;
Error:
// sprintf(FinalErrMsg,"Configure Error: %s",errMsg);
return -1;
}