NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running TestStand Operator Interface

I'm running the full version of TS operating Interface (CVI code), provided by TS3.0. I have it running on two computers.

On one computer I have a problem that the tests are not shown during the execution (they are shown on the seq. file). I copied all the relevant files from the other computer (where the problem is not present) and nothing helped.

Finally, I tried the Execute-->Tracing Enable, and when I checked it, the problem disapeared and the tests are shown again.

MY questions:
1) Any suggestion to why this is happening?
2) What is the function of tracing Enable?

Thanks
Rafi
0 Kudos
Message 1 of 5
(3,636 Views)
Rafi,

You will only be able to see the tests being executed when you have tracing enabled. The function of tracing enabled is to show you the execution of the test. If you have tracing enabled and you still don't see the execution of the test you have to slow down the execution speed which you can control in

Configure>>Station Options

Make sure the enabling tracing box is checked and below that is a slider that controls the speed of execution. Please let me know if this answers your questions and don't hesitate to ask if you need more clarification. Have a great day!

Allan S.
National Instruments
0 Kudos
Message 2 of 5
(3,636 Views)
When tracing is in effect, the sequence editor or operator interface application displays each step as it executes. Setting the tracing enabled informs the TestStand engine to send messages to user interface to show the execution of each step. This is useful for debugging but adds significant performance overhead to the execution of your test programs.
The station options are stored in the TestStand config files (in the cfg folder under TestStand). If you did not copy the cfg folder you will not transfer the options from one machine to another.
0 Kudos
Message 3 of 5
(3,636 Views)
Hi Allan,

Thanks for your clear answer. In continuation to this issue I have 2 more questions:

1) Can we set the tracing on programatically?

2) When the test ends and the screen shows Pass or Fail, the screen under it is of the 'cleanup'. We would rather see the main sequence instead. Is it possible to instruct TestStand to return to the main sequence where we can watch the tests results?

Thanks
Rafi
TS3.0 + CVI7.0
0 Kudos
Message 4 of 5
(3,636 Views)
To set Tracing Programatically follow these instructions..

1) Select the 'ActiveX/COM adaptor'
2) Create an Action Step in the 'Setup' Tab
3) Right click on new step and click 'Specify Module..'
4) Set the 'Object Reference' to 'ThisContext.RunState.Engine'
5) Set the automation server to 'NI TestStand API 3.1 Ver(1.0)'
6) Set Object Class to 'Engine (IEngine)'
7) Check the 'Call Method or Access Property' checkbox
😎 Set the Action to 'Set Property'
9) Set the Property to 'Tracing Enabled'
10) Set the Value to True

This will programatically enable tracing. I was able to find this by going to the TestStand help and typing in 'Tracing' once I found the property that I knew needed set, 'TracingEnabled' I simply added an activeX action ste
p and set it to true as was shown above.

Next, to have it not show cleanup at the end goto station options and uncheck show tracing during setup/cleanup

Allan S.
National Instruments
0 Kudos
Message 5 of 5
(3,636 Views)