LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Get All Descendents" Method with multiple "Type" inputs

Hi,

 

Is there any way, so that I can specify multiple "Type" to Get All Descendents Method invoke node.

For example if I need to get all descendents of "Folder" and "VI" type.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 1 of 5
(3,041 Views)

Call it twice. If you're on LV 2012, you can even use a for loop with a concatenating tunnel to build the 1D array without any additional code.


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

You know- I asked myself this question just yesterday and the help file didn't (help)

 

Try "(VI,Folder)" and post back please


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 5
(3,025 Views)

Try "(VI,Folder)" and post back please


No help..!!

 

@ tst


Call it twice.


That option I had figured out, but I need the references of All Descendents (Folders and VIs) in the order of they appear in the project.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 5
(3,005 Views)

My guess would be that you will have to get all the descendents and then go over them one by one and filter out the ones you want, but I'm assuming you already figured that option out and you're looking for a faster option. I don't know the project methods well enough to be able to give an answer, but I'm assuming there isn't a shortcut.

 

 


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