LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event, Accessing Variables

I  created a instance of the class in one event case of an event structure.

I would like to use the the same instance in another event case in same event structure.

 

How to access it? What is the easiest and reliable way of doing it? (through reference?) Please give me a good link....

 

 

 

Thank you,

 

 

 

Best Regards,

Paheerathan

 

0 Kudos
Message 1 of 2
(2,480 Views)

Hi Rathan,

 

Can you guarntee that the creat event will happen first? If so I recommend using a shift registar, If not you have to create it outside of the event structure. Below is a few links that should help:


LabVIEW Object-Oriented Programming: The Decisions Behind the Design

LVOOP Design Patterns

LabVIEW Object-Oriented Programming FAQ

 

Please let me know how your application works out

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 2 of 2
(2,449 Views)