LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the property node with a colorbox ?

Somebody has a example how you can use the property node with a colorbox? I've tried sereval things but the thing still didn't work

 

And my second question is :

can you put color box constant types in a 1D array? 

 

tnx,

 

K

0 Kudos
Message 1 of 6
(2,938 Views)

What have you tried that "doesn't work"? What are you trying to do with the colorbox?

 

Yes, you can place a color box constant in an array. Have you tried?

0 Kudos
Message 2 of 6
(2,932 Views)

yeah about the colorbox, if I create 1 it doesn't appear on my front panel . I now how to put it in a 1D array but on the front panel side.

 

For the property node thing, I really have no idea ... the help doesn't seem to help 😕

0 Kudos
Message 3 of 6
(2,923 Views)

Maybe you only found the colobox diagram constant yet?

 

(Diagram constant don't show up on the front panel and don't have property nodes, of course. You could also just right-click the diagram constant on the diagram and select "change to control/indicator" ).

 

The colorbox control is in the numeric palette (there are also two more in the classic numeric palette). Place an aray container on the front panel and drop in a colorbox control. Now you have an array.

 

You can create a property node for the colorbox like for any other control. What property are you interested in? Remember, the "color" is the value, so to change the color you just wire a new value. 😉 No property node needed!

Message Edited by altenbach on 04-25-2009 09:48 AM
Message 4 of 6
(2,907 Views)

I found the one on the frontpanel but I thought I had yo use the one from the block diagram

0 Kudos
Message 5 of 6
(2,901 Views)

Apple_Green wrote:

I found the one on the frontpanel but I thought I had yo use the one from the block diagram


Why? Who's forcing you to not use some parts of LabVIEW? Trust me, you are allowed to use anything that's in any of the palettes. No penalties. 😄

 

  • A control or indicator has the control/indicator on the front panel and a terminal on the diagram.
  • A diagram constant is only on the diagram and the user cannot interact with it during the execution of the program. It can only be changed during editing.
Message 6 of 6
(2,896 Views)