08-05-2005 08:57 AM
08-05-2005 09:51 AM
The difference between calling a VI dynamically and not dynamically is than in a dynamic call the VI (and it's subVIs) only gets loaded when you call them and in a regular call they are loaded when you place them on the diagram. If your VI takes time to load (it's big, it has a lot of subVIs, it has a VI that's not in it's default location and needs to be searched for...), that's probably what's takes the time.
For a non-fixed sequence you can use a state machine. Search this site and the example finder for some example. There is also a template when you click File>>New. Alternatively, you can place your VIs in a non executing section of code of the top VI, which will cause them to be loaded, but not run.
08-05-2005 11:44 AM
08-05-2005 09:43 PM
08-06-2005 04:57 PM
I'm not sure that will help you.
DLLs are basically supposed to be self-contained. I'm guessing (just guessing) that if you are using a DLL containing VIs, it will be executed by the LV run-time engine indepedently of the LabVIEW application. Hence - loading the VIs in LabVIEW will make no diffrence on the RTE.
I can't say I really understand why to save the VIs in a DLL. If you want them to be together, why not use the equivalent (in that sense) LLB?