Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
X-Axis
Data1
Data2
1
1
2
13
2
3
14
3
4
15
5
5
16
3
6
7
7
The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
Can anyone please help me on how to plot the graph without adding zero for empty cells?
Thanks&Regards,
Bharathi T
TE
X-Axis
Data1
Data2
1
1
2
13
2
3
14
3
4
15
5
5
16
3
6
7
7

Hi Bharathi,
The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
Regards
Vijetha Nuthakki,
Applications Engineer
NI Systems India
Attachments:
Excel_graph_multiplot.vi ‏21 KB

Similar Messages

  • Changing the Size of generated graph in excel report generation toolkit

    Hi, i am trying to build a report generation vi for my Structural health monitoring system in which i need to export 3 graphs in to an excel report. The idea is to have the report on a single page, but when i paste them along with the ceiling and pillar deviation percentages, the report just exceeds the page limit. I wanted to know whether one can change the size of the graphs in excel? One can do it in word(tried that), but i dont want to use the bookmark option as it intend to put this up as a webservice in the next step. I am using LabVIEW 2009 Thanks.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Report Generation SHM.vi ‏30 KB

    Hi,
    I haven't tried this myself, but looking through the report generation toolkit the "Excel format image VI" (in the Excel specific tab of the Report Genertaion window) looks to be the one you are after. The help entry for the VI says to: "Use this VI to format any type of image in a worksheet, including front panel images, images from a file, and graphs"
    Hopefully this will help.
    -CC 
    "If anyone needs me, I'll be in the Angry Dome!"

  • How can i create multiple page report using excel report generation toolkit from excel template?

    i am having code which create report in excel.but it prints only single page. if content is more than size of template than insted of tacking new page it prints only single page.Please help me out.
    Anyone has material for learning activeX in labview? Please mail me on [email protected] 
    PBP (CLAD)
    Labview 6.1 - 2014
    KUDOS ARE WELCOMED.
    If your problem get solved then mark as solution.

    Hi thanks for reply.....
    PBP (CLAD)
    Labview 6.1 - 2014
    KUDOS ARE WELCOMED.
    If your problem get solved then mark as solution.

  • Hide Excel Chart Legend Using LabVIEW Report Generation Toolkit or Active

    Hello Eveyone:
    I work on the report generation toolkit in labview and creat the report in excle. I create the chart into report but I can't hide the chart legend or change the font size using report generation toolkit.
    I appriciate you guys time.
    Thanks
    Solved!
    Go to Solution.

    Howdy!
    What is the version of LabVIEW and Report Generation Toolkit you are using? Have you taken a look at the LabVIEW Example Column Graph (Excel).vi
    and looked at the help for Excel Insert Graph VI and Excel Set Graph Font?
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • How do I add multiple images into one file?

    I'm sure this is something that's been covered in another post (or even in the help portal) but I think my wording in my search terms are not correct or... I don't know, because I just can't find what I'm looking for.
    I want to know how to add multiple images into one file/one image, both horizontally and/or vertically. To give you an idea of what I mean, check out :
    http://www.best10apps.com/apps/comic-story,531596060.html
    If you scroll down, you'll see a heading entitled : Screenshots of Comic Story. Notice how there's 3 pictures (divided by borders). 2 of those pictures are side by side, and 1 of them is below the first 2 pictures.
    I want to know how to add different pictures/images and put them into one picture.

    One way is to create template PSD files and populate them with your images using Photoshops scripts.
    Photo Collage Toolkit UPDATED June 12, added Picture Package Support via PasteImageRoll and BatchPicturePackage scripts.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • Add Report Generation toolkit for Microsoft Office in exe

    Hi
    I am having a problem. I am using LabVIEW 8.20, Report Generation Toolkit for Microsoft Office 1.1.2 and Microsoft Excel 2003. My OS is Windows XP (SP )
    I want to build the vi attached below into an exe. The vis that I used are from addons>>_office>>excel.llb. I follow the suggestion found in the link below and add in all the files in excel.llb into my project so that it can be added into the executable as dynamic vis. However, some vis in excel.llb cannot be added into my project. After I have add all vis that can be added into the project, I build an application (exe) with the vi below as the Main vi and all other added vis (from excel.llb) as dynamic vis. After that, I build and run this exe on the same PC. I am unable to run it.
    This vi will save datas when I click on the stop button. After I click on the stop button, a window will pop-up and prompt me to select which directory to save the vi. When I run the exe, I type in test.xls (for example) but the file saved is a picture and not an excel file. If I just run the vi instead of the exe, Excel will open and datas and graph will be displayed in Excel.
    May I know where did I done wrong??
    How do I use the Report Generation Toolkit in an executable with Microsoft Excel?
    http://digital.ni.com/public.nsf/websearch/C38CE3F30542D65B86256F0E00740DD8?OpenDocument
    Thank you & Regards
    Lee
    Attachments:
    Self-Regulating.vi ‏132 KB
    Untitled Project 1.zip ‏3841 KB

    Hi centerbolt,
    Thank you for your reply. I have tried adding in just that dynamic vi found in Excel Library and my main vi but it still cannot work. Is there anything that I need to look out as well?? [View attached picture.]
    Thank you & Regards
    Lee
    Attachments:
    added.JPG ‏92 KB

  • Setting the title font and axis labels in a graph created with the Report Generation Toolkit

    I'm using the LabVIEW Report Generation Toolkit for Microsoft Office to generate Excel worksheets containing plots. Unfortunately, the default font size used in the plots is huge (see attached worksheet). I was able to use Excel Set Graph Font.vi to reduce the size of the axis labels, but there does not appear to be a function to do this to the title and legend. In addition, there does not appear to be a function to set the axis text labels. Before I write my own, has NI released additional functions to perform these tasks?
    Thanks for your help,
    Zach Lerner
    Software Engineer
    OnWafer Technologies, Inc.
    Attachments:
    Test1_-_embedded_graph's_title_and_legend_font_is_huge.xls ‏14 KB

    Hello Zeidan
    The graph title and legend font sizes can be changed by accessing a low level VI (Excel_Insert_Chart.vi) that is part of the excelsub.llb that is located at (C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\addons\_office). This VI is called dynamically from within the Excel Insert Graph.vi and it uses VI server technology to access the Excel exposed properties. Attached to this post is an image of the block diagram of this VI after I have modified it to set the font sizes of the title and legend to 15. The circles in the image represent what I had to add to accomplish this.
    Best Regards,
    Ayman Kabire
    Attachments:
    Excel_Insert_Chart.JPG ‏99 KB

  • Problem with the number format in the graph axis with Report Generation Toolkit.

    Hi!
    I'm trying to use the Report Generation Toolkit to plot some graphs in Excel.
    My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis. The only given option is general (0,0) but this is not enough for me, my numbers can get really small so I need engineering notation or fraccional format.
    Second: I also insert a table with the graph source data, but the numbers are not correctly displayed either: for example: 
    0,75 is shown as: 
    0,750000
    but 1,25  is shown as: 
    1!250!000
    My guess is I am making to much or wrong string to number conversions or Excel is getting it wrong but I can't find my way...
    Can someone help me with this?
    Thanks,
    Isabel

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

  • Can I align the orientatio​n of axis labels in a graph generated with the report generation toolkit (Word)?

    I was wondering how to align the axis labels, i.e. 90 degree or such when creating a graph with the report generation toolkit in word.
    I can do it after the document is created through Format axis title -> alignment but is there a way out of LabVIEW?
    I'd especially like to rotate the y-axis label by 90 degrees.
    Thanks a lot,
    Juergen

    I think he means he can modify it by hand after the report has been generated... But what I want to do is generate the word graph out of labview already with the rotated axis label...
    After I posted this I found out that we can do this with a macro and use it from labview, but unfortunately I don't know VB, or VBA...
    Like this:

  • Is there a way to add custom functions to the Report Generation Toolkit?

    I would like to be able to delete unused sheets from an Excel report without having  to reopen the file (and Excel) to do it using ActiveX. It is probably not possible since the NI_Excel.lvclass is locked but maybe there is some other way to do it.
    Ben64

    P Anand wrote:
    I just tried to explore the Excel report gen toolkit. In that one when you open a Method (Invoke node) of an excel worksheet you have one option called delete after giving the name of the worksheet that you wanted to delete use the method and check it. Even I have never tried these sort of things.
    It not clear exactly what you mean. but as an alternative I found the Excel Get Active X References.vi in the toolkit, I can use this vi with the delete method. Initially the issue I had was that you can't unbundle the Excel report to get acces to the activeX references when you're outside the NI_Excel.lvclass (as in the following picture).
    Ben64

  • How do you add multiple birthdays to one contact

    I keep searching but it seems all the tips are old form previous versions or I am missing something.  I am currently using Mac OS X 10.7.3
    I am trying to add multiple birthdays in my Address Book under one person, thier family members and I want it to sync with iCal.  I also did not see the Anniversary option in Address Book
    Please help,
    Thank you,

    This has two parts. The second one, having the extra dates sync with iCal/Calendar, I don't (yet) know how.
    The first one, though, isn't so hard. Go to Addressbook/Contacts preferences. Under templates, click on "Add field" and select "dates."
    Now you can customize the template to default with "Anniversary" or whatever other nametag you'd like to give the date field or fields.
    I'd really like to hear how, if it's at all possible, even, to have those sync in iCal/Calendar.

  • Add multiple libraries to one album

    Can you add multiple libraries that have been previously downloaded to one album?

    In Revel, libraries are where images are truly stored.  Albums are just simple containers for organization and sharing.  For any given library, an image can belong to a number of albums.  And if you delete an album, images remain safe in the main library.
    It sounds like you want to consolidate images from multiple libraries into one location.  Currently, Revel does not allow one to copy or move images between libraries.  The only thing I can recommend is to import your images again into the library you where you want to consolidate.  If the images exist only in other Revel libraries, you will need to export them first, and then re-import them to the desired library.
    If I didn't quite speak to your needs, please let me know so I can try to offer better help.
    --Charlie

  • Can I add multiple keywords on one line in Junk Rules

    Dad forwards me crappy jokes all the time. I have a rule set If "all" conditions are met.
    From Contains : dads email address
    Subject Begins With: : FW
    This works but can add into the same line Fwd.
    It's been a long since programming but I thought maybe using : "FW",Fwd","Fw".
    I know I could set another rule but Its more efficient this way.
    Please let me know it there is a correct syntax which would allow me to do this.
    Thanks,
    Craig

    Never mind just found out I can add multiple lines of : Subject Begins With and keep the "All" Conditions command. I original thought the rule would initiate with the all conditions must be present, but it seems to work.

  • VS2013 Community Edition : How to add multiple projects in one solution?

    I am an experienced .Net developer. I am using Visual Studio since 2005.
    Yesterday, I just installed “Visual Studio 2013 Community Edition”. Suddenly I came to know that I can’t add multiple projects to a solution. Even a project does not have
    solution !!
    I had also tried to create a blank Visual Studio solution and then tried to add projects to that solution. But after creation of project, it will not be added to that solution.
    Infact it even doesn’t have solution !!
    How can I add multiple projects to a solution in VS2013 Community Edition?

    Glad to see the problem was resolved. Thank you for sharing the solution here.
    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.

Maybe you are looking for