MS Office Report Express VI and Array Problem

Hello all,
I have a strange issue with the MS Office Report VI that's included with the Report Generation Toolkit. I created an Excel template which I linked using the "Custom template for Excel" preference and applied all the named ranges. However, two of the named ranges that I am inputting are 1D Arrays of doubles. Now the problem:
When I input the arrays to their specific name range (it's only 6 values), instead of inputting just the array values into the cells, it inputs like this:
0    Value
1    Value
2    Value
6    Value
It pushes the "Value" to the column next to the name range because of the 0-6.
It does this with both arrays so it screws up all the formulas. Any one know how to remove the 0-6 and just input the values?
Thanks all 
Solved!
Go to Solution.

Greetings, I wrote a program that generates an array of data and stores a data table, just as a chart, just starting to program, I hope that my program can be useful
Atom
Certified LabVIEW Associate Developer
Attachments:
write_excel.vi ‏60 KB

Similar Messages

  • MS Office Report Express VI - How to programatically use multiple Path to Template

    Good Afternoon,
    I'm testing MS Office Report Express VI and i need to know if it's possible (and how) to programaticaly change "Path to Template" field? I need that in order to change it through front panel.
    Best Regards.

    Hello aj2011,
    Thank you for your post on the National Instruments forum.
    a solution for what you want to do is:
    when you placed your express VI on the diagram, perform a right click on the express VI. From the dialog box choose "open front panel". Choose "convert". then when the front panel of the express VI is open, modify the connector of the VI and put the template path as an input.
    This way you can use the express VI  input path template programmatically.
    Is the solution you were looking for?
    Sincerely
    Romain D.
    Romain DUVAL || Application Engineer Specialist ||Certified LabVIEW Architect (CLA) || Certified TestStand Architect (CTA)
    National Instruments France

  • Save custom file name using MS Office Report Express VI

    When my program creates a report, I want to save it as a serial number defined in the report.  I want to use the MS Office Report Express VI to do this but unfortunately it only allows you to save the file name as a time/date and/or incremental number.
    Solved!
    Go to Solution.

    Hi jliu317,
    While waiting for you to notify the moderator to move your thread, here is my solution. (Correct me if I'm wrong)
    In MS Office Report, there is a block diagram input called Path to Save Report. So this is where you can save your report in Words (.doc) or Excel (.xls) with customized filename such as serial number, as shown below.
    http://zone.ni.com/reference/en-XX/help/370274G-01/lvoffice/ms_office_report/
    Hope this helps.
    -Ee Lim-
    See that button on the left side of this post...
    If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~

  • MS Office Report Express VI

    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

    I found this vi on my PC in the LabVIEW installation directory under
    \vi.lib\Utility\file.llb. I'm attaching this llb to this posting for
    the case that it is missing for some reason in your LV installation.
    Please copy it to the path mentioned above.
    Best regards,
    Jochen Klier
    National Instruments Germany
    Attachments:
    file.zip ‏333 KB

  • MS Office Report Express VI in a builded application

    Where do I have to put the used Exell template defined in the MS Office Report Express VI in case of a builded (.exe) application ?

    Your right. I apologize. My method is for the non-Express vi's. So with the Express vi's you should have a MS Office Report vi that uses a template. If you right click on this and select properties, a configuration window appears in which there is another window where you can navigate to the path of your template. As stated before, your report template must reside at the same location on the target machine.

  • Nombre d'entrées "MS Office Report Express"

    Bonjour à tous,
    Je dois générer un rapport d'essai sous Word comprenant des chaînes de caractère et des valeurs de pression, température, vitesse moteur .. etc. Je dois écrire environ 70 données dans le même fichier *.dot
    Seulement le VI Express "MS Office Report Express" ne peut avoir que 17 entrées. On est aussi limité à 25 entrées par fichier *.dot
    Après anayse du diagramme de "MS Office Report", je ne vois pas ce qui bride le vi express à 17 entrées, par contre on peut voir une fonction "construire un tableau" qui a 25 entrées câblées.
    Y a-t'il un moyen d'étendre le nombre d'entrée de ce VI Express "MS Office Report Express" afin que je puisse écrire mes 70 données dans le fichier?
    C'est mon premier développement sous Labview et j'utilise la version 13.0.1f2 (32 bits) avec le Report Generation Toolkit.
    Merci par avance
    Romain
    Résolu !
    Accéder à la solution.

    Bonjour, 
    Il est effectivement possible d'insérer des éléments à un endroit précis du fichier .dot en les attachant à un signet. Il suffit de préciser le nom du signet à la fonction LV :
    Voilà un modèle de document dans lequel j'ai défini des signets (debutTab et debutTexte) :
    Le code du précédent exemple est modifié pour préciser  les noms des signets :
    Fichier généré par le vi:
    Cordialement,
    Isabelle G.
    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;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Crystal Report Server Backup and Recovery problem

    I have a problem on the backup Crystal Report Server
    My Environment:
    - Windows Server 2003
    - Crystal Report Server XI R2
    - MySQL Database for Central Management Server System Tables(Default setting in the Crystal Report Server installation)
    - Tomcat (Default seting in the Crystal Report Server installation)
    I stop the Central Management Server before backup.
    I run the following command to backup Central Management Server System Table:
    mysqldump --user=root --password=pass1234 boe115 > C:\CMSBackup.sql
    It is ok to generate CMSBackup.sql file.
    After backup, I re-install the Crystal Report Server and run the following command to restore Central Management Server System Table:
    mysqldump --user=root --password=pass1234 boe115 < C"\CMSBackup.sql
    After finish the restore process, I cannot found my setting on the Central Management Server System.
    Any backup step i missed ?

    Hi Stefan,
    Thank you for your reply.
    I had set Users Rights, Folders setting, Group setting, and Windows Authentication information in the Crystal Report Server
    Also I had upload reports to Crystal Report Server, but i cannot found above information after I restore the MySQL CMS database.
    Any step i missed ?
    About the Output File Respository, Can i copy and paste the Input and Output File Repository ?

  • Error -41110 with MS Office Report vi

    I'm trying to use the MS Office Report express vi, and when I use an excel template with named ranges on more than one sheet I get the error "Error -41110 occurred at ex_RGT_Append Anything to Report.vi"..."Possible reasons: You specified invalid Word bookmarks or Excel named ranges."  I know that the names I used are acceptible by excel, (data, high_limits, low_limits) and they work fine when on the same sheet, but I want them to be sent to separate sheets.  How do I get around this error or is it a limitation with this vi?

    I found a workaround:
    I modified Excel_Get_Range vi in the framework libraries and added a loop to iterate through the other worksheets of the workbook until I find the named range.
    Well, I guess that hacking in framework VI's is not a solution that NI would recommend (and for good reasons).
    I nonetheless posted the modified VI in case someone would be curious about it.
    Attachments:
    Excel_Get_Range.vi ‏38 KB

  • Print open office report

    Hi,
    I would like to print an Open Office report but I have a problem. I found a prototype of an Open Office that I modified. It is working but I have a problem when I want to print a report. An error occurs
    Error -2146827850 Exception occured in OOCALCVB: L'objet ne gère pas cette propriété ou cette méthode dans MES ODS Print.vi->test vis.vi (The object don't manage this property or this method)
    Is there something I can do to fix it?
    Here is the toolkit and the dll to install to make it work. The Vi is test.vi.
    Thank you
    Attachments:
    Toolkit Proto V1.0.Alpha OpenOffice.zip ‏316 KB
    OOCALCVB.zip ‏355 KB

    Hello,
    Have you tried Highlighting Execution to find out which subVI the error comes from, and then go into that subVI and find out which node is returning that error?
    Kind Regards,
    Mark B
    ===If this fixes your problem, mark as solution!===

  • Firewire 400 and 800 problem ? Need confirmation

    OK, I have been running 2 external Lacie HD's over a USB hub into my MacBook Pro. A couple of weeks ago I decided that I needed more storage so purchased 2 Western Digital MyBook Pro's at 500GB.
    I got these two specifically because I knew they supported Firewire 800 and wanted to take advantage of the high speed connection.
    All is going well until yesterday.... Let me explain my set up. Firstly I am a DJ and use a Firewire Audiophile soundcard from M-Audio, this connects to the 400 port on my MacBook Pro, and the HD's connect to the 800... When I play music I get audio drop outs... I have looked through the forums and I am under the impression that both the 400 and 800 ports on my MacBook Pro run on the same connect, so is this the cause of the audio drop outs ?
    I connect the 2 HD's via USB and have no problems, am I right in thinking that I have wasted good money on getting 2 HD's that I'm not going to be able to use the 800 port with ? When I run the audio through the internal soundcard I get no drop outs !
    Also.... Just to annoy me even more I have a 20" cinema display so if I have use USB I decided to connect the two HD's to this and then to the MacBook Pro, now the problem here is when my MacBook Pro goes to sleep one of the HD's wakes up the MacBook Pro as it has been removed incorrectly ??? Do I now have a problem with one of my USB ports on the cinema screen also ????? I have put my iPod in the port and no problems ?
    Does anyone know how I can solve these problems without having to spend even more money ?
    And can someone confirm if the 400 and 800 ports are on the same connection, if so, whats the point ???
    Thanks
    - Neil

    neil,
    I wouldn't do that right away.. USB audio interfaces are usually at the more consumer end of the market, I don't think it's the best way to go just to solve your problem.
    did you read the part in my post about PCexpress cards that give you a totally new and independent FW800 bus? seriously, I think this is your best bet. these cards first came out when the original series of MBP didn't have FW800 on them (only 400) much to the consternation of video pros.. so 3rd party vendors made a card solution. as I said, they aren't expensive, I would have thought around or under $100 US. connect one of those to your MBP's express slot and your problem is solved. you'll have a powerful, dedicated FW channel just for those FW800 drives you bought. then, your m-audio interface will be fine. and even if you still want to get rid of it and get a better interface, you won't be forced to go to USB which generally means opting for a lower end of the market interface.
    also one other thing.. I don't know what your actual audio i/o needs are. but if you only ever work with stereo out and stereo in, ie, you never need more than 2 physical outputs and 2 physical inputs, then you have other options. the MBP (and in fact all macs) have optical digital audio built in. you can buy a 2in 2out digital to analog/analog to digital converter and connect it to the opticals. then, you'll never need to worry about FW or USB bandwidth ever again, nor will you ever need to think about drivers or compatibility or updates either.
    on my MBP I use logic pro. and on this system, I only ever need a stereo out to hear what I'm working on with good quality.. and when I record actual audio tracks, it's only ever one source at a time, like a mic input or an instrument. so I do not need an interface at all, I use the opticals and I love it. I bought a mindprint trio, not the USB one, but the one that uses optical i/o. it just connects to the same connectors on the MBP that you would connect headphones or a mic, but obviously uses the digital optical signal not analog audio. it sounds really very good. the trio itself is a very handy little box that conveniently lets you do a lot of things to work comfortable when recording. and I just use built-in sound, no drivers needed ever, which is very much a rare relief in the audio world, believe me.
    anyway, hope this helps. and seriously check out a card for FW800, in my opinion it's the best solution to your problem no matter which way you go.

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Running macro on Table using Report Generation Toolkit and Office 2003 Incompatible!!!!!!!

    Hi,
    I am using some functions under the Report Generation toolkit (LabView 7.1). We recently updated our test PCs from Office 2000 to 2003. The "WORD IMPORT MODULE.VI" returns error code -41113 when used with Word 2003. No problem on Word 2000.
    In fact even the example VI available under Find Examples - Run Macro on Word Table fails and returns error code -41113 when "WORD IMPORT MODULE.VI" is called on Word 2003. Word 2000 is OK.
    Any one faced this problem???? Any solution to this problem??
    I would greatly appreciate your feedback / suggestions.
    Thanks,
    Mim

    darren,
    thanks for your reply.
    After checking the the property "Trust access to Visual Basic Project" , I get the following error message:
    Exception occured in Microsoft Word, Unable to run the specified macro. Help Path is C:\Program Files\Microsoft Office\OFFICE11\1033\wdmain11.chm and context 37401 in Word Run Macro.vi->SetFirstRowAsTableHeaderforWord(Macro).vi->Generate Report.vi
    I can run the macro directly from Word.. no problem running macros in Excel dirently either. I get error message only when running macro from LabView. So, I doubt if it is an IT issue.
    You don't have a problem with Word 2003 and Word Import Module.vi???
    I am attaching my Vi-Report Generation.vi and the subvi. I would so much appreciate if you run ReportGenerate.vi on your PC and let me know if there is a problem.
    Many Thanks for your help.
    Mim
    Attachments:
    ReportGeneration.zip ‏75 KB

  • MS Office Report problems after compliing (application builder)

    I'm finishing up an application that includes several MS office reports (opens a MS Word template). The template is opened, the bookmarks are filled, then the file is saved (to our internal network) as a .doc file. The New Report.vi is used to open the .doc file, the Print Report.vi is used to print the file, then the SMTP send file.vi is used to email the file.
    Everything has been working fine then I decided to build the application for distribution. Big mistake! An installer is made. When I install the application I get "File not found" (error 7) errors each time I attempt to run this section of code. Incidentally, This app. also uses the SQL database toolset to read and write to a database. No problems with the database.
    I thought it might have something to do with the Word templates being on the network. I copied everything to my local PC and built another application. Same problems.
    I suspect I'm doing something wrong in the Source Files tab of the Build Application or Shared library window.
    I'd really appreciate your help.
    thanks,
    todd

    Todd,
    You need to add a dynamic VI to your list of Source Files in the Build Application window. The one you need is called "_Word Dynamic VIs", and it can be found at \vi.lib\addons\_office\-wordsub.llb . Doing this ensures that the executable can find the appropriate code when it is asked to dynamically load some Word-related VIs at execution-time.
    I consider the difficulty of getting everything right when building executables to be just about the biggest problem that LabVIEW has, so don't feel too badly about it. I believe this requirement is covered somewhere in the Report Generation Toolkit documentation, but I think the process should be easier and more transparent to the user when they are working with NI-produced toolkits.
    --John

  • Reports Builder has encountered a problem and needs to close.

    Hi All,
    The report builder in my system is behaving weirdly. If I open a report, which is having a normal browser output, it allowing me to see the data model, layout model and everything. And if I open a report, which is having a PDF output, it's not allowing me to open the Layout.
    Here the output is in context of Oracle Applications front-end. And as I know it shouldn't be a problem with Report Builder.
    It errors out with the following message.
    Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience.
    And the error report contains the following message.
    AppName: rwbld60.exe     AppVer: 3.0.0.0     ModName: mmc60.dll
    ModVer: 0.0.0.0     Offset: 0000c533
    Here is the version information:
    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    I have tried reinstalling the software a minimum of 10 times, but no luck. At last I got my system formatted and tried. For the first time it worked for me, then I installed Forms Builder... then again I am getting the same problem even though I have different homes for Reports and Forms.
    Is it problem with my system or the Operating System or the version of the Oracle Developer?
    Can anyone please help me out?
    Thanks in advance,
    Lakshman.

    I have been having a similar problem and do not know if this will apply to your situation but I found the following on Metalink.
    Subject:      Reports Builder Crashes Opening the Paper Layout on Large Reports on XP/2003
         Doc ID:
    Note:566304.1     Type:      PROBLEM
         Last Revision Date:      18-AUG-2008     Status:      PUBLISHED
    In this Document
    Symptoms
    Changes
    Cause
    Solution
    References
    Applies to:
    Oracle Reports Developer - Version: 10.1.2.0.2 to 10.1.2.3
    Microsoft Windows XP
    Microsoft Windows Server 2003
    Symptoms
    Oracle Reports Builder crashes opening the Paper Layout on some large reports but ONLY on the following platforms:
         Microsoft Windows XP Professional
         Microsoft Windows Server 2003
    Reports Builder displays the below message and then crashes:
    Reports Builder
    Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience.
    If you were in the middle of something, the information you were working on might be lost.
    Please tell Microsoft about this problem.
    We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
    To see what data this error report contains, click here.
    [Send Error Report] [Don't Send]
    --> click on [Don't Send] button and Report Builder disappears.
    -and/or-
    access violation in oranls10.dll
    This problem does not reproduce on:
         Microsoft Windows 2000
    The solutions in the below note do not work on v. 10.1.2.2.0 and 10.1.2.3.0:
    Note 361206.1 Title: Reports Builder Crashes Opening a Paper Layout on Windows XP Only
    Changes
    Upgraded to Oracle Report Builder v. 10.1.2.x.x from a previous release.
    Cause
    Bug 7014048 is fixed in one-off Patch 5335195 (Base Bug) but missed inclusion (ie. was not ported to) in latest Developer patchset v. 10.1.2.3.0
    See also:
    Bug 7014048 Abstract: REPORTS BUILDER CRASHES OPENING A PAPER LAYOUT.
    Bug 5029530 Abstract: REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL ONLY ON XP BOX
    Solution
    To implement the solution, please execute the following steps:
    1. Download one-off Patch 5335195 for v. 10.1.2.0.2 to the XP/2003 box.
    2. Back up existing uiw.dll for 10.1.2.3 880KB 10/10/2006 7:23PM --> uiw_orig_10.1.2.3.zip
    3. In the %ORACLE_HOME%\bin directory, replace uiw.dll (880KB) with the uiw.dll (1,316KB) from
    Patch 5335195 --> 1,316KB 7/24/06 11:12PM
    4. Re-launch Report Builder 10.1.2.3.0 on XP/2003.
    5. Open the <large report>.rdf.
    6. Double-click on the Paper Layout icon.
    7. The result should be: Successfully open the Paper Layout for <large report>.rdf.
    References
    Bug 5029530 - REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL ONLY ON XP BOX
    Bug 7014048 - REPORTS BUILDER CRASHES OPENING A PAPER LAYOUT.
    Note 361206.1 - Reports Builder Crashes Opening a Paper Layout on Windows XP Only
    Patch 5335195 - REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL DUE TO ACCESS

  • I purchased microsoft office mac in 2004 and suddenly I get an error message. It won't launch. I click reopen and it does the same thing. I get a long message in the panel. It tells me it will send a report. I still can't access any microsoft item - word

    I purchased microsoft office mac in 2004 and suddenly I get an error message. It won't launch. I click reopen and it does the same thing. I get a long message in the panel. It tells me it will send a report. I still can't access any microsoft item - word, excel, nothing works.
    I have a mac book pro 10.6.8
    Thanks

    cassidy3 wrote:
    Good news is that I can access all my documents. Bad news is I had to pay $150 for it.
    I spent a lot of time trying to find a solution before buying.  I did not try the launch terminal solution....
    I will check back so I can find out what to do should this happen again.
    More possible bad news.  If you had followed what fane_j had asked you to do you might have found out it wasn't microsoft's fault for your problem and wouldn't have had to spend $150.  Because while you may have an Office that works, fane_j was not suggesting a solution but probing for a trojan (google "flashback trojan") that has been crashing powerpc code which is what Office 2004 is.
    So if you do have the trojan, while you can run a version of Office, the trojan may still be in your system since installing a version of Office isn't going to remove it.  So I'll make another request.  Launch Terminal (in your Utilities folder) and copy/paste the following line into the terminal window and hit return:
    defaults read ~/.MacOSX/environment
    If you see anything other than a "does not exist" error message you almost certainly do have the trojan and post the results in this thread.
    The choice is yours.  You can ignore this and take the risk.  Or do what has been requested.

Maybe you are looking for

  • Can't get MacBook Pro to recognize Motorola H500 Bluetooth headset

    Hello all, I am trying to get my MacBook Pro to recognize a Motorola H500 Bluetooth headset. Bluetooth is ON and "discoverable" on my mac. When I go to system preferences and click "bluetooth", then "devices", the headset won't show up (it is turned

  • OPINION: site layout

    Hi guys! I would like to receive your comments about the layout on the page linked below. Some, if not most, of the link are not working, but I am concerned about the "first impression" it woud give the user. Any comments will be deeply welcomed!!! T

  • Transformation help BPC 7.5 NW

    Hello Experts, We are on SAP BPC NW 7.5 SP08 I am looking some help in maintaining the transformation file. I am loading data from application to another application using load data using Load data from Info provider with selection package. My source

  • Contact photos too small

    Okay I don't know how else to word this without sounding silly so I'll just bite the bullet. Back in the day and even when you see people using iPhones on television or in movies; the photos that come up for your contacts are big, recognizable from a

  • Flash Recover Area

    Hi, I would to work with FLASH RECOVERY AREA in my 10204 instance. I set the values of follwoing parameters : - db_recovery_file_dest - db_recovery_file_dest_size I executed the following command: alter system switch logfile; I found that the archive