LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Place string constants in BD using codes display by default?

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.....Smiley Mad

 

Is there a Labview.ini option available?

 

Cheers

Oli

0 Kudos
Message 1 of 5
(2,887 Views)

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?


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 5
(2,881 Views)

You may want to try this.

 

If you like it, you also want to vote for this idea here.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 3 of 5
(2,868 Views)

@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.


___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(2,861 Views)

Hi guys,

 

thanks for the suggestions. If I get it right, there's no known option to configure LabVIEW this way Smiley Sad

Maybe I can also establish a rule in VI Analyzer.

 

Cheers

Oli

 

0 Kudos
Message 5 of 5
(2,821 Views)