07-31-2025 04:34 AM - edited 07-31-2025 05:05 AM
Hi there,
Using Labview 2019 SP1 ( npot the NXG version).
We run the exe builder on it to do dlls for our test equipment.
I guess there is a reason for it ( C compatibility or else) , but why do all methods and variable names get filled with digits when there are numbers or underscores within the name.
One example:
vi "NaPro_Base_Channels.vi"
gets the method name
"NaPro__32Base__32Channels"
within the exe builder.
Its annoying and i have to rename every single Variable manually to get simple names I can recall afterwards when calling the methods within visual studio. And the methods run fine without those digits.
Is there any setting that can prevent that outside from stopping using underscore and numbers within my vi names? Haven't found any so far.
Thanks in advance
Edit:
Well apparently I made a mistake and used hyphen instead of underscores in some names. But the naming problem still persists for other chars. Is there a way to define the default replacement char like "_" or nothing instead of getting random numbers added within a method name?
07-31-2025 07:34 AM
For reasons I don't completely understand, in some instances when "building" things (or when creating the name of a Subversion Repository for some implementations of Subversion, where I encountered it), certain characters, such as the Ascii "space" character (" ", or 0x20, or decimal 32) are not allowed, and are sometimes replaced by "not quite equilvalent strings" (such as "_32").
One remedy is to not use spaces in such names. Try "NaProBaseChannels.vi" or "NaPro-Base-Channels.vi" (hyphen/minus sign is often OK). Let us know if that helps.
Bob Schor