10-05-2009 12:16 PM
Hello, I am trying to have a VI such that I prompt the user for a text input and then I use that text input later on. However, I would like to have the prompt such that I can use the last input from a sting as the starting point. I have started the code but do not know how to proceed. Any help will be greatly appreciated.
Thanks.
hiNi
Solved! Go to Solution.
10-05-2009 12:55 PM
If you add an uninitiallized shift register, and modify the express vi, you can do this.
10-05-2009 12:58 PM - edited 10-05-2009 12:59 PM
You will need to create your own user input dialog, since the Express VI that you're using has no such capability. You can get a start by simply converting the Express VI to a regular VI, and resave it with a new name within your own directory structure. To convert the Express VI to a regular VI, right-click on it and select "Open Front Panel". You'll get a confirmation dialog that asks if you really want to convert the Express VI to a regular VI.
You can then simply add a shift register to the loop in this new VI, or place one at the calling VI level. If you leave the shift register uninitialized, it will remember the value while that application instance is running.
EDIT: I see that Jack was saying the same thing while I was writing...
10-05-2009 03:22 PM