LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping plot colors with the right data

Solved!
Go to solution

 I apologize, but your example on this post is clearer.  I'll try this method. 

0 Kudos
Message 11 of 20
(998 Views)

I understand how this works now, but can't find a 'color box' to insert into the block diagram.  Pity the novice.

0 Kudos
Message 12 of 20
(992 Views)

I don't suppose you've considered upgrading to a newer version of LabVIEW?

 

You can search the palettes to find a function by name.  I believe the color box constant is under Programming -> Graphics and Sound -> Picture Functions.

0 Kudos
Message 13 of 20
(990 Views)

Also:

 

Not sure if this works in 7.1

1. select color box on the front panel but drop it on the block diagram

or

2. quick drop (ctrl + space) in block diagram and type  Color Box Constant


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 14 of 20
(988 Views)

No luck.  I found a box I could drop in the block diagram, but there is no control wire out.

0 Kudos
Message 15 of 20
(980 Views)
Solution
Accepted by topic author rwbrook@integratedps.com

Basically its a number (three bytes which represent a colour in RGB), just wire a numeric constant.

For example green is

0x65FF59

plot.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 16 of 20
(975 Views)

rwbrook@integratedps.com wrote:

No luck.  I found a box I could drop in the block diagram, but there is no control wire out.


What does that sentence mean? Can you attach a picture?

0 Kudos
Message 17 of 20
(973 Views)

Excellent!  That I can do!  As far as upgrading, I was sent 8.0 while still under warranty and the vi that I bought the whole package to do would no longer work.  Hence, I backed off 8.0, went back to 7.1 and here I am.  There are usually ways to do everything I need to do.  Thank you for the explanation!

0 Kudos
Message 18 of 20
(970 Views)

I found the RGB to color vi.  Should work fine.  Thanks to all.

0 Kudos
Message 19 of 20
(967 Views)

Success!  Thanks to all.

Ron

0 Kudos
Message 20 of 20
(957 Views)