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

Similar Messages

  • Is there a possibility to change step-parameters during debug execution ?

    Would be helpfull to be able to change step-parameters during step-by-step dubugging execution.
    Has someone got an idea ?

    Hi bestware,
    I am assuming you want to provide some sort of debug from your Operator Interface.
    I've been looking at using the SequenceFilePreStep and SequenceFilePostStep to provide some sort of debug.
    Using the SequenceFilePreStep callback you could place some code in here to evaluate the step running (about to be executed) and display an appropiate Dialog box to allow the user to change any of the available parameter.
    My simple example tests if the step is a NumericLimitTest step type and if so, allows the user to change the Upper Limits only (said it was simple).
    Now to Looking at the Locals and Parameters in the Sequence of the Step about to be performed. You will have to look at RunState.Caller.Locals and RunState.Caller.Parameters. Get a list
    of the variables, find out the type and provide the suitable interface to be able to modify the contents.
    Look at here http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000FF750000&HTHREAD=000030207&UCATEGORY_0=_8_&UCATEGORY_S=0 and see what Dan has been doing in this area.
    Hope this is a start.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Debug_Example.zip ‏6 KB

  • Change step parameters in teststand edit mode

    Hello,
    I would like to know if it's possible to change the parameters in a step in edit mode of teststand.
    I have attached a sequence with one step, in this step I want to select DMMx.
    After the selection I want to teststand to fill in the parameters in the step so I can the choose which type of measurement and such.
    If this is not possible how could I make something like this possible.
    As you may see this will be a HAL, and the only option I can see which would do this is bij a string array but I don't want to type in the commands in string.
    Attachments:
    ring.vi ‏14 KB
    Sequence File 1.seq ‏5 KB

    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

  • How do I change the chapter order in itunes 11.0.4?

    How do I change the chapter order in itunes 11.0.4? The book chapters used to look like the playlists in music. You could ;change how it was sorted by the name time, artist etc. Now there isn't a catagory label and the background is the same color as the background of the book photo.

    Trent o
    Someone else in the forum told me how to do this.  If you have Onyx on your system then select Parameters, iTunes and turn off high contrast mode.  If you don't have Onyx, I'd suggest getting it.  It is freeware and used to help maintain your system.  Good luck
    Paul

  • Problem in Changing the Service Order Using BAPI_ALM_ORDER_MAINTAIN

    Hi ABAPers,
      I want to change the Service order(<b>TCODE-IW32</b>) Using <b>BAPI_ALM_ORDER_MAINTAIN</b>.But i don't know what are all the
    Parameters needs to be passed.I want to chnage the <b>COMPONENT</b> of the Service Order.Please anyone tell me what all are the
    mandatory parameters should be passed to change the <b>COMPONENT</b> of the Service Order.If anyone has the code Please send me.
      It is very Urgent Kindly help me to Solve this problem.
    Regards,
    Ashok.

    Hi Ashok,
    i am sending u the sample eg thread for bapi create i thnk u can find out the mandatory fields frm tht ...
    check this link though it is for create the mandatory fields and structure will be same .
    Create Order BAPI
    regards
    Sana M.
    reward for useful answers..

  • IDoc creation on save and change of production order

    I am looking for a way to create, and send if possible (if not I'll send with a batch job), on the save (creation and change) of production orders.  This will be a modified LOIPRO iDoc.  Currently we have a customer exit on the save of the production order but because it is before the save we must predict the number of the prod order.  This has worked but now we are creating one production order per line item in a sales order (automatically) so this is causing us to predict the same production order number twice.  We need a way to automatically create and send an iDoc for all production orders for given plants.  Right now the solution we are looking at is creating an output type and running through those output types a few times a day, sending them down to the Shop Floor system (proprietary system). 
    Is there anything setup in SAP that we can utilize?
    Regards,
    Davis

    Hi Rick,
    Follow the below sample steps for changing component quantity:
    DATA:
        l_methods TYPE bapi_alm_order_method,
        it_boperations TYPE STANDARD TABLE OF  bapi_alm_order_operation_e WITH HEADER LINE,
        it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
        it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
    1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
    CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
        EXPORTING
          number        = <production order number>
        TABLES
          et_operations = it_boperations
          et_components = it_components
          return        = it_bapiret2.
    2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
    LOOP AT it_components.
    MOVE-CORRESPONDING it_components TO it_components1.
    _*"Note here while moving change the component quantity"*_
    APPEND it_components1.
    CLEAR it_components1.
    ENDLOOP.
    3. Build the methods table for change production order :
    it_methods-refnumber = v_refnumber.
                it_methods-objecttype = 'COMPONENT'.
                it_methods-method = 'CHANGE'.
                it_methods-objectkey = v_objectkey.
                APPEND it_methods.
    "Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
    it_methods-method = 'SAVE'.
            APPEND it_methods.
    4 . Call
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
              TABLES
                it_methods   = it_methods
                it_component = it_components1
                return       = it_bapiret2.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • Price changes in Purchase order Line Items its displaying as"WF-BATCH"

    Hi Experts,
    I need some Information about Price changes in Purchase order Line Items,In PO Documents Price changes through this wf-batch has  changed the value of this row to xxx.xx USD, which does not correspond the invoice.
    If  i selected the Item changes in the Purchase Order its displaying as"WF-BATCH".
    So please try to clarify where this batch originates from.
    Brgds,
    RK

    Hi Jurgen,
    Thanks for your reply.
    But how i can check this in Purchase orders,on what basis this price changes information is recorded in PO Line Item level.
    can you pls guide me some steps to check the price changes through WF-BATCH.
    Brgds,
    RK

  • Standard tcode for (mass) data change of internal orders or ... ??

    Hi!
    I really need some info if there by any chance SAP has standard transaction for mass data change of internal orders (more particular, distribution rules in settlement rule section, which can be found in <b>KO02 transaction</b>  ).
    I am trying to change distribution rules for settlement receivers in <b>settlement rule section</b>, that is finish past distribution rules by filling TO PERIOD and TO FISCAL YEAR fields on the right of each rule, and then entering new rules (which i get from external source -flat file, ms excel, csv...).
    If i wanted to import data in SAP i guess i would have to develop a Batch Input. But that would take me some time to develop because it is pretty complicated.
    I found tcode KO08 but i do not really know how to use it. Maybe there is another tcode that i am not aware of?
    I would appreciate any suggestions!
    Thnx, UK

    Hi Srilakshimi,
    If you are familiar with MASS transaction, then you can modify User Responsible field for Internal Orders from transaction KOK2.
    As first step you must create a selection variant in order to define which orders you want to modify. Once selection variant was created, excute transaction with it and you'll get a screen similar to MASS transaction. Select the field you want and massively replace it. Do not forget to save.
    Best Regards!
    Mgitur

  • SAP PM : Unprocessed future change recs for order number : Error Message 688

    Dear Experts
    I received the following message when trying to close a PM order.
    Unprocessed future change recs for order number  prevent del. flag/c -  Error Message 688
    Kindly advise on the steps to be taken to resolve the above error.
    Thanking you in advance for your assistance.
    Regards
    Barry

    Hi Barry,
    Please find below thread for your reference.
    Error message when business completion of a production maintenance order
    Unprocessed future change recs for order prevent del. flag/completion
    Regards
    Terence

  • Mass Change to sales orders

    Dear All,
    If i have alot of sales orders and i want to carry out new pricing to all of them is there away to carry out mass change to them or i have to change them Individually,
    thanks in advance.

    Dear,
        You can use T. Code ME17 or MASS for mass change in sales order,
        Please go via below step :
        1) Enter T.Code MASS. Select Object BUS2032.--> F8. Select Sales Order Item Data (MASSVBAP). -->F8
        2) Enter Sales Order No. and plant code --> F8
        3) Click on Display All Records
        4) Click on Select field button
        5) Select field which you want to change in selection criteria
        6) Enter new value which you want to replace in place of old field.
        7) And click on carry out a mass change button.
        8) Select column which you want to change.
        9) Save it.
       You can also change your sales order price using this path like --> VA05 ---> Orders -> Edit -> Mass change -> New pricing.
    Regards,
    Sandip

  • Changes in production order/Process order

    Hi Experts,
    Very much hopeful that I will get solutuion of below:
    How or where to see changes done in production / process order.
    e.g Suppose I have created one production order. Then release it in CO02. Then I changed order quantity from 100 to 200 ( Earlier it was 100 ). Then I delete one BOM component from order. Then I changed finish date of order.
    Pls tell me how to track these changes. What configuration need to track these changes. Please tell me step by step procedure.
    I have read related thread in sdn itself but not satisfied.
    Please help.
    Regards,
    Vipul

    Hi,
    For tracking in changes of Production / Process Order, you need to activate Order Change Management (OCM). After activating the same, you can view changes of Production  order in CO02 / CO03.
    for more details of OCM go through following link :
    [Order Change Management (OCM)|http://help.sap.com/saphelp_erp60_sp/helpdata/en/a5/63198843a211d189410000e829fbbd/frameset.htm]
    Hope this helps.
    Regards,
    Tejas

  • 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

  • Change the sort order (ascending/descending) based on parameter field

    I have created a formula on a subreport to change sorting based on variables.
    select {?Pm-@Sorting}
    case "property_type_desc ASC" :
    {owned_property.property_type_desc}
    case "property_type_desc DESC" :
    {owned_property.property_type_desc}
    default:
    ({owned_property.property_type_cd}; )
    how can I change the sort order ascending and descending using the formula??
    Thanks, Jessica

    Try this
    1. Create a parameter with 2 default values in the picklist: Descending and Ascending.
    NOTE:
    In Crystal Reports version 5 or 6, it is not possible to have a pick a parameter value from a list. The user must enter a specific value, guided by the prompting text. For example : To Sort in Ascending order type A, to sort in Descending order type D.
    u2022 On the 'Insert' menu, click 'Parameter', then click 'New'.
    u2022 Type the name and prompting text for the parameter in the corresponding boxes.
    u2022 In the 'Type' box, click 'String'.
    u2022 Click 'Set Default'.
    u2022 In the 'Value to add' box, type 'Descending' then click '>' to move it to the 'Default Values' list.
    u2022 Repeat the above step for 'Ascending'.
    u2022 Click 'OK', then click 'OK' again to return to the report.
    2. Create 2 formulas based on the field you want to change the sort direction on:
    u2022 On the 'Insert' menu, click 'Formula', then click 'New'.
    u2022 Create this formula:
    @Asc
    If {?Parameter} = "Ascending" then
    u2022 Save this formula and close the Formula Editor. This brings you back to the Formula tab of the Insert Fields dialog box.
    u2022 Click 'New' and create this formula:
    @Des
    If {?Parameter} = "Descending" then
    u2022 Save this formula and close the Formula Editor.
    u2022 Click 'Close' to return to the report.
    4. Sort the report based on these two formulas.
    u2022 On the 'Report' menu, click 'Sort Records'.
    u2022 In the 'Report Fields' list, click {@Asc} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Ascending'.
    u2022 In the 'Report Fields' list, click {@Des} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Descending'.
    u2022 Click 'OK' to return to the report.
    Once you preview the report you will be prompted to select a parameter value, which will determine how the report is sorted.
    Regards,
    Raghavendra

  • IDOC generation to change the Purchase Order

    Hello Experts,
    I am developing the program for changing the purchase order through IDOC.
    We will get the file from legacy sytem with control and header and detail record.
    So when ever the there is EOR as last field in the detail record. Im updating the IDOC_DATA and  calling functin IDOC_INBOUND_SINGLE.
    SO when ever there is mulitiple line items changes for single PO.
    we will get the file like that for last detail record we will get EOR as last field for last line tiem .
    So i m grouping in to  one control and one header and one or more detail record and passing to the IDOC_DATA calling functin IDOC_INBOUND_SINGLE.
    At this time i m getting error like that header segement is missing
    Please help me to solve this issue. Any one worked on similar type of issue please help me.

    Cannot see your program of course but check that you populated the header segements.
    What does  IDOC_INBOUND_SINGLE expect, does it expect a particular Idoc type? in that case you gotta build that first from your file.
    Is IDOC_DATA all that this function requires, what are the other input parameters?
    regards

  • Restrict manual change in sales order with respect to quotation

    Hi All,
    The user use to create sales order with respect to quotation.  The user can able to change pricing as well as some header and item fields.  How can I restrict user for manual change in sales order expect some specific fields.
    Thanks.

    Hi Sunil,
    It is possible through configuration better you can post in sd forums.
    For the condition type settings , ensure that the manual entries is 'D'. it wont allow any changes in the order.
    Regards,
    Madhu.
    Edited by: madhurao123 on Aug 1, 2011 1:08 PM

Maybe you are looking for

  • What is best implementation for two human tasks?

    I am trying to find the best way to do this, I have two human task workflows that I have created. The application we are making uses one of these workflows based on a parameter you give it through a text box. So lets say you have workflow A and B. If

  • Do precise sliders adjustments with the mouse wheel

    I would like to be allowed to use the mouse wheel to move sliders in small increments/decrements. E.g. 1 by 1 for Recovery and Blacks and 100 by 100 for Temp in Develop module. To be also fast, I should just need to hover with the mouse over the slid

  • Pricing date - Slales documents

    Our business process is like this: Sales document1- sales document2- Billing document. I maintained default pricing date & Billing date = current date for both sales document types. I am using different document types for sales docu1 and sales doc2.

  • SPAM Update stuck in IMPORT_PROPER

    Hi, I was updating SPAM update 26 for WAS 7.00. It got stuck and the job was going on and on. When I stopped the transaction and restarted SPAM, the SPAM version was shown as 26 but the status was red in IMPORT_PROPER. I tried restarting many times b

  • Indesign won't run! help!

    I have a macbook and have recently installed cs5 suite. Everything runs perfectly fine execpt indesign.  I have no idea what the problem is. I can open it but as soon as I try to use it it freezes and then gives me the spiney wheel of death and I hav