Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Using many subVI save memory?

If I put the same subVI in many location in a program,  does this method save memory?

 

Thank you

0 Kudos
Message 1 of 2
(2,928 Views)

Gridsada,

 

This depends on which memory you are talking about and many factors.  Using subVIs will save disk space for sure as well as make your program much easier to read.  Depending on how the subVI is used and what it does is what plays into the saving memory.  For the most part I would say that it probably doesn't save all that much memory in the end, but it is still very much worth doing.

Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,900 Views)