NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand: programmatically select a page at the settings tab view

Hi, 

 

(LabVIEW 2013 SP1 and Teststand 2014)

 

After configuring some properties of the custom step using his Edit substep, the Step Settings tab page is Configure....

I would like the page to be Module.

(see image attached if I'm not clear what is the step settings tab)

 

Is that possible ?

 

(I am not interested in the Dialog box of the module (specify Module method)) .

 

Amitai.

 

 

0 Kudos
Message 1 of 7
(4,745 Views)

Amitai,

 

if i understand your request correctly, this is not a functionality NI TestStand provides. The window of the Edit Substep module of steps does not embed into the TS SequenceEditor.

 

If you want to remove the Module tab, you can disable the property "Specify Module" in the step type definition (Disabled Properties tab).

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 7
(4,741 Views)

Hi Norbert, 

And thank you for your prompt reply, 

 

I just find myself always changing manually to the Module tab (from the Edit tab) after running the Edit substep to configure some properties of the step.

and I was thinking to automate that too.... 

 

If there is no direct way, there might be some workaround.

 

Amitai.

 

 

 

 

0 Kudos
Message 3 of 7
(4,735 Views)

Amitai,

 

sound like you want to have a custom pre- or post-step substep module instead of a Step Module to perform tests. Use the edit substeps to modify the parameters and settings of tha pre- or post-step substep module.

 

Recommendation: Do not use a designated module in custom step types! Use the "None" adapter as designated adapter.

 

What properties are you modifying in your module configuration tab?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 7
(4,733 Views)

In the step definition properties on the Disable Properties tab you can check the Specify Module.  This will get rid of the Module tab, I believe.  There are probably others on there you need to check like Edit Module Prototype.  Also, designate a specific Adapter on the General tab and possibly a Default Module if applicable.

 

Then in your Edit Substep you can modify the TS.SData.ViCall settings that set the parameters and such for the step module.

 

In this case you do not need to use Pre and Post substeps.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 7
(4,723 Views)

Sorry jigg for contradicting here.

Using a designated module is NOT recommended as the step instance later on copies the configuration which is part of the step type definition. One of this configuration data is the path to the module.

If you modify the step type to load a different module it will only effect step instances you create AFTERWARDS. You can, of course, select "Apply to all loaded instances of this type" when performing the modification. But how can you ensure to have ALL instances loaded????

 

So recommendation is:

Always use pre- or post-step substep modules if you want a custom module to be called by TS during execution. Use "Designated Module" only if the user shall have the option to replace the module by himself!

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 7
(4,720 Views)

That's a good point Norbert.  I was making the assumption that the module and stuff would change through the Edit Substep.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 7 of 7
(4,713 Views)