04-25-2009 08:47 AM
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
04-25-2009 09:25 AM
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?
04-25-2009 09:50 AM
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 😕
04-25-2009 11:44 AM - edited 04-25-2009 11:48 AM
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!
04-25-2009 11:48 AM
I found the one on the frontpanel but I thought I had yo use the one from the block diagram
04-25-2009 11:54 AM
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. 😄