06-11-2010 05:13 PM
Hi there,
I appologize if this question is answered in the boards but I did look and was not able to find anything that helped me.
I have a case structure that runs a specific test when that test is called in a text file. The case structure is burried in some other states. I do not to use the text file anymore, but want to display a selectable array of possible tests (that start with the word "Test") and have the user select the test from this list (which would be a list of cases that are updated when I update the case structure later).
I am not sure how to pull the possible case values out of the case structure. Is this possible?
Thank you!
Crystal
06-11-2010 05:52 PM
I don't think you can pull out the list of cases from a case structure. Do you have access to the file that contains the test names? This would be your best bet. Is the case based on strings or an enum? If enum, you can get the item names with a property node.
06-11-2010 10:36 PM
06-12-2010 06:58 AM
06-12-2010 07:19 AM
Take a look at this thread:
http://forums.ni.com/ni/board/message?board.id=170&message.id=403063&query.id=9563333#M403063
Matthew