キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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,761件の閲覧回数

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,749件の閲覧回数

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,739件の閲覧回数

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

 

George Zou
0 件の賞賛
メッセージ4/11
1,733件の閲覧回数
解決策
トピック作成者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,731件の閲覧回数

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,724件の閲覧回数

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

0 件の賞賛
メッセージ7/11
1,712件の閲覧回数
0 件の賞賛
メッセージ8/11
1,705件の閲覧回数

@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,623件の閲覧回数

@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,612件の閲覧回数