02-24-2014 05:17 AM
Hi,
is there a possibility to configure LabVIEW in a way it uses the Codes Display as default for new BD constants? Just wondering cause we were hunting a stupid bug due to an unseen whitespace.....
Is there a Labview.ini option available?
Cheers
Oli
02-24-2014 05:23 AM
This is probably not a solution for your problem.
But couple of things comes to mind:
1. You could write a script to traverse the BD to set all string constants to codes display.
2. Even better, get the string value and using a regex check for that Whitespace while traversing maybe?
02-24-2014 06:00 AM
02-24-2014 06:27 AM
@Oli_Wachno wrote:
is there a possibility to configure LabVIEW in a way it uses the Codes Display as default for new BD constants?
I don't know of any option, but you can create a VI with such a string constant, then put it on the palette and configure it to place its content. That way, you can use that instead of the regular constant. This won't help, however, if you're creating constants from terminals in subVIs, etc.
02-25-2014 06:44 AM
Hi guys,
thanks for the suggestions. If I get it right, there's no known option to configure LabVIEW this way
Maybe I can also establish a rule in VI Analyzer.
Cheers
Oli