LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

blinking array

Hallo,
How can I programly one indicator (array) who is only blinking in blue color when i push the Button.
And when i push another Button so the color must change to red.
It is for temperature monitoring (low and high limit).
please take a look on my Vi, so you can follow me.
 
Thanks
Gregor
0 Kudos
Message 1 of 21
(4,269 Views)
Hi Gregor,

does it has to be blinking? The blinking colors are given in the LabView options (->colors) as global setting...

I would suggest this:
Make your array (background color) transparent. Put an array of colorboxes behind your array of numbers. Now you can set for each number a corresponding colorbox.
With some programming overhead you can even simulate the blinking on your own 🙂

Message Edited by GerdW on 12-13-2006 10:10 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 21
(4,268 Views)
Instead of using a transparent array, you could also use a cluster. Via property node all controls in the cluster are accessable, so you could make each control blink independently.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 3 of 21
(4,256 Views)
Hi Thomas,

nice idea too.

Arrays just have the advantage of being resizeable at runtime...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 21
(4,246 Views)

That's right, but the visible portion of the array is not settable at runtime too.

I assume Gregor wants to display several live values. If an additional value should be meseaured, it should be visible as well, which means the array must also be modified (otherwise it wouldn't make sense).

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 21
(4,243 Views)

Hallo thanks for your answer,

but i can not follow you exactly, what you mean with the cluster.

when you take a look on the Vi in my first post,

i would like to change only the color of the blinking frame in my array.

sorry, my english is not very well

Gregor

0 Kudos
Message 6 of 21
(4,240 Views)
Hi Thomas,

you can change the number of displayed array values at runtime using property 'NumOfRows' or 'NumOf Col'.
And you can also adapt window size to changed array size 🙂
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 21
(4,241 Views)

Ah - one always learns something. I did not know these properties.

But I still think it's a little bit "dangerous", because if you make the number of displayed measurements fully configurable (what is not a bad idea) there is the possibility to expand the array out of the screen or over other controls/indicators.

I like things to be configurable at runtime, but there still are things I prefer fixed. 😉

Gregor I'll post a small example immediately.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 8 of 21
(4,237 Views)

Excuse me, i am beginner in LV and my englisch is realy not very well so i woud like to explain my question in german.

Hallo Jungs darf ich es kurz in deutsch erläutern?

Ich habe ein einziges array in dem ein Temperaturwert dargestellt wird.

Fallt der Wert aus einer Toleranz so soll der Rahmen wie in meinem Vi,

blau für zu niedrig und rot für zu hoch blinken.

Ausgelöst wird es über die jeweiligen Buttons

 

Gregor

0 Kudos
Message 9 of 21
(4,234 Views)
Gregor kein Problem.
 
Anbei ein Beispiel, wie man's mit einem Cluster lösen kann, wobei die Farbe sw-mässig gesetzt wird.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 10 of 21
(4,233 Views)