07-27-2009 12:17 PM
I thought I knew how to do this, but it's not working for me ...
I want to override the button name for Test UUTs since I've modified the process model to just Test one UUT per call. I know I can change the name by modifying the ResStr() call to a flat "Test UUT", but I wanted to figure out what I was doing wrong for my own edification.
I placed a copy of ModelStrings.ini into the Public Teststand directory\Components\Language\English and changed the TEST_UUTS key's value to "Test UUT", but that didn't work even after a restart of TestStand.
So, what did I do wrong? Do I need to place the information into CustomStrings.ini or maybe delete the original ModelStrings.ini for it to get overridden?
Regards,
Mike
07-27-2009 12:43 PM
Well, here's what happened to me. I copied the ModelStrings.ini from the TS\Components\Language\English to the public\Components\Language\English and changed the resource string and TS was able to update and see the changes. This is the correct way to do it.
I have the original copy in the old folder but TS is able to recognize the new copy in the public folder. So I do not know why TS isn't seeing the updates for you.
Are you using the UI or the Seq Edit? What version of TS are you using?
07-27-2009 01:30 PM - edited 07-27-2009 01:33 PM
TS4.2 in the Sequence Editor and a customized Full OI.
I'll try it again as I've had two different issues similar to this resolve themselves now after shutting down and restarting both teststand and my labview dev. environment.
Thanks for verifying that I'm doing it the right way though, I hate banging my head against the wall on things like that.
Edit to add:
Yep, it's working now. Man, I hate burning half an hour trying to figure something like this out and it was just some sort of initialization thing.
07-27-2009 01:45 PM
Glad to hear it's working. Yeah...anytime I change an ini file I reboot all NI products. Just a habit I've gotten into. 😉
Good Luck,
08-03-2009 06:37 AM
Hi,
Just a small point to note:
You dont have to copy the ini file to the user folder. In the User folder is an INI file called CustomStrings.ini (or something very similar) or you have to do is include the relevent key and value in this file. When TestStand is launched it will check this file and use any Keys found this this file.
Regards
Ray Farmer