erikw Posted November 21, 2012 Report Share Posted November 21, 2012 Is there a way to set the default palette for a LV class using VI scripting? I'm trying to make a tool that automatically creates palettes for classes, to make it possible to reach all member functions by right-clicking on a wire. I got a pretty good idea on how to create the palettes, except I haven't found any way of setting the class default palettes. Any ideas on this? Or does anyone have any smart tips on class default palettes? Best regards Erik Quote Link to comment
Yair Posted November 22, 2012 Report Share Posted November 22, 2012 There's a utility which does this here, but it requires installing the JKI RCF for accessing the right click functionality. You can either install it or try adapting the tool to something you can use, like a QD shortcut. Another option is to set your accessors to be available through property nodes and then you can easily select them just like any other property. This doesn't apply to all the VIs in the class, but if many of them do have a single parameter, it can save you enough time to be worth it. I think it's worth it anyway because it makes the code much cleaner and easier to read. Quote Link to comment
erikw Posted November 22, 2012 Author Report Share Posted November 22, 2012 Ah, the Class tool plugin was almost exactly what I was looking for. Thanks! 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.