Save user input data

I would like the ability to have a settings screen and allow the user to enter parameters.  These parameters need to be saved even when the program (VI) is shut down.  As an example I made a quick simple program, Sample test 1.vi.  Here there is input data, amplitude, a maximum setting and a minimum setting.  I would like the user to be able to set the settings (maximum and minimum) to the desired level, run the program, stop the program, shut down the program.  Upon restarting the program the settings should be at the last entered value. Any ideas or assistance is appreciated. Thanks,Brian  
Attachments:
Sample test 1.vi ‏8 KB

Look through the example VIs that ship with LabVIEW. They have examples on working with ini files. I have included an example of the VIs that we use for our applications as well.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Attachments:
Application Template-Get Test Specific Parameters From Config File.vi ‏20 KB
Application Template-Save Test Parameters To Config File.vi ‏19 KB
Application Template-Test Parameters.ctl ‏6 KB

Similar Messages

  • How to save user input data in pages into database ?

    Dear Friends,
    Hello. I am developing my first PeopleSoft application using PeopleTools 8.49 and SQL Sever 2005. In application designer, I have created fields, records, records' underlying tables in database, and pages. After users type in data into fields in a page, we need to click "submit" button in the page and save the data into Database. How to submit data into database ?
    If we use JBuilder or Netbean instead of PeopleTools, we simply develope a server side script file like sth.jsp and link it to the "submit" button. The server side script file save data into Database. But in PeopleSoft application designer, I don't understand how to submit data in a page into database.
    Can any friends help to solve this question ? Thanks.
    Lucy

    Hi:
    Data will be saved in the database once you click on the 'Save' button on the page or if you use one of the 'Save' functions in PeopleCode (like DoSave(), DoSaveNow()). Generally, there is no need to write a script explicitly. Please refer to PeopleSoft Internet Architechture and PeopleCode peoplebooks (and other PeopleTools peoplebooks as well) for more reference.
    You may want to attend PeopleTools training if you are fresh to PeopleSoft development.
    Regards,
    Sameer.

  • Refresh page but SAVE USER INPUT in tabular form WITHOUT UPDATE

    Hi,
    When there is a tabular form in the page and user refreshes it (in anyway) tabular form's elements are always computed with values from the table in db. Can we somehow save user input in fields so that after refreshing page user will see what he/she has typed but not submitted to db?
    Regards,
    Tom

    Hello Andy,
    Let me introduce you to the problem.
    There is a tabular form based on a source table. User modifies the data and after he/she clicks Submit button the validation procedure is being run before MRU. If the result of validation is positive then MRU is run otherwise data should not be submitted to db and user should be informed about the result. Moreover, he/she should see the invalid data in fields. Not the correct one from db.
    Is there any way to save a session state of these fields or of a whole tabular form? I cannot save the data in other table in db.
    User cannot click 'Add row' several times in my app because after he clicks it once then the button disappears and appears again only when he/she clicks 'Submit' first (so after validation procedure).
    Maybe there is some way to store fields' values in memory and then compute the form when page is loading again?
    Imagine the situation that there are 100 rows in tabular form and user modifies it for one hour, clicks Submit, validation result is negative and his/her whole one hour work is lost, because the form has been refreshed according to what is stored in db. Such situation should never occur.
    Regards,
    Tom

  • How to save User input into DB using webdynpro abap

    Hi,
    Im trying to create an application using webdynpro abap.
    I want to know how to save the data input by user, into a database table.
    In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.

    hello,
    u can do it by reading ur context node.
    we bind our UI elements to context attributes of appropriate type .
    we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
    here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
    eg suppose u have created a context node " cn_table"
      reading context node cn_table
       DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
             lo_el_cn_table TYPE REF TO if_wd_context_element ,
             ls_cn_table    TYPE wd_this->element_cn_table.
    *   navigate from <CONTEXT> to <CN_TABLE> via lead selection
      lo_nd_cn_table = wd_context->get_child_node(
                       name = wd_this->wdctx_cn_table ).
    **    get element via lead selection
      lo_el_cn_table = lo_nd_cn_table->get_lead_selection(  ).
      lo_el_cn_table->get_static_attributes( IMPORTING
                 static_attributes = wa_table ).
    here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
    in ur
    now ur wa_tablecontains value
    u can nw use appropriate FM to update , delete and modify the DB table using the value
    u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
    rgds,
    amit

  • Save the input data of single WD4A screen

    Hi All,
    I am interested to know, whether as in the case of the ABAP report screen where we can save the input data as variant, is it possible for us to save all the input fields into a variant in WD4A.
    Thanks,
    Selvakumar M.,

    hi,
    Refer the following blogs on Variant in Wd Abap :
    /people/sharad.agrawal/blog/2008/08/21/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-1
    /people/sharad.agrawal/blog/2008/08/25/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-2
    I hope it will help you.
    Thanx.
    Saurav.

  • How to display records that match user input date

    hi all,
      i need to display records that match user input date (i.e., for example if the difference between user input date and record date is less than 5 years then display those records) , this is for hr bw. any exit is there to check for validation for records to be displayed based on some abap coding.
    vijay

    I just see getApplication method but "Retrieves a list of all the deployed applications."
    My scenario is: I get user, end i want to discorver how application this user i enable to see.

  • Formula variable for a user input DATE value

    Hi All,
    I want to create Formula variable for a user input DATE value as I need to use it in a formula to compare between user entry date & date in the DSO. Does any body has any idea about it?
    I tried to create formula variable with manual entry but then I am not getting DATE option.
    Regards,
    Sonal

    Hi ,
    You have to create a formula variable in the formula.
    The formula variable in the general tab would have the reference characteristic as your date characteristic on which you have created a user entry variable or on which you intend to create a date entry variable.
    Give the proceesing type as replacement path.
    Next in Replacement path mention you would replace the variable with value of another variable.
    Mention the variable name.(This is the actual varaible created on the selection screen),
    Also mention you would replace only from value/to value of the variable.
    Check the following help link
    [Replacement path type formula variable|http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Hope this helps,
    Best regards,
    Sunmit.

  • Adobe form not saving user-input data into saved pdf file

    Hi forumers,
    I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
    No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the  LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
    DATA: GV_FMNAME TYPE FPNAME,
          LS_DOCPARAMS    TYPE SFPDOCPARAMS,
          LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        I_NAME                     = 'ZSC_ZRUFORREP'
    IMPORTING
       E_FUNCNAME                  = GV_FMNAME
    *   E_INTERFACE_TYPE           =
    *   EV_FUNCNAME_INBOUND        =
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        IE_OUTPUTPARAMS       = LS_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LS_DOCPARAMS-FILLABLE = 'X'.
    LS_DOCPARAMS-DYNAMIC = 'X'.
    CALL FUNCTION GV_FMNAME
    EXPORTING
       /1BCDWB/DOCPARAMS        = LS_DOCPARAMS
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    dgrachee

    Not quite yet, I have to say...
    If you check the domain "FPINTERACTIVE", you'll see these values:
                   Print Form
    X     Interactive Form with Additional Usage Rights
    N     Interactive Form Without Additional Usage Rights
    F                                                                
    So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment.

  • Hi everybody how to save the inputed data in one simple list output .

    here am wrting the description of the requirement ...
    am displaying one report output in that output i have all my fields open so that user can directly chage the dats what ever needed or he needs.
    then after changing when he will press the save button the changed data should be saved to one of the database tables ..
    so can anybody please help me out how to do this requirement
    this is a simple report with all fields in the output screen in input mode

    hiiii
    if you want to save the data that user have updated then use following statement on SAVE button.
    UPDATE ztable1
    SET    C1 = 2   
    WHERE  C2 IN ( SELECT C3
                   FROM   T2
                   WHERE  C4 = 0)
    reward if useful
    thx
    twinkal

  • APEX4: How to create a report whose data is based on user input date fields

    Using Apex 4 I've to create a report that allows the user to input two date and shows a report between the date range.
    How can I do this?
    Thank you.

    This has nothing to do with apex 4.0. If you create a report using this query:
    SELECT *
      FROM emp
    WHERE hiredate BETWEEN NVL (TO_DATE (:p1_date_from, 'mm/dd/yyyy'), hiredate)
                        AND NVL (TO_DATE (:p1_date_to, 'mm/dd/yyyy'), hiredate)and create two date picker items with names P1_DATE_FROM and P1_DATE_TO (take care of using the right date format), your report will show all records by default and those that match after you fill in the date items.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Save counter input data against time

    Hello, i would like to know about recording using a write to measurement file.
    When i record a data like analog input, at the save file with display the analog data against time.
    But when i tried to applied for the encoder, which is using counter input, in the .txt file dont display
    the result as analog input. So can someone give me a guide on what to setting on write to measument
    file to measure the revolution per minute rotation against time, thanks
    Solved!
    Go to Solution.
    Attachments:
    encoder recording.vi ‏180 KB

    There is no setting for the Write Measurement File. Your problem is that you are passing a scalar to the function and that scalar has no timestamp information. When you use an analog acquisition, the data type is either a waveform or dynamic data type. Below is one way to add the timestamp information. You also should have a delay or msec wait in your loop. This can be used for the dt information.
    Message Edited by Dennis Knutson on 09-24-2007 09:51 AM
    Attachments:
    Save Scalar with Timestamp.PNG ‏6 KB

  • Making User Input Data UPPERCASE

    I am using htmlb and want  to know how to make an input field show/receive UPPERCASE data (as user types in the data). 
    Thanks, in advance, for your help.

    you do not have any property in htmlb:inputField for this.
    i just implemented what Graham Robbo has suggested in the following example code. check it out .
          <htmlb:inputField  id = "IP1"
                             width = "100"/>
          <s cript for="IP1" event=onkeyup type="text/ja vascript">
                      thas.value=thas.value.toUpperCase();
          </s cript>
    in the above code change the thas ( 2 occurrence) to this
    PS: do reward points to Graham Robbo

  • Custom Exit to count No: of Employee based on User Input Date

    Hi There,
    I have a requirement to Count the no: of Employees for each Position Id. This count value changes with time (Time-dependent).
    So, when the user Keys-in a date at the Query Execution-Prompt, it should take the date value and then count the no: of employees for each Position Id.
    Next, it should display text  like If Count = 1    "Single"
                                                      If Count =2     "Double"
                                                      If Count >=3   "Triple"
    I was informed that we should create a Calculated Key Figure and then introduce a variable in it with Replacement path as Customer Exit.
    My Question is: Could any one provide me the logic to implement the Customer Exit for above requirement. I kow that I need to implement this is BI ABAP editor as Include file.
    Further, I referred following Forums links. However, I need more information.
    counting the number of rows.
    Customer Exit Variable Code
    Any Suggestions!
    - Anil

    Hi,
    As I understood, first thing you may not have text for a key figure (will not be able to display "Single", "Doüble" etc..)
    Are you doing reporting on master data or cube?.
    If it is a master data the it will be better to include count at staging level. You just need to include one key figure count as an attribute and assign 1 over there. You may usee this key figure directly in report.
    If it is one cube/DSO then just create one CKF assign value as 1 in report in that. Use Exception aggrigation for this CKF reffering Position id in report. Dipslay this key figure.
    I hope it will help.
    Thanks,
    S

  • Passing user input data to existing pdf

    My customer prints business cards, currently the printing requests are submitted by a variety of methods (e-mail,paper napkins, etc.) that create more work and consume to much time. When a request is finalized it is in pdf format and at that point ready to go to press.
    I am trying to simplify this process by allowing the person that needs a card printed to fill out an online pdf form that looks exactly like their business card. When completed the form is submitted and their info needs to be passed to an existing pdf (also online) that also looks exactly like their business card. This pdf will be submitted for review and approval and used to go to press.
    I have been designing/hosting web sites for years but pdf's are new to me. I purchased Adobe Acrobat Professional 7.0.8 and Live Cycle Designer 7.0, I have created both of the pd's described in the 2nd paragraph and used the Designer to build the form, uploaded to server and had the data saved as XML. I am able to import the XML data to the other pdf and it does so beautifully. I did it this way first to familiarize myself with the software. I also purchased a very comprehensive book on Acrobat 7.0 which also covers the Live Cycle Designer to some extent.
    I learned that a Java Script would be necessary to accomplish my goal but after scouring the web and submitting my project needs to www.rentacoder.com I have been overwhelmed. The coders that responded were going to use everything except Java Script to achieve the desired results (PHP, Java)and cost ranging from $45.00 to $700.00.
    I have downloaded from the Adobe web site the following;
    Acobat JavaScripting Scripting Reference
    Acrobat JS Guide
    I do not write scripts and thought these could help but I can't understand exactly how my script should look.
    These are the fields that will be completed by users;
    Job Title, Full Name, Address1, Address2, City State Zip, Ph#, Cell#, E-mail Address.
    URL to user form -www.tarantulawebdesign.com/bc/twd_form1.pdf
    Url to pdf that data will be passed to - www.tarantulawebdesign.com/bc/bc_tmplt.pdf
    Any help with my situation will be greatly appreciated!

    Hi Steven,
    Luckily, you don't even have to write a single line of JavaScript code to get what you want! :-)
    Just create a new data connection using an example xml-file. Then bind the form fields to their respective data connection field. Then select iomport xml-data in Acrobat Pro or insert a button (optional) with the following line of code:
    xfa.host.importData();
    Here's your file, I tuned a bit. You may want to have a look at it:
    business-cards.pdf (download via filefactory, which is a bit slow and tricky...).
    1) download the file
    2) create a new text-document. rename it to something like business-card_data.xml
    3) copy & paste the following example business card data:
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    <vcard>
      <Name>John Smith</Name>
      <Position>CEO</Position>
      <Address1>Nowhere 1</Address1>
      <Address2>Nonsense Enterprises Ltd.</Address2>
    </vcard>
    </form1>
    4) Place both files (pdf, xml) in the same directory
    5) open pdf, click the button, select the xml
    Regards,
    Steve

  • Use BEx variable for user input data, not to filter.

    Hi,
    I have a situation where I am displaying notification task data.  Each header notif has a number of tasks.  These tasks are marked either newest, oldest or no mark (in the middle) for each different task code.
    Using VKF's and by passing the user entered variables for newest and oldest I am able to make KF calculations.
    So if I have a notif that is like this:
    Notif XYZ
      Task 1  Code: SCM     Date: 1/1/2000
      Task 2  Code: SCM     Date: 1/4/2000
      Task 3  Code: SCK     Date: 1/10/2000
    If the user selects Newest = SCM and Oldest = SCK
    The key figure would use those 2 different notif tasks to calculate.
    This works fine.
    My problem now is that since the data is displayed at the line level.  When the user enteres his choices for task code, BEx will filter to find one single task item that has both the Newest and Oldest values that the user entered.  It will return no data.
    Example:
    NOTIF    TASK      NEWEST     OLDEST
    XYZ.........1.......SCM
    XYZ.........3..................SCK
    If user enteres Newest = SCM and OLDEST = SCK
    It will look for one line with both value, returning nothing.
    So, I want to simply use the BEx selection screen to pass values to my virtual code (which I already have working)-  but I do not want the report to filter on a notification that only has both values as OLDEST and NEWEST tasks.
    Is this possible?  To deactivate the BEx filtering for two infoobjects thus only passing the user entered values to my CMOD code?
    Any help/suggestions would be appreciated.
    Thanks in advance,
    Brandon

    Hi Prakash,
    Can you explain what you mean?  I know using a text variable would allow me to take the user entry and apply it to the header of a column... but how would it disable filtering on what was entered?
    Thx

Maybe you are looking for

  • No message tone or icon after software update

    I did a software update yesterday to the 10.2.1.2102 and now when i receive a text my phone doesnt notify me of this. No tone goes off and no icon appears. HELP!

  • Jsp portlet multiple select parameters problem

    To whom it may respond to, I am trying to get page parameters using : String foo = pReq.getParameter("foo"); It works , but I don't know how to handle something like "String[] foo", that has multiple values to get like url.jsp?foo=1&foo=2&foo=3 Thank

  • Cannot forward or reply mails which have old disclaimer

    Hi,      We have exchange server 2010 with 2 HUB/CAS and 2 Mailbox servers. Service pack 3 is installed on all servers. Mail signature is configured by using Exchange Transport rule and images are tagged by using IMG tag in the HTML disclaimer. Websi

  • OWB 10g

    Dear All, I would like to know whether OWB 10g will support mysql database as source/target Regards RR

  • Contacts deleting automatically

    Last Month i have restored my iPhone with iOS 5, since then my contacts get deleted automatically. I also updated with the latest iOS i.e. 5.1 just to ensure that might be a software glitch but still i am facing the same problem. Apple please look in