LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically start class member vi (non blocking)

Hi folks,

 

I've got a problem.

 

I thought about building a framework, where i can dynamically start modules based on one class.

 

The inherited classes representing the modules shold have a class member vi, that (containing a while loop) can be started dynamically.

All selectes modules should be started from a loop starting one module after the other. Thus the dynamically start needs to be non blocking.

 

I tried several ways, but allways reached the point, where the OOP approach limits the dynamically execution.

 

Has anyone done something similar and can tell me how/if this is possible?

 

Thanks in advance.

 

Best regards,

 

Balze

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

Have a look at this link:

http://lavag.org/topic/15035-lapdog-messaging-and-actor-framework/

Or this:

http://lavag.org/topic/14600-self-addressed-stamped-envelopes/

 

On lavag.org there are a lot of discussion on that type of framework. There are a whole section for OOP, try to see if anything help you. 

Look for Actor Framework or LapDog.

Some talk alot on messages between loops, but that is to control free runing loops/vi's.

 

Hope this helps.

 

Message 2 of 3
(2,146 Views)

dkfire,

 

thank you for these links, very interesting !!

 

Best regards,

 

Balze

0 Kudos
Message 3 of 3
(2,137 Views)