TestStand Handles parameters' order in seqs

Hi, Guys, I'm new to TestStand and I'm using LabVIEW for years.
I want to know if TestStand can do the job below.
Some background:
1, Various Test parameters are to be adjusted or measured, and some of them should run first.
2, User might define some test sequence including some or all test parameters, and their order might be very different.
3, Parameters belong to some Classes.
e.g, Set Temp@-10, Set Temp@25 are Class Set_Temp
4, Test conditions and seqs are stored in database. Some conditions exist in Parameters, like Class Set_Temp.
5, To reduce instrument idle time, we separate test parameters to different tester, so my boss has to hire more operators and handing time with DUT would increase.
We install/uninstall DUT to EVB manually.
For example,
1) A runs first
2) C runs before E,F.
3) H runs after A, and it doesn't mater if it runs after H. Let's assume Parameter C is for acquiring wfms/data, etc. The following E, F are for analysis.
4) CD, CB,CG can't run in parallel.
Seq1:
Parameter A
Parameter D
Parameter C
Parameter E
Parameter F
Parameter H
Seq2:
Parameter A
Parameter B
Parameter G
Parameter C
Parameter E
Parameter F
Parameter H
My question is
Can TestStand arrange them automatically based on the present seq? So we can merge 2+ testers to one?
I don't want to alter database tables too much. I'd like to use the present UI. 
Thanks.
Solved!
Go to Solution.

labc,
Your use of the word Parameter makes absolutely no sense regarding TestStand.  I'm assuming you mean Step????
In TestStand there are two uses of the word parameter:
Use A: a parameter is a variable that is passed to a code module (i.e. LabVIEW).  Since you've been doing LabVIEW for years then think of a parameter as a connector on the connector pane.  For a subVI you can have multiple connectors.  They are all passed at the same time.  When TestStand calls a code module, whether it's a dll, VI, COM or other, they all go at the same time.  Order is irrelevant.
Use B:  a Parameter (and I capitalize it on purpose) is a section for variables in a sequence.  It is used to pass information back and forth between calling sequences and sub sequence (just like subVIs).  Think of it as the "connector pane" of sequences.
Ok stepping down from my soapbox now......
In order to find you the right solution I would need to understand your application and use better.   Let me know if my understanding is correct:
You have 2 sequence files with various steps that run in order.  They both have some of the same steps in them?  You are worried that if both Sequence Files are executed at the same time then they could conflict with each other?  The simplest solution is to just not run them at the same time.  Otherwise you will have to use locks and synchronization so they don't tromp on each other.
Also, where are your Classes stored?  Are they .NET assemblies?  Where are you storing your "parameters"?  Are they in the Sequences or in some code module?
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • Change step parameters order

    Is it possible to change the parameters order?
    Or are they locked and only defined by the connector pane?

    Hi Darkxceed
    My recommendation for doing a HAL i TestStand would be to use an object oriented approach. 
    Create a class hirachy of your instruments like the following inside of LabVIEW:
    Then use Dynamic Dispatch to make TestStand choose the instrument of interest. There is an example of using Dynamic Dispatching in TestStand here:
    TestStand Using LabVIEW OOP Truck Example
    https://decibel.ni.com/content/docs/DOC-24098
    This solution will offcourse require you to read up on creating applications using object oriented programming in LabVIEW. We at NI have a course that walks you through both the theory and practical implementation. It is called Object Oriented Programming in LabVIEW. If you have a SSP agreement, you should be able to find it as Self Paced Online Training as a part of your contract.
    There is also a good introduction to OOP in LabVIEW and HAL here:
    https://decibel.ni.com/content/docs/DOC-32506
    (There is a video embedded in the PDF)
    Best Regards
    Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark

  • 5 Ways to Handle Sales Orders in IC WebClient: Which is Best for You?

    Hello Interaction Center community!
    If your IC project includes CRM Sales, or if you are considering adding support for sales processes, check out the following article which has been posted by permission of CRM Expert
    (crmexpertonline.com) and Wellesley Information Services.
    [5 Ways to Handle Sales Orders in IC WebClient: Which is Best for You?|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3040e1d3-da06-2b10-afa3-e0952aac10a1]
    We want your feedback. Which sales option are you using in your project? What were the main decision criteria? Please reply with your input. At least two points will be rewarded

    Over 90% of our orders come in via CRM ISA or EDI.
    B/c of the reasons mentioned in the article we use R/3 for entry of the remaining orders as well as order management.  Since R/3 was live years before CRM, there are custom exits and fields required that would be an investment to replicate.  Changing the plant on the line item is a common occurance for our business.  Of the CRM scenarios X,Y,Z we use scenario X where once the order is touched in R/3, R/3 becomes the owner of the order.
    Our CRM version just upgraded to 5.0 and our R/3 system is now being upgraded to ECC 6.0.  As our do use the IC web client, we are investigating trying to move to the ERP Sales order.  The upgrade architecture will also open scenario A where either CRM or ECC could change an order even though X should still support our requirements.
    Glenn

  • Handling Planned order created from Demand planning and Sales order in MTO

    Hi all
    In MTO\ Repetitive we genrate Dependent requirement from demand planning (PIR) after running MRP which finally planned order created but on the other hand in short term we have Sales order which generate planned order after running MRP(In MTO), How we should handle planned order generated from Demand planning and the ones generated from sales order.(both after MRP Running).
    Regards
    Babak Bolourchi

    Dear,
    You can combine the planning strategy also main as 56 and second as 65 and in demand managment MD61 you have the option select requirement type.
    Then while creating sales order use MTO strategy and take MRP run through MD50 and then MD02.
    and if you want to assign the stock to sales order then you and do it through MB1b with 412 E movement type.
    As per my knowledge, generally 56 strategy only takes Sales Order Stock into consideration.
    Consider setting the Individual/Collective indicator to 2.
    Mark those characteristics that should have a usage probability in demand management as Relevant for planning.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Handle to order context variable in Orchestration sequence

    hi,
    is there any way to get handle to order context object in orchestration sequence (order item selector xquery).
    Regards,
    Rutvej

    Hi Jordan,
           There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
         Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
        Hope this helps you..and assign the points if ts needful
    Regards,
    Venkat.

  • Production order confirmation_Parallel seq

    Dear friends,
       I have created routing for my finished goods with standard seq and two parallel sequence namely P1 and P2.
    I have succesfully run my MRP through MD02.
    Now  i wants to confirm my production order by CO11 (Operation level)
    My total production order quantity is 100
    in co11...
    i have enter my order , sequence p1 (paralllel sequence 1) and opration as 10.
    In this i have confirmed only 60 quantity.
    Then i tried to confirm the same order with P2 (Parallel seq2) with the remaining quantity (ie 100-60=40).
    So if i select the button system brings me 100 quantity instead of 40.
    Please guide me, why it is so?
    Thanks
    Shri

    Hi Srinivas,
      It is not working. You see my scenario.
    I am having of finished product called HANDLE.
    I have created routing for this HANDLE with standard sequence 0 and two parallel sequences called P1 and P2.
    In Standard sequence i have assigned only one workcenter  called "PACK1" (Operation number is 10)
    Then i have created parallel sequence P1 with refrence to  standard sequence 0. In my parallel sequence P1 i did not entered branch operation but in return operation i entered as 10 (operation number of standard sequence).
    In parallel sequence P1 also i have assigned only one work center called "PACK2"(Operation number 10)
    With the same way i have assigned for P2 also but the work center is different (PACK3).For this P2 also the the refrence seq is 0 and return opration is 10.(No branch operation).
    Now u assume that i have got production order quantity as 100.
    Now i am getting final finished component of HANDLE from each sequence.(0,P1,P2).
    Stanndard seq will deliver the out put of 40 HANDLE, P1 will deliver the output of 30 and P2 also 30.
    This is my query:
    In t.code co11,
    i am entering order, sequence as 0, activity as 10. Then i am entering yield quantity as 40. Then i saved.
    Then i wants to enter confirmation for seqeuence P1.
    As same way, in Co11, enter order, seq as p1 and activity as 10. Now if i press the button "Actual data" the system should propose to me only 60 (I do not want 100 again).
    But the system is NOT proposing yield quantity as 60. Why?
    I think you understood my process.
    Could u help me?
    Thanks
    Shri

  • Handling parameters when using BI Server as a Data Source

    Hi,
    Following an upgrade of our BI Publisher 10g content to 11g I've come across a syntax issue with 11g when it comes to the handling of parameters in BI Server Data Sets.
    Under 10g, the documentation stated the following:
    +"If your data source is the Oracle BI Server, use the following macro to handle the null:+
    +{$ if ${sYear}='*'$}+
    +{$elsif ${sYear}='2000' $}+
    +where Year = :sYear+
    +{$else $}+
    +where Year = :sYear+
    +{$endif$} "+
    http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T518230T518233.htm
    Under 11g it does not seem to allow the use of macros defined in Data Sets and raises the following error when saving the query:
    +"java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <$>: Syntax error [nQSError: 26012] ."+
    If macros are no longer supported, what is the best approach to handle null value parameters (caused by all choices / nothing being selected)
    as they need to be defined in the Data Set WHERE CLAUSE?
    I've tried a rather clunky CASE WHEN statement which handles string parameters fine, but dates are another thing as null values are returned as 'null' text which causes TYPE mismatch errors.
    Hopefully there is an elegant way to handle this in 11g (the 10g macros were very straight forward when dealing with BI Server)
    Many Thanks

    If what you are saying is true then I would highly recommend open a ticket with Oracle Support.
    They should provide and alternative for handling NULLS in 11g.
    regards
    Jorge

  • Handling Purchase Orders in SAP Learning Solution

    Hi all,
    We are currently looking into having purchase orders closely integrated in our SAP Learning Solution, meaning that all courses, internal and external, that comes with a prize have purchase order information on it. Meaning the manager approves the purchase order (and thereby the participation on the course) in a workflow.
    The approval yields a course booking and Finance has all the needed information based on cost center and organization data.
    Please help as we are currently seeing this task as almost impossible to handle in the current setup.
    Best regards
    Jakob Stigaard Sørensen

    Noone has worked with Purchase Orders in connection with participation in courses before, find that a bit scary Not sure how we'll handle this development than...
    //Jakob

  • Modify TestStand Step parameters from LabVIEW in runtime

    Hi all,
    I try to change parameter values of a TestStand step in LabVIEW. When I return from the modifying vi (Learn Barcode Template), the following happens:
    1. I watch RunState.SequenceFile.Data..., I see the changed parameter
    2. I watch RunState.Sequence.Main..., which is basically the same target as mentioned above, but here the parameters are unchanged.
    3. I need the changed parameters in the Read Barcode.vi. This vi returns an error, because the parameters are unchanged.
    4. When I restart the sequence, and halt at the first step, and watch again both parameters (the sam parameters but different path), the changed values appear.
    Is there a method, which enables to refresh the changed parameters immediately? I tried for example IncChangeCount, but it just marks the sequence as changed. In the learn Barcode Template.vi I open and close the references properly.
    regards
    MB
    Attachments:
    screenshot_01.JPG ‏140 KB

    Hi,
    the parameters will be tranfered when the code module execution is finished. I don't understand what exactly you're changing inside your VI, possibly you can post the VI for getting some more information.
    When you change your parameters inside the file you're calling in the first step, it's normal that the parameter in TestStand first will be refreshed when you execute the sequence once again in my understanding.
    When you use the ActiveX API inside the LV VI and want to change values in TestStand, you can use variables. Parameters will be transfered when calling the code module or returning from the code module.
    Another point is the interactive execution, is there a special reason why you execute without a process model? Possibly there could be changes in the runstate property object also...
    regards,
    Nikolai

  • Production order with seq table names requested

    Hi
    We have production order with sequence.  Each sequence has several operations.  How do i get the list the operations for each sequence.
    Tables AFKO , AFVC are good but when production orders aer created with out reference to the Routing there field seq no is not updated in AFVC. 
    Any ideas are welcome.
    Regards
    Anvi

    Got it guys
    Table AFVC
    With routing use field plnfl
    Without routing use field  aplfl.

  • Bluetooth Message Access Profile server driver - how to open an handle in order to send / recv messages?

    Hey,
    I've downloaded and installed a Bluetooth Message Access Profile server driver from the following link: http://www.driverscape.com/download/bluetooth-message-access-profile-server
    Right now, I'm looking for a sample application that creates a handle to this driver in order to send / recv messages. Can you please help?   Efrat.

    I'm sorry, I didn't understand your answer.
    I've installed the above server driver on PC1.
    Additionally, I'm written a Bluetooth MAP client on PC2.
    How can I send / recv data from one to another, using this profile?
    Thanks,
    Efrat.

  • Significance of Handle -- CRM Order

    All
           What is the significance of Handle in CRM Order ?
           When this can be used ?
    Cheers
    RJ

    Hi RJ,
    I am not able to get what is "Handle in CRM Order"!!!
    I am aware of "Handling Indicator" in CRM sales scenario. The handling indicator provides logistics information on the product, and shows whether a product has to be handled in a particular way in the warehouse or when it is transported.
    Handling indicator is displayed for a product in the sales order at item level, if a value was entered for this field in the product master record.
    Please find more details in the following links:
    http://help.sap.com/saphelp_crm70/helpdata/EN/47/53ce50c6c805ebe10000000a42189b/frameset.htm
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/5754cf01a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan
    Edited by: Chethan Kumar C M on Oct 7, 2009 6:23 AM

  • Unacceptable handling of order

    I pre-ordered some software on 3/5/2014. There was no option for store pickup, it was web only. The release date of the software was 3/10/2014. My order is now stuck in backorder waiting for a bulk shipment. The software is available in all the stores. Neither customer service or I  are able to cancel the order or to change to a store pickup. This is messed up. Pre-orders should be handled first. I will not recommend or order anything from Best Buy again.

    Hello jbaum46, 
    Pre-ordering an item is a great way to ensure you get your hands on it, especially as we tend to ship it as close to the release date as possible. It's disappointing to hear your game hasn't quite arrived (or shipped for that matter) five days since it's release, so I apologize for any frustration this may have caused.
    Upon review of your order using the information located on your forum profile, it seems there is some sort of unexpected lock on your purchase. Please know I'm partnering with our internal support team to see how this might be rectified, and i hope to have some answers for you within the next couple of days.
    I'll be in touch soon,
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • SP parameters order

    Hi! I have a report that works fine in designer, but when used in a web app, the parameters are sent in the wrong order to the stored procedure. I can see with SQL profiler that the parameters returned by sp_procedure_params_90_rowset  have the right position. I can see in the designer that the ordering is ok (even when I change it..it doesn't change the order the params are sent to the SP).
    I'm running on 11.5.12.1838. All other reports we have are fine. I tried the broken report with OLEDB or native and that didn't change anything.
    I'm running out of things to try. Anyone had that issue before ? How did you solve it?
    SP signature is :
    ALTER procedure [dbo].[spr_GetOTSales_stores_compare]
      @store_id int=0,
      @period_no int=0,
      @language_cl varchar(8)='ENGLISH'
    as
    begin
    Profiler logs this from CR:
    exec "OTRHP"."dbo"."spr_GetOTSales_stores_compare";1 'ENGLISH', 201406, 0
    which gives
    Error converting data type varchar to int.
    that CR reports as Database Connector Error [Database Vendor Code: 8114]
    Thanks

    We are using SQL 2005 (9.0.3080).
    I tried with Native client 10 with no success.
    Here is output from SQL profiler, first set is when ran from CR designer, 2nd from the web app:
    [From CR designer execution using Native client 10]
    User Error Message
    Changed database context to 'OTRHP'
    User Error Message
    Changed language setting to us_english
    -- network protocol: TCP/IP
    set quoted_identifier on
    set arithabort off
    set numeric_roundabort off
    set ansi_warnings on
    set ansi_padding on
    set ansi_nulls on
    set concat_null_yields_null on
    set cursor_close_on_commit off
    set implicit_transactions off
    set language us_english
    set dateformat mdy
    set datefirst 7
    set transaction isolation level read committed
    RPC:Completed
    exec [OTRHP].[sys].sp_tables_rowset N'spr_GetOTSales_stores_compare;1',N'dbo',NULL
    RPC:Completed
    exec [OTRHP].[sys].sp_procedures_rowset N'spr_GetOTSales_stores_compare',1,N'dbo'
    SQL:BatchStarting
    exec "OTRHP"."dbo"."spr_GetOTSales_stores_compare";1 0, 201401, 'ENGLISH'
    SQL:BatchCompleted
    exec "OTRHP"."dbo"."spr_GetOTSales_stores_compare";1 0, 201401, 'ENGLISH'
    RPC:Completed
    exec [OTRHP].[sys].sp_procedure_params_90_rowset N'spr_GetOTSales_stores_compare',1,N'dbo',NULL
    [from web app]
    User Error Message
    Changed database context to 'OTRHP'
    User Error Message
    Changed language setting to us_english.
    -- network protocol: TCP/IP
    set quoted_identifier on
    set arithabort off
    set numeric_roundabort off
    set ansi_warnings on
    set ansi_padding on
    set ansi_nulls on
    set concat_null_yields_null on
    set cursor_close_on_commit off
    set implicit_transactions off
    set language us_english
    set dateformat mdy
    set datefirst 7
    set transaction isolation level read committed
    exec [OTRHP].[sys].sp_tables_rowset N'spr_GetOTSales_stores_compare;1',N'dbo',NULL
    RPC:Completed
    exec [OTRHP].[sys].sp_procedures_rowset N'spr_GetOTSales_stores_compare',1,N'dbo'
    RPC:Completed
    exec [OTRHP].[sys].sp_procedure_params_90_rowset N'spr_GetOTSales_stores_compare',1,N'dbo',NULL
    RPC:Completed
    exec [OTRHP].[sys].sp_procedure_params_90_rowset N'spr_GetOTSales_stores_compare',1,N'dbo',NULL
    RPC:Completed
    exec [OTRHP].[sys].sp_tables_rowset N'spr_GetOTSales_stores_compare;1',N'dbo',NULL
    RPC:Completed
    exec [OTRHP].[sys].sp_procedures_rowset N'spr_GetOTSales_stores_compare',1,N'dbo'
    SQL:BatchStarting
    exec "OTRHP"."dbo"."spr_GetOTSales_stores_compare";1 'ENGLISH', 201406, 0
    User Error Message
    Error converting data type varchar to int.
    SQL:BatchCompleted
    exec "OTRHP"."dbo"."spr_GetOTSales_stores_compare";1 'ENGLISH', 201406, 0
    Could you refresh my memory as to how the web app project should reference CR assemblies?
    I currently copied the following dll into my project's bin dir and added those to the project references.
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    and i took those dll from an install of CR designer XI R2 SP 6 applied from the folder:
    C:\Program Files (x86)\Business Objects\Common\3.5\managed\dotnet2
    This setup works fine for all other reports except this one.
    Thanks for looking into this. I've spent many days already poking around to fix this.

  • StoredProcedureCall with IN OUT Parameters order in Stored Procedure

    Refer to the Toplink documentID:Note 224269.1 - Using IN, OUT and INOUT parameters with StoreProcedureCall. This document can be download from OracleMetaLink:
    http://www.oracle.com/support/metalink/index.html
    I followed the sample code in this document to write a test case for one of complicated PL/SQL codes. The test case showed wrong results for IN/OUT and OUT parameters.
    At the end of the document above, I found this paragraph
    " Check the ordering of the arguments to make sure that they are in the following sequence:
    All 'IN' parameters, All 'OUT' parameters and then all 'INOUT' parameters.
    Your stored procedure must be set up the same way, since this is how values will be passed to it. This is the way in which TopLink stored procedure calls have been designed and implemented. "
    The order of our PL/SQL codes is IN, IN/OUT and OUT. We are not allowed to change our PL/SQL codes because they are currently used in production environment. We do not want to create another versions of PL/SQL codes to comply with IN, OUT, IN/OUT parameter order mentioned above.
    Do you have any work around solution?
    Dennis Nguyen
    LA County Sheriff IT

    I tried a simple example using named parameters and it worked in 9.0.4:
    CREATE OR REPLACE PROCEDURE
    "TEST_904"."STOREDPROCEDURE_INOUT_OUT_IN" (
         P_INOUT IN OUT NUMBER,
         P_OUT OUT NUMBER,
         P_IN NUMBER) AS
    BEGIN
    P_OUT := P_INOUT;
    P_INOUT := P_IN;
    END;
    public void storedProcedureOutInoutInTest() {
         System.out.println("storedProcedureOutInoutInTest");
        StoredProcedureCall call = new StoredProcedureCall();
        call.setProcedureName("STOREDPROCEDURE_INOUT_OUT_IN");
        call.addNamedArgument("P_IN");
        call.addNamedOutputArgument("P_OUT", "P_OUT", Integer.class);
        call.addNamedInOutputArgument("P_INOUT", "P_INOUT", "P_INOUT", Integer.class);
        call.setUsesBinding(true);
        DataReadQuery query = new DataReadQuery();
        query.setCall(call);
        query.addArgument("P_IN");
        query.addArgument("P_INOUT");
        Vector args = new Vector(2);
        args.add(new Integer(1));
        args.add(new Integer(2));
        Object result =  session.executeQuery(query, args);
        Map map = (Map)((Vector)result).firstElement();
        Integer result_p_inout = (Integer)map.get("P_INOUT");
        Integer result_p_out = (Integer)map.get("P_OUT");
         System.out.println("P_INOUT = " +  result_p_inout);
         System.out.println("P_OUT = " +  result_p_out);
    }Result:
    P_INOUT = 1
    P_OUT = 2

Maybe you are looking for

  • Elastic layout and centering

    I have a elastic layout with just one column. The main content container has a centered background (which consists of a two vertical colored bands, with the transition in the middle of the page). Padding and margins for body and container are zero. T

  • Image Exceeds the maximum allowed size for a dual layer configuration

    Error message appearing on the log it's a 7.2gb project on a 8.5gb dvd. Any ideas as to how to fix this. The build was okay.

  • Two values in each node of a JTree

    How can i store two values in each treenode of a jtree? The first one is invisible and the second is the one displayed in the tree list.For example, i want to store the id of a database table in the invisible element and a display name in the second.

  • New harddrive, opportunity for organization?

    My old trusty Macbook has been crawling along for too long now, so I decided to rebuild it with a new battery, more RAM, and most pertinentily, a 500GB harddrive. Two other relevant variables: I have a music collection that I've been working on for d

  • How do I get albums to display as list view?

    For the last several "Upgrades" I cannot get iTunes to display my albums in a "list View" only as pictures of the cover art.  I have gone into "Edit>Preferences>General" and checked "Show list views all media" with no result.  It seems they left me i