LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Controls and Functions Palettes

Hello, 
I looked that page : Creating a Labview Palette 
 
Can I do these steps for Control palette but a little bit different?  I want to make as Labview control palettes .For example when I click numeric control, I want to see this control  both of front panel and block diagram.(at attachment you can see, what I try to explain you : palette.jpg) 
 
But, at above link I can see my functions just on block diagram. I want to create subpalette on  control palette. And when I click controls I want to see that control's icon on front panel and that control's .vi on block diagram. Is it possible?
 
I have a master thesis. I'm trying to do that palette on front panel. I want to give functionality as labview's control palette.
 
0 Kudos
Message 1 of 4
(2,741 Views)

Hi!

 

If you are creating functions, you are only going to be able to see them in the block diagram, because the front panel is the interface where the user interacts with the program. On the other hand, controls will be avalable on both windows, but are only accesible thtough the control palette in the front panel.

 

I hope this helps! Please let me know if there is anything else I can clarify.

 

Best Regards

 

Carlos O

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(2,694 Views)

Thanks for your help 🙂

0 Kudos
Message 3 of 4
(2,678 Views)

You can cheat. You can create a wrapper VI that contains your custom control. Save the VI, and then add the VI to your functions palette, and select the "Place VI Contents" option. When you select the VI to place it on the block diagram, it will create the control. If you want to create the constant only, then create the VI so that it has the typedef constant on its block diagram.

0 Kudos
Message 4 of 4
(2,660 Views)