NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Tracing in Operator Interface only in Main Sequence

Hi,
   I'd like to know how can I configure the tracing options (Configure -> Station Options..) in a way that when my sequence both in the sequence editor and in the OI, I can see only the tracing in the MainSequence and not in all the subsequences.
 
Thanks in advance,
 
Angel
0 Kudos
Message 1 of 6
(5,139 Views)
There isn't a specific Station Option for that, but you could set Properties>>Run Options>>Sequence Call Trace Setting to Disable Tracing in Sequence for each sequence call step in your main sequence.
0 Kudos
Message 2 of 6
(5,137 Views)

Thank you very much!!!!!

0 Kudos
Message 3 of 6
(5,134 Views)
There is an easier way then opening each one.  Put the following expression in the SequenceFilePreStep callback:
 
Parameters.Step.TS.SData.Trace="OFF"
 
with a precondition of
 
PropertyExists("Parameters.Step.TS.SData.Trace") 
 
You could go so far as to set up a FileGlobal to change whether or not you wanted it on or off.  I have also used User Priveleges to determine whether tracing is on or off in the sub sequences.
 
Taylor
 
Message 4 of 6
(5,117 Views)

Hi Taylor,

    that's a good trick! Thank you very much!

Angel

0 Kudos
Message 5 of 6
(5,103 Views)
I'd like to have a small VI that reads from a sequence all my sequenceCall step types and turn ther tracing into Off or ON. I've seen in the TS Help that I have to use the TraceSetting Property (SequenceCallModule.TraceSetting ), but I cannot find this property in LV passing the Seqeunce Context. Some ideas? Can you send me an example in LV 7.1? Thanks
0 Kudos
Message 6 of 6
(5,036 Views)