LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Blink property is not blinking - WHY?

I would like to build a Control in LV 6i, win98. The Control should have the same properties as the Square LED bat with a different drawing (the required drawing is saved in a BMP file). This is what I do :
? On the front panel : Controls -> Boolean -> Square LED
? Mouse right click on the LED -> Advance -> Customize...
? The Control Editor is opens.
? Click on the left icon to switch from Edit Mode to Customize Mode.
? On the tools bar : Edit -> Import Picture from file...
? Select the file X.BMP .
? Mouse right click on the object -> Import Picture
? On the tools bar : File -> Save As...

Now I add the new Control to the front Panel.
In the Block Diagram I make a Property Node and select the Blinking property.
But
, when the application is running the Control does not blink.
WHY?
How do I build a Control that has the options of ON, OFF, the Blinking property and an imported picture from a BMP file?
0 Kudos
Message 1 of 3
(3,172 Views)
Unfortunately, you can't set the blinking property of a control with imported bitmap nor you can set its "Color" property. The bitmap fixes to color of the control and LabVIEW can't change it.
However you can always put a transpatenr boolean over a picture ring in wich you put the pictures for the different states you need (ON,OFF,BLINK). On the diagram you wire some simple code to intermittently show the blink picture when needed.
I hope that helps


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 3
(3,172 Views)
Unfortunately, you can't set the blinking property of a control with imported bitmap nor you can set its "Color" property. The bitmap fixes to color of the control and LabVIEW can't change it.
However you can always put a transpatenr boolean over a picture ring in wich you put the pictures for the different states you need (ON,OFF,BLINK). On the diagram you wire some simple code to intermittently show the blink picture when needed.
I hope that helps


LabVIEW, C'est LabVIEW

Message 3 of 3
(3,172 Views)