Hi Sandeep
You have applied a breakpoint in the Keitley 2010 scan config.vi This is the reason why the subVi is showing when you are running the main Vi.
Remove the breakpoint from the subvi.
For removing the breakpoint, open the subVi click on Tools palette in View>>Tools Palette and choose breakpoint and click on the Block diagram.
When you use breakpoint in a subvi, it stops the execution and shows the block diagram. you can notice a red line along the Block diagram which shows that you have applied a break point in that Vi.
I also see that you are calling the same subvi in the Vi. This is wrong, you cannot call a same subvi in the Vi itself, it will be recurssive.
For your vi to stop when the operation is done, you need to program it that way. You can use a While loop for that, and just pass the error out of your Vi to the conditional terminal of the while loop. The conditional terminal of the while loop should be stop if true. So if your Vi executes properly it will send a true value to the conditional terminal and the Vi will stop automatically.
Regards,
Nitin