annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Event structure and control ordering issue

Risolto!
Vai alla soluzione

The basic problem: I'm trying to use the CtlRef of an event structure as a Control Index to pick out a specific value from an array. However, the order under the 'Controls' menu for the Event structure appears to be dictating the numbering given by CtlRef. Below, you can see that the order I'd like is:

PLIF station 1...4

PIV Station 1...4

 

labview00.png

However, it appears to be using the ordering not of the LEFT hand column (image below), but of the MIDDLE column. I can't change this order, and it's giving me the wrong value to go with an array I have. What dictates this order and how can I get around this or fix this?  I'm currently using Labview 2015. Thanks!

labview01.png

0 Kudos
Messaggio 1 di 4
2.979Visualizzazioni
Soluzione
Accettato da autore argomento plasmageek

I think it depends on tab order; but I don't recommend using that.

I suggest something like this:

ev.png

"If you weren't supposed to push it, it wouldn't be a button."
Messaggio 2 di 4
2.966Visualizzazioni

Please attach the VI,  code images makes little to no sense.  What is the order of the cluster elements? What's the purpose of all this?

0 Kudos
Messaggio 3 di 4
2.962Visualizzazioni

Thanks! Works beautifully and such a simple solution.

0 Kudos
Messaggio 4 di 4
2.920Visualizzazioni