06-28-2017 11:02 AM
Good afternoon,
I developed a DLL in LabWindows/CVI containing new step types that i use in TestStand. One of those step types (in running mode, post substep) launches a panel which must remain active through all the test sequence allowing the normal procedure of steps after calling that specific step.
I cannot use a blocking function like RunUserInterface() since it doesn't return until QuitUserInterface() is called.
Regards,
Alejandro
Solved! Go to Solution.
06-28-2017 01:04 PM
A couple of ideas:
07-07-2017 11:06 AM
Thanks for your response richferrara!
Finally, i implemented a secondary thread which runs RunUserInterface function as you mention but, to finish its execution programmatically or by pressing "Quit" button of a panel loaded in secondary thread, i used PostDeferredCallToThread to call QuitUserInterface in that secondary thread, whose ID is got by CmtGetCurrentThreadID.
Regards,
Alejandro