取消
显示结果 
搜索替代 
您的意思是: 

Custom Bool Control with Decorations

已解决!
转到解答

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 项奖励
1 条消息(共 11 条)
1,763 次查看

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

It's from LabVIEW Datalogging and Supervisory Control Module.

 

George Zou
0 项奖励
2 条消息(共 11 条)
1,751 次查看

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 项奖励
3 条消息(共 11 条)
1,741 次查看

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

 

George Zou
0 项奖励
4 条消息(共 11 条)
1,735 次查看
解答
已被主题作者 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.

5 条消息(共 11 条)
1,733 次查看

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.)

6 条消息(共 11 条)
1,726 次查看

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

0 项奖励
7 条消息(共 11 条)
1,714 次查看
0 项奖励
8 条消息(共 11 条)
1,707 次查看

@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 项奖励
9 条消息(共 11 条)
1,625 次查看

@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 项奖励
10 条消息(共 11 条)
1,614 次查看