LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

colorbox control in an array of clusters

hi, im working on labview 6. i have an array of clusters. the cluster has eight elements. one of them is a colorbox control. I want this colorbox control to have only 4 colors i.e, the user has a choice of only 4 colors if he clicks on the colorbox control. can ihave such a control?
0 Kudos
Message 1 of 7
(3,867 Views)
Try to create a ring with 4 color images inside and attach cases of ring selection with colorboxes which has preselected colors. Now you can apply this values to element of your array.
LabVIEW 7.1
0 Kudos
Message 2 of 7
(3,855 Views)

Hi P

Leonid is absolutely right. He pipped me to the post while I was away preparing an example

Something like this

Hope that helps

David

Message Edited by David Crawford on 11-18-2005 03:47 AM

Message 3 of 7
(3,851 Views)
thanks for the quick reply. i think this should work. only problem, i dont knw how to use picture rings and how to add images to picture rings. im working on linux platform. could u tell me how to make a colored image and how to import it to a picture ring? thanks again!
0 Kudos
Message 4 of 7
(3,837 Views)

Hi Pavitra,

Use labview Help to guide you.

Or else,

A new picture ring control or text and picture  ring control has one item with an empty picture display. You must copy a picture to the clipboard before you can import the picture  into a ring control. LabVIEW can import all graphic files your graphics software supports.

Complete the following steps to import pics  into ring controls.

  1. Copy a picture to the clipboard.
  2. Right-click the ring control or text and picture ring control and select Import picture from the shortcut menu.
  3. Copy another Pictureto the clipboard.
  4. Right-click the ring control or text and picture ring control and select Import picture Before or Import picture After from the shortcut menu.

Use the Operating tool to click the picture box to view all imported pictures

regards

Dev

 

 

Message 5 of 7
(3,824 Views)
thanks! ive managed to do it!
0 Kudos
Message 6 of 7
(3,818 Views)
hi david, thanks for ur help, i got what i wanted!!
0 Kudos
Message 7 of 7
(3,817 Views)