NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing UUT information dialog box

Solved!
Go to solution

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

0 Kudos
Message 1 of 9
(5,044 Views)

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

 

 

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 9
(5,015 Views)

Hey j_dodek,

 

Where can I find this language table?

 

gr,

0 Kudos
Message 3 of 9
(5,013 Views)

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

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 9
(5,011 Views)

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.

 

 

Regards
Ray Farmer
Message 5 of 9
(5,009 Views)

Thank you  Ray

for pointing out.

 

Regards

Juergen

 

 

Hi Brad,

Just one question, which File and Folder are you doing your modifications ?

 

Juergen

 

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 6 of 9
(5,007 Views)

just ordered a labview cvi kit.

 

curious if it will make me smarter. 🙂

 

gr,

0 Kudos
Message 7 of 9
(4,949 Views)
Solution
Accepted by topic author darkxceed

Hi

 

Why do need this?

Just do your Uut dialog with LabView itself.

 

I assume a simple VI just one "screen" should be enough.

 

Regads

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 8 of 9
(4,942 Views)

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,

0 Kudos
Message 9 of 9
(4,928 Views)