07-04-2014 08:08 AM
Hi
Once the test is over with one sort of UUTs I have to change the PartNO & the Code is in PreUUTLoop
how do I go there Programatically from my Main Seq. Is there any Flag that could be set ?
07-07-2014 08:41 AM
aparab,
Is this code in your process model, or did you override the PreUUTLoop callback in your sequence file? If you have the code in your sequence file, you could move it to a subsequence, which you would call from the PreUUTLoop callback to get your current behavior. However, this would also allow you to call that code directly from your MainSequence as needed.
Hope it helps!
07-07-2014 09:20 AM
The caveat to doing it as Daniel suggested is that you will not be changing the serial number in the process model. So you would also have to handle that as well. And depending on when you call it you may have already put the original serial number on the report.
Just some extra stuff to think about.
07-08-2014 02:29 AM
I have overridden the PreUUT loop so I can read the SAP & get the Part no from there.
the issue is such that after reading the Part No I start testing.
(As u mentioned ) If I call the subseq it doesnt mean that the execution will be in order i.e. preuutloop;preuut; main seq.... as in sequential model
in my main Seq. the Operator selects whether he has to continue the test change the UUT type (go to preuut LOOP) or end the test
07-10-2014 09:08 AM
Hi!
The thing is that what you want to do is no loger the sequential model as I understand it:
http://www.ni.com/white-paper/7958/en/
(Figure1)
As you see, no going back from main sequence to the point you gather your DUT information - so you are using a model that in my eyes is not capable of doing what you trying to achieve,
Regards
René
07-14-2014 09:39 AM
Hi all,
how abt
From PostUUTLoop -> On Pass Call Seq->"Pre UUT loop"
unfortunately tht gives error
but if i amable to jump from postuutloop callback it may do the job
07-14-2014 11:46 AM
which process model are you using and which entry point are you using. It seems that the TestUUTs entry point in the sequential model gives you the desired behavior. You can tweak the PreUUT in there, or override it, to evaluate whether or not to continue. If you look at the link http://www.ni.com/white-paper/7958/en/ under section 4 it shows how Test UUTs executes.
Regards,
07-15-2014 02:20 AM
Hi Jigg,
I am using seq process model
& TESTUUTs
the issue at hand is that all my init-VIs are in PREUUT Loop thts why I need to jump at the preuut when one Assignment( consiosting of many UUTs) is over
else I have to reload teststand again.
07-15-2014 08:12 AM
I guess I don't understand your issue. I was under the impression that you wanted to go to the next UUT depending on the outcome of the previous UUT.
If you do as Daniel suggested and modularize your code in there then you can call it at any point. My caution earlier was that the PreUUT has a specific purpose within the process model. It gets the UUT serial number and determines whether or not to loop (if using TestUUTs). So if you call PreUUT from within MainSequence you won't get that data back to your process model.
But it sounds like you only need to modularize a portion of PreUUT. The portion that initializes your UUT. If you modularize just that portion then you can call it from anywhere.
Regards,
07-15-2014 08:23 AM
Hi Jigg,
I am interested in "PREUUTLoop" callback.
there I do all read operation from SAP once for each consignment (consists of UUTs of same type & make )
now I want to change the consigment withut terminating teststand & starting again
so I plan to jump from PostUUTLoop to PreUUTLoop callback which may notbe a clean method(it also doesnt work).
thts the issue how I acheive it
regards
akshay