06-26-2007 07:57 PM
06-26-2007 09:11 PM
06-26-2007 09:23 PM
06-27-2007 09:07 AM
06-27-2007 04:02 PM
Well thank you guys for your rapid response. What I am trying to do is have four clusters and essentially i need to determine which clusters where chosen. It could be all four, or three or two, or just one and determine which one it is . Once i know which one it is, i build an array accordingly to the number of clusters chosen and place zeros for the clusters not chosen in my array. I am playing around with the examples and trying to implement a custom event for these cases, but it doesn't seem like this is the best way to go at it.
@smercurio_fc wrote:
You can also accomplish this using custom events. There's an example that ships with LabVIEW called "Programmatical Fire Events" that shows the basic idea. You would create an event that is your cluster1 and cluster2 change, and another that is your cluster1 and cluster4 change. Then you would set your event structure to have one case to handle when this event gets fired.
One thing that is not clear is if cluster1 is changed, and then cluster4 is changed, and then cluster2 is changed, is this two events (cluster1/cluster4 change and cluster1/cluster2 change), or one (cluster1/cluster2 change)? In other words, does an event cancel out a possible event that is "building"?
06-27-2007 04:14 PM
06-27-2007 08:18 PM
06-27-2007 08:37 PM
06-27-2007 09:54 PM
Hey Mike,
@mikeporter wrote:
Unless I'm missing something in your description I don't see where there is any interaction between the various clusters. All you need to do is an event to handle changes in the clusters as they occur. One thing that will make this easier is that all the clusters are the same, hence you can have one event that handles all four clusters. The thing that makes this possible is that a reference to the control that fired the event is included in the event data. From this event you can get the name of the cluster.
Mike...
06-27-2007 10:02 PM