LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cloned front panel & events

I'm working on a labview active-object architecture.. and Im struggling to find a elegant method of instantiating multiple active objects (VIs) complete with front panels and event structures that can handle FP events (interacting with FP controls of the clone).

 

I know that reentrant VI's only clone the dataspace of a VI (so from what I gathered not good for FP events).. VITs create full copies and work as expected in the development environment, but I get strange "VI already in memory" errors when I do a quick test build to see if it works in an exe.

 

XControls can be used to do the FP event handling in the AO, but they have the very annoying habit of locking any classes used within them..

 

Has anyone else got some wisdom and experience to share?

 

oh.. using LabVIEW 2010 sp1

0 Kudos
Message 1 of 4
(2,397 Views)

I thought re-entrant vis can handle the FP events prety well..!!

0 Kudos
Message 2 of 4
(2,393 Views)

@WireJunky2 wrote:

I know that reentrant VI's only clone the dataspace of a VI (so from what I gathered not good for FP events)



That was only true in the past (~ <8.0). Today, as already suggested, reentrant clones have their own FP and you should use them.


___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(2,390 Views)

I'll have to go and test reentrant VIs again.. maybe I missed something. I'll be very happy if it does work as advertised Smiley Happy

0 Kudos
Message 4 of 4
(2,387 Views)