09-07-2016 08:25 PM - edited 09-07-2016 08:27 PM
Hi,
I place a button in my program that when I click it and the text meesage will pop up.
But when the window pops up, the main VI will freeze until I click the OK button of the pop-up window.
(in the uploaded example, when OK button is clicked, number will stop adding untill I click the OK button of pop-up window.)
Is there any way to keep the vi running when the pop-up window is showing?
thanks a lot!
Solved! Go to Solution.
09-07-2016 11:35 PM
Button dialog will freeze the calling VI so its always better to develope a custom sub VI instead of using Button dialog
09-08-2016 12:20 AM
Hi,
Hope this link will answer your question. You need to develope your own pop up VI and launch it dynamically from your Main VI.
09-08-2016 12:30 AM - edited 09-08-2016 12:30 AM
@Nanthakumar wrote:
You need to develope your own pop up VI and launch it dynamically from your Main VI.
why to call the sub vi dynamically, any reason for calling dynamically instead of just calling the POP UP sub VI same as dialog button used.
09-08-2016 12:53 AM
PalanivelT wrote:
why to call the sub vi dynamically, any reason for calling dynamically instead of just calling the POP UP sub VI same as dialog button used.
OP was asking that "Is there any way to keep the vi running when the pop-up window is showing?". So it is required to call the subvi dynamically.
09-08-2016 01:48 AM
How about running in parrallel POP UP in one Loop and Incrementing Values in another Loop.
09-08-2016 02:16 AM
@PalanivelThiruvenkadam wrote:How about running in parrallel POP UP in one Loop and Incrementing Values in another Loop.
Running in parallel loops also a good option. Based on the requirement user can choose.
09-08-2016 07:17 PM - edited 09-08-2016 07:17 PM
Many thaks for Nanthakumar's link and Palanivel's answering!
I'll try to apply it in my program.