08-24-2012 12:06 AM
plz anyone reply soon its urgent for my work
08-24-2012 12:16 AM
Your query is not clear explain what you want to do so that any one can give a better solution and also post a piece of code in which you have the problem.
08-24-2012 12:42 AM - edited 08-24-2012 12:45 AM
Some sub VIs won't work if we are putting a loop in the sub VI and in the main VI.I think he is asking about that.
If you want to run multiple independent instances of your subVI, you need to make it re-entrant, but I think your problems are much deeper,we can't do anything without proper explanation.
08-24-2012 01:36 AM
actualy we r doing two experiment free vibration and forced vibration both sud operate independently....so i want pop up menu for this thing....if i'll press free vibration button free vibration program sud appear. thats why i want to make sub vi which can operate independently.
there are few more experiments related with vibration where we will be requiring these sub vi's.
the only problem is that while loop which is there in my program..
for example suppose i want addition maker application.
i m giving this program.....plz try to make sub vi which can add two no. sud include that while loop
08-24-2012 01:52 AM - edited 08-24-2012 01:52 AM
Try searching Sub Panel and dynamic vi examples or you have to call the vi thorugh vi server run the code. It will start independently but you need to take care while doing this because if you call a vi which is already running you will get error so handle that. Check the attached snippet its a way you can alunch the vi dynamically and also do not set the property of the window to Modal that will always run at the top you can set that to floating in your case.