04-30-2007 01:43 AM
04-30-2007 02:44 AM - edited 04-30-2007 02:44 AM
Hi,
the attached Code should work like you want, I think! There are a couple of VI´s to get Informations from Clusters and to convert them to arrays. Especially when they´re with Booleans.
Hope this helps.
Best regards
Alex, NI Switzerland
Message Edited by Alex R on 04-30-2007 09:45 AM
04-30-2007 05:59 AM
I can't look at your code, but generally, not allowing the users to do something is better than letting them do it and then tell them that it is illegal. You can control the allowed range for each numeric control by right clicking it and selecting Properties. You can also control this at run-time using property nodes.
For other controls, you can use events like the Key Down? event to filter illegal keys.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. 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).