10-10-2007 12:02 PM
10-10-2007 12:30 PM
If you want to match one of several values, the easiest way is usually to build them into an array and then search that array. You can wire the result into the case structure and you will get either the index of the match or a -1. You should note that this can also be done without local variables, which is usually better. Generally, locals should only be used as secondary access points to controls and indicators, not as actual variables.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
10-10-2007 12:43 PM
10-10-2007 02:06 PM