LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a Color-coding Convention for ICONs in LabView?

Some times I am puzzled with 16Million color to code my subvi's ICONs. I wonder if there is a Color-coding convention that I could use to specify the right color for my subvi's. If someone has figured out a way to do that please let me know.
0 Kudos
Message 1 of 7
(4,075 Views)
Actually, the colors for icons are quite limited, the max. is 256 colors.

If you move around the color bars, watch the RGB indicator in the palette. It is quite quantized.

Typically, I stay with a few simple colors. To make sure they are exact, I do the 16 color icon (middle) first, then convert it to 256 colors.
0 Kudos
Message 2 of 7
(4,075 Views)
Yes, You are correct, but the palette does not reflect any change when switched to 256 and 16 color mode. You would not find it until you start browsing for the color. That may be a bug in LabView or a feature. Thanks for the reply.
0 Kudos
Message 3 of 7
(4,075 Views)
There is no "Color-coding convention" per-say.. However, you'll notice that Agilent (HP), R&S, NI (and others) use typically the same color schemes.

I followed their trend and select a color scheme by functionality. Use one color for RF, another for digital IO, etc. That way, they are easier to group and create libraries.

But as far as an established rule on colors, I am not aware of anything "formal".

Let the artist in you come out in your icons... ;o)

-JLV-
Message 4 of 7
(4,075 Views)
Somewhere along the line I ran across a standards document that did suggest different colors for different type of functions. I found this to suitable for very basic applications but in more complicated applications the color coding does not quite cut it. An example would be a system where you are integrating a half dozen type of devices. Using the same background color for all of the I/O icons will quickly render your hiarchy window rather useless!

The next issue with the color schem to represent functionality you run into is the higher level VI that do a little of this and a little of that. The standard then suggests using border colors to represent functionality. This becomes a problem in one of two ways. On large screens (like those typically used by LV developers) the adjacent colors of a border are percieved as a mixute of the two border colors. The fix to this would be to use wider borders. This inevitably lead to all of the high level VI all looking like they were dveloped by someone on LSD who was into the time tunnel effect!

I will generally encourage developers to take the time to put together a meaningful icon. LV will let you drop cut and pated BMP's into the icon editor. IF there is an logo or a picture of an instrument avaliable somewhere, I grab it and use it fot the icon. This approach makes it possilbe for other developers to take a quick look at teh hiarchy and be able to narrow things down quick to the sub-VI associated with that image.

I also encorage tehm to get used to composing their own icons. The icon editor may not be slickest tool in the world but the icons on the diagram end up being small enough that you do not need to be an artist to get the idea across. Durring my last project I wanted to use a scroll icon for all log related functions. I was curious if I could put one together fast. Start to finish to took less than three minutes. Three minutes of effort is well worth it when your are looking at a hiarchy with 500+ VI's!

Too illustrate let me relate an experience. My wife (a non-wireworker) looked at a icon I just dropped on my diagram that had a crude cartoon face with the word "NEW" above it. She said "New User?". I flet I had accomplished my task.

Encouraging art in LV,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(4,075 Views)
Hi Ben,

You're right... wow... that "stirred-up" some old memories. That was a while back. I vaguely remember reading it (with little attention - oops) I didn't realize that people actually adopted it.

I simply grouped the icon color color code by major functionality. As for specific functions, I did like you: the most meaningful tiny picture that would make sense. I haven't mastered that, yet. I look at icons and wonder what I was thinking at the time.. ;o)

The "art" of LabView coding... nice book title.

-JLV-
0 Kudos
Message 6 of 7
(4,075 Views)
Hi,

Isn't there an OpenG tool that support the making of icons? I saw a tool
once that 'merged' a master icon, with a custom icon, so that every vi in a
library could have the same master, with different foreground...

Regards,

Wiebe.

"JoeLabView" wrote in message
news:506500000005000000DB4E0100-1073519706000@exchange.ni.com...
> Hi Ben,
>
> You're right... wow... that "stirred-up" some old memories. That was
> a while back. I vaguely remember reading it (with little attention -
> oops) I didn't realize that people actually adopted it.
>
> I simply grouped the icon color color code by major functionality. As
> for specific functions, I did like you: the most meaningful tiny
> picture that would make sense. I haven't
mastered that, yet. I look
> at icons and wonder what I was thinking at the time.. ;o)
>
> The "art" of LabView coding... nice book title.
>
> -JLV-
0 Kudos
Message 7 of 7
(4,075 Views)