How do you close the User Prompt VI

This is a discussion on How do you close the User Prompt VI within the labview forums in Programming Languages category; I am trying to use the Prompt User to take in a user's data before the main part of the program begins.  I can get it to take in the information and display the information on text indicators, but I cannot get the prompt window to close, and it clears out the information that was in the text indicators if I press the okay button.  I have tried to connect logic gates from the "OK" output back to the "Enable" input, placing the Prompt User inside of a FOR loop with one iteration, and several other things, but the window ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-09-2008, 12:10 PM
NT_Engineer
Guest
 
Default How do you close the User Prompt VI

I am trying to use the Prompt User to take in a user's data before the main part of the program begins.  I can get it to take in the information and display the information on text indicators, but I cannot get the prompt window to close, and it clears out the information that was in the text indicators if I press the okay button.  I have tried to connect logic gates from the "OK" output back to the "Enable" input, placing the Prompt User inside of a FOR loop with one iteration, and several other things, but the window will not close.  So, my question is how do you get the Prompt User window to close after the user enters in their information?
Reply With Quote
  #2  
Old 07-09-2008, 12:10 PM
lmtis
Guest
 
Default Re: How do you close the User Prompt VI

Post your code so what you are doing will be made more clear.Message Edited by lmtis on 07-09-2008 11:05 AM
Reply With Quote
  #3  
Old 07-09-2008, 12:40 PM
NT_Engineer
Guest
 
Default Re: How do you close the User Prompt VI

<img src="file:///C:/DOCUME%7E1/MPICKE%7E1.ETE/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="">I am just beginning to build this system, and taking the user information will be the first step in the program.&nbsp; I have added a picture of the Prompt User outputing information to text indicators, but I just need to know the proper way to get the window to close after it takes the information the first time.


prompt user.JPG:
http://forums.ni.com/attachments/ni/170/339164/1/prompt user.JPG
Reply With Quote
  #4  
Old 07-09-2008, 12:40 PM
Dennis Knutson
Guest
 
Default Re: How do you close the User Prompt VI

The window will close when you click the ok button. There is no way that the user prompt will keep appearing unless you are doing something silly like clicking the run continuous button or calling this VI in a while loop.Message Edited by Dennis Knutson on 07-09-2008 10:34 AM
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.