NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

If I disable "Specify Module" the module will not deploy

If I make a custom step in TestStand 3.5, and disable the "Specify Module" option then, when the "Deploy TestStand System" tool is used, it will not include the module.
 
In my case, I am making some custom steps for use by other developers.  They each have a corresponding DLL that is already configured using the "Default Module" option.  There's no reason for anyone to change the module in these cases so I disabled it for simplicity.
 
I'm wondering whether, in blocking the user from accessing the module, this also blocks the deployment tool from accessing it.
 
It works perfectly if I don't use the disable "Specify Module" option (this is my workaround for now).  This is the message from the deployment tool:
 
Starting Log.
Starting Analysis
Starting to process workspace file
Workspace Processed
Finished Analysis
Beginning build process, please wait.
09:25
The build is finished
09:25
---------------------------------------
Warning found an ambiguous relative path:
Components\User\TypePalettes\ManualDialogs.dll
***************************************
Error: Could not find the following source files. If you do not want to deploy these files, you can prevent this error by unchecking these files in the Destination view of the Distributed Files tab.
Installation Directory\Components\User\TypePalettes\ManualDialogs.dll
+++++++++++++++++++++++++++++++++++++++
0 Kudos
Message 1 of 3
(2,958 Views)

Hi,

This looks like it might be a bug, I wonder if it does the same in TS4.0.

Instead of using the Specify Module, use the PostSubStep. The use of the PostSubStep is better for a Custom Step Type that you dont what the user to edit. It also has the advance that if you update the custom step type, the PostSubStep property gets updated as well, which it doesn't if you use the Specify Module property. It also has no problems with deployment.

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 3
(2,953 Views)

Thanks very very much Ray, a brilliant bit of lateral thinking there.

I've put in the module as a Post-Step SubStep, set the module adaptor to "None" and disabled the "Specify Module" option.  It works brilliantly. 

Plus, as you say, it will now update any existing steps if I update my module.

You are a hero, thank you.

Message Edited by Sean on 08-06-2007 11:07 AM

0 Kudos
Message 3 of 3
(2,952 Views)