Word report

Hi All,
Currently working on a program where I use the Office Report Generation (Word)
With LV 8.5 I used a VI of my own to set a table in autofit. This can not be done with the VI in the toolkit (I think  )
With LV 8.6 the report reference is changed, now I con not use my own VI anymore.
Does someone have a solution for this ? 

Hello KC,
I think we already have been in contact via email about this matter am I correct? Anyway to have this also clear for other users: The Report Generation VI's (not only the once in the toolkit) have been rewritten in LabVIEW 8.6 and the newest Office Toolkit to have Object oriented classes. With this change the report reference was replaced by a class wire. If you use only VI's which are in the toolkit or the report VI's then you are save, no issues there. But a lot of users created their own subvi's with options of word or excel which the Office toolkit does not provide. The subvi's most often make use of the old reference. They will not function any more with the new situation. Also there is no way to add these subvi's to the classes in the toolkit since these are locked.
A workaround to get around this is: track the reference you need in one of the native vi's of the toolkit. Since the Vi's are editable you can create an indicator on the reference you need and pass this reference outside the subvi through the connector pane. Now you will have the correct reference avaiable for your subvi and it will function again.
Hope this helps.
Regards,
RikP - National Instruments Applications Engineering
Message Edited by RikP on 08-26-2008 08:44 AM
Rik Prins, CLD
Applications Engineering Specialist Northern Europe, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

Similar Messages

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • 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 get the current cursor position in word report?

    I am generating a word report. But I would like to keep the table in one page. However, I did not find the way to do it in labview. Somebody would give me some suggestions? I appreciate a lot.
    One way I think I can do is to find the current cursor position. Since I know the table size so I can figure out if the left space in the current page is enough to hold the table. But I do not know how to locate the curent cursor position in word document in labview programmatically. I appreciate any suggestions on this question.
    Thanks.

    Hi,
    when you insert data in a word document you have to refer to bookmarks rather than cursor position.
    If you are using the Report Generation Toolkit for Office it is explained in the manual chapter 3-1.
    See also the example: Generate Report From Template (Word).vi included in the toolkit.
    If you aren't using the toolkit, you still have to refer to bookmark as reference points to insert and/or fetch data.
    The principle is:
    - First create a document in which you insert bookmarks where you wish and save it as a template
    - In LV open your template document and insert in it your data referring to bookmarks as insertion points
    - At the end save your report with another name, so you still have the template
    I hope I have been clear enough, if not just as
    k!
    Good luck,
    Alberto

  • Word report with Cyrillic text

    Hi all,
    I've never used one of these forums before so hope I'm doing right.
    I need to produce a word report with Russian & English text , if I set the system language to Russian I can type Russian characters in to word, but if I have a string constant in labview which I insert into a table in word the text from string constant changes.
    Thanks for any help anyone can give.

    Hi Mike 
    Thanks for the reply.
    The document that I will be working on hasn't been translated yet, so I took the string constant from UM_confirm Exit.vi http://digital.ni.com/public.nsf/allkb/24D845629A22AB6A86257473005ECF35?OpenDocument and wrote a small vi (see attachment) to see if I could put the Russian string constant into a table in word I separated the Russian & English strings and entered them into different cells in a word table. The Russian characters no longer look like Russian characters (see attachment 2). If I set the system language to Russian on the language bar I can Type Russian characters into word.
    Regards
    John B 
    Attachments:
    Russian doc.doc ‏1 KB
    russian report vi.JPG ‏36 KB

  • Word report with template

    Hello,
    i want to create a word report with template in my vi. I have made a word .dot with bookmarks and my customer should modify it. It look like this:
    Test number: [bookmark/Test number]
    User: [bookmark/User]
    Serial number: [bookmark/Serial number]
    Error: [bookmark/Error]
    Comment: [bookmark/Comment]
    Date: [bookmark/Date]
    Greetings XY
    How can I get this result?
    Test number: 12345
    User: XY
    Serial number: 1
    Error: No
    Comment: First
    Serial number: 2
    Error: Yes
    Comment: Second
    Serial number: 5
    Error: No
    Comment: Third
    Serial number: 9
    Error: Yes
    Comment: Fourth
    Date: 01.01.2006
    Greetings XY
    The data is in tables and strings. The beginning and end of the word report is quiet easy. The difficulty is the middle part it can be consist of different numbers of items.
    How can I made this?
    thankyou
    schwede

    That is ok, but if I do so the result would look like this:
    Test number: 12345
    User: XY
    Serial number: 1
    2
    5
    9
    Error: No
    Yes
    No
    Yes
    Comment: First
    Second
    Third
    Fourth
    Date: 01.01.2006
    Greetings XY
    Do You know what I mean?
    Message Edited by Schwede on 04-03-2006 12:22 AM

  • Append table with multi-line cells to word report

    Hi,
    I am using LabView 7.0. I need to append table to word report and I am using Append Table to Report VI. My VI works fine as long as the table cells do not have multiple lines. For multiple lines, each line is put is a seperate cell in the word report.
    Is there a way to append multi-line cells to Word Report??? If not, any suggestions on how I can copy the multi-line table to Word report???
    Please kindly help!!
    Please see the attached document for details on the problem.
    Thanks,
    Mim
    Attachments:
    Table with multiple line cells.doc ‏33 KB

    Hi Mim,
    Yes I understood the multiple-lines part. I think the doc is the report you want. Correct ?
    The doc is generated with your VI without any modifications.
    I am using XP, Office 2002 SP3 and LV7.1
    Attachments:
    Verification Report.doc ‏39 KB

  • MS Word Reports-how to use bookmarks

    I am using the labview report writing tools to produce an MS Word report. I have produced several headings, information strings, tables etc. I need to use "Word Insert Object.vi" to place certain objects such as excel charts at certain places in the word report. This VI uses bookmarks in word to point at the right locations (the VI also seems incredibly limited in that it provides only a file reference as a source to obtain the object from - but no way of referring to which object in the file?? Does this mean I have to go to all the trouble to separate out my source objects to each reside in their own exclusive word doc? The documentation for "Word Insert Object" suggests you can extract objects from excel, but doesnt say how to identify the objects. Can anyone enlighten me?
    The only way I can see to set up the bookmarks in the word doc to send my objects to is to setup a template doc with the bookmarks and pagebreaks in place as a starting point before I use the labview report generation vis to place everything else. The objects insert quite happily at the required bookmarks (since the vi has an input which specifies the bookmark to use), but now everything else that used to form my title page, tables, text etc are pushed to the end of the template document (i.e. after all of the bookmarks and pagebreaks structured into my template). None of the other report generation vis (insert tables, text etc) seem to have any ability to point at bookmark locations.
    I can only hope for 2 possibilities here:
    1) that there is a way to make the non-bookmark capable vis jump to a certain location in the document (by forcing the cursor there somehow)
    2) that there is a way to programatically place bookmarks in the document as I write the various parts of it from labview, to which I can then insert objects at the end of the process.
    Can anyone enlighten me about the approach to use here?
    thanks
    Fred

    Hi Fred,
    Well to answer both of the numerated questions, I can think of two ways that would most likely fix your problem.
    1)  Find the activeX call that can place bookmarks or move the cursor in your word document.
    2)  Make a macro that can do the same thing.
    Has anyone in the community ever attempted this?
    Brian K.

  • Word report : checkbox

    Hi,
    I have a question about the Word report generation with LabWindows CVI.
    I want to check or uncheck some checkboxes with CVI.
    I did not find a function in CVI library (Word Report) that changes checkboxes value.
    Is it possible to do it (in a simple way)? If this is not the case I will arrange to remove the check boxes.
    Thanks,
    Danaé P.

    Hi D1431,
    Sorry for the late reply,
    There is no functions in CVI word report library that allows to check or uncheck a checkbox in a word report.
    However you can use an Active X server in CVI: http://www.ni.com/white-paper/2714/en/ to get access to all the functionalities and functions available for Word (http://www.extendoffice.com/documents/word/993-word-insert-check-box.html for instance).
    Hoping it'll help you.
    Best Regards
    Louis
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Word Report headers & footers

    Hi,
    I have a function printing an acquisition report using the Word Reports
    lib.
    I can't figure out how to change the text style of headers and footers
    (I want them in small size police and in gray). Tuning the Text style
    before applying the Headers and Footers functions doesn't seem to do the
    trick.
    Someone has an idea ?
    Fred.

    I can't help you but I have the same problems: In Designer 7 the pictures disappear but the form works, in Acrobat 7 the pictures do fine but the fields don't work. In 6.0 there was no problem.
    I think it was a bad idea of Adobe to rip the field-editing functions out of Acrobat and provide them in Designer only.

  • How to get last page number in word report? LV

    I'm trying to find out where am I when I use LV to generate word report. I would like automatic generate page index in front of report.
    Thanks in advance

    Ed,
    Are you using DIAdem with labview to generate your report in LabVIEW? If so can you please explain your setup a little more. If you aren't using DIAdem you may find more labVIEW users if you post on the LabVIEW forums: http://forums.ni.com/ni/board?board.id=170 . Either way let me know.
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • Problem sending Tab/Cluster control image to Word report.

    I've set up an option for the user to send a control image to a Word report where they can decide to Print and/or save from Word (I've found the normal Print option too slow with the printer available). The Word document opens fine but I am loosing data from my indicators, without which there's not much point in printing!!
    Is there a problem with Clusters, I have a chart and table on another page of the Tab in my main program and they come out fine.
    I'm using LV8 with the Report toolkit and Word 2000
    Thanks
    Ian
    Attachments:
    Send to Word.vi ‏34 KB
    Send to Wordp.png ‏22 KB

    This problem has been reported in previous posts on the LabVIEW forums.  LabVIEW R&D is aware of the problem, and it should be fixed in a future LabVIEW version.  For now, the only workaround I know of is to make extra space in your clusters so the controls are visible in the report.  I know it's ugly, but it's the only thing I know that works (other than reverting back to LabVIEW 7.1).
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Reporting Toolkit: How to insert a blank line into an MS Word Report?

    Hello,
    I have created an MS Word report, but I haven't been able to find out how to "write" a blank line to the report.  I've tried every combination of \n, \\n, "\n", '\n', \\n etc., but I haven't had any good luck.
    Thanks,
    Chris

    Hello,
    If you're using "append report".vi it's has one input for "new line".
    Message Edited by Jorge Amaral on 05-02-2008 03:28 PM
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    append.PNG ‏3 KB

  • Hi Sir! I have some questions regarding word report generation please.1.How can i add border to a word page?.2.How can i add grid lines to a table generated in word report?.3.How can i add border to a table of word report?.Thanks Imran Pakistan

    Hi !
    Sir I have some questions regarding word report generation using(C language in labwindows) Please.
    1.How can i add border to a word page?.
    2.How can i add border and grid lines to a table generated in word report(Not the " cvi table control" inserted from gui,i am asking about the table generated in word report)?
    3.How can i fill a cell of word report table withe the data type other than "character"?.
    And sir one question about use of timer in cvi labwindows please.
    Sir i'm trying to set minimum delay interval of timer control to 1millisecond(0.001s),as i set ,timer don't cares of the interval that is set by me it responds only to the default minimum time interval which is i think 10milliseconds(i'am using windows xp service pack3 version 2002).
    Regards
    Imran
    Pakistan
    Solved!
    Go to Solution.

    Hello sir!
    Sir i'm using daq6251.But Sir before implimenting it to my final application now i'm just trying to achieve 1millisecond time interval for timer in a vary simple programe i mean at this time no hardware (daq device) is  involved i,m just trying to achieve minimum time interval of 1millisecond.
    Sir i read form "help" of labwindows how this time interval can be set,i'm trying for,as described in help notes but i could'nt.I'm attaching a screen shot sir for you it may helpful for you to explain me.
    And sir also waiting for your kind reply regarding word report generation.
    Thanks.
    Imran.
    Attachments:
    screen_shot_rigistry.docx ‏65 KB

  • EWA - Auto Generate Word Report

    Dear all,
    When the EWA report create each week, we need click the "word" icon to generate word report.
    Is it possible to auto generate EWA word report ?
    Best Regards,
    Wu

    Hello,
    It seems like your system is already setup to generate the report automaticallly. Usually when you have the 'Word' icon, it means the report has been generated correctly. By clicking on that icon, you are just opening the report.
    If you want to have the report  or solution to automatically forward to your email address, please navigate to the link below for the PDF activation file. This will provide youwith the steps required to setup the automatic emailing of the report.
    http://service.sap.com/~sapidb/011000358700001873212008E
    Regards,
    Jared

  • Remote word report

    Hello. I developed an application that read values over the net. Then, another application run over remote panels and show this values. In this application, the reports appear in Microsoft Word and i can view this reports in target Pc. I would that this word report appear in the remote computer and i don't know how i can  do this.
    I'm working with Labview 7.1 and OS is windows 2000.
    Thanks!!!!

    Hi,
    I guess this should be as simple as copying the report file from tagget PC to remote PC using the copy file function available in File I/O pallet.
    Hope i got your question correct.
    J.A.C

Maybe you are looking for

  • What happened to that extension that allowed one to duplicate a tab?

    Hi-- I recently upgraded to Yosemite (and thus the new version of Safari).  There used to be a great extension that allowed on to click it (it had a rudimentary graphic with a + sign within it -- though I can't remember the name!) -- and it allowed y

  • Keep Getting Error Code 4450

    I ran a diagnostic, here it is! I have burned 4 other CD's and now I'm having trouble...any help would be HUGELY APPRECIATED!! thanks, Amy Microsoft Windows XP Home Edition Service Pack 2 (Build 2600) Dell Computer Corporation Dimension 4600i iTunes

  • Utl_smtp - time difference on e-mails

    I'm using utl_smtp to send automated e-mails. However, the sent time shown on the actual e-mail is one hour ahead of the time it was actually sent. The mail server seems to have the correct time. Any ideas where the problem could be?

  • Here's a weird one

    I am running a very simple query against a table select * from nom_hierarchy where signf=1; This query causes a Ora-03113 error to occur. If I do a select * from nom_hierarchy where signf<>1; it works! the column signf is defined as NUMBER(1,0) not n

  • Anyone Get bfile aging to work?? (cmsdk / 9.0.3)

    Subject says it all. I think I've turned it on. As in baseball: no hits, no runs, one man left. I can't find any log entries about it. If it is running - it isn't doing anything. Anyone know the definitions of: IFS.SERVER.AGENT.CONTENTAGENT.MaxFolder