Is it possible to save a data portion starting from when a "save" button is pressed?

Hi,
The below attached vi acquires data from a sensor. The sensor signal output can be reset to zero and the data saved into a file. However, the saved data comprises the data portion starting from when the vi starts running until the "stop" button is pressed. Is it possible to save the data portion starting from when the "save" button until the "stop" button are pressed?
Best regards,
Ninjatovitch
Solved!
Go to Solution.
Attachments:
Sensor Signal Acquisition.vi ‏52 KB

this should be in 8.2
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
RandomNumberSubVI.vi ‏8 KB
savefilewhenselected.vi ‏11 KB
f.txt ‏1 KB

Similar Messages

  • Is it possible to execute the Data Load Utility from a button?

    I want to have a button on a form to load spreadsheet data each day.
    Can the XE Utility to load data be called from a button?
    How? It is not in any of the documentation I looked at.
    Jean

    No. The "data load button" is not something you can embed in your applications. However, there are solutions to your problem that have been developed by some very talented folks. Take a look at Vikas' examples here: http://htmldb.oracle.com/pls/otn/f?p=38131:1
    Although it wasn't designed with XE it should work just fine.
    Earl

  • Can a today's date be added in a date field when the submit button is pressed?

    I created a form with a submit button and the form is sent via email.  Can the date when the form is submitted show up in a date field with the button is pressed?
    Any help with this is much appreciated. Thanks.

    Hi,
    there is a preSubmit event for form objects you can use.
    Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
    $ = num2date(date(), "MM/DD/YYYY")

  • How can I save multiple data coming in from my data string

    I am a newbie at labview. I have a scale connected to my RS 232 and made a VI to display the changing scale. I am trying to save the multiple changes as my weight varies but have been only able to save the last value. Is there a simple way to save all the values I see in my VI to a file for later plotting? I have done one before using indexing but the case this time is that I am receiving a character string and not a numeric array. Any examples or advice would be great!!! Thanks
    Gerald

    Hi Gerald,
    What you need to do is write to a file continuously, i.e. after each point you collect.  You can do so by opening a new/existing file, write to it inside your while loop, and close it once you are done collecting and writing data points, i.e. outside the loop.
    I believe the following example is a good demonstration of that operation.
    Best of luck,
    AG
    Attachments:
    write to file.vi ‏33 KB

  • Inserting data in a table when the save button is pressed

    Hello all,
    I have a form displaying all fields in a table. it contains an adjustment column which is null by default and also an adjustment flag which is set to NO by default
    Now when the form is executed the user is able to add a value in that adjustment column and this value is stored in another table order_adjustment. Entries should be made in the adjustment table only when there is a change in the adjustment column and only for that value that was modified
    create table order_adjustement
      adjustment_id number,
      oe_line_id number,
      adjustment_cnt number,
      created_by varchar2(100),
      created_date date,
      modified_by varchar2(100),
      modified_date date
    )i have created a procedure in my form to insert my adjustment value
    PROCEDURE p_adjustment IS
    BEGIN
      insert into order_adjustement
        adjustment_id     ,
        oe_line_id        ,
        adjustment_cnt    ,
        created_by        ,
        created_date     
      values
        order_adjustment_seq.nextval,
        :oe_lines.oe_line_id,
        :oe_lines.adjusted_cnt,
        user,
        sysdate
    END;i have used the trigger when new item instance on that adjustment field but the problem is that its not saving the value i am passing through it the first time but if i modify those same values then those values are recorded in the table.
    Edited by: Kevin CK on Aug 17, 2010 3:34 PM

    Kevin CK wrote:
    for eg
    for order 1 initially its adjustment_cnt is null
    if i insert 1 then save, it saves the null value but if i change the 1 to 10 then it records 1, if i change the 10 to 20, it records 10.If you are calling that procedure in PRE-UPDATE then it should not happen like this. It should insert always the recent updated value.
    It seems as if it keeps those values in a buffer.No nothing called buffer while updating and saving records in forms. Because you are using the field like :my_field_name so it should always give the current value which is in the item.
    i have tried calling that trigger at block level but still doesnt workWhat did you try? And in which trigger did you try?
    -Ammad

  • Does iCloud save my data more than once when i back it up?

    I only have about 75 contacts and 165 pictures, which is the only thing I have on iCloud and the only thing I want to have saved. My iCloud keeps telling me that my storage is full but theres barley anything in it? It's a 5GB but still it shouldn't be full and I can't find my photos on iCloud

    Apple states that it keeps up to 3 backups.  Your camera roll photos are stored in your backup, but can't be viewed unless you restore the backup to your phone.  You may have other data taking up the space in your account, such as email, app data, the data you sync with your iCloud account (contacts, calendars, reminders, notes, etc.), etc.
    This guide gives you options for managing and reducing the amount of data you have stored in your iCloud account:  http://support.apple.com/kb/ht4847.

  • Why the time and date is not correct when I save a waveform in txt format, using Labview 6.1?

    I am using Labview 6.1 and my operation system is Windows 98. The date/time properties is configured in the Windows (time and date in the control panel is correct). I generated a waveform using Basic Function Generator.vi and saved this using the Export Waveforms to Spreadsheet File.vi. When I opened this file the date and time was wrong. Only the delta t was correct and it did not show the date neither the time, only a float number. How can I adjust the correct time?

    Actually, the date/time is correct, it is expressed as seconds since January 01, 1904.
    In order to print the string version of the date/time from your file, you will need to write a utility that converts the date/time to a string or series of strings in whatever format you wish. This can be done by reading the first line (I assume that is the line with the time on it), formatting the date/time into a string, and writing over this information in the file.
    The waveform VIs were meant to be used internally to read and write waveform data. Any use beyond that should require you to add formatting and other information/data as necessary.

  • How can I save an email as plain text when the save as is greyed out?

    How can I save an email message as a plain text document if the saved as command is greyed out? I am using OSX Mountain Lion. Macbook Pro thanks.

    OK, but is it happening to you with all messages or just some messages? If just some, can you characterize which ones? (Maybe messages with only one "alternative*" form, or with the "wrong" alternative for displayed, or messages containng images but no text?)
    * By "alternative" form, I mean in the sense of Mail > View > Message > Previous Alternative or Next Alternative or Plain Text Alternaive or Best Alternative.)
    Similarly, can you characterize the circumstances under which you cannot save an attachment?

  • Is it possible to reset auto ID and start from zero?

    Hi All ,
    Could you please help me on this.I want to import records and want the Auto ID to start from zero.Is there any settings available for this?
    Thanks
    Arnab

    Hi,
    There is no such setting to reset Auto ID count. But the work around that you can use is ;
    Delete Auto ID field and recreate the AutoID field in the repository. This will make Auto ID count reset to Zero.
    I am not sure if you can reset it directly using Database tables. I will update you if i find some thing on this.
    Best Regards,
    Shiv

  • To save packages without you data base starts

    hello,
    I installed minisap on XP. Mine maxdb data base does not start because I network problems has.  How know does I mean packages to save without data base starts? can I save still my developed programs?

    Hi,
    you mean to say you are not able to login into minisap due to database is not start and mini SAP is not running,
    it's not possible to save your developed program without login into sap,
    regards,
    kaushal

  • Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?

    Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?
      Now a days we are saving / extracting data in a excel spreadsheet, but we would like to do that using a database because it is better.

    You can use ODBC connection to work with SQL Server database.
    Use SQLExec object to execute the SQL statement. Here is a KB about the SQL statement.
    http://digital.ni.com/public.nsf/allkb/4ADEEA04CD24AE0B862565E20002A16F?OpenDocument
    To write data to spreadsheet is more straightforward because Lookout has built-in spreadsheet object. But you need to write SQL statement by yourself to interact with other database.
    To read the data back is the same way. Just use "select" SQL statement to query. You can use Datatable object to query.
    The "Data Source" can be "DSN = data source name;". The data source name is configured in Control Panel->Administrative Tools->Data Sources(ODBC).
    Ryan Shi
    National Instruments

  • I had iphone 5s which was accidently dropped in water i dont know if it could be fixed or not but is it possible to save my data using i clouds without fixing the phone

    i had iphone 5s which was accidently dropped in water i dont know if it could be fixed or not but is it possible to save my data using i clouds without fixing the phone

    if you set it up to sync with iclouds in terms of contacts and calendar and the likes in advanced the data is still in icloud
    if you set it up to backup to iclouds since you only get 5GB free storage you would likely had paid to get more or used very little storage on your phone then the backup is still in iclouds
    about if it can be fixed then read
    iPhone 5 water - how screwed am i

  • Is it possible to save game data (e.g game scores) on your PC before you erase all data on iPod Touch

    I am about to erase data on my iPod but I've got some good scores on games like a mean 29,825,006 on Temple Run and will I be able to save this data over to my PC?

    - Make sure that you make a backup.  The first step of a sync is a backup.  The backup contains app data like saved games. To check, go to iTunes>Preferences>Devices and look for the backup and its date.
    - Just restore the iPod from that backup and you save games will be restore too provided that the apps are in the iTunes library since the backup does not contain apps and some other stuff.

  • Unable to Save the Data Using BexSetData

    Hi All,
    I have a issue regarding saving plan data,
    Design: I  got a Workbook with several tabs, each tab has a input ready Query and has a layout as below
    A formatted user facing worksheet containing; an area where the user enters their plan data with a BEx save data button, an input ready query and a worksheet containing the BExSetData formulas that reference the values entered on the user facing worksheet.
    Issue: When i try to enter the value in the user facing sheet, the data is shown in the BexSet Data Sheet with out any problem,
    But when i try to save the data the data is not saved into the cube.
    Can any one please give some ideas of possible cause.
    One more question is the input ready query doesn't have any references to other sheets, will this be a reason for the data not saved?
    Please through some ideas.
    Thanks
    GC

    Hello,
    I think it is problem with the buffer:
    Check the notes 1136163, 1138864, 1146957, 1179076.
    please check the below;
    Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
    Planning query donu2019t show the current data
    Thanks.
    With regards,
    Anand Kumar

  • How to save report data as a plain text file

    running APEX 4.0. I have to extract some query data to send via a text file. I see that my report options are RTF, CSV or XML - is there a way to get it out as TXT?
    The Data Unload does have this option but the data is not from a single table (though I can dump it all into a temp table if this is the only way to export as TXT) but is it possible to have the end user run the Data Unload from an application or is this just a developers option?
    The goal is to have a user be able to run the report and save it as TXT without having to "do" anything other than click a button.

    I put it as a before header process on a blank page - when the page is called from a button, this htp.prn runs, you save the file, and with the
    htmldb_application.g_unrecoverable_error := true; at the end, the rest of that page doesn't run.

Maybe you are looking for