mike5 Posted July 5, 2011 Report Share Posted July 5, 2011 Hi all, I'm working on some VI Scripting stuff for manipulating classes in my projects, but right at the start I'm having problems: how the heck do I get a refnum to a class, so that I can inspect it using properties and such? I tried with Open VI Reference, but I get Error 1059: Unexpected file type. After that I'd need to check all its members, add some new ones (maybe from a template), all such "basic" stuff I tried searching the net, checked the VI scripting examples, but I just cannot find anything. if anyone could help, I'd be eternally grateful. Thanks and br, Mike Oh yeah, and I'd need to get this from an existing class in file, not create a new one or something dragged on a Block Diagram. Mike Quote Link to comment
Francois Normandin Posted July 5, 2011 Report Share Posted July 5, 2011 Hi Mike, there are methods in the Application Invoke Node, named LVClass.Open & LVClass.Create. Take a look at this palette, it might be useful for you. 1 Quote Link to comment
mike5 Posted July 5, 2011 Author Report Share Posted July 5, 2011 Hi Mike, there are methods in the Application Invoke Node, named LVClass.Open & LVClass.Create. Take a look at this palette, it might be useful for you. Excellent! Thanks! Br, Miha Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.