Ravi,
If I understand your problem correctly, you have a subvi that executes when you execute the main vi this subvi is in. To prevent his from happening you need to right click on the subvi and select "Subvi Node Setup". Make sure that none of the options are selected. (see attached image).
I hope this helps,
Mike