LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Blinking property for controls in xcontrol

I have a simple xcontrol that contains a boolean indicator.  I want to make this control blink.  I put a boolean in the data cluster for the control that is wired into a Blinking property node for the boolean indicator in the Data Change Event.  This has no effect.  I read in another thread a brief comment that stated "...it appears blinking does not work in xcontrols...".  What do I have to do to make this control blink?
 
Thanks,
Bill F
0 Kudos
Message 1 of 7
(3,875 Views)

Hi Bill,

This was reported to R&D (# 3V6F0BRS) for further investigation.

Thanks for the feedback!

Tunde A.

0 Kudos
Message 2 of 7
(3,859 Views)
I don't have any experience with XControls, but I assume you can work around this and blink them by changing the color back and forth. See an example here.

___________________
Try to take over the world!
Message 3 of 7
(3,845 Views)

Hello All,

 

I am fairly new to LabVIEW and am using Xcontrols for the first time. However, I had a go at this problem and made a VI that uses a blinking boolean within Xcontrol. The XControl uses a slide control which displays a double value being passed into the XControl(see main2.vi). Whenever the data value exceeds 200, the Boolean blinks. Although the vi works quite well for sine wave values being passed into it(automatically), It does not respond well to a manually controlled slide(ie hangs when it reaches the 200 limit. Plz see main2.vi). However, this VI should work for almost all purposes to generate a blinking boolean. 

 

I would appreciate if any opinion or improvement is suggested on this forum about the VIs. Project attached as a zip folder.

 

Thanks

 

Edwards

 

PS: BTW, If you wish to change the frequency of the blinking boolean, just change the multiple time function in the while loop of blinking.vi

Message Edited by John Edwards on 02-11-2009 04:14 PM
Message Edited by John Edwards on 02-11-2009 04:17 PM
0 Kudos
Message 4 of 7
(3,495 Views)

Sorry, that was the wrong project. Smiley Tongue

Here is a modified folder

 

 

 

0 Kudos
Message 5 of 7
(3,487 Views)
I only looked at your code briefly, but you should definitely clean it up if you plan on actually using it. Also, taking an approach similar to the one I showed in the linked thread would probably be more beneficial.

___________________
Try to take over the world!
0 Kudos
Message 6 of 7
(3,457 Views)

Hello Edwards,


I noticed the behavior you described when I loaded your program.  The reason that LabVIEW doesn't "stall" when you use the sine wave is because the value is chaning at incremental values, not a smooth transition like the slider bar.  You can use property nodes to make a control blink.  This could be a work around to using an xcontro.

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 7 of 7
(3,438 Views)