LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Object method VI memory

Hi,

 

    I have some questions about method VI of an object:

 

    1. When the object method VI is loaded and unloaded from memory? For regular subvi, you can configure it as load with caller, reload for each call and load and retain on first call. How about object method VI?

 

    2. If I have two objects of the same class on the diagram will two copies of the method be loaded or it depends on the reentrance of the VI property?

 

    Thanks for help!

 

    Tom

0 Kudos
Message 1 of 3
(2,230 Views)

Hello Tom,

 

I would encourage you to check out LabVIEW Object-Oriented Programming: The Decisions Behind the Design and LabVIEW Object-Oriented Programming FAQ to obtain more information on OOP methods.  I believe your questions can be answered herein.

 

Regards,

 

Lynn

 

 

National Instruments
Senior Systems Engineer
0 Kudos
Message 2 of 3
(2,208 Views)

@Sarci1 wrote:

Hello Tom,

 

I would encourage you to check out LabVIEW Object-Oriented Programming: The Decisions Behind the Design and LabVIEW Object-Oriented Programming FAQ to obtain more information on OOP methods.  I believe your questions can be answered herein.

 

Regards,

 

Lynn

 

 


Load with caller is covered in those?

 

I guess I have to read them again (for the tenth time).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 3
(2,203 Views)