NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating files in Specify Module

Hello,
 
This is a general question about the Specify module option in test stand. I have built a test bench using test stand and labview. Each step in test stand calls a labview VI and executes the step. There are lots of steps repeatedly using a set of VI's. Now I changed some of these VI's inputs to suit my new DUT requirement. Inside the labview code I take care for using these new inputs for old and new DUT accordongly.
 
But when I execute my sequence, test stand generates an error informing that the modules are changed and has to be loaded again. It is tedious to load modules in each step. Is there an option to load modules automatically with default values for the new inputs.
 
Regards
Gopal
0 Kudos
Message 1 of 3
(3,080 Views)
Hi,

I did not find an easy way to do that.
I think you should create a tool :

The tool should open each file to update.
If you want to list all files of a directory, you should develop some code with LabView or call a DLL.
The following actions could be done with TestStand ActiveX steps.

For each file, get all sequences.
For each sequence, get all steps.
For each step, get the module.
If the module corresponds to the module you want to update, call the "LoadPrototype" method to update the parameters list.
Then get the "Parameters" property.
Get each parameter and find the new parameters.
Call the "UseDefaultValue" method for each new parameter.

Hope this helps.
Bruno

0 Kudos
Message 2 of 3
(3,072 Views)
Gops,
 
There is a tool to reload your modules here:
 
You can use this tool as a starting point and add on the functionality you require.


Message Edited by Josh W. on 12-14-2007 11:16 AM
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 3
(3,037 Views)