Problems creating a web service that uses the report generation toolkit

Hi,
       Im trying to develop a web service using labview 2013.
I create a html form that is correctly communicating with my labview method and part of the web service functionality is to create a report from the data obtained in the html form published.
I realized that using the report generation toolkit inside of the web service method the server cannot generate a report. ( If I run the same Vi before publishing the web service it works on the server but it doesnt work after I deploy it)
I thought that maybe Im unable to use the report generation toolkit VIs inside of the web service because Im not incluiding the (dynamic VIs labview uses when they run), I tried to add the excel dynamic library to the proyect but with no success.
I also tried to use VI SERVER to call a VI that generates the report using the report generation toolkit  in the method that runs when the web service is call but  it doesnt work either.
How can I deploy a web service able to use  the report generation toolkit ?, how can I deploy a web service able to use VI server ?
Any help is really appreciated.
Erwin Franz 
Erlab

The issue you are running into is actually a limitation intended by Microsoft.  They don't want windows services to be able to call into the ActiveX interface for Microsoft Office for security reasons.  If you are deploying your web service to the NI Application Web Server on Windows you will run into this problem since the web server is a Windows Service.
While I haven't tested this, you may be able to work around this by packaging your Web service with a LabVIEW EXE rather than deploying to the NI Application Web server. 
Mark
LabVIEW R&D

Similar Messages

  • Malfunctio​n in generating word report out of an app (using the report generation toolkit)

    I placed in my program some features that generate a word report with some graphics and text using the report generation toolkit. When I'm in the developing system everything works. But the point is that I have to create an exe for a user and in testing this the report is not generated (and no error msg occurs). Does anyone handeled this problem already and could give me some hints? Thx.

    Hi muchalla,
    the report generation toolkit for MS office depends on the version of MS Office (not the OS). You must generate your application for the version of MS Office or use some dynamic technic.
    The different versions of the llbs you need are on the CD in a subfolder called compability.
    Here I have asked if some ideas to do this will work. Until now I haven't got the time to verify it by myself.
    You will find here more information about using the report toolkit with applications.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • How to use the Report Generation Toolkit to get a list of bookmarks in a Word Template

    I am working on a project where I will need to use the Report Generation Toolkit to fill out a fairly long Word Template. The MS Office Report Express VI can only have inputs for a maximum of 17 bookmarks which is not nearly enough for what I am needing to do.
    I'm wondering if there is some way to use the lower level report generation VIs to read the word template and return a list of the bookmark names as a 1d array of string. The dialog box that you use to set up the Express VI has this capability but I'm not finding a way to scan the document programatically.
    I'm sure I can't be the first person to run into this issue and I'm hoping that someone out there has found a good solution.
    Solved!
    Go to Solution.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • Using the report generation toolkit, how do I make a bar graph verticle instead of horizontle?

    The attached vi is similar to what I am using, and it produces an Excel bar chart. I would really like to create the same chart, only vertically instead of horizontly. I have tried all kinds of things that don't work. Is there a way to do this that does work. I want a result similar to rotating the produced chart 90 degrees CCW.
    Thank you!
    Attachments:
    Chart Test.vi ‏20 KB

    you want to use a xy-graph.
    you can right click the plot legend to make a bar graph vertical.
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    bargraph2.jpg ‏91 KB

  • Errors creating a Web Service Proxy using Microsoft WSDL.exe tool

    I have deployed a BPEL process using JDeveloper. This process can be invoked from the BPEL console and completes as expected. I am trying to create a Web Service Proxy using the Microsoft WSDL.exe tool so that the process can be invoked from a Microsoft Word document. This process is based on the AutoLoan example in the Developer's Guide for Microsoft Office Interoperability B25781-01.
    WSDL.exe returns the following error message
    Error: There was an error processing 'http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl'.
    - The document at the url http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem:
    - Report from 'WSDL Document' is 'There is an error in XML document (19, 7).'.
    - A schema with the namespace '' has already been added.
    - Report from 'DISCO Document' is 'Discovery document at the URL http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl could not be found.'.
    - The document format is not recognized.
    - Report from 'XML Schema' is 'Expected Schema root. Make sure that the root element is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error occurred at , (2, 2).'.
    How do I resolve this error?

    The WSDL file is below.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="HonorariumSmartDoc" targetNamespace="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/HonorariumSmartDoc">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/HonorariumSmartDoc" schemaLocation="HonorariumSmartDoc.xsd" />
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://erp.template.co.uk:8889/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="HonorariumSmartDocResponseMessage">
    <part name="payload" element="tns:HonorariumSmartDocProcessResponse" />
    </message>
    - <message name="HonorariumSmartDocRequestMessage">
    <part name="payload" element="tns:HonorariumSmartDocProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <portType name="HonorariumSmartDocCallback">
    - <operation name="onResult">
    <input message="tns:HonorariumSmartDocResponseMessage" />
    </operation>
    </portType>
    - <portType name="HonorariumSmartDoc">
    - <operation name="initiate">
    <input message="tns:HonorariumSmartDocRequestMessage" />
    </operation>
    </portType>
    - <binding name="HonorariumSmartDocBinding" type="tns:HonorariumSmartDoc">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="HonorariumSmartDocCallbackBinding" type="tns:HonorariumSmartDocCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="HonorariumSmartDocCallbackService">
    - <port name="HonorariumSmartDocCallbackPort" binding="tns:HonorariumSmartDocCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <service name="HonorariumSmartDoc">
    - <port name="HonorariumSmartDocPort" binding="tns:HonorariumSmartDocBinding">
    <soap:address location="http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="HonorariumSmartDoc">
    - <plnk:role name="HonorariumSmartDocProvider">
    <plnk:portType name="tns:HonorariumSmartDoc" />
    </plnk:role>
    - <plnk:role name="HonorariumSmartDocRequester">
    <plnk:portType name="tns:HonorariumSmartDocCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

  • How can I select pages to print from a Word document using the report generation 'print report' vi?

    I have researched the knowledge base and found:
    Printing A Range of Pages or Number of Copies of a Report Using the Report Generation Toolkit in LabVIEW.
    This seems to be from a previous version of LV. I am using LV2010. The instructions given do not match up with the current vi. The information did provide a tip and drilling down into  the vi I was able to insert the from/to page numbers at the printout invoke method, however this prevents the print function from working in that it can no longer find the default printer.
    The error message is:
    Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi ->
    error 1015 is: Printer is not responding. Check printer configuration.
    Any ideas how I can make the modification to print, for example, pages 24 through 29 out of a 32 page word document?
    Thanks,
    Chris

    Hello, take a look at this article. Unfortunately the Generate Report Get Data to Modify.vi was remove since RGT 1.1.3 release. That being said, we can try to find a workaround. See "Configuring a Printer Through the Windows Dialog in LabVIEW", open the GetPrinterSettings.vi, at the PrinterSettings property node you can select the from/to page. I hope this helps.
    Alejandro | Academic Program Engineer | National Instruments

  • Saving only a portion of a Microsoft Word template into a new document using LabVIEW Report Generation Toolkit

    I have a Microsoft Word template I want to populate programmatically with test data. The template contains both explanatory text and a data sheet section with test data placeholders (bookmarks). Using the Report Generation Toolkit for Microsoft Office, I have been able to successfully populate the placeholders with data and save the results into a new Microsoft Word document. The problem is the new Word document contains not only the test data but also the explanatory text that was in the original document template. Ideally, I would like to have the generated document contain just the test data without the accompanying text. Is it possible to do this usi
    ng the Report Generation Toolkit?

    Hello Ryan,
    Two easy options come to mind.
    1. You may want to consider using an �ink annotation� instead of regular text for your explanation.
    2. You can programmatically do a find and replace on the explanatory text. Have LabVIEW find the whole paragraph, and replace it with nothing.
    If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answers to the discussion above and any additional information that may help, and I�ll be happy to look further into it.
    Have a nice day!
    Robert Mortensen
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments

  • Inserting an image into a Word Table with the Report Generation Toolkit.

    I was wondering if it was possibe to use the Report Generation Toolkit to place an image into the cell of a table in a Word document?
    Solved!
    Go to Solution.

    Hi,
    Yes, you can do this by using the Word Edit Cell VI under Report Generation>>Word Specific>>Word Tables in your block diagram functions pallette.  After creating a table, you can edit specific cells and send the file path of the image saved on your computer to that specific cell.  I put together an example that I've attached here as well to help you out with this.
    Regards,
    Austin S.
    National Instruments
    Academic Field Engineer
    Attachments:
    RGTWordImageInTable.vi ‏14 KB

  • Problem running Web Service that uses OracleXMLSave on Oracle AS 10.1.3

    I am trying to deploy a Web Service that uses OracleXMLSave. The service was built in Jdeveloper 10.1.3 and is deployed to 10gR3 AS. I have all the utitlites available from the 10g Production XML Developers Kit installed . The code compiles and generates correctly . I then deploy to an EAR file that inlcudes the applicaiton code and also all the XDK libraries . No problems so far. But when I run the app, I get an exception like the one below. It says it can't find XMLType . The funny thing is that this library (xdb.jar) and all other related libraries are there in the EAR file . In fact the class loader seems to see it because the exception says that it is there (see text below).
    I have added all the libraries from XML Developer kit like xdb.jar , xsu12.jar , etc. I have also verfieid that the files are selected in the WebServices.deploy file and also present in the EAR file . (See full list below the eror message below. ).
    It looks like for some reason the class loader can't load the class even though it seems to know that the class exists in the path.
    Been sweating on this for a while (probably staring it at too long :) and would really appreciate some help.
    This is the exception thrown when the OracleXMLSave Class is called for the first time.
    Missing class: oracle.xdb.XMLType
    Dependent class: myXML.DbXMLSave
    Loader: TEAMWEBSERV.web.WebServices:0.0.0
    Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/classes/
    Configuration: WEB-INF/classes/ in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\classes
    The missing class is available from the following locations:
    1. Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\lib)
    This code-source is available in loader TEAMWEBSERV.web.WebServices:0.0.0.
    2. Code-Source: /D:/OracleAS10gR3/j2ee/TEAMWEBSERV/applications/TEAMWEBSERV/WebServices/WEB-INF/classes/ (from WEB-INF/classes/ in D:\OracleAS10gR3\j2ee\TEAMWEBSERV\applications\TEAMWEBSERV\WebServices\WEB-INF\classes)
    This code-source is available in loader TEAMWEBSERV.web.WebServices:0.0.0.
    [oracle.classloader.util.AnnotatedNoClassDefFoundError]
    List of libraries :
    <list n="exportedReferences">
    <hash>
    <value n="id" v="Dms.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Log4j-1.2.9.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Mail.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="NetComponents.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oc4j.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ocrs12.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdbc14dms.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdl.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="ADF Model Runtime"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="ADF Model Generic Runtime"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XQuery"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle JDBC"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle SOAP"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Dms.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Log4j-1.2.9.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Mail.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="NetComponents.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oc4j.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ocrs12.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdbc14dms.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Ojdl.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xdb.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xml.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlmesg.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlparserv2.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xschema.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsu12.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Classgen.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Jdev-rt.zip"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oraclexsql.jar2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Transx.zip"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xdb.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xml.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlcomp.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlcomp2.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmldemo.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlmesg.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xmlparserv2.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xschema.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsqlserializers.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Xsu12.jar1"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Orai18n.jar2"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>

    Well I got the EJB lookup working but only when I changed the Provider Url to the pre-10.1.3 format e.g. ormi://someserver:12421/someapp and used jazn.com/oc4jadmin as the username. After reading the online documentation, I didn't think this should work!
    Another issue I am having is casting a datasource returned from a JNDI lookup for a datasource. We used to do the lookup in the code and cast to an OracleDataSource. Now it is throwing a class cast exception to ManagedDataSource. Is there a quick and easy solution to this? I really don't want to have to go into the code and change this cast so it'd be great if we can get this working without changing code. This code has been working in a prod environment for two years now on 9.0.3 -> 9.0.4...

  • Calling a web service that uses DIME

    Can ColdFusion interact with a web service that uses DIME? Has anyone worked with that?
    Thanks.

    CF doesn't support DIME "natively", but Apache Axis does, and that's the library that CF uses. So, you'll have to drop to Java to do this.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • How do I use page numbering and a text block in a footer in Word with the Report Generation Toolkit?

    I am creating a Word document with the Report Generation Toolkit, and LabVIEW 8.2.1. In the report I am using a template that has page numbering enabled in the center. When I try to add a text block to the left side footer, it eliminates the page numbering and adds my text on the left side. I found "Set Report Footer Text" and "Word Set Page Numbering" vi's that may be the clue to this. When I use these two vi's I either get Page 1 of 456789-001 on the left side, or if I reverse the order I get only 456789-001(text) in the left side with nothing in the center. What I would like to achieve is 456789-001(text) on the left footer, and Page 1 of 2 in the center. Is this possible and if it is, then how can I do it?

    Hi SciManStev,
    I have attached a vi where you can see how they can be made to work together. You have to design it such that one follows the other. If you don't design it that way, it results in a race condition and only one of them get executed.
    Good Luck!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer
    Attachments:
    SciMan1.vi ‏14 KB

  • How can I create a Report with the Report Generation Toolkit?

    Hi,
    I have installed Labview Report Gerneration Tool for Microsoft Office Version 1.1 and now I want to use MS Office Report Express VI but it need the VI "Dflt Data Dir.vi". I don't have this on my computer, why? Where can I get this VI? Can somebody help me?
    thanks Labprog

    Hello Labprog
    This VI should be located in the file.llb in the folder
    ..\vi.lib\utility. Thus, it is not part of the report generation
    toolkit but of LabVIEW. I am not sure why you are missing that file on
    your PC, maybe you just did not find it because it is hidden in a LLB.
    Maybe this LLB is not part of your LabVIEW package (Base, FDS, PDS).
    Anyway, I'll attatch that little VI, hoping that this is the only one missing.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany
    Attachments:
    Dflt Data Dir.vi ‏11 KB

  • How do I add a new worksheet to an excell file utilizing a template with the report generation toolkit?

    Hello,
    My vi is gathering data from a piece of machinery. At varrious points durring the process, my vi must create printable reports. I am using the report generation tool kit to do this. What I want to do is for every report generated durring the run, add it as a new worksheet in an Excell workbook. My excell template works fine for the initial master report and I can add new data to new worksheets. What I am having a problem figuring out is how do I add the new data to a new worksheet using an excel template? I have 5 different reports that need to be generated at different times with some more often than others. I would like all these reports to be in the
    same master excel file. Thanks in advance
    -Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Greg,
    There is no built-in support in LabVIEW to add a new worksheet to an existing Excel report simply because this functionality does not exist in the Excel application itself.
    My suggestion would be to open up the template you wish to use for the new worksheet. Copy the cells from the template and paste them into your new worksheet that you've created. Then close the original template and you have another copy of the template in which you can populate with data values.
    I have attached an example program of how to Copy and Paste a Cell in Microsoft 97 Using ActiveX in LabVIEW to this post. Hope this helps!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    XL_cell_copy_and_paste.llb ‏76 KB

  • Does the Report Generation Toolkit support Office 2007?

    With the hot-out-of-the-oven Office 2007, Microsoft has done a complete overhaul of the Office environment that we all have spent many years learning to perfection (well.. almost). Lucky those who got a head start as part of the Office Beta program.
    Well, NI claims that the current version of the LabVIEW Report Generation Toolkit supports "Microsoft Office 2000 (Word, Excel, and Graph) or later" and therefore literally also the new Office 2007.
    I doubt that the ActiveX API has remained unchanged when developing Office 2007, so let's use this thread to uncover the experience you have with calling Office 2007 applications using the LabVIEW Report Generation Toolkit.
    Anyone???
    - Philip Courtois, Thinkbot Solutions

    We are currently working on a maintenance release for the Report Generation Toolkit to support Office 2007.  You can install the current toolkit with Office 2007, but you will have some problems.  If you copy the four LLBs from the Compatibility\Office 2003\vi.lib\addons\_office folder on your Report Generation Toolkit CD to the corresponding vi.lib\addons\_office location in your LabVIEW folder after installing the toolkit, things will work for the most part.  But you won't have 100% compatibility until the maintenance release is done.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • 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:

Maybe you are looking for