LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change color of background text when blinking

Hello ,

 

I want to blink a text in White with background in Black.

I use Property Node but a always have a Red Color when blinking ,why ??

 

regard

 

mike

0 Kudos
Message 1 of 9
(3,482 Views)

Do you only want the text to blink?

Tim
GHSP
0 Kudos
Message 2 of 9
(3,478 Views)

Unfortunately the blink background is a fixed Environment option in LV.  You'll have to roll your own.

0 Kudos
Message 3 of 9
(3,477 Views)

yes only the text blinking.

0 Kudos
Message 4 of 9
(3,467 Views)

@Darin.K wrote:

Unfortunately the blink background is a fixed Environment option in LV.  You'll have to roll your own.


Actually tou can change it Options > Environmet > Blink foreground and blink background BUT it only applies to new vi's.  You can't change it after the vi is first opened and you can really mess with co-developers heads by using a non-default setting.:womanmad:

 

You can access the controls property text>colors and use a loop to get a pseudo blink effect.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 9
(3,461 Views)

Here is how I would do it. You will have to make it fit your code. I would probably put it outside of the main loop and use events to tell it when to blink. You could use a reference to the control that you want to blink. It reall depends on how your program works and what is easier for you.

Tim
GHSP
0 Kudos
Message 6 of 9
(3,454 Views)

 

Thanks aeastet Smiley Happy

 

I think It's the right solution.

 

 

Tanks a lot

 

Mike

0 Kudos
Message 7 of 9
(3,435 Views)

Then you should make it as the solution so that everyone knows that your problem is solved.

Tim
GHSP
0 Kudos
Message 8 of 9
(3,422 Views)

With this you can cause any property to 'blink' between any two values.

0 Kudos
Message 9 of 9
(3,392 Views)