11-16-2005 02:00 PM
11-17-2005 08:50 AM
11-17-2005 03:14 PM
Hi Dale,
If you want to change which VIs or controls generate events while the application is running, you can dynamically register events. Here is a link to a Developer Zone document on Dynamically Registering Events. With dynamic registration, you can handle events in a VI different from the one where they are generated. I'm also attaching some example code I found that demonstrates a very simple way to do this. Take a look at the document and code and post if you have further questions!
Good luck!
Megan B.
National Instruments
11-17-2005 03:20 PM
11-17-2005 03:21 PM
11-18-2005 12:05 PM
11-22-2005 05:10 PM
11-23-2005 11:36 AM
Hi Dale,
So I took another look at what you are trying to do, and I'm pretty sure that you can get the functionality you want by generating and registering User Events. These events can be passed into subVIs where they can be triggered. I've attached two VIs which demonstrate how to do this.
I hope this helps!!
Megan B.
National Instruments
11-23-2005 01:59 PM
11-28-2005 02:09 PM
Hi Dale,
I've read through your description of your application but I'm afraid the overall structure of your code still isn't clear to me. I would guess that you have an architecture that would work very well in a text-based language but isn't very suited to LabVIEW. Perhaps you could post a high-level description of how you want your finished application to work and look like. I bet we can come up with a VI architecture that will be much simpler to work with than what you currently are using.
Best Regards,
Megan B.
National Instruments.