01-02-2014 04:34 AM
Hi all
I have a sequence based on the sequential model that I only ever want to enter as single pass. I am driving myself slight crazy as I keep clicking “Test UUT(s)” rather than “single pass”. Is there a call back or expression I can add that will force the sequence to run as single pass regardless of which button I click?
Many Thanks
Dave B
P.S Happy new Year
Solved! Go to Solution.
01-02-2014 08:58 AM
Because the client and model are "decoupled" and the client technically doesn't get called until later in the execution this is a tricky one.
Several options:
Hope this helps,
01-02-2014 12:44 PM
@~jiggawax~ wrote:
[...]
Remove Test UUTs from the process model. Or change it to a configuration entry point temporarily.[...]
Hope this helps,
This one I prefer. Just make a copy of the process model and remove Test UUTs. Make this copy your Station Model. You can easily go back to the model that TestStand ships.
01-03-2014 02:31 AM
Thank you both for your replys.
I am in the process of making a new process model (based on the standard) so i will do what you recommended and remove the the Test UUTs entry point.
Thanks again
11-13-2015 09:26 AM
I have a similar issue. I would like the green arror execution button on the toolbar to default to the Single Pass entry point. In TestStand 2010 I customized the sequential process model for other reasons and while in there just switched the order of the Single Pass and Test UUTs entry point. Now, in TestStand 2014 I am switching over to the plugin architecture and I would prefer not to have to change the process model at all. I can't see how to customize the UI or the toolbar to only show the Single Pass entry button. Can you give more details on that?
Thanks.
11-16-2015 10:07 AM
Depending on which UI you are using at some point the buttons are connected to the SequenceFileViewMgr. You can specify which entry point is connected to which button. Or just get rid of one of the buttons and then only connect the other button.
The Index input for the ConnectCommand method is the index of the entry points in the process model. If you use the default model SinglePass will be index 1.
Hope this helps,
11-16-2015 11:02 AM
In addition, if you are using a custom process model you can re-order the execution entry points in the sequences list of the process model. The order in which they appear there is the order in which they appear in the execution menu or in which the connect to the buttons. If you move the single pass above the test uut entry point this will connect as entry point index 0 instead of the default Test UUT
11-16-2015 11:04 AM
Mathis, read his post. he does not want to modify the Process Model.
Regards,
11-16-2015 11:29 AM
I know I can just change the order of the entry points but for simplicity in what we distribute, I would prefer not to have to modify the process model at all. This is primarily for when we use the sequence editor. In our application that we use to actually run TestStand sequences and do our testing in we can programmatically specify we want to use the Single Pass entry point and that's not a problem.
11-17-2015 02:35 AM
@~jiggawax~ wrote:
Mathis, read his post. he does not want to modify the Process Model.
Regards,
Wow, that was patronising!