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 8
(101 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 8
(89 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 8
(79 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 8
(73 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 8
(71 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.)

0 Kudos
Message 6 of 8
(64 Views)

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

0 Kudos
Message 7 of 8
(52 Views)
0 Kudos
Message 8 of 8
(45 Views)