LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Sources: List controls in alphabetical order

Hello,

My project now has a few hundred controls and it's very difficult to find the controls I want from the Event Sources list from the Edit Events window called from right cliking on the Event Structure -> Add Event Case... How can I sort the controls by alphabetical order rather than the time the control was created?

Thanks in advance.
0 Kudos
Message 1 of 13
(3,835 Views)
Controls are ordered in event sources according to Tabbing and cluster ordering so you can change the tabbing order (Tabbing order automatically gets set in the order you create controls). I also suggest grouping similar controls into clusters if possible, you will be able to contract and expand the clusters when browsing through the controls in event sources and it will be easier to find things.
_______________________________________
Systems Test Engineer
Certified LabVIEW Architect (CLA)
0 Kudos
Message 2 of 13
(3,834 Views)
The tabs and clusters don't matter unfortunately because if you create a new control, it'll be placed at the end of the list anyway. I wish I could order it alphabetically.
0 Kudos
Message 3 of 13
(3,825 Views)
No I think you misunderstood me, I wasn't talking about tab controls but tabbing order (the order controls are navigated to when you press tab on the keyboard). Go to the menu and choose "Edit" -> "Set Tabbing Order...". Change the order by clicking the controls in the order you want them, this will be the order in the edit event screen also.

Message Edited by Karissa on 11-27-2007 01:15 AM
_______________________________________
Systems Test Engineer
Certified LabVIEW Architect (CLA)
0 Kudos
Message 4 of 13
(3,821 Views)

AFAIK, you cannot sort the controls/indicators based on alphabetical [or whatever] order. That belongs to the Case Structure alone, that too only for Numeric cases, I think...

All you can do is just right click on that event case & tell Find Control, thats it; it ll highlight the particular control(s) for that ES.

What purpose you want to achieve by sorting the controls in alphabetical order? Can you explain a bit more?

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 13
(3,793 Views)

Which version of LabVIEW do you use?

I know that in 8.5 the list order when selecting a local was changed to alphabetical, so it's possible that this also applies now to the event structure list.

P.S. That dialog could stand a lot of improvment.


___________________
Try to take over the world!
Message 6 of 13
(3,790 Views)

tst,

Also the property & invoke nodes seem to ve been changed to the alphabetical order...!Smiley Happy

Or, are they already like that & I missed them all these days?! Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 13
(3,782 Views)


parthabe wrote:

Or, are they already like that & I missed them all these days?! Smiley Wink


No, you're right, they also changed in 8.x (I think 8.5). I didn't really get a chance to play with 8.5, but I personally like the older order better, but maybe it just takes getting used to.

___________________
Try to take over the world!
0 Kudos
Message 8 of 13
(3,775 Views)

Cool! Smiley Happy

References ve also been changed in 8.5. Moreover the choice of references among several variables are also made like that of choosing a local by simple Lt-click, which was not in 7.1 [only Rt-click -->> Link to was the option like that of Property & Invoke nodes].

If you ve time, check them out, tst. Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 9 of 13
(3,769 Views)

I know that LabVIEW purists will have a cow, and I see that this is an old discussion, but this is what I did.

 

1. Find the event window the hard way.

1. Find the control terminal corresponding to that event.

2. Replace it with a local variable.

3. Drag the control terminal into the event window.You don't need to connect it to anything. Just leave it there.

 

Then the next time I need to find that event, I just right-click on the control and select "find/terminal". It saves a lot of time. I suppose it would be nice if LabVIEW had a "find events" option for controls.

Message 10 of 13
(3,214 Views)