General step type for LV container in TestyStand 3.1

Looking for a general step type that can handle a LV7 container with 2-8 numerical values to be used with limits

Can't you just use the Multiple Numeric Limits Test, are am I missing something here.

Similar Messages

  • Add-on step types for TestStand?

    I am almost certainly reinventing some wheels with Teststand by creating some basic test types.
    For example, I just wrote a custom step type for taking an analog measurement from a DAQmx instrument. Surely someone has done this before, and surely someone will want to do it again. There's nothing proprietary about code that simple, and I'd be happy to give it away if there was a place to post it.
    Two questions:
    1. Is there an open-source repository for sharing custom step types?
    2. Are there add-ons for purchase with canned step types beyond those which come with TestStand?
    -Arthur

    Hi Jigg, 
    I looked at Averna.com, and I don't see any add-ins available on their website. It looks like they offer services mostly. 
    It's a good point about TS projects being so varied and customized. However, if custom step types are well architected, as the built-in step types are, then they ought to be reusable by others. 
    You're right also that I can accomplish my DAQmx steps easily using an Action step with the LV adapter. My motivation for the custom step is to improve the interface for setting up such an action. In particular, when using an IO channel in TS, I have to manually type in a text string for the DeviceName value, whereas I'd like to choose from a list of global names (e.g. with the global channel list control in LV). I can get this affect by using an Enum in a wrapper VI, which maps to an array of channel constants; but this is fragile if the available channels are changed (e.g. added, removed or renamed in MAX).
    Additionally, a custom step type is better than a step template for my purposes, because I can propagate changes in the step type to instances of steps throughout the test. This is incredibly valuable to me during development and debugging. It saves me time when I want to update a step that I've used many times throughout a test sequence. Although TS isn't itself a programming language, I find that I expect it to share certain traits with programming languages to facilitate development, such as type abstractions and a strict enforcement of congruency between types and instances. But I digress....
    Thanks for your suggestions.

  • Create step type for a COM step

    Hi,
    I'm using the COM adapter to interface with TestComplete.
    My current setup is I have a Master sequence file that contains two calling sequence files ( one for each test).
    The individual called sequence file have 4 steps as listed:
    Get Property: Create new object
    Calling a method to open project
    Call method to run test, and pass parameter to TestComplete
    Get property result
    My problem is if I want to pass a different parameter in the Call method to run test Step, I have to create another sequence file to do this.
    Is there a way to create a single Step Type to call method, run the test and pass parameter to TestComplete?  and how will it affect the other steps in this sequence file (e.g. Create new object, open project, Get property resut)?
    Thanks!
    Solved!
    Go to Solution.

    Jigg,
    Thanks for your help.  Please see attached file.
    Yes, I have to create another sequence file(with the 4 steps) if I need to pass a different parameter value to TestComplete via COM.
    note: the parameters that are used by the 4 steps are all in the Parameter tab.
    Regards,
    ph
    Attachments:
    sequence call with parameters.doc ‏160 KB

  • Workflow Step type for Container Operation

    Hi,
    A STEP in a given Workflow has to have an Agent? Can't I create a Step to get data from the DB into the container and that's it?
    I have created a container variable called "Grade" and I need to fetch the Grade of a User (WF Inititator) from a DB table and populate the "Grade" variable from the container that will be used in further steps.
    The Workflow gets kicked off but when it reaches the STEP, it stays there waiting for something (Action from a user?).
    Thanks & Regards,
    Ernesto

    Ok, now this is getting weird. Will try to explain what I am doing for one single step:
    1) I have my workflow. On PFTC I Have a workflow Template. Under the Container Tab I created a Parameter called "Grade" with the Import/Export check-boxes set and a "CreatedBy" parameter with the import/export check-boxes set as well.
    2) Then on the Workflow Builder I created a Step called Get Grade. This step calls a Custom Task and processes in the background so there is no agent determination.
        2.1) Here I have two bindings: a) Binding Between Workflow Container and Task and between Task and BO Method       
               Get_grade.  The Method Get_grade has 2 parameters (CreatedBy, that is an attribute of the Object and is an import
               parameteter and Grade that it is an import/export parameter).
        2.2) The Binding between the WF Container and the Task is like this:
                  &PROCCONFIRMATION.CREATEDBY& --> &CREATEDBY&
                  &GRADE& <-- &GRADE&
        2.3) Binding Between Task and Method is:
                 &_WI_OBJECT_ID.CREATEDBY& --> &CREATEDBY&
                 &GRADE& <-- &GRADE&   
        2.4) The Code for my method is:
    begin_method get_grade changing container.
    DATA:
          lv_grade TYPE zmm_app_req_info-grade,
          lv_userid TYPE zmm_app_req_info-requestor
    swc_get_property self 'CreatedBy' lv_userid.
    SELECT SINGLE grade FROM zmm_app_req_info
    INTO lv_grade
    WHERE requestor = lv_userid.
    IF sy-subrc IS INITIAL.
      swc_set_element container 'Grade' lv_grade.
    ENDIF.
    end_method.
    The only thing I need is to get the Grade parameter of the WF Container populated. This parameter will be used later on.
    Thanks & Regards,
    Ernesto.

  • PO condition type for Refundable Container Deposit.

    Dear all,
    Container deposit is a refundable amount we pay to the shipping line,
    along with the other relevant charges for imports of full container
    shipments coming by sea.
    In the present set-up the container deposit amount is getting added to the
    "material price" at GRN.
    Container deposit amount should go to the "GL account"
    without it getting added to the "material price".
    please advice how to do it.
    regards
    viru

    Hi
    thanks for replying.
    We have created the Condition Type but still it is added to material cost.
    Configuration below...
    Condition Class  - A
    Calculation Type - B
    Condition Category : B
    header Condition - ticked
    item Condition - ticked
    delete - ticked
    amount/percentage - ticked
    value - ticked.
    Group Condition - Ticked
    Accruals - Ticked
    vendor in GR - 2
    and in pricing procedure Account key and Accrual key is maintained.
    in OBYC G/L account is assigned.
    regards
    Viru

  • Workflow-step type condition

    hai all.....
      I have got a problem while working with the step type 'condition' in workflow,i.e i want to check the values in internal table in my step type for example,whether the internal table is initial....please someone help me ..its very urgent...

    Hi Kasi,
    I can provide u a simple workaround for this...
    U can create another table within the workflow container of the same table type.
    name it as empty_<table>.
    Than within the condition step, u can simply compare the original table with the dummy empty_<table>.
    This should solve your issue
    Regards,
    Mahesh.

  • Step type 'condition' in workflow

    hai all.....
    I have got a problem while working with the step type 'condition' in workflow,i.e i want to check the values in internal table in my step type for example,whether the internal table is initial....please someone help me ..its very urgent...

    Hi Kiran,
    For the Operator 'NX' u need not enter any comparison value. U click on the condition in the condition step type . A window appears and u click on the internal table in expression 1 and the operator as 'NX' . It doesnt need a comparison value.
    Now u check this with the test data in the same window . U will have an icon in the bottom of window to enter test data and another icon to evalutate it . U check it with data and without data. It will work .
    In ur reply to Kasi , Ur answer is not at all related with what kasi asked for .U can check the initial property while the data is in workflow container itself . Instead u r passing the data from workflow container to task container and then to method container and then the processing has to take place in BO and again the reverse should take place .Which is Unnecessary .
    Regards,
    Scobby.
             Be Free To Award Points

  • Latest IVI Class Step Types in TestStand

    IVI instrument classes have recently been defined for RF Signal Generator, Spectrum Analyzer and Power Meter. There are IVI drivers for these classes available for download from the Instrument Driver network. However, TestStand3 does no contain step types for accessing these drivers. Does anyone know when NI plans to add support for these to TestStand? Has anyone created step types for these classes, or have an example of how to do this?

    David -
    There is no documentation on the low-level workings of the TestStand IVI step types. As with many of the step types that have source code, it is available as examples of developing a step type in various languages.
    The additional work to add the a new class to the TestStand IVI step types is not small, that is why to date we have not done it. The amount of work could be divided into the following areas:
    * Update the TsIviStepTypes to add the new class to the enumeration.
    * Create the new step type definition (subproperty structure) based on the IVI spec.
    * Upcate the TSIviStep and TSIviSFP code to allow you to edit and perform the work to process the expressions and initiate the various IVI class operations.
    * Add low level
    IVI class layer logic to talk to the IVI class driver. This piece was previously done in a VB ActiveX control written by the Measurement Studio group in NI.
    The last two items are the biggest and they would take some time. That is why I was suggesting creating specific Action steps that call into custom code modules to talk to IVI directly, that is, no edit dialog box, no SFP, etc.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Export custom step properties for all sequences based upon expression

    I want to export only my custom step properties to a database. I realize this can be done one at a time but I'm looking for a more general, quicker solution since I have dozens of custom steps and many instances of each. I can probably do this, but if someone has already developed a method I could use the info. Thanks.
    kph 

    Hi kph,
    Unfortunately, there is not a straightforward way to solve this
    problem.  TestStand does not currently support any database
    configuration through programmatic means.  The customized database
    must be configured ahead of time.  I would handle the issue by
    setting up this database in configure >> Database Options. 
    The quickest solution for customization would be to duplicate one of
    the default Schemas (for example, Generic Recordset) under the "Schema"
    tab.  Under the statements tab, you can then cut out all of the
    unwanted statements (it sounds like you'll want to cut out most of
    them) and add new statments for your custom steps.   In this
    step, be sure to reference your custom step type for each statement in
    the "Types to Log" field.
    Under the Columns/Parameters tab, you can then add all of the properties you would like to save for each configured statement.
    At this point, you can use TestStand to create a SQL script file to
    match the Schema you just created.  From the Schema tab, you can
    select the Build .sql File dialog box.  After saving and running
    the script, you will have successfully created the required tables for
    the custom schema. 
    At this point, the custom properties should log to the database.
    Hope this helps in your application development!
    Andrew W. - Applications Engineer

  • Programati​cally Assigning Step Type Properties

    I have developed several COM instrument drivers in Visual Basic 6.0 which I can call from TestStand using the ActiveX/COM adapter. However, I would like to be able to create a custom step type for each of these ActiveX servers. Each server provides several creatable classes and a number of interfaces. Ideally I'd like to create a custom step type that references the GUID of my server but have the ability to programatically assign the step properties such as Interface ID and CoClass ID to use the classes and interfaces of my server that I want need to access.
    I have noticed that it is possible to create a step type (IEngine.NewStepType method) and set the Automation Adpater. Then I can programatically access its hidden properties (e.g.TS.SData.Call.CoClass). However, I am unsure of how to save and/or access this newly created step type. Where is it stored and how can I insert steps using of the new step type?
    I have attached a sequence I've been working on. This has dependencies on a Station global and a server unique to my system but illustrates what I've been trying to do. Do you have any advice of what I need to do next or have any examples available where this sort of thing has been done in the past.
    Thanks.

    Hi David,
    Here is some steps for saving your Step types.
    You will need to create a type palette Ini file to hold your step types.
    Get a PropertyObjectFile reference by calling Engine.NewPropertyObjectFile(FileType_TypePaletteF​ile).
    Set the path of the ini file with PropertyObjectFile(Path).
    Get a TypeUserList reference by calling PropertyObjectFile.TypeUsageList().
    Get a count of the number of Types in the TypeUsageList by calling TypeUsageList.NumTypes().
    This point create your Step types (as you have done). You will need a PropertyObject reference to your steptypes for use with the TypeUsageList.InsertType().
    Using each steptype PorpertyObject reference.
    Insert the Type into the TypeUsageList by calling TypeUsageList.InsertType(step type propertyobject ref, index (which will be your count), typeCategoryParam = TypeCategory_StepType)
    Call the PropertyObjectFile.IncChangeCount() to indicate file changed.
    Increment the count and repeat Insert for each of your step types.
    save the ini file PropertyObjectFile.SaveFileIfModified(prompt = TRUE).
    Tidy up by releasing references etc.
    I know this works for TestStand 2.0.1f1 and hopefully it will work for 3.1. Unfortunately I haven't got 3.x installed on a PC to try it.
    Hope this gets you started.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Custom Step Type: Sequence Call

    OK, I'm primarily a LabVIEW programmer, but in TestStand I understand how to:
    * Create a Custom Step Type
    * Link a LabVIEW Module for execution, post substep, edit substep, etc.
    * Prevent the user from selecting a different module for an instance of my Custom Step Type.
    All good stuff.
    Now here's what I want to do: the exact same thing, except that I want the custom step to call a subsequence instead of a LabVIEW VI during execution. Yes, I want to use a LabVIEW VI for the edit substep (to set certain parameters for this instance of the subsequence call. Yes, I want to use a LabVIEW VI for the post substep.
    Can this be done?

    Hi,
    Short answer, yes.
    When you create your step type, for the Specify Module you would use a SequcenceCall Adapter instead of your labview adapter.
    You would have to have your sequencefile with your sequences already created seperately and you would set the sequencefile not to use a process model in the sequencefile properties.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • IviAcPwr step type in Teststand available ?

    Hello,
    Im'using Teststand 2010 & Labview 2011 and i was looking for step type working with IviACPwr class...
    I found Dmm, Scope, Fgen, Power supply (DC) & Switch...
    Could someone tell me if there is an update for IviACPwr step type ? 
    Thanks for help.
    GG
    Ivi coompliance package 4.4.0.
    Solved!
    Go to Solution.

    There is not a built-in step type for IviAcPwr in TestStand.
    CTA, CLA, MTFBWY

  • DataSocket Step type

    I have copied from the developer zone the DataSocket step type for TS. I'm not able to use it. After I enter the URL and Data field I become an error that says "Error executing substep 'Configure URL'. System Level Exception. Error code:-17502"
    Can somebody help me? thanks a lot
    Angel

    Hi Angel,
    Attached is an example (saved as TestStand 2.0 file) that uses the datasocket step type to read and write from the datasocket server. Note that the server must be running before you run this example. There are just a few problems with the error handling mechanism and I have fixed those. Please try it out and let me know what happens.
    Ryan
    Attachments:
    DataSocket.seq ‏16 KB
    TSDataSocket.dll ‏1548 KB

  • Is there an IviSwitch step type?

    I would like to use the built-in IVI step types that comes with TestStand 2.0, to control my IVI instrument drivers. I am going to use several switching drivers, and I noticed there are IVI step types for DMM, Scope, Function Generators and DC Power supplies. Is there a step type for the IVI Switch class drivers?

    This will be available in TS 2.0.1 (free upgrad to TS 2.0) in a couple of months.

  • Data Acquisition Step Type - Tester Required

    I have just created a Basic Data Acquistion step type for testsand ver 4.0, i require someone who is willing to test out the step type and just give me feedback on any relevant bugs , look and feel etc. I have attached a few screen shots of the demo i have created.
    Attachments:
    Front Panel.jpg ‏622 KB
    demo.jpg ‏2759 KB
    Dialog.jpg ‏647 KB

    Data Acquisition usually refers to a DAQ board from NI so I think what you are looking for is a generic NI-VISA step type and a specific RS-232 step type. I have a NI-VISA step type that was originally written with LabVIEW 6.1 and for use with TestStand 2. I've atached that below. I don't have the .ini file handy and don't have time to recreate it but from the code, you should be able to see what needs to be added to the step properties. The basic step is a modified Pass/Fail Step.
    It's not that difficult to create your own custom steps. I've done a lot and it only takes a little while longer than doing a code module in LabVIEW or CVI. The extra time is in creating the edit step.
    I've got an RS-232 step type but part of it is product specific so it is proprietary and I can't post that. Look at the VISA example and the other examples of custom step types that are on the developer zone and see how far you get.
    Attachments:
    VISA IO.zip ‏188 KB

Maybe you are looking for