06-02-2008 01:39 PM
06-03-2008 12:23 AM
06-03-2008 07:59 AM
Juergen,
Here is what I have. I think you helped with the original seq. It was a post on a discussions grp. I only mod'd 1 seq file so you can get the idea. What I'd like to do is when seq a is called from the main seq is check stationglobals to see if its a 1. 1 indicates troubleshoot mode. This means the user can "jump in" at any point and run a sub seq. It also means the ps may not have been powered up yet. I was thinking I could create a sub seq with just the ps in it. If the user selected Troubleshoot and "run selected steps", Teststand could check ( Preconditions using running a seq programatically????) to see if the power supply seq has been run yet. If not run it.
Thanks,
Clint
06-04-2008 05:35 AM
Juergen,
One other thing. In the example I sent when I call say for example Seq A, from the Main Menu, it goes right into Seq A and starts to run it. Is there a way call Seq A or B or C etc from the Main Menu and allow the user to "run selected steps" or "test UUTs" in each of those seq's?? This maybe a little better explanation of what I'm trying to do wih my previous post. In my program Seq A, B, C each have calls to subseq. I want to allow the user to select seq A or B etc then "run selected steps" or Test UUTs. If they select run selected steps I have to make sure that a power up seq was run 1st. That was my thinking when I said use a precondition to check and see if the powerup seq had been run yet.If it hadn't have TS run it for they. I also need to run another seq at the end of the test to do power down. If there isn't a solution to have TS auto call a seq if a certain condition was meant I was going to put each powerup/powerdown Step in each seq.( a LOT of work) Then have a precondition that checked to see if they were in Troubleshoot mode (based on Buttonhit hit earlier; reason for using stationglobal) and ASSUME that they are selecting steps individually. If they were in troubleshoot mode it meant they hadn't run the 2 special steps and therefore I need to run them. I've been away from TS for sometime and dug out my old course manual. I couldn't understand how I could use a "Step Type" as you suggested to solve my problem.
From what little I've seen TS is unbelievably powerful. I hope there is a method to make TS run a seq if it hasn't been run yet based on criteria set by the user.
Thanks and I hope this isn't too confusing !!!
Clint
06-04-2008 06:23 AM
06-04-2008 06:38 AM
06-04-2008 07:08 AM
06-05-2008 02:41 AM