A_nd_y Posted September 22, 2016 Report Share Posted September 22, 2016 Hi! Does anybody know how i can set the event in the register event callback node programmatically? Andy Quote Link to comment
hooovahh Posted September 22, 2016 Report Share Posted September 22, 2016 Through scripting? Looking at the available classes I think your only option is going to be to save a VI somewhere that has the register event callbacks configured the way you want, then programatically copy and paste them in. The reason I suggest this is because the Register Event Callback node appears as to be in the GrowableFunction class, and that has no methods (private or public) that can set the method of it. So the only solution I can think of is to make a VI that you'll use as a template, and it can have all the nodes configured the way you want and just sitting on the BD. 1 Quote Link to comment
A_nd_y Posted September 27, 2016 Author Report Share Posted September 27, 2016 That's what I thought Templates are no alternative for us. We have nearly 100 .NET classes with similar events that I would like linked via scripting. So i must code it manually What a fun. Thanks for your response 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.