11-28-2011 02:57 PM
It seems no matter what I choose for a Tools/Options/Environment/Blink Background color during debug (which works perfectly), the color will always revert back to the default of red after I build the application. I realize I can choose the colors but I would like to know why the blink color reverts back to red when the application is built. I am running LV2011 but I have noticed this in many of the previous versions as well. (I have tried changing the color from the project level as well as the debug level.)
Solved! Go to Solution.
11-28-2011 03:12 PM
Not a bug.
Blink color is an attribute set in the LabVIEW .ini file. To transfer that to a build .exe, you need to add the color to the executable's .ini file
11-28-2011 03:19 PM
Thanks for the answer. Curious why the build process does not take care of this since it creates the .ini.
11-28-2011 05:25 PM
Why would the build process take care of this? It's really your responsibility to provide a modified app configuration file if one is needed. You can specify one in the build spec.
11-29-2011 06:03 AM
To smercurio_fc - correct me if I am wrong but there are many things in the Tools\Options catagories that are built into the executable either directly or through the .ini file. It appears to me that the blinking colors are the only thing that doesn't make it into the build or the .ini file. Also, what is this 'build spec' that I may specify the color?
11-29-2011 06:20 AM
While I have found that adding the blinkFG and blinkBG to the .ini file helps, a special note must be added here. THE BLINKING COLORS MUST BE IN HEX FORM AND ALL 8 CHARS MUST BE PRESENT. For example:
// Edge of boolean = Yellow
blinkFG=00F8FF00
// Body of boolean = Violet
blinkBG=008000FF
Failure to do so will result in mostly black color.
11-29-2011 08:05 AM
@j.masse wrote:
To smercurio_fc - correct me if I am wrong but there are many things in the Tools\Options catagories that are built into the executable either directly or through the .ini file. It appears to me that the blinking colors are the only thing that doesn't make it into the build or the .ini file.
That would be incorrect. There are LOTS of things that are in the labview.ini file that are not in the application's default .ini file. Most (if not all) of the Tools->Options settings are saved in the labview.ini file.
Also, what is this 'build spec' that I may specify the color?
I was referring to the "Advanced" page where you can specify a custom .ini file to include. Please read the documentation on the application builder.
11-29-2011 10:53 AM
The deeper philosophical question is of course why the blink color is a global program option and cannot be set "per boolean". Most likely this has historical reasons from very early LabVIEW.
The blinking property is a bit old fashioned anyway and can get obnoxious of over-used. I typically toggle booleans or even use a color LED in an independent loop if I really need flashing indicators.
11-30-2011 04:57 PM
This can be handy for controlling blinking.