LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to display a panel in a thread

Dear All,
 
 
  In My Application 3 threads are running parallely(thread1,thread2,thread3)...in thread2 I want to display a panel and in that panel when the user press ok button then again the thread2 should run ,..
 
Send me some example code ASAP
 
Regards
krishna
0 Kudos
Message 1 of 2
(3,472 Views)
Hello Krishna,

In your thread2 you can call LoadPanel, DisplayPanel, RunUserInterface and DiscardPanel functions and the callback associated with the Ok button could call the QuitUserInterface function.

You can find many examples programs on multithreading at
C:\Program Files\National Instruments\CVI80\samples\utility\Threading directory. Also the MultiPanel example located at C:\Program Files\National Instruments\CVI80\samples\utility\Threading\ThreadPool\MultiPanel\ might be useful for your project.

Please let us know if you have specific questions (if you could post the simplified version of your code, that would be great as well) on this.
Good luck and best regards,
Shakhina P.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,437 Views)