Import excel and plot xy graph

Hii NI Forum Members,
I would like to plot the XY graph  (2 vertical axes with pressure and temp and 1 horizontal axis time),in parallel the values are generated in excel sheet with 3 columns and with multiple rows.
Hence,How can i import the excel sheet columns and rows and plot the generated excel sheet values in XY graph of LabVIEW
Waiting for your vauable reply,
Raj

Why don't you use the Report Generation toolkit? It has plenty of Excel-related vis. You can import data from any of the worksheets and after garbaging the non-number data you can convert it to numbers as well (or if you do not have any string-cells, only numbers you can import it as a 2d numeric array by changing the array constant). If you do not wire any input to the report generation, it does not overwrite your data. (The excel sheet goes to template.)
I just tried it with an xlsx file and worked fine.
After importing the data you can manipulate it the way you want it, for example plotting it.
Engage! using LV2012

Similar Messages

  • How to connect mysql database to labview and plot the graph

    Hi all,
     I am doing my final year project about labview. I need to connect my mysql workbench database to labview and plotting two sinwave in same graph. I can already connected my labview to mysql and showing the data in labview table.But I need to plot the two sinwave in on graph according to table data. Eg: table data:      timestamp   wind speed  wind direction
                                                      ​                                                  ​                                                  ​                                            2004-01-01         0.5                 56
                                                      ​                                                  ​                                                  ​                                            2004-01-01         0.6                 60
      The attachemtn vi is about inserting file and plot the graph. And now I  want plotting the sinwave using table data and the  wind speed Y-axis,wind direction Y-axis in both side of my graph and the X-axis is showing the whole day timing like 00:00:00-24:00:00.  Can anybody combine these 2 vi to polting the graph according table data not according to file data.Thanks
    Attachments:
    Mysql.vi ‏11 KB
    Insert File.vi ‏25 KB
    Wind Project.vi ‏24 KB

    Please don't start a new thread. Stick to the original.
    http://forums.ni.com/t5/LabVIEW/How-to-plot-wavefo​rm-or-graph-using-table-database-which/td-p/294036​...

  • Differences between Excel and BO XIR3 Graphs / Charts

    Hi,
    i have a couple of new requirements.In the existing system they are using MS Excel for generating the Charts and Graphs manullay.
    With the new requirements they are willing to upgrade the system to automate process of the Excel  Charts and Graphs generation with BOXI R3 Graphs/Charts.
    I have to explain the user about the advantages and disadvantages of BOXI R3 over Excel.
    I guess using BOXI R3 would be an added advantages with few limitations over Excel.
    So i request to tell me the major differeneces between Excel and BO Graphs/ Charts which is practically possible and which is not possible.
    Regards,
    Kishore.

    Hi,
    there is no such document.  I can assure you of that.
    Btw - as of BI4.0 - BusinessObjects charting is significantly improved, and much more powerful than Excel.
    VCOM charting engine is now common accross the entire suite (all tools leverage it) , and you might recognise it from Explorer
    if you check out page 169 onwards from this guide: http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_ia_en.pdf  it lists:
    Bar charts
    Box plot charts
    Column charts
    Surface charts
    Tree map charts
    Pie charts
    Heat map charts
    Point charts
    Radar charts
    Tag cloud charts
    Regards,
    Henry

  • How can I take the photo by capture the photo, plot the graph(control chart) in the same times and export to Excel File

    I want to do my sample of the project  following these steps.

     1. Create the template for compare other objects.
     2. Save the template and ready for compare realtime with other objects  
    II 
    1. Use the CCTV video camera Sony capture the picture of the object (lego toys).
    2. Calculate the size of the objects and change to mm.
    3. Compare with the template and plot graph(Control chart) by length
    4.  Export the data to Excel Files
    Solved!
    Go to Solution.

    Nice project !
    I sincerely hope you are not expecting us to do your homework.
    What is your experience with LabVIEW ? 
    May be you should try to start to code something and then come back later with some more specific question ?
    Message Edité par chilly charly le 01-02-2009 08:40 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Import excel graphs into illustrator

    When I try to import the graphs from excel into Illustrator the text converts into a gibberish. Is there any proper way to import excel graphs into illustrator?

    Obviously it helps if you have got the same fonts in the Excel and the Illie files. But I believe that this is not the whole answer – or at least there is a nice difference between gibberish and utter gibberish.
    For example if you try to open a .docx  or .xlsx file in TextEdit you will get totally mind-boggling utter gibberish, whereas .doc and .xls files usually behave more or less normally even if there is a font conflict.
    Now Auntie Illie is very fussy about her fonts, so do what dandidotcom says first and if you still get utter gibberish even with the right fonts, try downsaving the Excel file to .xls.

  • Grapher - Importing Points, and Help File problem.

    For some reason, I can't get the help file to load on Grapher to load. I have repaired permissions, but the thing will go no further than show me the entry page to Grapher help. Any searching just throws an error to the Console.
    What I am actually trying to find out how to do is to import points into Grapher. There is an Edit Points option. From within the dialog that comes up, there is a button to import data to the application. I have been unable to get this to actually DO anything, and no error or alert is given despite what I provide as input.
    Any ideas.
    Grapher, btw. is a neat program, but the user interface is godawful. It really is organized pretty badly, IMHO.

    Hi, Skip.
    1. You wrote: "For some reason, I can't get the help file to load on Grapher to load. I have repaired permissions, but the thing will go no further than show me the entry page to Grapher help."See the "Help Viewer links do not work" section of my "Troubleshooting Help Viewer" FAQ.
    2. You wrote: "What I am actually trying to find out how to do is to import points into Grapher. There is an Edit Points option. From within the dialog that comes up, there is a button to import data to the application. I have been unable to get this to actually DO anything, and no error or alert is given despite what I provide as input."I played around with this a bit using the Default graph type.
    It appears that the data set you import has to be formatted in columns of x, y, and z coordinates (two columns for 2D graph). It appears to assume a plain text file with the (x,y,z) triplets on individual lines (Return at the end of each line), and tabs between the x, y, and z coordinates for a given point. For example, a data set you could create in TextEdit.
    The Import option permits you to specify other options for handling the data you are importing, such as using a comma as the separator (vs. tab) in (x,y,z) triplets, ala CSV (comma-separated values) data sets you might export from Excel and then want to import to Grapher.
    Also, if you want to import points for a new data set so you can compare two different sets of data in a single graph, you first need to add (Click [+] in the lower-left border of Grapher) a new data set, then import the data into such. If you simply choose Edit Points > Import with an existing data set, the points you import are added to the currently selected data set in the Equations column.
    None of this is documented in Grapher's Help. I basically had to experiment with it to discern the info above.
    3. You wrote: "Grapher, btw. is a neat program, but the user interface is godawful. It really is organized pretty badly, IMHO."I agree. The application does need a good bit of improvement w.r.t. Help details and interface design. I suggest you submit a Mac OS X Feedback.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Workflow for exporting xml from Excel and importing into table in InDesign

    Hello,
    I have worked out how to get data from a .xlsx into a table in InDesign. However, the workflow is still a little clunky and I am looking for way to automate the process further. My current workflow is as follows (files can be download here: http://visual360.co.uk/xml.zip)
    xml is exported from .xlsx by mapping the schema (see what_I_get.xml)
    assign tags to table and individual cells in InDesign
    This is the clunky bit: edit the what_I_get.xml to:
    remove the indentation (this seems necessary as otherwise when I get to stage 4, all the imported text is also indented)
    add tag for table in InDesign (p10_table)
    add tags for individual cells (p10_c11 etc.)
    import the produced what_I_want.xml in the structure panel of InDesign.
    Can anyone point me in the direction of how to automate step 3 above?
    Thanks in advance,
    Nick

    Hi Mike,
    Thanks very much for the reply. I am not at all familiar with XSL/XSLT. I have given it a quick google and it seems like it could be quite a steep learning curve to master. Maybe if I explain the whole context here, it may allow you to point me in the direction of a tutorial that provides a step by step approach to achieve my final goal. Alternatively, you may be able to suggest a whole new workflow.
    I am in the process of updating this document: http://www.ncl.ac.uk/students/insessional/assets/documents/IS_Brochure_2014-15.pdf
    The tables on pages 10-21 contain lots and lots of repeated information. We want the layout to in this format so that each group of students has all the information relevant to them on a single double spread. However, the challenge of using this approach is that it is very high maintenance to ensure the duplicated information is kept in sync - even using a copy / paste approach.
    I was hoping to overcome this by using a single source of data (eg. a spreadsheet) which would then feed into the InDesign. This workflow seems to be overcomplicated by the apparent need to use xml as the "middle-man".
    Ideally, I would like to press the export button in Excel and get this information into the the correct cells in the tables on pages 10-21 without a significant amount of manual labour - after all, my reasons for investigating an automated approach in the first place was to avoid the manual entering of data ie. the scope for error...
    An alternative approach maybe to skip Excel altogether and just use .xml. However, I am not sure that this is possible as Indesign only seems to allow you to import each element once. Maybe you could correct me here...
    I am happy to invest a certain amount of time in developing this approach as once it is in place, it will save a huge of proof-reading time year after year, especially as inconsistencies still persist despite our best efforts to weed them out.
    If you could let me know your thoughts on this and maybe identify a tutorial that would help me, I would be extremely grateful.
    Thanks again!
    Nick

  • Read data from XML file and plot graph on Ms Words

    Hi,
    I'm using Visual Studio 2010, what I want to do is written in the title.
    so far i was able read and plot graph on a Form but i unable to use the same method on Crystal Reporting.
    The method plotting in Crystal Reporting is complicated and it require a fix data set or database which is not suitable for my case because every time the number of column and row or data will be different. (this is what i think base on what i found)
    is there a way for me to display the output on a ms words?
    and what is the method.
    thanks.

    Hi Huangcongmazhananzi,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss the VS IDE.
    I might not have the correct detailed answer you need, but I might lead you into the right direction to solve your problem.
    If this issue is related to the Windows Forum app, this forum would be better:
    http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    But if it is related to the Crystal Reporting, you could post the issue here:
    http://forums.sdn.sap.com/forum.jspa?forumID=313&start=0
    is there a way for me to display the output on a ms words?
    If it is related to the Office, maybe you could select the correct forum here:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    Best Regard,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reading a text file and using data to plot a graph

    Dear Friends,
    I have the following problem...
    I have a text data looking like this;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    My Code should have a button , when you click that button it should ask you to choose a txt file to open this file from a specific place. The Indicators of the front panel should show me the ID , Name and Date. The data;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    the first 3 bits belong to X axis, the next 3 bits belong to Y and the rest 3 belongs to Z axis.  I have to convert those values to Decimal system, and plot them in a graph, 10 times a second , which means after converting and plotting 10 values , one second is over.
    I would aprriciate it very much if you could help me in this case....
    Thanks in advance.
    Message Edited by Support on 11-13-2007 01:03 PM
    Message Edited by Support on 11-13-2007 01:04 PM

    Some questions a teacher might ask:
    What's the display setting for the "\n" string diagram constant? Why?
    Is it better to read the file one line at a time or all at once?
    What would you do to be able to stop the chart display before it runs out of data?
    What would be different if we combine the two FOR loops into one?
    How would you display the header as a multiline string instead of an array of strings?
    Why is the scan format %03x instead of %3x? Would it make a difference?
    What is the purpose of the two items of the property node?
    What would you need to change to plot the data every 50ms? (change in two places!)
    Why is the error output of the property node wired to the first FOR loop? (After all, the error value is not really used anywhere there!)
    Instead of the two "array subset" operations, we could do it with one icon. Which one? (two possibilities!)
    So... be prepared!
    Message Edited by altenbach on 10-29-2007 11:31 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Detect fields and edit imported Excel spreadsheet

    i would like to know how I can detect fields for imported Excel spreadsheets so I can add and edit the spreadsheet

    I have an excel spread sheet that i would like to import into form central & I would like the fields to be editable by other users.  When i try exporting the excel file as a PDF Form Central  I get this message "FormsCentral could not import the PDF document because it does not contain interactive form fields. You need to add fields to your PDF using Adobe Acrobat and import again" Is there any other way for me to do this or do i have to purchase a version of Adobe Acrobat?

  • Importing Word, Excel, and Powerpoint...

    Can you import Word, Excel, and Powerpoint files into Pages, Numbers, and Keynote so that they can all be backed up on iCloud? 
    Will people with PCs and/or Office files still be able to read them?

    JFraser wrote:
    Can you import Word, Excel, and Powerpoint files into Pages, Numbers, and Keynote so that they can all be backed up on iCloud? 
    Will people with PCs and/or Office files still be able to read them?
    Yes they are all easily imported into Pages, Number & Keynote and those apps will also export to their MS Office equivilants.  However if you are sharing the documents regularly with Windows users it would be much easier to just get MS Office for Mac 2011. Then sharing documents is a much easier process.

  • BPC 7 SP3 and Import Excel package

    Hi,
    I use VPC 7 SP3 (with SQL Server 2005) and I have some problems with the standard package named "Import Excel". The following error is returned:
    Package Error Events: 
    ErrorCode = -1073450901
    Source = ExcelToText
    SubComponent= DTS.Pipeline
    Description = "component "EXCELFILE" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
    Here is the parameters:
    %XLFILE%     /ECOS/COMPTABILITE/DataManager/DataFiles//EXPORT_COMPTABILITE.XLS
    %SHEET%     COMPTABILITE_CIBLE
    %COLUMNS%     
    %TRANSFORMATION%     /ECOS/COMPTABILITE/DataManager/TransformationFiles//Transf_JDE_Compta_Actual.xls
    %CLEARDATA%     1
    %RUNLOGIC%     0
    %CHECKLCK%     0
    Any ideas?
    thanks,
    Romuald

    Hi,
    here is more information. The Excel file I try to load has different columns from the standard ones (I have an HYP dimension and no INTCO dimension). I have specified the list of columns in the package parameters interface. It seems that these values are not used by the package. I think that the package waits for a file with the standard columns, no less, no more. It works fine with BPC 4.2 (I use the standard Import Excel package and the file is well loaded).
    thanks for your help,
    Romuald

  • Import file from Excel and ignoring the headers

    Hi all,
    is it possible to import files(spreadsheets) from Excel and ignoring the first row that contains the headers? Since headers might contain special characters such as "\n", "&" and "/", i wonder if you can tell me how to load .xlsx files while ignoring the first line that contains description regarding the header.
    Thanks

    Put a filter on one of the fields on the source data store in your interface. It is likely that your header row will have some unique identifying attribute so filter on that e.g. if you are importing nmeric amount data it is unlikely that your header line contains a numeric value in the amount field but a decription such as "amount", put a filter testing if the value of that field is numeric or not

  • Transparency for plots in graphs and charts

    In addition or extention  to this idea
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Graphs-and-Charts-with-semi-transparent-fill-option/idi-p/1530960
    I would like to have a transparency control/property in the colour selection for plots in graphs and charts.
     

    Bill, why not directly giving you a solution -there is alot of work going on in adding charting and graph support for future release of Jdeveloper....of course, that does not stop you using some graphing and charting features now but the new added features make the charting side of things much more drag and drop.
    Regards
    Grant

  • Import Access and Excel datafile into Oracle

    Dear SQL Expert:
    Could you hint me how to import Access and Excel datafiles into a newly install oracle database. An outline doc on procedure would be helpful.
    Thanks, user607670.

    either thru one of the following methods:
    <ol>
    <li> SQL*Loader </li>
    <li> UTL_FILE </li>
    <li> PL/SQL Developer tool using the text import utility </li>
    </ol>

Maybe you are looking for