ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
已解决! 转到解答。
AE's can work but can also put a restriction on how re-usable your code will be.
I think you are looking for a Singleton Design pattern.
Search this site, there used tobe links and examples.
Ben
I use a Data Value Reference in this situation. You just make a DVR that contains your shared class and then pass that DVR into all of your other objects at their initialization. Since everybody who needs to alter the data has a reference to the data, everybody can change it inside of their private methods via an In Place Element Structure.
You can install G# and use referrence based classes, which'd make it simple enough. 🙂
They basically work like Crossrulz suggest.
/Y