Display graphs from excel data

Hi,
 I have the data in Excel(sample.xls). there are 2 columns of data. I want to read the data from excel and display in the form of XY graph (x-axis -one column of data and Y-axis one coumn of data).
can anyone please provide the VI for this or else give me procedure how to do this.
Thanks,
Paleti.
Attachments:
time-mc.xls ‏5 KB

Hello jason,
      Thanx for your reply. I will clarify what my concern is i need to display the graph with two columns(A-column as X-axis and B-column as Y-axis). I understand that Bijay provided example for waveform graph,and that is working for sample 3 data. when i use the same example for the different data like sample 1  which i am attaching below is not working. so i have tried to create the vi that will display the XY-graph instead of waveform graph. Still i am unable to display the graph. I will be attaching the VI i have tried. So anyone please help me to modify my vi to display as XY graph and make it work for the samples data i have provided in sample1.
Thanks & Regards,
Paleti. 
Attachments:
sample1.xls ‏1 KB
sample2.xls ‏1 KB
Refexample2.vi ‏12 KB

Similar Messages

  • Labview graph from excel data

    Hello,
    I need some help. I have data in excel The first column is a timestamp and the other columns are the data needed.and I am trying to get a graph with multiple plots with these data.
    attached here are the excel file and a labview file. In the labview file, the top part is an example I got from the forum, an interesting graph I am trying to follow.
    The bottow part is my tentative to extract the data from excel into array and try to use it. but I am stuck here. Any help please!
    Thank you,
    Agyna
    Attachments:
    graph.vi ‏13 KB
    Histo.xlsx ‏53 KB

    Hi agyna,
    I've saved xls file into csv and then i'm reading into labview and plotting the graph. Please check it this is what you need.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    graph.vi ‏18 KB

  • Why do I get jumbled text when pasting a graph from Excel (mac 2011) into Illustrator cs6

    The Goal: To copy a graph from Excel (mac 2011) and paste it into Illustrator cs6 as a vector graphic.
    The graph's vector and layout is okay. Yet, the text / copy is jumbled text:
    $%"
    $#!!!!"
    Do I have to change a preference in either Excel or Illustrator?
    Thank you!

    In Excel, right click and choose Format Chart Area. In the dialog at the left, choose Fonts. Change the font to Arial or something other than Calibri (Theme Body). Then copy/paste.

  • Importing Data into Sql Server 2012 from Excel Data

    Hi,
    I got errors like this when i am doing import data into sql server from excel Data. Can you please help us?
    - Executing (Error)
    Messages
    Error 0xc020901c: Data Flow Task 1: There was an error with Source - demotable$.Outputs[Excel Source Output].Columns[Comment] on Source - demotable$.Outputs[Excel Source Output]. The column status returned was: "Text was truncated or one
    or more characters had no match in the target code page.".
     (SQL Server Import and Export Wizard)
    Error 0xc020902a: Data Flow Task 1: The "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]" failed because truncation occurred, and the truncation row disposition on "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]"
    specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
     (SQL Server Import and Export Wizard)
    Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - demotable$ returned error code 0xC020902A.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
     (SQL Server Import and Export Wizard)

    Are you attempting to import into a newly made table or into an existing table? It looks like it's trying to insert data where it cannot be inserted (invalid column or lack of data size in your column).
    Try the following:
    1). In your excel sheet, highlight the whole sheet and make sure the cells are in 'text' form and try re-importing
    2). save the document as ms dos TEXT and import as a text document.
    3). double check your columns are correct for the data, for example if you have a column that has a string of 100 characters and your column is 'NvarChar(90)' - that might cause the error? Or just correct data type in your column
    3). If that doesn't work and you're inserting into a new table, try importing it as string first and writing a query to insert columns that should be float/integer or whatever. You may want to convert float texts to a 'bigint' first rather than string
    > float as that can cause problems if I remember correctly.

  • Excel Inplace - Update SAP R/3 tables from Excel Data

    Hi,
    I developed a report displaying using Excel inplace.  After user finished editing the Excel workingsheet, I called method get_ranges_data of interface I_OI_SPREADSHEET to get data contents.  But this method or almost all the methods of this interface requires user hit a enter key after edit a cell.  Without hit a enter key or click different cell, this method will not be able to get any data contents. 
    Is there a way I can force a user click or enter event?
    An example is apprieciated.

    I have not tested this, but you might try the following.
    The inline excel should be created from a template. And in the excel VB code should exists which call a customer event in Workbook_SheetChange. This code is executed each time a change occurs on the worksheet.
    so in you r worksheet you should have the following code:
    Private Sub Workbook_SheetChange(ByVal Sh As Object, _
            ByVal Source As Range)
        ' runs when a sheet is changed
      Call ThisWorkbook.Container.SendCustomEvent("DATA_CHANGE")
    End Sub
    this event you can catch in SAP, and reread the data from excel.
    so now each change in excel triggers an event in SAP.
    Not sure it works, but worth a try.
    Joris.

  • How can I populate a dynamic form from Excel data (beginner)

    I am reasonably certain this is beginner-level but I cannot seem to figure out how to do this. I have data in an ecxel file and I would like to import that data into a form using LS. I need to distribute the unique data to each recipient. (I have included an example below) I would really appreciate any advice. If there is a tutorial that explains this I would be happy to go through that. Thanks in advance.
    Customer
    Acct No
    Equipment
    Sales Rep
    Email
    Pear Computing
    1
    Motherboard A
    Jim Smith
    [email protected]
    Pear Computing
    1
    Video Card A
    Jim Smith
    [email protected]
    Orange Computing
    2
    Motherboard B
    Jim Smith
    [email protected]
    Orange Computing
    2
    Super Mouse
    Jim Smith
    [email protected]
    Plum Computing
    3
    Awesome Monitor
    Tanya Smith
    [email protected]
    Apple Computing
    4
    Motherboard S
    Tanya Smith
    [email protected]
    Apple Computing
    4
    Super Mouse II
    Tanya Smith
    [email protected]
    Raisin Computing
    5
    Motherboard R
    Bob Smith
    [email protected]
    Cherry Computing
    6
    SoundLoud Soundcard
    Bob Smith
    [email protected]
    I would like to send a template e-mail to each sales rep at "PC.com" that says:
    Dear <SalesRep>,
    <Customer> has the following equipment:
    <Account No> | <Customer> | <Equipment>
    I would like all the data for each customer to go to the sales rep. For instance, Jim should get an e-mail stating that "Pear Computing" has two items, and a separate e-mail stating that "Orange Computing" has two items. What I want to avoid is the MS Word mail merge solution that equates to Jim getting 4 emails. I would like the equipment to be grouped by customer number or account number. I would prefer to have a dynamic layout with flowed page as the number of items per customer will vary.
    PLEASE HELP!
    JD

    you can copy/paste data from Excel to Illustrator

  • Can illustrator populate a pie chart from excel data?

    I was wondering if there was a way to import excel datat into illustrator, then it populates a vector pie or bar chart for me?  Is this even possible?
    Thanks in advance,
    Jenny
    http://texturedwallpaper.org

    you can copy/paste data from Excel to Illustrator

  • YTD report generated from excel data yielding incorrect results

    I am trying to generate a YTD report from the data present in an excel sheet. However the result is coming out to be incorrect for YTD sales
    The data sheet looks like this.(SaleDate is in *3/14/2009 format).
    SNo     manufacturer     date     # of CarsSold
    1     Hyundai     1/2/2010     10
    2     Maruti     1/2/2010     15
    3     Hyundai     1/14/2010     11
    4     Maruti     1/14/2010     15
    5     Hyundai     2/1/2010     10
    6     Maruti     2/1/2010     13
    My logical layer consists of the following 3 tables
    Manufacturer Dim table with only 1 column 'manufacturer'
    Date dim table with only 1 column 'date'. Additional derived columns in this logical table created for YTD calculations are as follows:
    CALENDER_YEAR_NAME---- EXTRACT( YEAR FROM testdata.TimeDim."date")
    QUARTER_OF_YEAR------- EXTRACT( QUARTER_OF_YEAR FROM testdata.TimeDim."date")
    MONTH_OF_YEAR----------- EXTRACT( MONTH FROM testdata.TimeDim."date")
    CALENDER_QUARTER_DESC------ CONCAT( CAST (testdata.TimeDim.CALENDER_YEAR_NAME AS CHARACTER ( 30 )), CAST (testdata.TimeDim."QUARTER_OF_YEAR" AS CHARACTER ( 30 ))) ////appending year name to month name for uniqueness
    CALENDER_MONTH_DESC------ CONCAT( CAST (testdata.TimeDim.CALENDER_YEAR_NAME AS CHARACTER ( 30 )), CAST (testdata.TimeDim.MONTH_OF_YEAR AS CHARACTER ( 30 )))
    After that time dimension was created with the following levels.
    timedimtotal
    year
    quarter
    month
    timedimdetail-Chronological key has been specified at all levels of the time dimension created for YTD calculation.The key at the lowest detail level was specified as 'date' column. At the upper levels it was CALENDER_MONTH_DESC,CALENDER_QUARTER_DESC,CALENDER_YEAR_NAME etc
    Fact table with 1 column '# cars sold'.The fact table is joined with both the dim tables by complex logical join. Sno has been ommitted and not used in any of the logical tables. Sale YTD column was created in fact table using todate function(year).
    The result am obtaining if i run the report today is:
    CALENDER_YEAR_NAME QUARTER_OF_YEAR MONTH_OF_YEAR # of CarsSold SaleYTD
    2,010 1 1 51 51
    2,010 1 2 23 46
    As you can see YTD for month 2 is coming incorrect it should be 51+23. This is jst test records and the same difference exists even if i run against my actual excel sheet
    I would like to know:
    1. Is it right to run YTD report against excel sheet as I checked for the query beign generated by answers, and its firing a lot of functions like Quarter name and monthname etc which i am not sure are supported by excel for answers.
    2. If i am going fundamentally wrong somewhere in this entire approach as i am new to obiee and chances are i might be missing something important.
    Would highly appreciate your help
    Regards
    Himanshu Hira

    I have another solution and that is to actual discard the result before you get to the report stage.
    You can do this by use of the Override Callback SequenceFilePostResultList and if Skipped then discard the result from ResultList.
    Check out this link.
    Regards
    Ray Farmer

  • Displaying Graph for current date

    Hi,
    I want to pass a dynamic value to display graph. Let say I want to display graph for the current date, so that whenever user opens the web page, he sees the data for the current date. Can anyone suggest any solution for this.
    Regards.

    solved by other way

  • Displaying images from MySQL data base

    I'm currently developing a Master/Detail
    page set. The MySQL table containing the Detail information includes a 'blob'  (MIME: image/jpeg  - Attributes - BINARY) for storing a small image. Under phpmyadmin the images show where applicable.
    In my Detail page I display the results in a table. All the values display except the image.
    I selected Insert > Image
    When the 'Select Image Source' dialogue appeared set 'select file name from' to Data source
    Selected the data base field from the established records set
    I left the 'Format' as 'None'
    Clicked OK
    Have I omitted to set something? How does Dreamweaver or the PHP code know hto to render this field?
    Hope someone can make some suggestions to resolve this.
    Thanks
    Cliff
    Other possible useful info:
    Developing on Windows XP
    Dreamweaver CS5
    all versions of MySQL, PHP, Apache, IE8, Dreamweaver up to date.

    In my desparation this morning
    I even tried to set up a mirror of your example witha separate table (just the 3 fields) and even that didn't work. The Proxy member was the same as yours except that the script was changed to LocalPHP.php . Therefore I presume that the error must have been in the webpage. Unfortunately I've since deleted the code so I can't send a copy of what I used.
    The only suggestions I could suggest that may help others that are novices are (1) suggested code for the webpage (2) a diagram illustrating how the elements link or relate to each other. Hope that is thought helpful.
    Thanks again
    Cliff

  • Hw can we plot a graph from the data given in a flat file

    i need a program that reads a file with 2 columns:
    - time in minutes for the x axis
    - value (e.g. temperature, heart freq.) for the y axis
    Plot the last m minutes, the y axis shall have a range from min...max.
    Start with parameter values m=5, speed s=1, min=20, max=120.
    After m=5 minutes, the graphical display shall plot the curve of the
    last 5 minutes. In other words, you have to implement a sliding window
    with a 5 minute history
    The speed s is useful for testing, 1=real time, 10=10 times faster.
    To implement the real time behaviour, you have to let the program wait the
    time interval between two values. The time interval is not constant.
    A sample file looks like this (lines 1..3 are always comments):
    -------8<-------cut-here-------8<-------
    Logfile of program temperature_monitor.cpp
    Temp sensor #42, range 30..60 degrees Celsius
    2007-06-21 20:30
    0.017737 45.2
    0.045122 42.7
    0.073591 43.1
    -------8<-------cut-here-------8<-------
    You can download the test data file here:
    http://alf42.dyndns.org/oost/temp_testdata_2007-06-21
    An axample how the output can look like is here:
    http://alf42.dyndns.org/oost/temperature_diagram_example.gif

    hi
    i have tried the code for it and i am getting the
    barcharts but not the graph as the output
    Your code is rubbish. You also did not use code tags. But let's examine the rubbish points shall we?
    import java.awt.*;
    import javax.servlet.*;There is no need for you to import servlet here. Especially as this later appears to be an applet.
    import java.lang.*;Importing java.lang is redundant.
    import java.applet.*;
    public class classfile{This is a poorly named class for several reasons. One it does not follow conventions, class names should begin with a capital letter. Two classfile is just a stupid name.
    Also your class should most likely extend applet if indeed you mean to write an applet. This is probably pointless because you probably don't mean to write an applet, it's just that you have no clue.
    >
    int n=0;
    String lable[];
    int value[];
    blic void init()
    try{
    n= Integer.parseInt(getParameter("column"));n is pointless since everything is hardcoded anyways for four elements
    lable = new String[n] ;
    value=new int[n];
    lable[0]=getParameter("lable11");
    lable[1]=getParameter("lable12");
    lable[2]=getParameter("lable13");
    lable[3]=getParameter("lable14");
    value[0]=Integer.parseInt(getParamater("c1"));
    value[1]=Integer.parseInt(getParamater("c2"));
    value[2]=Integer.parseInt(getParamater("c3"));
    value[3]=Integer.parseInt(getParamater("c4"));
    catch(NullFormatException e )This is garbage.
    System.out.println("Null format Exception");
    public void pain(Graphics g)While I am forced to agree with the sentiment here the correct name for this method is paint.
    for(int i=0;i<n;i++)
    g.steColor(color.red);That is garbage for a variety of reasons.
    g.drawString(lable, 20, i*50+30);
    g.fillRect(50, i*50+20, value[i], 40);
    So try again. Maybe learn some Java first? Just a suggestion.

  • Time stamp conversion and graphs from array data

    How can you read time stamps and data currently in an text file as an array and split in for display on a graph. I think I need to convert the time stamp back into seconds to do this but not sure how to do so?

    If you're using 8.2, the Read From Spreadsheet File VI can read string files. If not, you will need to open the VI and read the instruction on the diagram for how to change it.
    Once you have your string array, you can use the VI found here to convert the time column (note - read the thread) and convert the second column using the String to Number functions.
    Try to take over the world!

  • Active X bringing a graph from excel to LV

    Is there a way to display an excel graph in labview. not just data but actual graph with functionality like rollover display.  I feel like this could be done with active x but im not sure how to get it done.
    Thanks,
    Triff

    Hi Triff,
    It does not look like you are able to. With Excel I would recommend getting the data and regraphing it in LabVIEW. Here is another forum post that has as similar question to yours.
    As for getting the data, here is an example also. You can then create a graph using LabVIEW.
    Regards,
    Nathan B
    Applications Engineer
    National Instruments

  • Populate PDF from Excel Data

    I have an excel worksheet with employee sales data. this worksheet has a column that has a drop-down list. I want to set it up so that whenever "Warning" is selected from the drop-down, a pdf is created. this pdf will be like a warning notice, and pull certain information from the selected row in excel and populate several fields in the pdf form. I also would want an electronic signature to be at the bottom with a calendar that can pull the date.
    I know that the bulk of this question is probably best answered on an excel forum, but I want to understand the best way to do this with each application...

    Something like this?
    // Import the first row of data from "myData.txt".
    this.importTextData("/c/desktop/myData.txt", 0)
    if (typeof cnt == "undefined") cnt = 0;
    this.importTextData("/c/desktop/textdata.txt", cnt++ % 4)
    // Specify the name of the template
    var template_name = "Student Information Sheet";
    // Get a reference to the template
    var t = getTemplate(template_name);
    // Add a new page based on the template
    if (t !== null) {
        t.spawn({
        nPage: numPages,      // Add the new page to end of document
        bOverlay: false,      // Create a new page, not an overlay
        bRename: true         // Rename the fields
    } else {
       app.alert("The template named \'" + template_name + " does not exist in this document.", 1);
    But how would I tell the new page to take the second row from the chart, and will I have to click the button for each one of the fields in the data?

  • Displaying image from binary data using java

    hi there,
    i have created a swing applet displays me a url, what the url returns me is the image in binary format, and i want to show the complete image using that binary data
    so how do i do it.
    some thing like this :
    URL url = new URL("http://192.168.1.1:8086/file-storage/download/Zerg.jpg?version_id=35688");
    JEditorPane jep = new JEditorPane();
    jep.setPage(url);
    output is in binary on my applet window.

    Hey,
    This displays an image from a url, you could check if your url is and image or not using URL.getFileName() and see if it ends in gif jpeg etc. and then display it this way.
    hope it helps
    Nick Hanlon
    import java.awt.*;
    import java.awt.Image.*;
    import java.awt.Toolkit.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.text.html.*;
    public class SimpleApp extends JFrame {
    public static void main(String args[]) {
    SimpleApp aFrame = new SimpleApp();
    public SimpleApp() {
    super("Frame");
    /*JEditorPane jep = new JEditorPane();
    jep.*/
    try {
    HTMLEditorKit htmlKit = new HTMLEditorKit();
    JEditorPane ep = new JEditorPane();
    try {
    ep.setEditorKit(htmlKit);
    BufferedReader in = new BufferedReader(
    new StringReader(
    "<HTML><IMG SRC=\"http://developer.java.sun.com/images/chiclet.row.gif\"></HTML>"));
    htmlKit.read(in, ep.getDocument(),0);
    getContentPane().setLayout(new BorderLayout());
    setResizable(false);
    getContentPane().add(ep, "North");
    pack();
    show();
    } catch (javax.swing.text.BadLocationException e) {}
    } catch (IOException e) {}
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    }

Maybe you are looking for

  • Safari 5.1.2 crashes on opening

    Using 5.1.2 on MacBook Pro 17" with Snow Leopard. I was running Photoshop, which was a bit slow, as was Safari, so I went ino Safe Boot mode, ran Disk Utiity to repair Permissions but on re-starting Safari kept crashing & sending report to Apple. I h

  • How can I ensure that my IPOD files cannot be copied onto someone else's computer?

    I want to protect the files and keep others from copying the songs. How can I ensure this?

  • Why do .pdf attachments in email show up differently

    I  am using Adobe Reader 10.0.3 on an iMac running on 10.5.8. Sometimes the .pdf attachment shows up in emails  I am sending as the full text and othertimes as just the icon. It doesn't affect the receiving by others. They can open either one. Why do

  • How to control the event structure

    What i am trying to do is when the condtion is true, i want the event structure to excute. But event structure wil not excute unless there the puch pattern changed, any idea how to do that ?  Solved! Go to Solution. Attachments: Try.vi ‏95 KB

  • InDesign CS6 won't work with OS X Yosemite

    Has anyone else had this issue so far? I am running the late 2012 27" iMac and it will not open InDesign. I've just downloaded Yosemite this morning! Illustrator, Photoshop and Bridge all open with no problems after installing Yosemite. - is not happ