NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Break on First Step stops in StationCallback Sub-sequence

I have defined two StationCallbacks, StationPreStep and StationPostStepRuntimeError. Both of these sequences call other sequence files. If I turn the 'Break on First Step' option on, the execution is breaking on the first step of the first subsequence of the StationPreStep callback. I have the all of the sequence files marked as the 'Station Callback' type and not 'Normal'. I would like to be able to use this option and break at the first step of my main sequence file and not in the callback. Any ideas on how I could achieve this?

Thanks,
David

0 Kudos
Message 1 of 15
(4,764 Views)

Hi,

You need to deselect the Break on step in Callbacks (pre/post). You will find the different setting in the Station Options dialog.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 15
(4,762 Views)
I forgot to mention before, I am running TestStand 4.0. Are you talking about the 'Allow Tracing into Pre-/Post-Step Callbacks'? I found this under the Execution Tab in the Station Options. I already had this deselected. I was unable to find anything that refenced break options for callbacks.

David
0 Kudos
Message 3 of 15
(4,747 Views)
I have also noticed that when I step into anything I have to step through the sequence file called by the StationPreStep callback. I have marked the step in the StationPreStep callback with 'Tracing Disabled' for the sequence call, but this has had not affect.

Thanks,
David
0 Kudos
Message 4 of 15
(4,738 Views)
Hey David,

Have you tried using a breakpoint in your StationPreStep callback?  I'm assuming you're trying to just do some debugging.  A breakpoint should just work fine for you here.
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 5 of 15
(4,703 Views)
Thanks for your reply!

The problem is that I do not want the execution to break and it is. When ever I start execution with 'Break on First Step' enabled or when I step into anything I am stopped in my StationPreStep Callback. I would like it to break on the first step of the top-level sequence or to step through the callback and into the sub-sequence and not see any of the callback sequence. The problem started when I called a sub-sequence file from my callback sequence. The sub-sequence referenced in the StationPreStep is where it breaks.

Thanks,
David
0 Kudos
Message 6 of 15
(4,699 Views)
Hey David,

I'm not able to reproduce this on my computer.  Could you attach a small example (with no modules or anything - just a few steps)?
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 7 of 15
(4,679 Views)
Much Thanks for you continued help.

Here is an example of what I'm trying to do. The StationCallbacks.seq is in the proper place in the TestStand 4.0\Components\User\Callbacks\Station directory. It then references the subsequence Callbacks.seq which is located in a different directory. You should be able to put it in any directory listed under Search Directories. With these two files in place try executing any other sequence file with the BreakOnFirstStep enabled. You will find that it breaks on the first step in the Callbacks.seq file. If you also try to step into any thing you will find the execution break again at the first step in the Callbacks.seq. This is rather annoying. Somehow there must be a way to tell the model or what ever is deciding when to break that it should ignore this file.


Thanks,
David
Download All
0 Kudos
Message 8 of 15
(4,670 Views)
Hey David,

AI replaced my Station Callbcks with this one but did not have this problem on my system.  When I set "Break on First Step", it only applies to my initial sequence (not the Station Callbacks or the subsequence).  Has anyone else tried to reproduce this with the files provided?
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 9 of 15
(4,646 Views)
There are 5 of us running this way and we are all seeing the same behavior. Is there any configuration settings I may here incorrectly set?

Thanks,
David
0 Kudos
Message 10 of 15
(4,636 Views)