How to Pass O.I. Settings from Sequence to O.I.?

If I don't use customstrings.txt, may I pass the settings include application titles, and those string from TestStand Sequences?
It will be better if the test station have to frequently switch between different sequence and display what it is running.

Km9394,
I'm not sure if I understand your question completely. However, I will try and answer my best and if this does not answer your question, please respond with a clearly defined question.
First, I could not find a file names customstrings.txt. There are some files that are used for language translation purposes, but from your post it doesn't look like you want to use these either. They don't allow you to dynamically change any strings.
If you have string data that is stored in your TestStand sequence and you want to somehow display this information in your TestStand Operator Interface, probably the best solution would be to use UI Messages. UI Messages allow you to send information from your TestStand sequence through the TestStand Engine to your Operator Interface. Then when the information is in the Operator Interface, you can change values of your Operator Interface program.
Using UI Messages is broken down into 2 steps, posting the UI Message and receiving the UI Message. To post a UI Message from your TestStand sequence, simply use the ActiveX adapter to call the TestStand API method PostUIMessage (or PostUIMessageEx if you are using TestStand 3.0). You identify the message you are posting with a unique number above 10000 as one of the method's parameters. You can also pass string, numeric, or ActiveX data with the UI Message. This method will pass the data to the TestStand Engine.
Once the TestStand Engine receives the UI Message, it will send the UI Message to either the TestStand Sequence Editor or to the TestStand Operator Interface, depending on what application is currently being used to run the sequence. If the sequence editor is used, custom UI Messages are discarded.
If in the Operator Interface, there is a section of the code that explicitly handles these UI Messages. Depending on what version of TestStand you are using and what programming environment you are using, this is handled differently. On a high level, all of the different operator interfaces handle UI Messages by receiving and sorting UI Messages by the UIMessageCode (the number that identifies what kind of UI Message was sent). Then based upon that number, the program determines what to do. This is usually implemented using a case or switch statement.
In your case, whenever you receive this custom UI Message, you can retrieve the string data and write that string value to your Operator Interface value you wish to change.
If this concept of using UI Messages does not seem to be a plausible solution, please respond including a more detailed problem description.
Regards,
Shannon R.
National Instruments

Similar Messages

  • How to pass parameter /1BCDWB/DOCPARAMS from webdynpro?

    Hi Experts,
    We create a wdp view and indert an adobe form into it. And this form has an interface based on XML schema.
    Now we want to translate this form into multi-language, and in wdp side, we will display diffenent language version of form for different regions.
    I found that there is a paramater /1BCDWB/DOCPARAMS-LANGU, and it seems can control the language version in processing.
    But I donot know how to pass parameter /1BCDWB/DOCPARAMS from wdp to adobe form.
    Its my 1st to use adobe form and wdp, i really have no way out. Any advice will be Appreciated.
    Thank you.
    Richard

    @sahai: Hey no , I am using very very simple example without any query or complex statement. I just have 2 radio buttons in VIEW1. On clicking the radio button, the naviagtion to view2 is done and the value of selected radio button is passed as a parameter in the plug.
    In the view2 , i just have a caption in my layout where i am displaying the parameter value by setting the attribute.THe warning i get is in view2. Here is the code. Apart from this there is no coding in view2.
    METHOD HANDLEPLUG_IN_V2 .
        DATA:
          NODE_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_CAPT_MSG                       TYPE IF_VIEW2=>ELEMENT_CAPT_MSG ,
          ITEM_MSG                            LIKE STRU_CAPT_MSG-MSG.
    *   navigate from <CONTEXT> to <CAPT_MSG> via lead selection
        NODE_CAPT_MSG = WD_CONTEXT->GET_CHILD_NODE( NAME = `CAPT_MSG` ).
    *   get single attribute
        NODE_CAPT_MSG->SET_ATTRIBUTE(
          EXPORTING
            NAME =  `MSG`
            VALUE = PAR_1 ).
    ENDMETHOD.

  • How to passing value into Captivate from html?

    How to passing value into Captivate from html?
    Or
    How to communicate between objects in one slides?

    Hi czhao0378 and welcome to the forums!
    Captivate does not natively allow you to communicate your own
    data, either internally or externally. The only way to make this
    happen is to create your own functionality, either via custom-built
    Flash objects or JavaScript code executed in the browser or a
    combination of both.
    The only example I've seen of any "data passing" inside
    Captivate is a custom text input/output solution that was posted on
    the Captivate Developer Exchange:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
    This solution consists of an input box that takes information
    from the user on one slide and a second box that displays that
    information on another slide. The functionality was built in Flash
    and is embedded in Captivate as a Flash "animation". Unfortunately,
    since this is a custom functionality, the information is not
    included in the user completion results Captivate can pass to a
    Learning Management System.
    Since the solution mentioned above relies on a Flash
    Actionscript variable to hold the information that is displayed,
    you can also pass the information from HTML to Captivate using the
    "SetVariable" command in JavaScript. This would at least allow you
    to display your own HTML-based data inside Captivate.
    Beyond that, I'm not aware of any other way to gather and
    pass data in Captivate.

  • How to pass PO customer fields from ECC to SUS ?

    Hi Gurus,
    We defined a customer PO field at ECC side and want to pass it to SUS and diaplay it in SUS PO, my question is, how to pass PO customer fields from ECC to SUS?
    Please advise.
    Thanks and best regards
    jack

    Hi jackytam  ,
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    you make get some pointers
    regards,
    Neelima

  • How to transfer all lightroom settings from one pc to an other?  Zsolt

    How to transfer all lightroom settings from one pc to an other?

    If you are talking about moving Lightroom and all your images to another PC, then this might help:
    http://www.lightroomqueen.com/how-move-lightroom-to-new-computer/
    If something different, please clarify what it is you are wanting to do.

  • How to pass serial number read from a PCB.

    Hi,
    I have a question:
    How do I pass serial number read from a PCB so it will be embedded in Test Report file name for that test sequence. I am running Sequence in “New Execution" - Single Pass.
    My test report file after I run test does not have serial number: “TEST_Rev6_Report[NO_UUT_SERIAL_NUM0][2 32 24 PM][4 26 2013].xml” but my Report Header has serial number present.
    Thank you,
    Henry

    The attached screenshot shows how to set your report options, make sure you have the <TestSocket> and <UUTStatus> macros included in the Report File Path otherwise the serial will not be filled in the filename (Generate path is called a second time from the Single Pass -- Test Socket Entry Point sequence).
    I used the ParallelModel.seq to test it.
    The attached sequence file shows how to set the serial number.
    Search for "Specifying Report File Paths by Expression" in the help for more macros.
    Attachments:
    Sequence File 2.seq ‏5 KB
    Screenshot.png ‏57 KB

  • How to pass a HTTP request from a simple java class

    Is it possible to pass an HTTP request from a simple java class.if yes how?

    Is it possible to pass an HTTP request from a simple
    java class.if yes how?If you're talking about creating a HttpRequest object and passing it to a servlet, that would be a red flag to me that your design is flawed. You shouldn't have to do that - the application server (Tomcat, Weblogic, etc) should be the only thing that has to worry about creating that kind of object and passing it to you.

  • How to pass the selected Pernr from Portal to WDA iview dynamically ?

    Hi ,
    How we can pass the selected Pernr from portal page to the webdynpro application dynamically?
    Ex:
    If a manager select a employee id of an employee then it should display all the related document regarding the employee in the ivew.
    For that we need to pass the employee id(Pernr) to the iview.How it is possible.
    Thanks,
    Deepika

    Hi Deepika,
    Try using portal events. You will have to register and handle the required portal event in your WDA application.
    [Portal Events Help|http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm]
    In this link, navigate to Integration->portal integration->Portal Events.
    Also go through some sample applications:
    WDR_TEST_PORTAL_EVENT
    Regards,
    Reema.

  • How to pass work item id from  workitem to webdynpro form

    hi ,
    im working on  webdynpro. when the agent executes  the  workitem  it has to open one form designed with webdynpro screens. here i have to get the workitem id from workitem and basing on the workitem id , i will get other data , that i have to dispaly in the lay out of a view..
    how to pass this work item id to my view and how to display this...?
    Raghu

    Hi,
    Application parameters can be used for this accessed directly only in the Window. Follow these steps;
    1. get the application url using the following code,
    par_wrkitm is the application parameter ( which should also be declared in the HANDLEDEFAULT method of the window as importing parameter and aslo appended in the URL )
    g_wrkitm is a Component Controller attribute
    Data: my_url TYPE string.
    *Get the URL of the Application
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
        application_name = 'ZWDRC_NEW_APP'
    IMPORTING
       out_absolute_url = my_url.
    2. Now pass the required parameter ( i.e in this case Workitem id ) to this URL
    3. In your webdybpro applicatio, Goto Application parameters and create a parameter for workitem id with the same name as used in the URL.
    4. In the HANDLEDEFAULT method of the window, create Importing parameters with same names as that of your application parameter.
    5. Now this variable will contain your workitem id.
    If you want to acess the variable in your views;
    2. create a attribute in the Component Controller( Component Controller->Attributes Tab; mark it as public )
    3. Now in the HANDLEDEFAULT method of the window, assign your application parameter values to the component controller attributes directly as shown below,
    wd_comp_controller->g_wrkitm = par_wrkitm
    Regards,
    Radhika

  • How to pass arraylist of object from action class to jsp and display in jsp

    I need to do the following using struts
    I have input jsp, action class and action form associated to that. In the action class I will generate the sql based on the input from jsp page/action form, create a result set. The result set is stored as java objects in a ArrayList object.
    Now I need to pass the arraylist object to another jsp to display. Can I put the ArrayList object in the request object and pass to the success page defined for the action? If this approach is not apprpriate, please let me know correct approach.
    if this method is okay, how can I access the objects from arraylist in jsp and display their property in jsp. This java object is a java bean ( getter and setter methods on it).
    ( need jsp code)
    Can I do like this:
    <% ArrayList objList = (ArrayList)request.getattribute("lookupdata"): %> in jsp
    (***I have done request.setattribute("lookupdata", arraylistobj); in action class. ***)
    Assuming the java object has two properties, can I do the following
    <% for (iint i=0. i<objList.size;I++){ %>
    <td> what should i do here to get the first property of the object </td>
    <td> what should i do here to get the first property of the object </td>
    <% }
    %>
    if this approach is not proper, how can I pass the list of objects and parse in jsp?
    I am not sure what will be the name of the object. I can find out how many are there but i am not sure I can find out the name
    thanks a lot

    Double post:
    http://forum.java.sun.com/thread.jspa?threadID=5233144&tstart=0

  • How to Pass Multiple Value Range From Query ?

    Hi,
    I have searched over SDN to find about how do we pass multiple value ranges from Query to SAP ODATA?
    But I have not found suitable answers so I am posting it here.
    If we need to pass a date parameter in Query which has a multiple range like  sales orders created date between 03/02/2014 to 05/07/2014.
    How do we phrase it in Query ?
    I tried as below but the IT_FILTER_SELECT_OPTIONS of /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET does not get filled up with the parameters
    How do we pass multiple values in Query?
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and B_st_dt gt datetime'2015-02-01T00:00:00' and B_st_dt lt datetime'2015-02-28T00:00:00'
    Thanks in Advance.
    KC.

    Hi,
    I Have Found solution to the Query posted above.
    Please find the URL's below for more clarifications.
    Revert for any suggestions please.
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') or  B_st_dt le (datetime'2015-02-27T00:00:00'))
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') and  B_st_dt le (datetime'2015-02-27T00:00:00'))
    Thanks KC.

  • How to pass arguments to script from plugin

    Hello there....
    I want to run a script from my plugin. To do this, I want to pass some arguments to the script. How can I do this? I also want to know how those arguments can be read in script?
    Thanks in advance..

    Here is a simple example of how to run some script code from a plug-in.
    InterfacePtr scriptManager(Utils()->QueryScriptManager(kJavaScriptMgrBoss));              
    if (!scriptManager)
         return;
    InterfacePtr scriptEngine(scriptManager->QueryDefaultEngine());
    if (!scriptEngine)
         return;
    InterfacePtr scriptRunner(scriptEngine, UseDefaultIID());
    if (!scriptRunner)
         return;
    RunScriptParams params(scriptRunner);
    scriptRunner->RunScript("alert('hello from planet script!');", params);
    Replace "alert(...);" with your own script.

  • How to pass MS CRM credentials from a config file to connect CRM from SSIS?

    Hi All,
    Can anyone please help me with the below requirement?
    I need to connect to Microsoft CRM from SSIS which is handled by a CRM proxy. However, configured the credentials in the code (hardcoded in script component) with respective MS CRM details. 
    Question: How can I pass my CRM credentials from a config file to my script component in SSIS to connect CRM?
    Thanks & Regards,
    Sri

    I used variables to pass the user and password details to my
    crm Script Component Destination and those variables can be filled by a regular config file or table.
    public override void PreExecute()
    base.PreExecute();
    // Fill .NET variables with values from project/package parameters/variables
    CrmUrl = this.Variables.CrmWebservice.ToString();
    CrmDomainName = this.Variables.CrmDomain.ToString();
    CrmUserName = this.Variables.CrmUser.ToString();
    CrmPassWord = this.Variables.CrmPassword.ToString();
    // Connect to webservice with credentials
    ClientCredentials credentials = new ClientCredentials();
    credentials.UserName.UserName = string.Format("{0}\\{1}", CrmDomainName, CrmUserName);
    credentials.UserName.Password = CrmPassWord;
    organizationservice = new OrganizationServiceProxy(new Uri(CrmUrl), null, credentials, null);
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • How do I change sync settings from apple tv to pc

    Hi,
    I am only seeing in in tunes Photos and summary and when right click on apple tv in devices, it just tells me 'turn off streaming'. So I try to set my settings from automatically to manual, but I do not know how.
    Can anyone help me please.
    Have a lot of kidsmovies purchased on Apple tv and cannot load them up on itunes.

    This is done via the AppleTV. You setup it via AppleTV to just Stream.
    So go to ATV and go to settings, computers and tell it to un-link with your computer. Then set it up as a Syncing computer there (note, only one computer can sync with the ATV at a time).
    The computer in ATV should have like a Chain Link icon next to it if set for Syncing and not just streaming.
    It will give you a 4 digit code to go enter into iTunes on your computer. Once done, then you can have full sync options.

  • How can I move Logic settings from one machine to another?

    I have a plugin that works find on my desktop but not on my laptop.
    On the laptop, Musical typing" doesn't produce sound on a track that uses that plug, and I don't get sound when I connect the laptop to my MIDI keyboard. Works fine on desktop.
    I want to avoid a setting-by-setting comparison to find out the magic difference, so I'm hoping to be able to "move" settings from the desktop (where everything works) to the laptop.
    I've already been able to run the "non-working" project over the wife network from the desktop machine, and verify that the "working" one doesn't run properly on the laptop.: I can't run the -application- from the desktop, and I don't see a way to reset the relevant stuff to factory defaults.
    Machines: 2010=11 iMac desktop 8 GB RAM, I TB HDD and 2 TB external drive. Both running Yosemite.

    Additional note
    Note: the problem plugin is called "Hauptwerk", a set of pipe organ sounds. You change its settings in the app; it doesn't expose its controls in Logic.
    But when properly set up, Logic will play its sounds either fro Musical Typing or an attached MIDI keyboard.

Maybe you are looking for

  • Login window crashes during login

    I am having trouble with some student accounts.  When a student tries to login they put in their information and press enter and the computer acts like it is going to log them in and then just refreshes the login window.  The login window process doe

  • How can I update my ipod touch from 5.0.1 software to 5.1 ?!

    If u know just tell me abut it because i can not open safari,apps,etc... i want the new software because i want siri.

  • Wont show all my picture (folder) Files

    When I try to sync pics on to my phone, it wont show all of the folders I have in my pictures. It wont let me import the folder either?

  • Unit Of Measure Conversion in the SNP Planning Book

    I have a problem in (a copy of ) the standard SNP Planning Book 9ASNP94. I often need to view data in different units of measure however, but would like to avoid having to set up multiple Planning Areas.  I know how to change the Unit Of Measure on m

  • Up grading 10.4.11 to 10.5.8

    My wife and I are getting the maximum use out of our old iBook G4s.  I even replaced my mother board last year. I upgraded to 10.5.8 a couple of years ago and now I want to get my wife's iBook up to that as well.   Other than my consicience what stop