02-15-2011 08:28 AM
Hello,
After some fiddling I finally can compile de "modelsupport2.prj" in CVI.
I adjusted the uutdlg.c and compiled it, some strange things appeared.
In CVI the label text on the string input box is like "ENTER UUT SERIAL NUMBER:" but when running it in teststand it appears like "Enter UUT Serial Number:".
Why is this happening?
I made an extra string input box with label "ENTER UUT PRODUCT NUMBER:" this appears the same in Teststand.
The Constant name of the new string input box is "PRODUCTNUMBER", how can I call this value from teststand?
gr,
Bart
Solved! Go to Solution.
02-16-2011 01:13 AM
Hi Bart,
--In CVI the label text on the string input box is like "ENTER UUT SERIAL NUMBER:" but when running it in teststand it appears like "Enter UUTSerial Number:".
Why is this happening? --
This behaviour is right. There is language tabelle which is replacing it.
You can not call the CVI control from TestStand. You are responsible for sharing
values from CVI into Testand.
There are some examples shipped with Teststand
Examples/Demo/c/computer.seq
I would create a copy of DisplayUUTInformationDialog and rename it to DisplayUUTInformationOrderNumDialog
and add a new string "orderNumber" parameter to the function. Do Dataexchange in the same way like serialnumber
After compling you should see DisplayUUTInformationOrderNumDialog as function. Select it and add a TS variable
to orderNumber Value Expression Field.
Thats all
hope this helps
Juergen
02-16-2011 01:42 AM
Hey j_dodek,
Where can I find this language table?
gr,
02-16-2011 03:01 AM
Hi Bart
Please see this
Folder C:\Programme\National Instruments\TestStand 2010\Components\Language\English
I am honest! Last time i visitied this it was under TS2.0 and it was just one ini-file!
Seems under TS4.5 there were some ini files more. Happy seach and find
Regards
Juergen
02-16-2011 03:20 AM
Hi,
It will probably in the one associated with the TestExec.
If you want to add your own or modify existing resource, then dont modify these file but add your own resources in the CustomStrings.ini file in the User area. The User area will depend on which version of TestStand you are using.
When TestSTand starts, the Resources placed in CustomStrings.ini will override those in the default ini files.
02-16-2011 03:28 AM
02-18-2011 12:10 PM
just ordered a labview cvi kit.
curious if it will make me smarter. 🙂
gr,
02-18-2011 02:17 PM
02-19-2011 01:53 PM
I will try that if cvi never will work.
Spend some time now to get it to work, so just want to learn more.
gr,