Can I add your slider to the community shared list?
Of course. Have you thought about packaging up QControls in a package? I created one just as a test and it worked out fine. On the front panel you can drop any Facade you've created, but I've also got a template with a VI that has some block diagram objects as a template which drop nicely. Then on the block diagram functions palette you can have the New, Close, and any public functions or property nodes which are VIs who's contents are placed there, and any demos.
The main toolkit does place items in the palettes for the QControls that ship with it but I have not made packages for other QControls that I have made. I’m sure it would be helpful if I did though. I just haven’t had the time.
Alright I have another one for you. Lets say I want a QControl that works with a Listbox, a Multicolumn Listbox, a Table, or a Tree. How would you handle that? I realize you could inherit from the Control class, and then just error if the input wasn't one of those but is there a better way? I was thinking about making a QControl for each of those control types, and then use a polymorphic VI, which would select the Create, and Close functions. It seems like a lot of work but I like that method better. Any other suggestions on how to handle that?
I copied your questions and answered them in the QControl Enthusiasts page, here.
I'm in the process of making the repo public and then it will have an issue tracker. However, in the interim, some users have reported bugs to me on the QControl Enthusiasts page here:
Check to see if its up there already. I am in the process of fixing a few things.
Thank you for your interest!
First thank you for creating this toolkit. I am getting familiar with it now and working to create some reusable custom controls for projects that I am working on.
I sent an email to the QSI support but thought I would post it here as well.
I am utilizing Actor Framework and I am leaving the event handling to the custom control event handler.
With that being said, if I want an event to fire a message to the actor, is it as simple as adding the actor Q object to the class data of the Q custom control? I added it on the New vi, and I am relying on the Stop Core of the actor to call the close custom control VI.
Have I missed anything, or is there a better way to do it? I see in the user guide it mentions adding an event loop to the main VI that the control resides on so that the startup and shutdown of the control can be implemented. This shouldnt be necessary if using actors, you should be able to rely on the framework and strategically place the new and close VIs?
Steven R. Howell
I'm glad the QControl Toolkit has been useful for you. I saw your email. I attempted to answer your questions in the post here on the QControl Enthusiasts page so that others can see it too.
Hopefully this helps!