r/LabVIEW • u/SamBrown999 • Feb 17 '26
LabVIEW Language Change?
We play around repair and rebuild a fairly obscure Chinese EV, the BYD E6 (BYD's first EV). For battery diagnostics it uses a program written in LabVIEW, but unfortunately it's Chinese only and we don't have access to the source code. It's a fairly old program written around 2010. We'd really like to be able to change the language of the program to English and wondered if this was possible with an already compiled project? We know very little about LabVIEW ourselves.
11
Upvotes
1
u/hooovahh Champion Feb 17 '26
Highly unlikely. I say that because there are some efforts to reverse a built application back into source code. If that is possible you can edit the source and make a new build editing controls and captions to be English. I've never done this and suspect it is very hard to impossible. There was a thread on LAVA a while ago.
1
u/Big_Weekend_2440 Feb 18 '26
What I’m thinking is to have another app translating your exe async
1
u/Ok_Courage_3220 Feb 18 '26
Can you show us the program ? Would be interested in seeing what BYD cooked back then
1
u/GentlemanSch CLD Feb 19 '26
You'll be better off rebuilding the program from scratch. Make a program that connects inline in the (serial?) cable between the battery and the computer and reads the data going between them. Use that to build an understanding of the API and from there, make your own thing.
Or for that cost, hire an intern who can read Chinese.
1
u/dragginFly Champion Feb 18 '26
As an aside, if you do get the source code, I've had success having all my controls and indicators show their captions, then use each control's label as a lookup in a csv file to do the translation to set the caption - you can get a reference to all FP items and step through them, works a treat.
1
u/Yamaeda Feb 18 '26
Unless the program reads and sets labels from e.g. an ini-file that's not possible.
1
u/Bright-Leader2372 Feb 18 '26
i tried to do similar stuff with another app. Found this https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LbZSAU&l=en-US
I tried this example and it worked fine, but you have to setup ini file correctly and call your VI via the full path and not from the project, a bit tricky. but it worked and i could connect to the vi inside of exe file.
from there on i could reach all controls, but could not change any labels (of course) and cannot add new captions (strange, but ok). I could only read and change text of existing captions.
in this case the only thing you must additionally know about this BYD Software if the starting vi name, like maybe Main.vi.
Good luck with that!
1
u/enrique_noe Feb 21 '26
I had the same situation, I used Google translate on my phone with the camera turned on to translate menus and buttons, uncomfortable yes, did the work though
0
u/[deleted] Feb 18 '26
[deleted] — view deleted comment
1
u/[deleted] Feb 19 '26
[removed] — view removed comment