LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic hierarchy checking

Hello there,

I would like to check dynamically all the sub vis of my main project (first level to the deepest one called sub vi's). The checking process should run in a first sequence step of the main.(Don't want to open the hierarchy window and check one by one that subvis are the correct ones).
The hierarchy checking should includes vis names and absolutes paths.
Any ideas?

Olivier B.
0 Kudos
Message 1 of 2
(2,662 Views)
Hi,

I usually use 'All Vi's In Memory" to do this (Application property). It
returns an array with VI references, that can be used in a for loop to get
the VI names and path's. It's much easier then a hierarchy.

Getting a real hierarchy is (a bit) more difficult. Getting dynamically
opened VI's doesn't make real sense in a hierarchy, and it is also very
difficult (impossible?) to get the caller(s) of a dynamic VI. It's also a
lot of work to visualise the hierarchy (e.g. in a tree control).

Regards,

Wiebe.



"Olivier B." wrote in message
news:506500000008000000EEF60000-1079395200000@exchange.ni.com...
> Hello there,
>
> I would like to check dynamically all the sub vis of my main project
> (first level to the deepest one called sub vi's). T
he checking process
> should run in a first sequence step of the main.(Don't want to open
> the hierarchy window and check one by one that subvis are the correct
> ones).
> The hierarchy checking should includes vis names and absolutes paths.
> Any ideas?
>
> Olivier B.
Message 2 of 2
(2,662 Views)