LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom UIR graphic controls in CVI

Hello,
I am posting this question because, although something about this topic can be found in the knowledgebase, I was not able to find a specific answer.
My question: is it possible to add/create custom graphic controls (and, by the way, does it exist a library of them) to those present in the "Create" menu item of the UIR menu ? I am not speaking about customizing an existing control, which can be easily done with the "Custon controls" menu item, but rather adding a really new control (say, a new type of button or binary switch or anything else with a custom graphical representation).
Thanks for your help,
Marco Sartore
0 Kudos
Message 1 of 2
(3,203 Views)
No, you can't add new graphical controls to the CVI menu. You can use our canvas control to programmatically create custom graphic controls and an instrument driver to program them. We do this with several custom control examples such as the tab panel control (toolslib\custctrl\easytab.fp) and the Open GL 3D graph (toolslib\custctrl\cviogl.fp). We give you the source code for these controls so you can see how it is done.

You could also add ActiveX controls that you have developed in Visual Basic or elsewhere to CVI. You could add these to the Custom controls section as preconfigured ActiveX controls.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(3,203 Views)