LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reference to Class Member Functions

Have you tried setting the parallel option for the for loop and use dynamic dispatch instead of VI server to run the VIs?

0 Kudos
Message 11 of 13
(672 Views)

If I'm understanding the situation correctly, I think a better way to do it would be to create a "wrapper VI" - a static dispatch VI in the base class that calls the dynamic dispatch VI you are wanting to call. Then run the static dispatch VI asynchronously as normal - no need to do anything special to run it.

0 Kudos
Message 12 of 13
(667 Views)

Do as Ben suggested (put "DoSomething" from the parent class inside the loop); then make each "DoSomething" a wrapper that uses "Start Asynchronous Call" to start the code that does the work).

"If you weren't supposed to push it, it wouldn't be a button."
Message 13 of 13
(664 Views)