LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to perform the OR opration on the clusters?

Hi,
  I am using the 3 clusters in my application. Each cluster contains the  4-5 controls. I want to check the values in the controls in each cluster with defined limit for that cluster. The cluster may have 1-2 defind limit for controls in the cluster. If the value enter in the controls is more than the defined the application should show the dialog box stating that values in X contol crosses the limit. I am doing this by unbulding the vi and checking with defined limit. But for this I have to use number of greater.vi and  OR.vi which makes the block diagram complicated.
  Is their any other simpler way to do this. I am attaching the vi which is incomplete.
 
Thanks:-
Mike
0 Kudos
Message 1 of 3
(2,449 Views)

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

Message 2 of 3
(2,444 Views)

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).


___________________
Try to take over the world!
0 Kudos
Message 3 of 3
(2,432 Views)