Jump to content

set blink delay of a specific control programatically


i2dx

Recommended Posts

Hi folks,

is there any way to set the blink delay of a specific control with a property node?

The only way I found to set the blink delay is to change the value in the LV options dialog. But this means also, that the value is applied to ALL blinking controls and, if I compile an exe, I have to put that key into the exe's INI-File ...

thanks!

CB

Link to comment

QUOTE(i2dx @ Aug 15 2007, 12:22 AM)

is there any way to set the blink delay of a specific control with a property node?

The only way I found to set the blink delay is to change the value in the LV options dialog. But this means also, that the value is applied to ALL blinking controls and, if I compile an exe, I have to put that key into the exe's INI-File ...

I haven't found a way. As far as I know the blink properties are still global and apply to all controls. The only way I've worked around this in the past is to "roll my own" blink subVIs when I want the controls to behave differently from the global options... but that has obvious caveats, so I would like to see what others have done (Xcontrols with additional blink properties perhaps?).

Link to comment

thanks a lot :)

but to be honest:

QUOTE(yen @ Aug 17 2007, 03:35 PM)

You need to have an implementation for each class of control you intend to use.

I am lazy, and I am curently running out of time and and and ... so ... I think 1000 ms are just a fine blinking rate at the moment ;)

Link to comment

Well, you can use it only for some controls and do that the rest with the standard blinking property.

Creating an implementation for each class is relatively easy (two VIs, if I remember correctly) and it already supports String, Boolean and Numeric, which would probably cover most basic controls.

The main issue with it is that it was only a quick demo (the VIT is called Template.vit, for instance ;) ).

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.