Hello Arun,
Sorry about that first post, wrong forum, been a long monday.
You should try putting your action step in a
subsequence, then when you call the subsequence you can set the module
properties to execute the sequence in a new thread. This option is in
the pulldown box called execution options. Then you could have a while
loop with a wait in it that loops until the button on the form is
pressed.
Let me know if you have any questions about that.
Kristen
National Instruments