LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what are dynamic vi's?

What are dynamic vi's? The ones that are calling or the ones that are being called? If a vi contains open vi reference does it become dynamic? Or the one that is being called through this function is the one that is dynamic.
I am trying to build a stand-alone executable (from a multi-file project) and I need to know which files to put into Project Explorer → Build Specifications → Application (exe) → Properties → Source Files → Dynamic VIs ans Support Files.
Are all vit's dynamic even if it does not contain open vi reference?


Message Edited by rashid19672008 on 03-03-2008 08:48 PM
0 Kudos
Message 1 of 7
(3,313 Views)

These are all VI's associated with an application that are not explicitly part of the VI hierarchy of the top level VI.

An example of this would be a VI opened using VI Server.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 7
(3,302 Views)
I need a bit more clarification on this. Let me rephrase my earlier question (so I can get a specific answer which would be easier for me to understand).
If a vi A calls another vi B, form whitin itself, which one would be called dynamic, A or B? Which one should be included in the dynamic vi's section of the build executable section in the project explorer?
Thanks for your patience with me.
Have a nice day.
0 Kudos
Message 3 of 7
(3,257 Views)


rashid19672008 wrote:
If a vi A calls another vi B, form whitin itself, which one would be called dynamic, A or B?

I think Ben has answered you already. Smiley Wink
 
"An example of this would be a VI opened using VI Server."
 
So, in all probability, B is dynamic, unless & until it is not placed as a SubVI inside A.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 7
(3,250 Views)

Hi rashid,

as Ben said, if you open VI A and then open the VI hierarchy and you can see VI A and B then no of them is called dynamically. You only need to insert a vi into the dynamic vi´s section if you use the "Open VI Reference".

Mike

0 Kudos
Message 5 of 7
(3,247 Views)
Thanks parthabe, for the reply.
That clears things up for me.
Now to make an executable file from a project (which contains dynamic calls), I need to find vi's which are being called dynamically from within other vi's and include them in the dynamic vi's and support files section of the executable's properties dialog box in the project explorer.

Thanks a lot guys! (I'll be here to bug you with more stupid questions, as they arise).
Thanks for your time and patience.













)
0 Kudos
Message 6 of 7
(3,240 Views)
Thanks a lot MikeS81, for your reply. That was very helpful.
0 Kudos
Message 7 of 7
(3,235 Views)