LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Blinking controls and SubPanels not compatible
guest<>guest
post Oct 1 2003, 04:43 PM
Post #1





Guests






There is a bug in LV7.0. If you make a control Blinking (set its Blinking property to TRUE), and then place the VI in a subpanel control, the blinking will not be seen except sporadically.

I built one VI (Master.vi), which if you open and run, the blinking works fine. Then someone pointed out that it was silly to put the Insert VI method call inside the while loop. So I rewrote it (Master2.vi) and the blinking stopped working.

It seems (my best guess) the subpanel only updates its draw state during a value change event or when a drawable property is changed. Since with blinking, no value is changed and the property is the same (Blinking == TRUE, regardless of whether the blink is currently on or off), no redraw event is going to the subVI. In Master2.vi, if you just click and hold down the increment button on the VI, the blinking will appear as the data change events fire.

I have filed this bug with the right people here at NI.

-- Stephen Mercer
LabVIEW R&D
Attached File(s)
Attached File  Blinking_SubPanel.llb ( 40.52K ) Number of downloads: 403
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Oct 1 2003, 04:43 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
PJM_labview
post Oct 19 2005, 02:28 PM
Post #2


Extremely Active
****

JKI
Posts: 612
Joined: 19-June 03
From: Bay Area, CA (USA)
Member No.: 121
Using LabVIEW Since:1998
LV:8.5.1 ,8.6 ,8.2.1
United States France Nothing Selected My Blog


QUOTE (Stephen.Mercer @ Oct 1 2003, 09:43 AM) *
There is a bug in LV7.0. If you make a control Blinking (set its Blinking property to TRUE), and then place the VI in a subpanel control, the blinking will not be seen except sporadically.

I built one VI (Master.vi), which if you open and run, the blinking works fine. Then someone pointed out that it was silly to put the Insert VI method call inside the while loop. So I rewrote it (Master2.vi) and the blinking stopped working.

It seems (my best guess) the subpanel only updates its draw state during a value change event or when a drawable property is changed. Since with blinking, no value is changed and the property is the same (Blinking == TRUE, regardless of whether the blink is currently on or off), no redraw event is going to the subVI. In Master2.vi, if you just click and hold down the increment button on the VI, the blinking will appear as the data change events fire.

I have filed this bug with the right people here at NI.

-- Stephen Mercer
LabVIEW R&D


Good News, this has been fixed in LabVIEW 8.0 thumbup1.gif

PJM

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Mike Ashe
post Feb 15 2006, 03:51 AM
Post #3


Instant Human, just add coffee
****

Premium Member
Posts: 889
Joined: 31-January 03
From: Waterford, CT USA
Member No.: 45
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,8.0.1
United States us_connecticut us_washington


Yep, your example of the effect works just fine (no sporadic blink) under LabVIEW 8 for me.

--------------------
*************************************************************
"Always listen to the experts, they'll tell you what can't be done, and why.
Then go do it."
~The Notebooks of Lazarus Long (by Robert Heinlein)
*************************************************************


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 10:41 AM