Excel Insert Graph VI

Has anyone experienced the behavior of when using the Excel Insert Graph VI multiple times for different datasets that the graph will not always appear? When I run the below code, I see this behavior with a few graphs.
Attachments:
Graph Example.vi ‏22 KB
Graph Example.vi ‏22 KB

The issue is cause by the fact that you didn't wire anything to the column and row headers inputs. If you read the help file for the Excel Insert Graph VI the following is specified:
column headers specifies the text of the column labels on the graph. Leave this parameter unwired if you want to create an XY graph.
row headers specifies the text of the row labels on the graph. Leave this parameter unwired if you want to create an XY graph.
In your case you want to create an xlLine type graph but in fact you are creating an XY graph. Just wire something to the Row Column header inputs. See attached (LV2013).
Ben64
Attachments:
Graph Example2012.vi ‏26 KB

Similar Messages

  • Excel Insert graph set position

    Hello,
    I want to generate an excel report with a graph.
    I use the VI "Excel Insert Graph.vi" to set the parameters for position and size, but in the report the graph use only the size parameter. I can't set the position of the graph in y report. See attachment.
    Does anybody have a solution or an idea?
    Attachments:
    Excel_report.zip ‏41 KB

    No one answered this question but 4 years later I ran into the same problem. So here is why you cant set the position with the position/size input of the Excel Insert Graph.vi:
    You connected the string "A4" to the "name ("")" input of the insert graph vi. (like on the Bar Graph(Excel). vi example). If you do that, then the graph start position will be column A, row 4, no matter what you write in the position/size input.
    Hope this answer can help oher people who use the labview example to base their excel vi on.

  • Excel Insert Graph (Need Help!)

    Hi there!
    I am new to LabView, and trying to use the Excel Insert Graph vi. I am not sure what it means by "report in", I have tried to convert my file path for my Excel report into a string, but it won't take it, and the help says "links a report to the vi's used to control report appearance, data, and printing." Do I have to use another vi to open the Excel file first? Any help would be appreciated, thanks!
    Ke
    Message Edited by Ke Sun on 10-19-2006 04:35 PM

    Take a look at the example VIs in your [LabVIEW]\examples\office folder.  There are several examples that deal with Excel and Graphs in MSGraph Examples.llb.  You must use the "New Report.vi" to generate a new report, which gives you the reference you can then use with the Excel Insert Graph.vi.  The examples should point you in the right direction.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Report generation toolkit with excel 97 Graphing issue

    I am trying to set-up mu data output to use the report generation Vis. However I am running into a problem when trying to update 2 graphs on the same sheet in Excel.
    My set-up is:
    Windows XP
    Office 97
    LabVIEW 7.1.1 with the Office toolkit installed
    I noticed that I can write to the first Graph and update it without issues, but once I try to update the second I get error -41105 stating that MSGraph is not installed.
    I did notice that if I set a break point between the Excel Quit Graph.vi and Excel Update Graph.vi if I click the mouse within excel in removes the highlight border from the first graph, the I continue and it works fine. For some reason LabVIEW is not releasing that Graph to be able to select another.
    I tried to write data to a cell after quiting the graph and then selecting the second graph but that is not working either although it does work manually.
    Next I may try a Macro but I would rather not have to do that.
    Any suggestions?
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Well after some debugging I found it. Apparently for Excel 97 only there is a problem that when you qiut MSGraph it may not save properly so the VI had the Quit Property removed.
    I have added it into my code and it seems to work and will see how well it does and if I run into any problems.
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

  • How to correct bad PDF display of Excel 2007 graph-Adobe Pro X?

    Just installed Adobe Acrobat Pro X; previously had Adobe Pro 8, which worked fine.  Have Excel 2007 files with an Excel graph and a JPG image on the spreadsheet tab.  Both the graph and the JPG are too big, are displaced, and hide spreadsheet data, when the Excel file is Saved As a PDF using Adobe Pro dialog or Excel dialog, or the Excel Plug-In to Create PDF.  For some strange reason, printing to PDF works, although that is limiting.  All of the settings are the same for the Adobe Printer as Adobe Pro settings.  Changing them or going to default did not help.  Just did the latest update; that did not help.
    The graph and JPG are too large for the PDF page.  Paper printing from Excel still works fine. Producing a PDF on another machine with Pro 8 still works fine.  Could not find this problem discussed anywhere.  Using XP, fully patched.  This should not be a complicated process, nor a complex spreadsheet. What is going on?
    Thanks

    Regardless of the method and Adobe product used to create the PDF, including the Excel tool button, the single common factor whether the PDF correctly displays a JPG or graph in the Excel file that is being done at anything other than 100% size is whether the Adobe Printer or a Physical Printer is selected as the default printer in the Windows Printers and Faxes-Settings.  This is true even though the printer is not being used. I have created the same PDF using every method/product and the results are always the same, and only properly display when either the setting is 100% size or the system printer is selected as Adobe Printer.  This is true only after installing Adobe X (8 was previously installed, and worked as expected).
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> "Bill@VT" <[email protected]> 4/7/2012 7:21 AM >>>
    Re: How to correct bad PDF display of Excel 2007 graph-Adobe Pro X? created by Bill@VT ( http://forums.adobe.com/people/Bill%40VT ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4319297#4319297 )
    You say the settings for the printer work fine, but do not for PDF Maker (I am assuming this is what you meant). PDF Maker no longer uses the printer and the settings are independent. Check the settings for PDF Maker under the create PDF menu.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4319297#4319297
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4319297#4319297. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • Why Excel insert cell block, hasn't input for data input?

    Hi
    I found a block for insert new row in excel, but there is no input for data input. how should I insert data by this block to excel file? can you help me?
    that block name: Excel insert cells
    in report generator toolkit
    Best Reagards

    behzad1 a écrit :
    I could work with  Excel insert cell block, but when I want add new data to an old row continuation, last row shift downward! while I want add data to old row. anyone can help me?
    Nobody will be able to identify the problem without seeing your code. Excel Insert Cells.vi is used to add cells to an existing spreadsheet, not to set the cell value. To do this is a more specific way than the Append Report Text.vi you can use Excel Easy Text.vi or Excel Insert Table.vi. With these vis you can specify the range where you want to insert something.
    For your other question (Two different data types) you can use the Excel Set Cell Format.vi to format a range as a date or something else. You will need to use the Excel format specifiers for this.
    Ben64

  • Place Excel charts/graphs in InDesign

    Hi We need to put MS-Excel 2007 graphs in InDesign CS4.  Earlier we used to just copy and paste them. We have around 15 graphs that need to be put.
    However, now our client has asked us to recreate them in InDesign or Illustrator.  How do we do that?

    vikojh wrote:
    No they want them re-created in illustrator.
    Can an MS-EXCEL chart be recreated exactly the same way in Illustrator?
    The client had shared some Illustrator graphs with us. However, we did not find any data embedded within the graphs, thus, were unable to understand the approach to be followed while creating the graphs in Illustrator.  Does that mean that they too, were copy pasted from MS-Excel to Illustrator.  Further, we are unable to assign data labels to the graphs created.
    More or less, but rarely exact. You would use the chart/graph tool in Illustrator. This allows you to add the data in to the chart and it can be modifed at any time. However, if you outline/expand the chart, it loses the connection to the data and is therefore a static chart.
    Maybe the charts supplied to you were outlined/expanded? See screenshot for the tool.

  • Changing axis labels on Excel XY Graph

    Hello,
    I'm trying to generate a report using the Report Generation Tollkit, i was following the steps indicated in the NI report tutorial that helped me a lot.
    The problem is that i could not change the scaling of the X axis which is giving me always numbers from 1 to 11 then zeros after while these numbers need to be under date format (ex 10/04/2013), i'll appreciate the help if someone knows how to fix this.
    Thank you,
    MGarry
    Attachments:
    Graph.PNG ‏8 KB
    diagram.PNG ‏13 KB

    Hi MGarry,
    It seems that excel has a special way of representing the date/time format. See this: http://digital.ni.com/public.nsf/allkb/7AAFFD177BBB33CC86256E91000B1E32
    So we know how it is represented in Excel, but the issue is telling excel that those numbers are meant to be interpreted as date/time format not regular decimal numbers. Have you managed to do this in excel manually? (without using the report generation toolkit). If so you might be able to make a skeleton of the graph and then update it using the following excel update graph VI (http://zone.ni.com/reference/en-XX/help/370274E-01/lvoffice/excel_update_graph/). You can also add row headers and column headers. I would check to see if its possible manually first and we can go from there.
    Regards,
    Basil
    Applications Engineering
    National Instruments

  • Excel 2007 graph into Illustrator CS2

    I have discovered an issue with Illustrator CS2 and Excel 2007...when I try to edit a graph in Illustrator (either by cutting and pasting or printing to a pdf and opening in Illustrator), all of the graph lines are no longer lines. They are individual shapes with fills instead of strokes. Does anyone know of a way of fixing this? I edit graphs for a living and this is a tragic discovery! I had no problems with Excel 2003. Would this problem go away if I upgraded to CS3?

    Having the same problem with Illustrator CS3. All Excel 3D graph/chart are individual shapes. Looks horrible.
    Don't have Office 2003 installed. So sure if it only an Excel 2007 issue.
    No problem with Excel 2004 on the Mac.

  • Excel Insert Cells.vi に発生したエラー

    LabVIEW2011にて、Excelレポートを出力するVIを作成しました。しかし、EXEファイルにビルドする際に、
    「以下のファイルを作成中に発生したエラー:
    C:\PROGRAM FILES\NATIONAL INSTRUMENTS\LabVIEW 2011\vi.lib\addons\_office\excel.llb\Excel Insert Cells.vi」
    というエラーが発生してビルドに失敗します。調べたところ、表題にある「Excel Insert Cells.vi」というVIファイルが破損しているようでした。
    同様のエラーを検索したところ、該当VIのブロックダイアグラムを修正することでエラーは回避できるとのことでした。
    しかし、このVIに関しては編集が不可能になっているようで、自力での解決はここで手詰まりとなってしまいました。
    このエラーの解決方法をご存知の方、ご回答のほどよろしくお願いします。
    解決済!
    解決策の投稿を見る。

    自己解決することができました。
    メニューバーの「操作」から「編集モードに変更」で編集ロックが外れるようです。
    ブロックダイアグラムを修正して、無事ビルドすることができました。
    ありがとうございました。

  • Word Insert Graph.vi

    Hi,
    I currently use the NI_Word.lvclass:Word Insert Graph.vi to insert some graphs into a document.
    I pass the data to this VI as a 2D array, where the top row of the array represents the x-coordinates, and the other rows represent the y-coordinates.  The particular graph in question has multiple plots, where each plot is represented by a given row of the array.
    This works fine, unless I want omit a given point of a particluar row/plot.  As it is not possible to have an "empty" element in the middle of a 2-D array, I don't know how to pass the data to the VI.
    If I set the element to zero, this has the unwanted effect of plotting a zero point on my graph.
    See the respective attachments to illustrate my point.
    Cheers,
    Dan
    Dan
    CLD
    Attachments:
    graph with point set to zero.JPG ‏45 KB
    data with point omitted.JPG ‏126 KB
    graph with point omitted.JPG ‏35 KB

    Thanks for the response.
    However, this does not do what I want it to.
    Your VI deals with strings, whereas I need to deal with numbers.
    With an array of strings, it is permissable to have an empty element (i.e. an element consisting of a blank string).  However, this is not allowed in a numeric array.
    See the attachment for an example of an array I would pass to the Insert Graph VI if I could.
    However, I realise this is not possible, so I am looking for a way around the problem.  I think this is more a question of programatically manipulating graphs in Word, than an array issue.
    Cheers,
    Dan
    Dan
    CLD
    Attachments:
    numeric array with empty element.JPG ‏12 KB

  • Excel Insert worksheet

    I am having trouble trying to insert an excel worksheet from one workbook into another workbook. None of the excel functions seem to work for me and I am having a problem trying to find a good example. Basically what my program does is it will collect temperature data from an appliance over an hours time and then spit this data to an excel template which already has an implemented graph and a formula chart. The graph that I am using is an older excel graph which cannot be changed. After the data is added to the excel spreadsheet, the excel graph will update with the new data and I run a few macros to process the data and save to the formula chart. The issue though is, I don't know upfront how many tests I need to run so I want to add a spreadsheet template (which has the embedded graph and chart) to the end of the workbook and follow the same data process from above. This will happen for as many tests as I need to run. Can anyone help me with this issue.

    I'm working on the attached vi, which in its current state will copy a sheet from an excel file to another bringing along the formatting, etc.  It copies fine, however I'm having trouble closing out Excel after the vi executes (which isn't a huge problem but I would like to solve it).  
    Can anyone shed some light as to why that is happeining?
    Attachments:
    Merge Reports.vi ‏20 KB

  • Inserting graphs on Buzzword

    How do I insert a graph I made in excel to a document on
    Buzzword? I'm typing a paper that requires me to insert a graph
    from excel to Buzzword. I made the graph and now I can't put it in
    the paper I am typing. It will not allow me to insert the graph. I
    need the graph in the document because it supports the information
    I typed. Is it even possible to this?

    hi, You can create a new table or you can insert an image in
    gif, jpeg, jpg, or png format.

  • Right way to insert graph or chart from Word document?

    I have a content given in word format. I place the document to indesign using Place command. All content is put except the graph / chart.
    That graph/chart is linked to source data in excel that I don't have access to.
    I manually copy paste from word it resulted as non editable raster image.
    I can't paste to Illustrator first too.
    I have searched the forum but doesn't get a right answer.
    Any help would be appreciated.

    I finally got the excel files. I could copy paste the chart to illustrator, the results was vector line. Only sadly the data label appear error (screenshot attached)

  • Insert graph in a document

    Hi,
       I have the report generation toolkit and I want to save many waveform graph in a Word document. I've done the test and 10 pictures make my file 1Mb big. It is very possible that for this application I have to save much more graph. That would imply a huge file and I don't want this. Is there any possibility to save some disk space?
    Thanks in advance

    Mackemann,
    I have faced (and still to resolve satisfactorily) a similar situation.
    Pls find attached .zip of my thread on this. We handle the 1:1 printing using AutoCAD.
    Other waveforms are sent to a word file by capturing an image of the control (the graph). It adds to the file size as you rightly pointed out.
    I am not sure if this will work but how about sending the waveform data array to an exel file and then make excel convert it into a graph?
    Let me know if you make any breakthrough on this problem.
    Best,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    print to scale.zip ‏74 KB

Maybe you are looking for

  • Request Variable in Report Subtitle??

    Hi there, I'm using Request variable in my report. I want to use the same in Report subtitle. I was using @{biServer.variables['NQ_SESSION.myvariable']} in report subtitle. Its showing the default value first time. When I change the value in dashboar

  • CC&B Archiving and Purging

    Hello, Our project is currently exploring the implementation of CC&B's Archiving and Purging Functionality. I have some questions regarding this functionality. 1. Is there any company or organization that has successfully implemented CC&B's Archiving

  • Word error message - temp environment variable

    Hello The error message I get is when I try to upload a Word document. For instance, I am trying to send my CV to an employment agency. I browse through the folders on my desktop, select my CV, and that's when the error occurs. When I click 'OK', I g

  • Not all selected images open in photoshop

    I have lightroom 3 and cs5. When I select images from lightroom and open in photoshop sometimes not all of the selected images open. It might miss a random image or 2 or 3. All the images are clearly highlighted to open and lightroom confirms the cor

  • Multi CPU Solaris.

    Hi, Is there a recommended number of Weblogic instances when running on a Multi-CPU machine with more than 8, in this particular case - 28. The server behaves really bad if I only run one instance there is too much time spent in the treads waiting to