01-22-2008 10:10 AM
01-22-2008 11:54 AM
01-22-2008 11:59 AM - edited 01-22-2008 12:00 PM
I solve this problem in my vi's using list boxes. I would save the names for the users in a text file. When you add a name to the text file, you can trigger an event and have a case that reads the text file which now includes the new name.
Something like this: (using a queued message handler template)
Push a button that brings up a dialog to add the new person. (Done in an event case)
When the user hits OK, it saves the new name to the "username" text file.
Add a queue to update the display
In the update display case, read the text file and use the names to populate the item.names on a property node for the listbox.
Here is a terrible implementation but you can see the flow. I only had a couple of minutes so I apologize for the sloppiness (Labview 8.2)
Tom Haggerty