Custom Unattended Process Model Based Upon Duration of Test

I am looking to develop a test system that:
Runs the Batch Process Model
Displays a Custom UUT Serial Number dialog once upon start
This dialog will also display the desired test duration and various instrument settings
Loops on the MainSequence for a fixed amount of time OR Loops on the main sequence for a fixed number of iterations
This should be implemented in the process model
Does not display any pop-up dialogs during testing
The goal is for the test to run "unattended"
I started with a copy of the Test UUTs process model, but wanted to get some advice on how others would design this system.
A few questions:
What is the best method for implementing the looping on the MainSequence for a fixed amount of time in the process model?
What is the best method for avoiding pop-up dialogs from occurring during the test?
Thanks!
CLA, CTA

Put the call to MainSequence inside of a While loop. Use Seconds() to get current time, store in variable and then measure difference between subsequent calls to Seconds() and that variable to determine if your timeout has been met. You can also increment a counter in this loop as well.
Use custom PreUUT, PostUUT, ProcessModelPostStepRunTimeError and ProcessModelPostStepFailure callbacks. All TestStand-based popups occur in those four areas. There are examples of handling run time errors and failures in the TestStand example folder.
CTA, CLA, MTFBWY

Similar Messages

  • Determining simple moving average based upon duration

    Here is the link to the image of the spreadsheet that I am developing: http://dl.dropbox.com/u/13788011/Spreadsheet%20Image%2001.jpg
    This spreadsheet will allow me to track my ongoing progress on my favorite disc golf course. Column F (30 Day SMA*) is the column that needs a formula that I can't figure out how to write.
    What I want to do:
    I want each cell in column F to show the average score (derived from column B) for all dates played between that date (column A, same row as the F-cell) and any score from within the previous 30 days.
    I have been reading various materials so far, but none of these sources address this particular desire of mine, and -- as that I am still learning Numbers '09 -- this formula is too convoluted for me to figure out. Any help would be greatly appreciated.
    Thanks,
    Kris
    PS - I know of the moving average feature available in Numbers' charts, but I am desiring an actual number within the table.
    *SMA = Simple Moving Average

    kris,
    Thank you for the star. Glad to hear that the solution worked for you.
    Yes, the formulas are nice and compact in Numbers when you use the column and row shortcuts.
    All the ...IFS formulas are pretty powerful for setting conditions. The learning threshold is placing those darn quotes and ampersands in the right places for the comparison operators.
    Good luck,
    Jerry

  • Best way to modify Sequential Process Model for report generation.

    I am using the Sequential Process Model in my application and the TestStand Reference Manual, (Figure A-1), clearly shows the following processing sequence:
    ...<part removed>
        Call the Test Sequence
        Display the UUT results
        Generate a Report
        Log Result to a Database
    ...<more removed>
    I want to generate the report BEFORE displaying the results to the operator, or at a minimum, I want to generate the report in parallel with displaying the results to the operator.  Currently, the problem I have is that when the test is done I have some automated scripts that take the data file and do some statistical processing on it, but the way the Sequential Process Model is set up, the test might finish but until the operator acknowledges the PASS/FAIL results display, the resulting file is never created.  It could be overnight, over the weekend, or several days before an operator comes back and says, "Oh that last test finished, I guess I can press the OK button!", but until they do, I get no data.  So I want the report generated no matter what, and right after the test finishes.
    Any ideas as to how that might be best accomplished?
    Thanks a billion -  Ski (noob)

    Ray,
    Is that new in 4.2 that the engine won't call a callback with nothing in it?  I just did it and it seemed to work fine.  I'm using 4.1.1 though.
    Ski,
    Maybe there is a better solution for what you want.  Are you using the SequentialModel?  What version of TS do you use?  Why does the report have to be written before the pass/fail banner displays?  The pass/fail banner gets displayed in the PostUUT callback.  Like Ray said if you just put that in your client sequence you won't see the banners.  However, I'm assuming there is more to this than just that.  I'm assuming you want to see the report because of your external analyzer that is gathering the statistical data.  And then based on that data you want to allow the user other options.  Is this correct? 
    If so then I would override the PostUUT callback and then use a different callback (possible the ProcessCleanup callback) to displaly the banners.  You could even do this without modifying the process model (which I always try to avoid).  Just override both the PostUUT and ProcessCleanup callbacks.  And then put code in the ProcessCleanup to behave like you need.
    Or if you want you can modify the process model and create a new callback lower in the process model.  Then have that new one do the post report analysis.
    Just some thoughts.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Process flow for the Mid-year Status Changes based upon the Qualifying Even

    Hi Experts,
    I'm looking some information for the process flow for the Mid-year Status Changes based upon the Qualifying Events. Basically, I need to know, what would be the impact of these changes on various info types (Via IT0014 - Deduction changes & so forth) and the things that needs to be considered during it's Configuration and the things that needs to be checked due to the occurrence of the change. I would greatly appreciate any kind of help/document.
    Thanks a bunch in advance,
    Thanks,
    Exertive.

    Hello guys,
    Can anyone has any kind of input on this? Basically, I need to know the procees for Mid-year status changes based upon Qualified events. Any kind of help is greatly appreciated.
    Thanks,
    Exertive.

  • BPM Web Based Process Modelling

    Hi Folks, I remember seeing a webminar or a video on SDN which demonstrated modifying of BPM projects from within Internet Explorer. I cannot seem to find it now. If anyone else seen it or can point me to the link or can tell me which version it is in I would really be great ful.
    Thanks

    Hi,
    I think you are talking about Gravity. You can find the demo here:
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/80e7b554-fcf5-2c10-2e97-f9eebad9c723
    However, you clarify the "value proposition". It is not intended to manipulate the NWDS projects through the web browser. The main use cse is to do process modeling in a collaborative way. There is no tight integration with the NWDS expect maybe a file based data exchange.
    Best regards,
    Stefan

  • MOQ based upon Customer category

    HI -We wanted to set up MOQ for material based upon customer category. For Ex All end users for Product A can order the product with any qty. Where as All Dealers order only should be in Min Ord qty or Multiples of this?
    Any thoughts to accomplish this?
    Reg
    Siva

    Hi
    This can be achieved by enhancement (userexit_save_document_prepare in MV45AFZZ).
    You need to maintain a Z-table having min qty details for cust cat. You can even maintain material number if you have less number of materials.
    thank you

  • Create Custom Mail Template-Setting up wfMessage based upon workflow

    Hi,
    I have some 4 workflows and each should send out an email as soon as it is triggered.I have created one template which has some metadata fields,I need to dynamically change the wfMessage and wfMailSubject based upon the workflow,i wanted to understand how can we set the value of these 2 variables in the template.Do i need to create a custom component for each workflow with resource Strings and set this value and create a template and call this template.Has anyone implemented anything like this before?

    Got you.
    I think it's a question what the template should serve for. Usually, you want to modify it to change the content of the message - you may add a logo, re-organize the email, etc.
    But often, you use variables wfMessage and wfMailSubject to parametrize the text and the subject of the message. Note that this is not mandatory, and you could modify the logic of the template so that those two variables are derived from other workflow content (something like move to the code of the template a code like) <$if dWfName like "Workflow1"$>
    <$wfMessage="Message for Workflow 1"$>
    <$elseif dWfName like "Workflow2"$>
    <$wfMessage="Message for Workflow 2"$>
    ...It will work, but somehow, I don't like it - I think these two should be parameters set up by workflow, not something contained in the template, but that is my opinion.

  • Effective Language for Business Process Modelling in a Web Community

    It's a very exciting idea of having business process definition/innovation a community driven process.
    Just Imagine a stituation where somebody can innovate a process on a theoritical level which is then perfected by   business community opinion/examples for benchmarking, effectiveness, relevance etc.
    The ultimate business community dream would be Finding their process in the community. Finding merits and demerits of their process. Explore for a refinement to the process. Getting a copy of their newly created process and
    droping it into their IT system and the wonderful IT system upgrading itself to the new process and executing it.
    The Impact of simplification would be enormous:
    Just check out the possibilities
    Every businessman would be an IT user to get ideas for business and business execution
    The IT Guy would be recognized as process maker
    For a business entity Presentation during AGM could be extra transparent :-).
    A very concrete step in this direction would be to have a language or tool which is very easy to understand and drives people for exploration.
    My Wish would be a Visual web tool which defines a specific business process in the most simple form, and from there somebody can explore the enhancements to the process.
    For example a simple selling process done in medicine shop is
    listening the order verbally , delivering it immediately, getting cash immediately and [typing the Invoice on XL or Word or POS machines], printing it and then giving to Customer.
    after selecting this business process on the tool one should be able to explore the possible process
    enhancements with known business benefits
    like
    a) offer credit facility to customer--> just a worklist to collect pending money
    b) take order now and supply later for non available medicines
    c)Start home delivery
    The businessman should be able to select (1) or (2) which then becomes his new process.
    This can be sent to his IT landscape which should be able to interprete it and then grow itself Ah.... 
    dreaming
    [or atleast the model should tell the IT guy what to do!!].
    The generic business Process enhancements Options are not too many and can be defined and classified
    See the Options in the above mentioned business process context
    1)Automation[Create Purchase order from ]
    2)Increasing depth [The above example a,b,c are for increasing depth]
    3)Step simplification[In the above example instead of word using the POS Machine is simple]
    4)Resource utilization[If you have a PC and don't want to buy POS Machine then type the invoice on a Word :-)]
    5)Delegation
    5)Workforce optimization {any examples :-)community driven}
    7)Process optimization (How to deliver the medicine route wise)
    8)Colloboration (Using courier to send medicine)
    9)Knowledge provision (giving sales/payment trends,)
    The idea is so simple but making this tool highiely context(business) sensitive and intuitive is challenge.
    But anyway it's not impossible to have a business process language which is effective and an IT systems for which starting point is a business process. The IT system which takes your business process and executes them
    wonderfully.
    looking forward for this future
    Anand
    Message was edited by: Anand Rai
    Message was edited by: Anand Rai

    Hi Dilip,
    Thanks a lot for your reply.
    I'm also interested to know from community what are different tools used by them for process modelling?
    What are their merits?
    1)are they easily understandabale
    2) do they come with business context
    3)whether they can be used in a web comunity? Like somebody can give feedback or business case for a particular business process/step.
    4)Does it drive the IT automation
    5)Are there any appservers which take business model and generate/grow applications
    6)How the different modelling applications should communicate?
    7)Common standards
    For example
    I have used rational rose and RAD like VB they are complicated/simple enough to generate model based applications but the business representation and business context is totally missing. I would seek something with more business context or knowledgebase.
    Regards Anand

  • Returnable packaging in customer consignment process

    I have this scenario:
    I have returnable packaging (drums) that have been setup as non valuated materials in SAP. The item category in deliveries in YB10.
    These drums have serial numbers. Since some maintenance needs to be done on these drums from time to time, therefore, equipment's need to be created for the drums. The equipment number and serial number are the same and the serial number profile is setup in such a way that the equipment is created automatically when the serial number is created
    When the drums are in stock, the status is ESTO
    Now, in the normal order to cash process, this is what happens:
    1) Sales order - order is created for a material
    2) Delivery - The drums are added to the delivery along with the material through a packing proposal. A serial number is specified for the drum and the order is PGI'ed to the customer
    At this point, the status of the equipment/serial number changes to ECUS
    3) Billing - normal billing (drums are billed)
    4) Return delivery YBG5 - the empty drum is accepted back into warehouse
    After PGR, the status of the serial number changes back to ESTO
    During the customer consignment process, this is what is happening:During the consignment fill up when stock goes from warehouse to customer, the status of the serial number is changing to ECUS
    During consignment issue, since we can only issue whatever material is there, the same serial number that was used during fill up is being used
    However, when we do a delivery against the consignment issue, we are getting an error that the status of the serial number is ECUS and it is not suitable for movement
    Since consignment stock is still owned by the company until an consignment issue is done, I am wondering whether SAP is behaving correctly by changing the status of the serial umber to ECUS after the consignment fill up.
    Is there a way to use the same serial number in the consignment issue as the consignment fill up?
    Please reply urgently

    Try the following
    Go to OMWB transaction and simulate the posting using your plant, material and movement type
    The simulation will show the standard postings based upon goods movement
    E.G. 601 GBB VAX valuation class, account
    Identify your accounts assigned to both sides of the posting and then you should be able to re-assign the g/l accounts to the appropriate modifier string within OBYC
    Hope it helps
    Steve

  • Using ARIS process models as the foundation for Business Process Monitoring

    Hello,
    Do anyone know if you can use IDS Scheer ARIS process models and the integration between IDS Scheer ARIS and SAP Solution Manager as the starting point for end-to-end Business Process Monitoring (BPM) so that you get the process description/model automatically in Solution Manager BPM and just need to configure the monitoring (more or less that you monitor against the modelled process in ARIS)?
    Is there an API for SAP Solution Manager BPM so that non-SAP solutions/systems can be part of the end-to-end process monitoring?
    If not, how do you usually integrate non-SAP solutions that are part of an end-to-end process that you want to monitor into SAP Solution Manager BPM, or do you not use Solution Manager BPM for this?
    What is the roadmap for SAP around SAP Solution Manager BPM when it comes to non-SAP systems/applications/solutions and the new SAP NetWeaver BPM functionality?
    Regards,
    Markus Johansson

    Hello Markus,
    I just paste my answer form the other forum entry Re: Business process management strategy in SAP?
    in a nutshell BPM Netweaver is focussing on so called edge-processes (usually
    SOA-based and often workflow related). These edge-processes a thought to enhance exisitng core business processes and should provide the fast competitive edge versus competitors. Examples would be also xApps. For this Netweaver provides process modelling tools, where you can get exectuable code through the integration between CE and PI. The monitoring part for these processes is mainly targeting business end-users and business manager.
    Business Process Monitoring with Solution Manager focusses on core business processes which are realized with the "conventional", "old" SAP Architecture, e.g. Order-to-Cash or Procure-to-Pay. You get a combination of technical monitors (average response times of transactions, background job runtimes, monitors for IDOC or qRFC processing) and application related monitors (you get more than 200 pre-configured application monitors out-of-the-box like number of overdue customer orders or outbound deliveries or number of deliveries with goods issue posted but no invoice). The target group here is the support organization of the customer, from Basis-Support over application support on IT side to process owner on business department side.
    Overview presentations can be found under
    https://service.sap.com/bpm --> Media Library --> Customer Information -->
    "Business Process Monitoring - Part 1 & 2".
    Or look under https://www.sdn.sap.com/irj/sdn/nw-processmonitoring
    In the end BPM Netweaver and BPMon SolMan are complementary for different purposes and different target groups.
    Best Regards
    Volker

  • Could you restrict purchase orders based upon Vendor / Material Group?

    Hey everyone - I've got a general "could this be done" kind of question. 
    We would like to add on to the vendor purchasing view to include "valid" material groups.  This would then have what material groups could be purchased for which company code for that vendor.  Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
    Obviously with enough custom code this could be done.  My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
    We are a SAP 4.7 shop.
    Thanks!   Ken Little

    >
    Ken Little wrote:
    > Hey everyone - I've got a general "could this be done" kind of question. 
    >
    > We would like to add on to the vendor purchasing view to include "valid" material groups.  This would then have what material groups could be purchased for which company code for that vendor.  Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
    >
    > Obviously with enough custom code this could be done.  My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
    >
    > We are a SAP 4.7 shop.
    >
    > Thanks!   Ken Little
    By include "valid" material groups i think it means you are introducing a new field or some value in already existing field in vendor master.
    1) Now to restrict PO based upon material group a small custom code is needed.
        Use BAdI ME_PROCESS_PO_CUST....here write a code with help of your ABAP person that system will first select the 
        LIFNR (vendor code) entered in the PO...then it will check the same LIFNR in LFM1 table...here it will check the material
        group in the customized field & if found that it is within the list of previous listed material group then it will allow to process
        further or otherwise give a customized error message.
    or
    2) Use the field Group in OMSF...here maintain a common group against the material groups you want to do the purchase cycle.Now ask your BASIS person to use this group in carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
    Regards,
    Indranil

  • Business Process Modeling in SAP Solution Manager

    Hi.
    Even ther an Solution Manager space, i wish to get some opinion related to Business process Modeling.
    We are working in an upgrade project. R/3 4.6 C to ECC 6.0. The customer decide to use Solution manager to map their process, based on the transactions of the new version.
    Company Business Process:
    1.Based on ISO standards.
    2.By product line
    3.The process are defined using an structure with 4 Levels: Macro Process, Business scenarios, Business Process and Steps/activities.
    There are 2 possibilities to map the process into the Sap Solution Manager:
    1. Map the process by component.
    - Single Project
    -It means to make a list of all sap components with their process without mattering the business process.
    -Each product line can be a variant for an specific process. e.g: Sales by line 
    2. Map the process as ISO Standards
    - Several projects : For each product line
    Which cold be the better option in order to:
    - Easy configuration activities
    - Easy design of Unit and integration test
    - Easy activities of Process enhancement and optimization
    Theres another option?
    Thanks
    Alvaro Hernán Rojas R

    Hi Alvaro Hernán Rojas R ,
    The product line is the hierarchy of the finished goods.
    It is pertinent that the finished goods has emerged due to some process(es) carried on the raw material.
    Thus logically you should map in solution manager based on the process only.
    The macro process while depicts the processes at the highest level.The Business scenarios, Business Process gives a good idea about how you should go about configuring.The Steps/activities helps you to map in to SAP thro' T/Codes.
    From the point of view of all of the below three,namely,
    Easy configuration activities
    Easy design of Unit and integration test
    Easy activities of Process enhancement and optimization,
    the option   Map the process as ISO Standards
    - Several projects : For each product line,will be most ideal.
    It is the processes that drives the activities.The control activities like internal control etc are all process based.Given these,divorcing the business process from the configuration -as in -is certainly not a good practice.
    Hope this helps.
    Regards,
    Ramesh

  • GRC AC10 Agent based upon Role Attributes

    Hi Experts,
    Need your help on the issue.
    We are trying to achieve below configuration-
    After the Access request is generated, at the first stage, the approver should be selected based upon the business process of the role. If there are multiple roles with different Business Processes and their approvers, all of them should approve the request and then request should go to the next stage.
    There is also a field Business Process in the Access Request Screen which denotes the User's association with Business Process and not of the role. We are able to trigger the approval based upon this field, but we can;t find any option of approver selection based upon the business process of the role.
    Can some one show a way to achieve that?
    We are facing another problem, when the request is approved based upon the field Business Process in the Access Request screen, we are not able to find the request in next stage, it is still showing in the same stage while the role attached is only one and no other approver defined.
    What could be the reason behind it? Any help is highly appreciated.
    Thanks in advance,
    Sabita

    Hello Sabita,
    You can use the transaction : GRFNMW_DBGMONITOR_WD to check the logs.
    What i understand from your requirement and what would be my approach.
    1) Approvers who will be ROLE OWNERS
    > In this case 1st thing is you should upload few ROLES( NWBC>Access Mgmt-->Role Import) with all the details i.e function area, company , role owner, alternate approver
    ---> Now create a "Custom Initiator from SPRO >GRC>AC>workflow for access control>Define  Worflow Related to MSMP rules for Process ID SAP_GRAC_ACCESS_REQUEST
    Run Tx: BRF+ , and you will see a rule created , drill down to "Expression-->Decision Tree"
    and use "Table settings" to select "Condition Column" & "Result Rule sets", where you can configure the Custom Initiator
    Now run Open MSMP workflow config window
    1) Process Global settings ( Notification details if necessary)
    2) Maintain Rules (add your custom initiator rule )
    3) Maintain agents ( check & if not present add Role owner agent)
      i.e. GRAC_AR_ROLE_OWNER  (This will satisfy 1 st requirement)
    Create a new agent as BSM and mapp them as "directly mapped user" , similarly for the 3rd stage you can use directly mapped user.
    4)Variables & Templates --> Skip
    5)Maintain Path ( add 3 stages as required i.e role owner, BSM & security officer)
    Now for each stage click on "modify Task Settings" & click on individual check boxes as relevant , you can select "All approvers" or "Any one approver", Approve Request based on System & Role , or Request .
    Same applies to all the other 2 stages.
    6) Maint Route Mapping  --> put the path ID created in previous stage and save and activate.
    I hope this should give you some fair idea.
    Thanks
    Victor

  • We have to restrict the visibility of Questions based upon technical and co

    We have to restrict the visibility of Questions based upon technical and commercial. For example if there are two section commercial and technical, technical team should not be able to see commercial questions and vice-versa

    Hi
    I could suggest an alternative approach. You  take a call whether it suits your business process
    Create a project for the event. Within project you can create two seperate Rfx one with technical team as collaborator and the other with Commercial team. Two Rfx would be evaluated and awarded seperately by respective team. You can take help of your technical expert to create custom report for overall evaluation
    Regards
    Mudit Saini

  • Filtering entries in BP search based upon user

    Hi
    We are trying to filter out results shown in BP search, based upon users. For that we are trying to follow steps mentioned in IMG
    SPRO->IMG-> Customer Relationship Management -> CRM Cross-Application
    Components -> Generic Interaction Layer/Object Layer ->
    Component-Specific Settings -> Extend Object Model for Business Partner
    The field(region) we are using is already present in structure CRMST_HEADER_SEARCH_BUIL and as per my understanding we will be using method Adjust_Result_Table.
    But still I am not able to resolve it. Please help me in this regard.
    Thanx & Regards
    Hits

    Hi,
    The object that we work with at 2007:
    BuilHeaderSearchNew
    and not BuilHeader like at the last version
    so, we have to implement CL_BUPA_IL_HEADER_SEARCH and not CL_BUIL_HEADER
    1. Create :
    ZCL_BUPA_IL_HEADER_SEARCH
    with superclass:
    CL_BUPA_IL_HEADER_SEARCH
    2. At customizing:
    SPRO->CRM->Cross Application components->Generic Interaction Layer/Object Layer->component specific setting ->Extend Object Model for Business Partner
    add:
    External Object Name - BuilHeaderSearchNew
    Implementation Class - ZCL_BUPA_IL_HEADER_SEARCH
    Nou you can use this method for changing the result:
    ZCL_BUPA_IL_HEADER_SEARCH ->GET_RESULT_TABLE
    good luck
    ayelet

Maybe you are looking for

  • Dynamic cumulative Value in Bex report

    Hi I need to implement the following report but meet problem, User-input variables: Year: (single value variable ready for input) for instance 2005 Period: (interval variable ready for input) for instance from 4 to 6 The report should display as foll

  • Got the 6870 twin Frozr do I need a bios update?

    I returned my Gtx 560 and got the 6870 twin frozr oc. I like it much better. Do I need a bios update for this card? I'm assuming I have the stock version... Thanks

  • Full Editor Problem:  How to get rid of the Move Hand

    I've recently started working with PSE7 and have run into a situation in full editor that I can't resolve or even know what to search for.  When I load a photo from the organizer into the full editor, I am unable to use any of the tools from the tool

  • Problem using xsl to convert xml to xml

    I have and xml doc that has a format similar to this: <HEADER> <ORDER_NUMBER> <ORDER_DATE> <LINE> <LINE_NUMBER> <ITEM> </LINE> <LINE_NUMBER> <ITEM> </LINE> </HEADER> When I convert from xml to xml using xsl I do not get the second occurence of <LINE>

  • Urgent: session invalidate problem

    Guys: Has anyone had a issue with session.invalidate() using weblogic 8.1. we have vignette portal and weblogic 8.1. the problem i have noticed is session.getId retunrns a extra timestamp string in the end. And i am thinking since this changes the en