LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Bool Control with Decorations

Solved!
Go to solution

Alright so I've been using these for quite some time but only recently realized I don't actually know how they were made.  I can't seem to track them down to a specific file, as they're usually just copy pasted across.  It's a Boolean Control that seems to be made up completely of decorations, but these decorations act as a single object.  When the state changes, the entire decoration object changes it's color.  It's not an image either, as you can right click->properties to change the color of true and false and it changes what the decorations object uses.  I've been able to somewhat replicate it by replacing the light part of a boolean control with a decoration, but I can't seem to make multiple decorations be counted as a single copy to import onto the control.  Any ideas what they did?

 

True:

EthanHenry_3-1731967473496.png

 

False

EthanHenry_2-1731967463952.png

 

 

0 Kudos
Message 1 of 11
(391 Views)

This decoration is one piece, not made up with multiple parts.

It's from LabVIEW Datalogging and Supervisory Control Module.

 

George Zou
0 Kudos
Message 2 of 11
(379 Views)

Ok, then my question changes to how do you make a custom decoration?  Obviously this decoration is not in base LabVIEW (unless I'm absolutely blind) so it had to come from somewhere....

0 Kudos
Message 3 of 11
(369 Views)

If you want to add multiple decorations to a control, you have to do it piece by piece.

 

George Zou
0 Kudos
Message 4 of 11
(363 Views)
Solution
Accepted by EthanHenry

@EthanHenry wrote:

Ok, then my question changes to how do you make a custom decoration?  Obviously this decoration is not in base LabVIEW (unless I'm absolutely blind) so it had to come from somewhere....


The decorations in the attachment are built-in to LabVIEW, but not on the palette.

Message 5 of 11
(361 Views)

There's also this boolean which is built-in but not on the palette.

(Note that you can right-click on it and add segments.)

Message 6 of 11
(354 Views)

Wow well I stand corrected.... Good old LabVIEW... Thanks!

0 Kudos
Message 7 of 11
(342 Views)
0 Kudos
Message 8 of 11
(335 Views)

@zou wrote:

You can find 4000+ decors at:

https://lavag.org/topic/19186-all-labview-decoration-objects-image-ids-0-to-4096/

 

 


Unfortunately, that VI is no longer there.

0 Kudos
Message 9 of 11
(253 Views)

@paul_a_cardinale wrote:

@zou wrote:

You can find 4000+ decors at:

https://lavag.org/topic/19186-all-labview-decoration-objects-image-ids-0-to-4096/

 

 


Unfortunately, that VI is no longer there.


It's there, but you need to be logged in to download.


___________________
Try to take over the world!
0 Kudos
Message 10 of 11
(242 Views)