LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CHANGE OF STATE

You cannot change individual properties of array elements, so you need to do something else. I would recommend to use a table indicator with a single column and color the cells accordingly.

Message Edited by altenbach on 04-20-2010 08:22 AM
0 Kudos
Message 11 of 19
(1,203 Views)

Dear Sir,

 

I tried making the colour change for array number 1 , 2 ,3 and so on till 12 and was working well but the only the first loop array number fails to response. why does it works this way?

 

Is there any easy workround for this?I just need all array inputs to response to the colour change, i am almost there but left a small error.Anyone can help?

 

Thank you!

 

 

0 Kudos
Message 12 of 19
(1,194 Views)

I cannot test your snipped, because the property nodes don't correctly survive. Thus I cannot understand what you mean.

 

Please attach the actual VI instead.

 

Here's an example on how you could create a color indicator for each channel using an array of colorboxes. No property nodes needed. 

 

 

 

 

Message Edited by altenbach on 04-20-2010 08:43 AM
Download All
Message 13 of 19
(1,189 Views)

Dear Sir,

 

Thanks for you help. This is the function that i want. Can i ask you how do you create the colorbox array? I only know how to create a single colour box.

 

Can the "state" be individual boxes instead of array? This is because i have a few single boxes located at different part of the GUI and not join together.

 

Thanks for your advise!

 

 

0 Kudos
Message 14 of 19
(1,174 Views)

Joven wrote:

Can i ask you how do you create the colorbox array? I only know how to create a single colour box.


 

 Simply drop an empty array container, then drop a colorbox into it. Resize as needed.
 

Joven wrote: 

Can the "state" be individual boxes instead of array? This is because i have a few single boxes located at different part of the GUI and not join together.


 

 Yes, you can pepper your panel with colorboxes any way you desire. Simply use index array on the current color array, resize it to 12 elements, and hook up the indicators. for example as follows:
 
Message Edited by altenbach on 04-20-2010 09:33 AM
0 Kudos
Message 15 of 19
(1,171 Views)

Dear Sir,

 

How do i create the colour indicator U32 box? Where is it on the palette?Is I32 new also create the same way?

 

Please advise!

0 Kudos
Message 16 of 19
(1,157 Views)

There is one in the numeric palette, two in the "classic numeric" palette. I use the classic frameless.

 

The color box diagram constant can be found picture functions palette.

 

You can create an array from (almost) anything. Drop whatever you want into an empty array container and you got yourself an array.

 

For I32New, I dropped a simple system numeric and changed the representation to I32.

 

An array is simply a collection of otherwise identical elements that can only differ in value. Each element is identified by it's array index. You can have an array of clusters, of knobs, of whatever...

0 Kudos
Message 17 of 19
(1,153 Views)
Sorry to butt into here, but some of the questions you are asking are quite basic. Have you gone through the LabVIEW tutorials? To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
0 Kudos
Message 18 of 19
(1,143 Views)

 

Dear Sir,

 

I have gone through the basic introduction to Labview quite some time ago while most of the time i am doing data acquistion applications only. I will scan through the free links that you pointed out and learn form there also.

 

Thank you for providing me the links to learn more about labview as i am quite new to labview. Is there any good and popular (easy to understand) labview book for beginner?

 

 

0 Kudos
Message 19 of 19
(1,129 Views)