NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Overriding ModelStrings.ini

I thought I knew how to do this, but it's not working for me ... Smiley Sad

 

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

0 Kudos
Message 1 of 5
(3,811 Views)

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?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 5
(3,809 Views)

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.

Message Edited by Mike Webster on 07-27-2009 02:33 PM
0 Kudos
Message 3 of 5
(3,805 Views)

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,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 5
(3,795 Views)

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

Regards
Ray Farmer
0 Kudos
Message 5 of 5
(3,745 Views)