NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying "UUT Information" screen when performing "Test UUT's" in the parallel model

I need a little help. I have been trying to figure this out but I can't seem to solve it.

 

I am using the parallel model, which I have modified. When performing "Test UUTs", the parallel model sequence file grabs the serial number from the device, rather than the user entering the serial number in the "UUT Information" window.

 

 

So I have two options, I can either remove the serial number field from the UUT Info box because it is not necessary, or perhaps easier, have that field populated with the serial number it grabs from the unit.

 

Could someone please give me some direction on how to either populate the serial number input (I guess it would then be an output) or/and remove that field all together.

 

I notice that frontend.dll is called to popup this window, but I would hate to modify a dll since I have little experince with this.

 

I hope this make sense.

 

Thanks,

Ryan

 

 

0 Kudos
Message 1 of 25
(6,993 Views)

Hi Ryan,

 

You might want to have a look at the following example:

TestStand\Examples\ProcessModels\ParallelModel\OverrideSerialNumForParallelModel.seq

It disables the default UUT dialog for the parallel model and uses callbacks to replace it with custom code.

 

I hope the helps.

 

Thanks

Scott M.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 25
(6,972 Views)

Scott,

 

I guess the example is an option. However, I have already modified the model to get the serial number the way I want it. I sure would like to keep the default front end of the parallel model.

Message Edited by SimpleJack on 11-12-2009 08:39 PM
0 Kudos
Message 3 of 25
(6,960 Views)
For the parallel model, you are running the Modelsupport2.dll and you would need CVI to modify the GUI that shows the serial number for each socket.
Message 4 of 25
(6,945 Views)

Like SimpleJack I want to modify the parallel OI, then I installed CVi but when I try to compile the project I have a error message about an file not found : shlobj.h

 

 

Is there something more to install with CVI or Teststand to be able to compile that ?

ps: I just copy the directory from teststand components models to teststand user components model

 

 

0 Kudos
Message 5 of 25
(6,835 Views)
When you install CVI, you need to select the option to install the Windows SDK
0 Kudos
Message 6 of 25
(6,828 Views)
thanks for the tip, I will try that tomorrow
0 Kudos
Message 7 of 25
(6,806 Views)

well, I didn't find that in the developper suite installer...

is tehre any other way to get the windows sdk ? 

0 Kudos
Message 8 of 25
(6,790 Views)
It is an option you select when installing CVI. Run the installer for CVI and make sure you specify to install the Windows SDK in the tree of features. I'm not sure if it comes with the base CVI, but if you have Developer Suite, I think you probably have the FDS CVI.
0 Kudos
Message 9 of 25
(6,786 Views)

Hello Scott

 

I tried "TestStand\Examples\ProcessModels\ParallelModel\OverrideSerialNumForParallelModel.seq" approach but it then disables other features

of modelsupport2.dll and Operator Interface buttons do not function. I modified the Simple OI to add extra Execution Manager for 2nd UUT and also added extra report view. I would like to disable the "UUT Information" dialog of Teststand ( only the Serial Number Enter ) part ;

 

Could you please suggest changes we can do in CVI code , ( Terminate \ Next UUT buttons ) of UUT Information dialog are ok ;

 

thanks vki

0 Kudos
Message 10 of 25
(5,970 Views)