Waveform chart. Send data to Excel

I am monitoring the output voltage from a electronic circuit using LabView 7.1 and a DAQ card.
I have been able to view the output voltage using a Waveform Chart but i have been unsuccessful sending the data to a file. Only one data point gets saved each time.
I am using the "Write to Spreadsheet File .vi "
Could someone tell me what i am doing wrong?
Please see the program attached below.
Attachments:
Attempt 3.vi ‏26 KB

You can build a 1D array as your loop runs. Where your data exits the while loop, right click on the border and select 'Enable Index'.
If you want to save data continously, you need to move your 'Write to spreadsheet file' vi inside your while loop. As it is, only the last data point will be saved when you stop your loop.
You will also need to connect a control or constant to the file path input so that you do not get a file dialog every time your loop iterates. Further, connect a True constant to the 'append to file?' input so that you do not overwrite data.
Also, you may want to insert a wait period in your loop to allow other processes to run.Message Edited by DavidT on 04-27-2005 09:16 AM

Similar Messages

  • 3 Waveform Chart to a Single Excel but in Different Spreadsheet

    I wanted my waveform chart to export the data to excel which I can easily do by right clicking the chart and export to excel. But I have 3 waveform chart and I want to export it to a single excel file but in different spread sheet. How do I do that with the same result with the conventional "right click method and export"?

    For this you probably will need to add some code to your VI to do this instead of right clicking on the chart. You can use the VIs located in the Programming>Report Generation>Excel Specific pane which has tons of stuff for that.
    Attached is an example of a basic VI that populates three waveform charts with random data and creates an excel spreadsheet with each chart's data input into a different workbook. This is rough and you can add a lot more functionality if you want depending on your needs. Just take references to all your charts and put them into an array and feed into the for loop.
    (Also there are probably better/cleaner ways to do it but this is the best I've got )
    Attachments:
    WaveformExcelExample.vi ‏29 KB

  • Sending data to EXCEL from Oracle Forms 6.0 URGENT!!!!!

    Dear all,
    I have a problem to which I hope to get a solution from anyone
    out there...
    The problem is as follows:
    I have a form that contains some data. Now this data I need to
    transfer to an excell sheet. I tried to do so through report
    builder (6.0) but every time I try to convert my report I get a
    general protection fault. So instead I'm sending the data to a
    text file through text_io built in then reopening the text file
    from excel. Isn't there a better way to do it? ie sending the
    data stright from forms to excel?
    Thanks in advance
    null

    TRY THIS OUT....OLE2.... IT WORKS GREAT...DIRECTLY TO EXCEL...
    Oracle Corporate Support
    Problem Repository
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    Problem ID : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: OLE AUTOMATION NO LONGER WORKS AFTER UPGRADE TO OFFICE97
    +=+
    Problem Description:
    ====================
    You have upgraded to Microsoft Office97 and OLE calls in your
    Developer/2000
    applications no longer work.
    Problem Explanation:
    ====================
    Examples:
    You are using Forms to send data to a Microsoft Word document
    and print
    letters, using ole automation. This worked fine with Word 6.0,
    but when
    they
    upgraded to Word 8.0 (Office97), the letters do not get printed.
    When you try to get an object handle to the Excel97 Workbooks
    collection
    using
    the OLE2 Package, you get the following error:
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
    ORA-305500
    The Same code works fine against Excel 7.0.
    [ Search Words: Office 97 msoffice ms office object linking and
    embedding
    application get_obj_property workbook invoke_obj
    appshow
    upgrade upgrading bug483090 olex.rdf demo ]
    +==+
    Diagnostics and References:
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    Solution ID : 2077481.6
    For Problem : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: MICROSOFT CHANGED OLE INTERFACE FOR OFFICE97
    +=+
    Solution Description:
    =====================
    WORD:
    Microsoft made some changes in the upgraded version of Word
    which cause it
    to
    come up as a hidden application. Customer had to add "AppShow"
    to his code,
    and ole automation works fine now.
    EXCEL:
    The issue here is that Microsoft changed the object "Workbooks",
    which is
    now
    a property of object "Excel.Application". So, replace the call:
    workbooks := ole2.invoke_obj(application, 'workbooks');
    with
    workbooks := ole2.get_obj_property(application, 'workbooks');
    For example:
    PACKAGE BODY olewrap IS
    -- Declare the OLE objects
    application OLE2.OBJ_TYPE;
    workbooks OLE2.OBJ_TYPE;
    workbook OLE2.OBJ_TYPE;
    worksheets OLE2.OBJ_TYPE;
    worksheet OLE2.OBJ_TYPE;
    cell OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    procedure init is
    begin
    -- Start Excel and make it visible
    application := OLE2.CREATE_OBJ('Excel.Application');
    ole2.set_property(application,'Visible', 'True');
    workbooks := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'c:\test\ms\excel\test.xls');
    workbook := OLE2.GET_OBJ_PROPERTY(workbooks, 'Open', args);
    OLE2.DESTROY_ARGLIST(args);
    worksheets := OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := OLE2.GET_OBJ_PROPERTY(worksheets,'Add');
    -- Return object handle to cell A1 on the new Worksheet
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 1);
    OLE2.ADD_ARG(args, 1);
    cell:=OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'Hello Excel!'
    OLE2.SET_PROPERTY(cell, 'Value', 'Hello Excel!');
    END;
    procedure addstuff is
    BEGIN
    -- Return object handle to cell A1 on the new Worksheet
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 2);
    OLE2.ADD_ARG(args, 2);
    cell:=OLE2.INVOKE_OBJ(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'This is the added stuff'
    OLE2.SET_PROPERTY(cell, 'Value', 'This is the added stuff');
    END;
    procedure stop is
    begin
    -- Release the OLE objects
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\OLETEST2.XLS');
    OLE2.INVOKE(worksheet, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(cell);
    OLE2.RELEASE_OBJ(worksheet);
    OLE2.RELEASE_OBJ(worksheets);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.RELEASE_OBJ(application);
    END;
    Solution Explanation:
    =====================
    Microsoft changed some of the OLE calling interfaces for the
    Office97
    products. Thus, some of your existing OLE calls may need to be
    changed to
    comply with the Office97 interface.
    Consult with Microsoft and your Office97 documentation or more
    information
    on
    what the OLE interface is for the Office97 suite of products.
    Additional Information:
    =======================
    Related Bugs:
    483090 (Closed, Vendor OS Problem)
    FORM GIVES FRM-40735: UNHANDLED EXCEPTION ORA-305500 AGAINST
    EXCEL97.OFMPE0497
    +==+
    References:
    ref: {8192.4} BUG-483090
    Oracle Corporate Support
    Problem Repository
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    Problem ID : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: OLE AUTOMATION NO LONGER WORKS AFTER UPGRADE TO OFFICE97
    +=+
    Problem Description:
    ====================
    You have upgraded to Microsoft Office97 and OLE calls in your
    Developer/2000
    applications no longer work.
    Problem Explanation:
    ====================
    Examples:
    You are using Forms to send data to a Microsoft Word document
    and print
    letters, using ole automation. This worked fine with Word 6.0,
    but when
    they
    upgraded to Word 8.0 (Office97), the letters do not get printed.
    When you try to get an object handle to the Excel97 Workbooks
    collection
    using
    the OLE2 Package, you get the following error:
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
    ORA-305500
    The Same code works fine against Excel 7.0.
    [ Search Words: Office 97 msoffice ms office object linking and
    embedding
    application get_obj_property workbook invoke_obj
    appshow
    upgrade upgrading bug483090 olex.rdf demo ]
    +==+
    Diagnostics and References:
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    Solution ID : 2077481.6
    For Problem : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: MICROSOFT CHANGED OLE INTERFACE FOR OFFICE97
    +=+
    Solution Description:
    =====================
    WORD:
    Microsoft made some changes in the upgraded version of Word
    which cause it
    to
    come up as a hidden application. Customer had to add "AppShow"
    to his code,
    and ole automation works fine now.
    EXCEL:
    The issue here is that Microsoft changed the object "Workbooks",
    which is
    now
    a property of object "Excel.Application". So, replace the call:
    workbooks := ole2.invoke_obj(application, 'workbooks');
    with
    workbooks := ole2.get_obj_property(application, 'workbooks');
    For example:
    PACKAGE BODY olewrap IS
    -- Declare the OLE objects
    application OLE2.OBJ_TYPE;
    workbooks OLE2.OBJ_TYPE;
    workbook OLE2.OBJ_TYPE;
    worksheets OLE2.OBJ_TYPE;
    worksheet OLE2.OBJ_TYPE;
    cell OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    procedure init is
    begin
    -- Start Excel and make it visible
    application := OLE2.CREATE_OBJ('Excel.Application');
    ole2.set_property(application,'Visible', 'True');
    workbooks := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'c:\test\ms\excel\test.xls');
    workbook := OLE2.GET_OBJ_PROPERTY(workbooks, 'Open', args);
    OLE2.DESTROY_ARGLIST(args);
    worksheets := OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := OLE2.GET_OBJ_PROPERTY(worksheets,'Add');
    -- Return object handle to cell A1 on the new Worksheet
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 1);
    OLE2.ADD_ARG(args, 1);
    cell:=OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'Hello Excel!'
    OLE2.SET_PROPERTY(cell, 'Value', 'Hello Excel!');
    END;
    procedure addstuff is
    BEGIN
    -- Return object handle to cell A1 on the new Worksheet
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 2);
    OLE2.ADD_ARG(args, 2);
    cell:=OLE2.INVOKE_OBJ(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'This is the added stuff'
    OLE2.SET_PROPERTY(cell, 'Value', 'This is the added stuff');
    END;
    procedure stop is
    begin
    -- Release the OLE objects
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\OLETEST2.XLS');
    OLE2.INVOKE(worksheet, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(cell);
    OLE2.RELEASE_OBJ(worksheet);
    OLE2.RELEASE_OBJ(worksheets);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.RELEASE_OBJ(application);
    END;
    Solution Explanation:
    =====================
    Microsoft changed some of the OLE calling interfaces for the
    Office97
    products. Thus, some of your existing OLE calls may need to be
    changed to
    comply with the Office97 interface.
    Consult with Microsoft and your Office97 documentation or more
    information
    on
    what the OLE interface is for the Office97 suite of products.
    Additional Information:
    =======================
    Related Bugs:
    483090 (Closed, Vendor OS Problem)
    FORM GIVES FRM-40735: UNHANDLED EXCEPTION ORA-305500 AGAINST
    EXCEL97.OFMPE0497
    +==+
    References:
    ref: {8192.4} BUG-483090
    null

  • Export Waveform Chart Plots data to spreadsheet file based on X scale (Time Stamp) min and Max Value

    Hi All,
    Query 1:I am trying to export the Chart data(Total plots 6 ) only between the X scale Min Time and Max time limit .
    But couldnt able to achieve that progammtically.
    is their anyway to achieve this.
    Query 2:Also ,In chart their is an  right click option to export data to excel,but when using this option the data get exported in its own temporary name(iv*****.tmp),i dont want this to happen.Instead the data expored using that option should be written in a file specified by me(everyting should happen in backend)
    pls suggest the best solution for above 2 queries.
    Thanks,
    Selvan.

    Hi selvan,
    1) read the chart history (or better keep a history in your own shift register) and limit the data to the XMin and XMax values (read all those chart settings from its properties). Then save the data using WriteToSpreadsheetFile…
    2) The right-click option is as it is. When you need different behaviour you need to program your own routine. Once you finished query 1 it will be no problem anymore to also solve query 2…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Sending data to excel

    What is the best way to send Time vs Temp data from a thermocouple measurement to excel?  I have included my set-up if that will help.  Thanks in advance for your help and advice.
    Kenny
    Attachments:
    Final-Thermocouple2.vi ‏87 KB

    For information on how to write data to excel, check out the examples that ship with LV. Then get back with us if you have additional questions.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Error while sending data thru excel addin

    Hi John,
    When we tried pushing the data using excel addin, it gives an error
    Your software license does not include the ability to update the data thru the spread sheet.Please contact your administrator.
    We are also unable to save the data thru forms.

    Hi,
    In 9.3.1 the products that are enabled for use are usually set by the registry.properties—in <Hyperion_Home>\common\config
    Have a look at http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hsys9_install_start_here.pdf
    Page 54 - About registry.properties
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Send data to Excel

    We are designing reports to run on the web using report server and PDF format. What is the best way to also move the data to Excel?

    No. Oracle generates delimited output,
    which Excel can read, but all field-level
    formatting (font, weight, width, etc.) will
    be lost. In response to a previous question,
    Oracle Reports Team said that no, 9i won't
    generate native Excel, either.
    Since Excel was a requirement for us, we
    ended up with a workaround: write a PL/SQL
    stored procedure (pl/sql agent) that
    generates HTML source code, with Excel
    additions for font classes etc. It works
    quite nicely, but obviously requires more
    coding work than if Reports would do the
    job. Headers and Unicode, too.
    (And for some reason, Oracle's HTML output
    seems to generate a random number of columns
    per field, so if you take that to Excel your
    data will be spread across multiple fields.
    So that didn't help either.)
    (Actually, if the formatting isn't critical,
    the OraRepTeam answer ought to work, even
    for Unicode. I've done a few small tests.
    We needed the formatting, though.)
    Sigh.
    -- Allan Plum

  • Need to send data to excel spreadsheet

    Hi All
    I'm new in SSIS and need your help in one scenario.
    I created 1 flat file connection manager  that link to 1 CSV file. I also created 1 Flat file Source and use that flat file connection.
    After that I created 1 unpivot transform and link it with that flat file source and then  configure unpivot transformation and its working fine. Now I want the unpivot result in excel spread sheet and I don't know how to assign result in excel spread
    sheet.
    I tried to make excel connection  manager and give excel file name and then connect it with unpivot but no luck. I think I'm missing something. Please help me out. Thanks

    Follow the below step,
    1. Create a new excel file(blank format i.e no header).
    2. Create a connection pointing to excel file.
    3. Add Excel Destination from data flow destination.
    4. Drag the output of UNPIVOT to the excel destination.
    5. Double click excel destination to open the editor.
    6. Choose the excel connection you have created under connection manager dropdown.
    7. Select Data excess mode as "Table or View"
    8. Under "Name of Excel Sheet", Click the "NEW" button it will display you excel destination format. Supply the name. By default it is "Excel Destination". Click Ok. This will create a table in the excel sheet.
    9. Select the Excel Sheet from the dropdown menu again. Check the preview button.
    10. Go to Mapping tab and set the mapping of fields.
    11. Finally press OK button.
    Regards, RSingh

  • Horizontal scrollbar of waveform chart in tab page resets to end when tab page switched

    I've got a VI in LV 2012 with a chart in one of two pages of a tab control.  Whether compiled to an executable or not, when the waveform chart contains data that is no longer being updated and the x-axis range doesn't show the last point of data, the horizontal scroll bar auto-adjusts to show that last point if you switch pages (back to the chart) on the tab control.  I've tried turning off Autoscaling but that doesn't stop the effect. 
    Additional issues: 
    On some of these attempts at reproducing this, the X-Axis will even change scaling, zooming in on the data.
    When data is pushed left by this bug to allow displaying the furthest data point, if the leftmost area of the chart was blank before the data was pushed left, the data pushed left into the formerly blank area will not be displayed.  This happened only when the X-Axis was manually autoscaled prior to pushing the data off the right edge of the chart, and only if the x-axis scale was not changed.  If the tab pages are again switched at this point away and back to the chart, the data re-appears.
    The chart is a stacked plot if that makes a difference,  Also, the tab control is not linked to any event handlers.
    Also, the scrollbar works fine if you scroll such that the rightmost data points are on the chart along with blank area to the right, whether there is more data off the left edge of the chart or not.
    Last, the Y-Axis of each stacked plot is unaffected by any of this.
    I hope this isn't a duplicate - I didn't find it in the forums.
    Thanks,
    Erik
    Attachments:
    Flaw Demo.vi ‏120 KB

    Alex,
    Thanks for the quick response on this.  Again, the charts are awesome except for these minor fiddling details.  Sorry about the terminology confusion - I didn't find anything in the Help system naming the legend buttons, and unfortunately I can't edit the prior post.  When I said "AutoScale LocK" I meant "Scale Lock", and "AutoScale Once" I meant "Autoscale".
    Here are the issues, hopefully clarified:
    1.  If any chart elements have Scale Lock set, pressing the AutoScale button for any plot causes these other plots to autoscale as well.  Note these are not plots with multiple Y scales, they're stacked plots with separate y-scales for each plot.  Changing the "Advanced->Auto Adjust Scales" parameter had no effect on this issue.
    2.  If none of the chart elements have Scale Lock set in the scale legend, pressing the Autoscale button for the X-Axis has no effect if the x-axis was previously set to show all the data history but then panned such that some data falls of either side of the chart.
         This may have been confusing, so here's a breakdown of the steps to re-produce the problem using the VI I previously attached.
    a.  AutoScale all elements of the chart, and turn off Scale Lock on all elements
    b.  Move the data to the right in the chart, so the left half of the chart area has no data (e.g., set the X-Axis range to -5 to 6 seconds)
    c.  Press the X-Axis AutoScale button.  The X-Axis range will not change from where it was in (b).
    3.  The Y-Axis will also auto-scale when returning to the Chart tab if Scale Lock is enabled for the plot with the fix for the x-axis scale in place (restoring the Xscale.Range parameters from a local variable).  If the fix is not performed, this doesn't happen.
    4.  Pressing the Scale Lock button on one of the plots causes the X-Axis scale to be lost IF there is data past the maximum displayed X-Axis range.  It looks like it set the X-Axis to the same problem range as before the fix was in place.  I don't know how to build an event case for this, except for possibly "Mousedown?".
    One more:
    5.  Enabling Scale Lock on any plot auto-scales any other plot that has Scale Lock enabled (assuming the user changed the Y-Axis range from the previously auto-scalled range).  Obviously this is linked to #1 above, but worth noting.
    Thanks again, Alex!
    Erik

  • Waveform charts slowed down control system while loop

    Hi
    In my application, I have control system which i acquire data, process and output the result. I placed some waveform charts in the while loop where i acquire data, process and output. This made while loop to miss data points( late). Is this because waveform charts store data as time passes?

    Waveform charts store data in a history buffer of configurable size. You can change it to a smaller number.
    What is the size of the history buffer?
    How many charts are you updating in your loop?
    What else is happening in your loop?
    How are you updating them (wire, local variable, value property, etc).
    How fast is your loop rate?
    Are your plots simple (thin lines) or fancy (e.g. large dots and thick lines)?
    Is autoscaling on or off?
    Are the charts set to "synchronous display" by accident?
    How many traces are on your chart?
    What is your LabVIEW version?
    What is your OS?
    Do you have overlapping elements on the front panel?
    Could you attach a simplified version of your code so we have a better idea what you're actually doing?
    LabVIEW Champion . Do more with less code and in less time .

  • Export all data from my waveform chart to excel

    Hello, my name is Chris. I am just learning to use LabView. Everything I have learned so far is through these boards. Which is a valuable tool for someone learning. The VI I am working on is to monitor current from a unit we are testing. I am able to monitor current and have it running in what I believe to be real time. As I said, this is the first one I have made. I am trying to export all the data from my Waveform Chart to a report. Everytime I try I get one instance and it measures 0. I don't know what I am doing wrong. Any help would be appreciated. Also, if you have any suggestions on the all around working of this I would appreciate that as well. Thank you in advance.
    Attachments:
    Lp Current Test.vi ‏83 KB

    Hey Christophrt,
    If you are trying to display the microseconds for a waveform chart in LabVIEW here is how you can do it:
    Go to the Chart Properties>Display Format>X-Axis>Advanced editing mode>enter:
    %<%I:%M:%S%6u>T  as the format string and you will have the hours: minutes: and seconds to the microseconds. 
    If you are trying to display the exported data in microseconds in Excel, you will probably have to do some formatting changes in Excel to have that work.
    Regards,
    Tommy G.
    Applications Engineer
    National Instruments

  • Write data from waveform chart to excel

    Hi,
    I am trying to create a button that save de real time values recieved in a waveform chart. I don't know how to save it alls, because I don't know if is needed a buffer to save all or how can I do it.
    It wil be faboulous if someone give me ideas!
    Thanks so much for your support!
    Solved!
    Go to Solution.

    Hi mlop,
    You can go through the attached VI. You will get some idea of how to do it..
    Regards,
    Nitzz
    (Give Kudos to good Answers and Mark it as a Solutoin if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏9 KB

  • Combining 2 readings into a waveform chart/graph displaying continuous readings of data from different sources

    Hi,
    In the file
    (Serial Read and Write to .tdms & Compare on Graph – test.vi) I am trying
    to integrate the following two waveforms into a single waveform: Realtime
    reading and Waveform chart (open vi to see). Both of them display speed vs time
    but from different outputs. One comes from an excel file (Teraterm – Results.xlsx
    – sheet 4, (column 3:row 4) to (column 3:row 1878)) and the other comes from
    the Serial input which is in Hex format and is split to get the various readings
    of speed, voltage etc. I have already wired speed to a variety of waveform
    outputs, but all result in broken wires.
    The readings are taken in by the program
    and but I am unable to wire the two readings together into one graph. 
    Please do let me know as to how can I make this work.
    Thanks in Advance.
    Best Regards,
    Akhil
    Kumar Meesala (Mr.)
    Year
    4 | Undergrad | Mechanical Engineering
    National
    University of Singapore
    Email:
    [email protected]
    Mobile:
    (+65) 9326 7069
    Solved!
    Go to Solution.
    Attachments:
    Serial Read and Write to .tdms & Compare on Graph - test.vi ‏58 KB
    Teraterm - Results.xlsx ‏593 KB

    Dear GerdW,
    I'm sorry again about the misspelling your nick. 
    I tried connecting a waveform chart to the two terminals (speed from the DAQ and speed from the excel file) but I was unable to get the connection right. I understand that charts are used for readings which are equally spaced out, whereas XY graphs are used when the readings are not be spaced out uniformly. But I am unable to wire the connections correctly.
    Actually the DAQ device continuously sends out data through the serial port. So I would not run out of data . Are you referring to the data coming from the DAQ device or the excel file? I actually have not thought of what would happen when the excel file would run out of values I am just hoping for the software to run till then for now
    I have cleared up the wires as well Thanks for your help.
    Best Regards,
    Akhil Kumar Meesala (Mr.)
    Year 4 | Undergrad | Mechanical Engineering
    National University
    of Singapore
    Email: [email protected]
    Mobile: (+65) 9326 7069
    Attachments:
    Get Excel Values.vi ‏25 KB
    read_excel_values.llb ‏201 KB
    Serial Read and Write to .tdms & Compare on Graph - test.vi ‏79 KB

  • Saving array data from a waveform chart

    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed  loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels  displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
    If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart  after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
    Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
    I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu).  I'm not too familiar with timed loops /producer consumer loops  and just tried to put something together based on examples.
    I've attached my host vi and front panel screenshot.

    Hope they appear attached this time.
    Attachments:
    Basic DMA (Host).vi ‏444 KB
    screenshot2.jpg ‏113 KB

  • Using waveform chart to collect data

    Hello,
    I am a new user to labview, however I have been using it for a while now.
    I have a simple problem.
    My model runs a drive cycle for 1400 secs.
    I want to record data for a sample rate of 1 sec.
    However, When I try to run the model and export it to excel it shows data for a sample rate of 0.1 seconds. How can I change that?
    Also, what can be the maximum buffer size of the waveform chart?

    Hey govindgoal,
    The max buffer size is pretty massive so don't worry about that. I would post your code or at least the part which is recording the data for people to help debug. It would seem however that you have some timing issues with your application.
    Regards
    Andy
    "To 'G' and not to 'C', this is not a question!"

Maybe you are looking for

  • WEBUTIL_FILE.FILE_SELECTION_DIALOG -- Return value removes "/" UNC path

    Hello: When you pass UNC path (Example "//mcName/test/") as the "Directory Name" for the the above function, it returns the selected file along with the "Directory_Name" but removes ONE file separator("/") from the UNC path (Example "/mcName/test/tes

  • Account Insert or Update

    Hi, We are currently doing a WebService Integration from Siebel Enterprise to CRM OnDemand. When I send a Account Message for Account Insert or update, I donot get a response from OnDemand. When I login to OnDemand and go to Admin->WebServiceUtilizat

  • Xorg problem

    Hi, I just installed Arch (wauw it boots fast ) and everything is working (even my wireless with Ndiswrapper) except my Xorg. I dit: pacman -S xorg xorgconfig pacman -S hwd hwd -x mv xorg.conf.hwd xorg.conf (in /etc/X11) and when I try Xorg-configure

  • Plugin legal issues

    Hi, Could anyone instruct me as to what legal issues there are (if any) in regard to actually selling an AE plugin? Is there any documentation on this? Or agreements that need to be made with Adobe? Also, i'd be interested to know if there was any su

  • The dreaded message....

    It's finally happened. The warning message that my startup disk is nearly full has appeared for the first time, a few minutes ago. Can someone briefly outline possible, reasonable short and long term strategies for this? In the short term, I know I'v