From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-27-2008 04:19 AM - edited 02-27-2008 04:25 AM
02-27-2008 04:48 AM - edited 02-27-2008 04:50 AM
02-27-2008 04:55 AM
This is not a property of a VI, but rather a way of using it. You can call any VI either way (or both ways), so whether a VI is called dynamically depends on your code.
One way of finding whether a VI does not have static calls is to open all the VIs in the hierarchy at the same time and then go over each of them in a loop, open a reference to it and check its "Callers" property. If the array is empty, it means that this VI is not called by any other VI currently in memory and might be called dynamically. It might also mean that it is an old VI and is not used any more.
Another option is to create a copy of the hierarchy using File>>Save With Options. LabVIEW will only copy the VIs which are called statically and you can then compare the hierarchies for files which are only found in the original.
02-27-2008 05:09 AM
02-27-2008 06:50 AM
02-27-2008 06:54 AM
02-27-2008 07:04 AM
Hi rashid,
i guess this is the only way to load a vi dynamically. I know no other way to do it.
Mike
02-27-2008 07:07 AM
02-27-2008 07:10 AM
02-27-2008 07:20 AM