05-25-2007 03:13 PM
05-25-2007 05:58 PM
05-27-2007 09:21 AM
05-27-2007 05:20 PM
05-28-2007 10:37 AM
05-28-2007 11:58 AM - edited 05-28-2007 11:58 AM
Message Edited by Dennis Knutson on 05-28-2007 10:59 AM
05-29-2007 10:42 AM
Dennis,
I tried it and it works.Thanks for your help.
Can you tell me what the Start modal dialog and stop modal dialog do ?
Is it a must to include these two functions ? If yes then , where should I wired these two functions ?
I tried your example without calling these two functions ,it seems to be working.
What are the main reasons why these two functions need to be included in the main LV.vi and / or they need to be called from teststand sequence. ?
Thanks,
F.Lam
05-29-2007 12:11 PM - edited 05-29-2007 12:11 PM
You might want to read the on-line help for the functions. Making a VI modal to TestStand means that it will always be on top of the TestStand window. If the VI opens and the user clicks on the TestStand window, it will send the VI to the background. This could be confusing.
Message Edited by Dennis Knutson on 05-29-2007 11:12 AM
05-30-2007 03:33 PM
Hi Dennis,
Sorry to bother you again.
I noticed that when I run the LV program by using TestStand ,the LV program started the LV.vi right the way which is no good.
I have a simple LV program which is used to let the user to set difference temperature profiles before starting the program.
Can you tell me what to do ?
Thanks million times.
F.lam
05-30-2007 04:14 PM
I see that you are also a new LabVIEW user.
You need to provide some mechanism that will allow the user to enter data and then click on a start button. A very simple way to do this is with a while loop that runs before your main loop. I've attached a modified version of your VI that will do that. There's a Wait (msec) in it so that you don't use all of the window resources as the while loop spins just waiting for the user to click Start. The wire from the loop to the main loop is to enforce dataflow and assure that the small while loop will run before the main.