How can i change control values based on a read-in file?

I understand that controls only have outputs and indicators only have inputs, but I'm looking for some help creating code that has the capabilities of both. Specifically and ideally, my front panel would allow the user to select an old spreadsheet file to read, and those values from the spreadsheet would be displayed. The user could then tweak those values to their liking, and then submit those tweaked values as a new file/overwrite the old/etc. The important part is the the indicating and controlling of the read in values.
thanks
Solved!
Go to Solution.

Using a local variable works well if I want to view and change a single value, but I want to view and change a few different values that are to be read in from a speadsheet. I have tried creating an array and then inserting numeric controls into the array, on the front panel. The code will run, but there is no output to the array control. I can't for the life of me pinpoint where the issue is.
Is inserting multiple numeric controls into the array, not a good idea? Should I just create 3 separate numeric controls and local variables to get around this?
Message Edited by csmrunman on 09-16-2009 11:48 AM
Attachments:
controlasindicator.vi ‏7 KB

Similar Messages

  • How can I change the value used in a Criteria Rule in a Subscription agent

    Dear mobile heroes.... How can I change the value used in a Criteria Rule in a Subscription agent in a quality environment? (CRM 70 SP04).
    I have built a subscription agent in dev, which uses a static where clause to filter activity_object on VKORG. I need to filter on a different VKORG value in the quality environment, but when I change the value of the sales org, the change is not saved. I have tried this even non 'activated'  subscription agents, but it still does not appear possible to change and save the changes.
    This poses a big problem because the VKORG value I want to use does not even exist in the dev environment, so I could not even rebuild in dev and transport the new agent to quality. Can anyone help me?

    Too old to care now.

  • My mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    my mac disk is full and i cant transfer files from Mac to USB. saying the format is not good, how can i change the format and what happened to the files i have on USB?

    Once something similar happened to me. The external drives I had set up for FCP to use for some reason were not mounted, and FCP put all its render files on the main drive and I couldn't find them anywhere.
    Go to applications, and control-click (and hold down) on your FCP icon; you should get a pop up menu that says "show package contents". Select that, select the "contents" folder, then the "mac OS" folder. See if your quicktime file is in there, or if you've got render files in the "render" folder or audio render files in the "audio render" folder that don't belong there.
    That's where FCP sticks stuff when your documents FCP project folders are not available or when external drives you've selected aren't available.

  • How can we change some value in OSB at runtime as Preferences in BPEL

    Hi all,
    What is the approach we have to use in OSB to implement Preferences ( where i can change value at run time without deploying again ) like in BPEL.
    Thanks
    Phani

    Thanks for the replay . I know they used for different purpose.i want to know how can we change anything in OSB at run time without redeploying the process again.
    simple scenario :
    Lets say i have a option in BPEL to change the Username/password if i set as Partner link parameters from BPEL Console . no need to redeploy the BPEL process .
    if i invoke the same service from OSB how can change the username/password without redeploying the OSB project.
    Thanks
    Phani

  • How can I change the value of "colorscheme" parameter at runtime?

    Hello all
    Can I change the value of colorscheme at runtime ?
    This parameter can be config in formsweb.cfg file.
    I want to put this colorscheme as "User Preferences" in my application.
    Please help me if some one knows how to achieve this.
    From
    Chirag Patel (Nairobi)

    Hi,
    Try the following. This might help you.
    Edit you Formsweb.cfg file with following code (add the code to your file):
    [look1]
    separateFrame=True
    lookandfeel=Generic
    [look2]
    separateFrame=True
    lookandfeel=Teal
    [look3]
    separateFrame=True
    lookandfeel=Khaki
    and save your file.
    Now, when you call your form in the address bar look for " ? ". After " ? " add config=look1 now your form will take Genric look & feel.
    or
    config=Teal now your form will take Teal look & feel.
    That's how you can change the look & feel at run time.
    Hope that you understand what i want to say......

  • How can I change the default note in adobe reader

    How can I change the default note in adobe reader

    Can you please explain your issue in detail? Are you talking about sticky notes? What 'default' state would you like to change?

  • How can I change the value in a textfield

    I have some problems with the component textfield.
    For example, if I want to change the value when ocurr event, how can i do that?
    I need that in a several textfields appear the values of a select sql consult, plz help me its more important

    Hi,
    I have tried it works for me, Here is what I did
    1. Drop a textfiled on to the page
    2. Drop a button
    3. In Button action handler put the code as
    textField1.setValue("Creator");
    4.deploy and run the application
    Even I tried with more than one textfield and it works fine.
    ie , textField2.setValue("Sun Java Studio Creator"); in the same button action.
    MJ

  • How can I change the value in a stepper cell

    In Numbers 2.3 I was able to change the value in a stepper cell by highlighting the value and using the arrow keys to increase or decrease the value. This was a very easy way to input data. Numbers 3.0 when I do this is moves to another cell
    Is there a way to get the use of the arrow keys to change the values in 3.0?
    Thanks

    I use number to keep a running daily tally of the productivity of the members of my group. As each member performs certain tasks, all I had to do was click the up arrow and add to it. IE Jim made 4 widgets yesterday and then made 4 today, I would just hit the up 4 times total 8.
    I guess the good news is when I upgraded to Numbers 3.0, It did not delete Numbers 2.3
    I will continue to use 2.3 until it no longer works, I guess
    Thanks for the replies

  • How to update/change the value of elements in an xml file?

    Hi Everyone,
    Could any one of u tell me how to update the value of elements in an XML file, using java? The reason is i want to use an XML file as a data source (i.e. more or less like a database), without using any RDBMS, for simple applications such as to read a record and update the record. By the way, my XML file will have only one record, such as the current weather information, with fields such as temperature, humdity etc. for 1 city only.
    Thanks in advance.

    Here is a solution how to check a particular value or element name in an xml and update the changes e to an xml.
    Sample.xml
    <URLConstructor>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    </URLConstructor>
    XMLWriter.java
    package com;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.JDOMException;
    import org.jdom.input.DOMBuilder;
    import org.jdom.output.XMLOutputter;
    // used for printing
    import org.apache.xml.serialize.XMLSerializer;
    import org.jdom.output.XMLOutputter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.List;
    class XMLWriter{
    public void update(File fileName)
    try {
              DOMBuilder domBuilder=new DOMBuilder();
              Document doc=domBuilder.build(fileName);
              Element element=doc.getRootElement();
              getChildren(element);
              writeToXML(doc,fileName);
              getChildren(element);
    } catch (Exception e) {
    e.printStackTrace();
         * @param doc
         private void writeToXML(Document document,File filePath)
                   XMLOutputter xmloutputter = new XMLOutputter();
                        try
                             FileOutputStream fileOutputStream = new FileOutputStream(filePath);
                             xmloutputter.output(document, fileOutputStream);
                             fileOutputStream.close();
                        catch (FileNotFoundException e)
                             e.printStackTrace();
                        catch (IOException e)
                             e.printStackTrace();
         public void getChildren(Element element)
                        if(!element.hasChildren())
                             return;
                        List childrenList = element.getChildren();
                        Iterator itr=childrenList.iterator();
                        while(itr.hasNext())
                             Element childElement=(Element) itr.next();
                             if(childElement.hasChildren())
                                       getChildren(childElement);
    //                                   System.out.println("Name "+childElement.getName());
    //                                   System.out.println("Value "+childElement.getText());
                                       if(childElement.getText().equals("hello") || (childElement.getName().equals("resource")))
                                            updateInfo(childElement,"New_Resource","AddedText");
         * @param childElement
         * @param string
         * @param string2
         private void updateInfo(Element element, String elementName, String value)
              element.setName(elementName);
              element.setText(value);          
    static public void main(String[] args)
    XMLWriter xmlWriter=new XMLWriter();
    xmlWriter.update(new File("c:/sample.xml"));
    After execution the file will be changed to
    <URLConstructor>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    </URLConstructor>
    Regards,
    Maheswar

  • How can i change the value automaticaly

    I have a text (Go For )at FP , and i want that text to be blinking in black color, and than when i connect to the (Passage44)i want Value Change to be change automaticaly to excute it, and than when it finish it, come back to the (GO For )
    someone can help me withe a sample
    thank you
    Attachments:
    To.llb ‏80 KB

    Try the attached modification. (I don't use VISA, so I just added a button instead.)
    Is this what you want?
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    To.vi ‏36 KB

  • How Can i change the value from A to B!!!

    Hi,
    In table VBAP for VBELN 4 the entry for VSTEL we see the value as SHIP I want it to be changed to FEXP?
    please respond at the earliest

    Hi,
    tHANKS FOR THE INFORMATION. What is the transaction code for this?
    Can you give me an idea in clear way. Thanks in advance.

  • How can I change image value to inches from pixels

    Like title says.
    I want to crop an image to 5x5 inches but I can only enter a pixel value. Can
    this be changed?
    (yeah i know i can convert, but i would rather not)

    It shouldn't be a problem.
    Load the crop tool > select 'Custom' in the Crop HUD 'Aspect Ratio' drop-down > type '5' in both the 'Width' & 'Height' fields > drag crop tool to select area to crop > press 'Enter' or close the Crop HUD.
    You can then export the version using the Size To: menu in the export preset dialog set to 'Fit Within (Inches)' and set the DPI to '100'. This should give you both a 5 inch x 5 inch on screen image size after export, as well as a 5 inch x 5 inch image during print or in a layout program (Pages, Word, InDesign - even in Illustrator).
    Note - the '100' DPI setting can be tweaked if you know the absolute pixels per inch of your monitor screen (otherwise, 100 is a good general rule of thumb for a majority of monitors).
    I hope that helps.

  • How can I change the values of Withholding tax grid in MIRO trx

    Hi everyone,
    I am trying to change WT_WITHCD field in MIRO's Withholding tax grid by using  MRM_HEADER_CHECK. I developed the following code but the changes didn't appear in the screen:
            LOOP AT i_rbkpv-h_rbws
            INTO    r_h_rbws.
              d_index = sy-tabix.
              READ TABLE i_zrmm_tnd_wht
              INTO r_zrmm_tnd_wht
              WITH KEY   invoice_type = r_h_rbws-witht
                         invoice_ret  = r_h_rbws-wt_withcd
              BINARY SEARCH.
              IF sy-subrc EQ 0.
    <b>            r_h_rbws-wt_withcd = r_zrmm_tnd_wht-debit_ret.</b>
    <b>            MODIFY i_rbkpv-h_rbws FROM r_h_rbws INDEX d_index.</b>
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
    <b>    ASSIGN ('(SAPLMR1M)RBKPV') TO <fs_rbkpv>.</b>
        IF sy-subrc EQ 0.
    <b>      <fs_rbkpv> = i_rbkpv.</b>
        ENDIF.
    Do you have any idea?
    Thanks in advance!
    Regards.
    Leo.

    Hi Naimesh,
    I tried to assign only the withholding tax but it didnt work...
    It modified the value but then it doesn't appear in the screen...
    Thanks in advance for your help.
    Leo.

  • How can I change the values for print parameters

    Hi all,
    There is a program which prints the documents every time the t.code is executed. I want the output to be stored in spool and NEVER wants it to be printed.
    A spreadsheet which has the details of articles is uploaded and a background job is created through ABAP SUBMIT statement to upload the article numbers to the table.
    GET_PRINT_PARAMETERS function module is used. Is there any way to pass the print parameters so that output will not be printed and only stored in the spool?
    Help me out and points will be rewarded.

    Hi Rathi,
    I am more or less giving as you mentioned. Here is the piece of code. 
    Y_XXXX is my report.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          MODE                   = 'BATCH'
          NO_DIALOG              = 'X'
          REPORT                 = 'Y_XXXX'
        IMPORTING
          OUT_ARCHIVE_PARAMETERS = ls_ArchivePrintParms
          OUT_PARAMETERS         = ls_PrintParms.
      SUBMIT Y_XXXX
       AND RETURN
        USER                sy-Uname
        VIA JOB             lw_JobName
            NUMBER          lw_JobNumber
        TO SAP-SPOOL
        WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS    ls_PrintParms
        ARCHIVE PARAMETERS  ls_ArchivePrintParms   
        WITH p_Matnr     =  ps_CreateArticleDatum-Article
        WITH p_MrchCt    =  ps_CreateArticleDatum-MerchCat
        WITH p_ArtTyp    =  ps_CreateArticleDatum-ArticleType
        WITH p_ArtCat    =  ps_CreateArticleDatum-ArticleCat
        WITH p_UOM       =  ps_CreateArticleDatum-UOM
        WITH p_ArtDsc    =  ps_CreateArticleDatum-ArticleDesc
        WITH p_ValCls    =  ps_CreateArticleDatum-ValueClass
        WITH p_PurGrp    =  ps_CreateArticleDatum-PurchGrp
        WITH p_StLsPr    =  ps_CreateArticleDatum-StoreListProc
        WITH p_DCLsPr    =  ps_CreateArticleDatum-DCListProc
        WITH s_RefStr    IN lr_RefStoresRange
        WITH p_BackGd    =  yartc_BooleanFalse
        WITH p_Test      =  yartc_BooleanFalse.
    But the o/p gets printed everytime I run the t.code.

  • How can I change the Safari toolbar for easier reading?

    Just about everything on iMac can be adjusted for us old timers, except the Safari tool bar. The favorites bar has print which cannot be read without a magnifying glass. Placing grey type on a grey background compounds the problem. I am helping my older brother transition to Mac from PC via phone support, and he almost gives up. Changing browsers should not be necessary.

    Send feedback to Apple:
    http://www.apple.com/feedback/

Maybe you are looking for

  • Javascript with window.location.href no longer working in Content Editor in Sharepoint 2010 where users have IE8

    I have recently found that when using a Sharepoint 2010 Content Editor web part to house some Javascript that the window.location.href (or window.location) is not working when the end users have IE8 installed on their PC's.  We have confirmed that th

  • Ipad mini engravement

    My ipad mini is in Apple for replacement so I was wondering if it will have the engraving that was on my original ipad mini. HELP!!

  • Problem in Installing CS5

    I have a Problem in Installing Adobe CS5 suite [Trial Version.] The Installer just says "Installer failed to initialize" and It doesn't continue PDApp.log says:- 6/5/2011 14:01:13 [INFO] PIM - Build Version - 1.0.175.0 6/5/2011 14:01:13 [INFO] PIM -

  • Cannot download ACR 4.41

    I have been trying for the last hour to download ACr 4.41 from the link given on this page. I have tried three different computers, 2 x Xp1 x Vista, and two different browsers, I.E and Firefox. I get the the download button but all that happens id a

  • ITunes plays but no sound/Loss of sound control in audio output

    Two problems have popped up since I had my logic board/power supply replaced, and had 1G of memory added this week. First, I imported a new CD into iTunes - it took almost 3 hours! Now, iTunes "plays" my music (all music - not just this one CD) but t