Automating a report generation process

Hello guys!
I just took on a new role in a company which requires me to deal with SAP BEx Analyzer.
I'm completely new to this, but having gone through the report generation process, I feel the method I'm using is horribly tedious and I believe there should be a way to automate the process since it's a recurring monthly procedure.
What I have to do currently to get the report is:
1. Launch SAP Logon
2. Filter the Connection which i want to find (i'll call it "PQI").
3. Key in my Username, Password and Language
4. Select the third container in the folder (i'll call it "03")
5. After I open 03, it launches Excel with BEx Analyzer add in initialized. The report is currently empty
6. Select Change Variable Values, fill in Fiscal Year, Month and Accounting Area.
7. After which it will take like 15minutes to query, and a about 16,000 ++ rows are generated.
    Problem #1: The format isn't good, i have to right click on every cell that writes "Result" with yellow highlight and under it's properties I have to select         "Result Rows" > "Always Suppress".  (Ref1.PNG)
     This is horribly painful considering I have to wait about 1 minute for each response (it's very slow). I have to repeat this for every yellow column in the
     report. Can this be automated or done in 1 step?
8. After doing so for all rows, I have to right click the table and select "Query Properties" and shift all the Free Characteristics (about 10) to "Rows".
     BUT, I can't do all at once, it will say "out of memory" and crash. I have to do so 2-3 rows at a time. Each time it'll take about 10-15 minutes to
     populate. It's very painful.
9. After it's all done, i have to repeat step 7 again, which is to Suppress all result rows (Ref2.PNG)
10.Followed by which I have to go to Query Properties > Display Options > Uncheck "supress repeated key values"
11. When that is done I have to generate a PivotTable on the data.
I have to repeat the same steps on a monthly basis.
Is there a way I can script it to run the process for me monthly? Or any other way to make it less tedious?
Thanks so much for any input or suggestion guys!
Warmest Regards
Brandon

Suppressing Result Rows can be done in Query designer itself for one time. You need not to do after you get the report every time.
If you always expect some 10 free chars constantly, i suggest you to insert them in Rows pane in Query designer but not in Analyzer. So that your report layout will be taking care with all settings what you want to do after the report generates in Excel. I mean you will get desired layout when you run the report first time itself.
Suppress repeated key values also can be done in Query designer itself one time.
By doing above, your report execution will not be tedious and it will be minimizing your efforts.
Over all, What I have understood is, you are doing all sorts of settings in Analyzer after getting such huge volume of data, by which it gives you crash error.
With all above steps, you can run your report with all pre-defined settings.

Similar Messages

  • Report generation only one time successfull

    Hi @all,
    we are facing the problem that the report generation process is only working one time successfully, the next time it ends with error. After restarting the service on the WWI server the next generation is successfull, but the second one will be "Error" again.
    Does anybody faced this issue before and can provide a solution?
    Thank you in advance for all contributions!!!
    Best regards,
    Christoph
    PS: in the meantime we created the respective service again on the server - no result, still only one successfull run at a time.
    Edited by: Christoph Giehl on Sep 6, 2011 5:18 PM

    Hello Christoph
    we never have had similar problems. May be these hints might help:
    a.) check wich generation server is used during the generation and if any of the potential servers "stop" (WWI process does not proceed etc as explained by you).
    b.) check if "report from template" works (assuming that use use the "old" fashioned client WWI version) => if this works than there might be a problem with SAP <=> connection (RFC) ...
    c.) check please if only this WWI report (more precisely combination of generation variant and language) gives result to the "crash" of WWI process and no other one => in this case you should check WWI template
    Reading you explanation I assume:
    1.) there was no change in SAP set up
    2.) there was no change in WWI set up (number of servers, WWI version etc.)
    and we are talking (??) about a new generation variant/language combination which has never been used before (?).
    With best regards
    C.B.
    PS: Check Marketplace. You will fond there an OSS note called "WWI Cookbook" and furthere related OSS notes poviding FAQs etc. regarding WWI topics.
    Edited by: Christoph Bergemann on Sep 6, 2011 9:00 PM

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Report Generation Toolkit and App Builder question..

    Hello,
    I am in process of modifying my test code for writing my data to Excel. When I first developed the tests I did not have the Report Toolkit of Excel so I built the ActiveX VIs I needed. Now since I have upgraded to 7.1.1 with the MSOffice Toolkit I am rewriting my test code to use the toolkit VIs as it seems to work much better and faster then what I had done.
    My question is this. Since I have my testcode distributed to multiple machines when I build my App, do I need to add every Dynamic VI within the toolkit to my App? if so is there and simple way to find exactly which dynamically called VIs are used within the toolkit VIs?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Greetings jdebuhr ,
    I'm using LabView 7 and have the report generation toolkit, In the "Report Generation Toolkit User Guide.pdf" manual under the title Cearating stand alone applications you 'll find the names and the path of the required dynamic VIs to be included in your EXE file (using appliocation builder)
    Check this manual.
    Ayman Mohammad Metwally
    Automation Engineer
    Egypt - Cairo

  • Dynamic  report generation

    We are migrating our client reports from crystal reports to business object reports and I need your help on how to achieve the below functionality in Business object reports.
    Requirements
    1. We need to generate and deliver around 30,000 statements to clients (mostly ftp and email) from 300 Webi report templates.
    2. This has to be a complete automated process with no user intervention.
    For example: Using Webi / Deski Report1, we need to run the report for each client account and then generate a statement and deliver it to client (only client specific data). Web1 reports are complex and some might take 30 to 60mins for generation.
    Questions
    1) Can it be done by just using BO tools with out coding ( using any .net sdk)?
    2) Can a single BO server handle the load, If not How to load balance reports generation and delivery across multiple servers?
    3) How to dynamically pass parameters to Webi report without coding?
    Thanks for reading my post. Any help/ suggestion is appreciated.

    In our current architecture, 
    1) We use crystal report templates and pass dynamic datasets at runtime to generate multiple client statements.
    2) For load balancing, we have 6 app servers with crystal runtime installed and we distribute load across the servers using custom code.
    My question is if use BO enterprise will there be any performance enhancements?

  • 800706BA RPC server unavailable in Report Generation toolkit

    Hi all,
    I've got a problem with LabVIEW 7.1.1 and Report Generation Toolkit (RGTK).RGTK is used to connect to MS-Word, create a new document from template and report test results. Works like a charme when stying local on the respective test machine.
    LabVIEWs 'Automation Open' node as wella as other parts of the RGTK have an control 'machine name' so I suspected I could bring a report server into game. Tried it and get an error "0x800706BA - The RPC server is unavailable in myTestVI" (translated from German Windows error).
    All the required subVIs to create a document have been put into a small test app. This one runs fine when running on the desired report server, but fail when opened and run on the devellopment machine.
    I have searched extensively for that error code and have changed some port settings in the firewalls and some services settings with no success. Can anyone help me out?
    BTW, on the remote machine a new process named WINWORD is started, but nothing more.
    TIA!

    Hi Lul,
    The error 0x800706BA is, as you said, a windows error (and, btw, your translation was correct as the original title is "The RPC server is unavailable").
    You can try to fix it with MicrosoftFixit :
    http://go.microsoft.com/?linkid=9666880
    Beside, more links that could be of some use :
    Windows Update error 800706BA:
    http://windows.microsoft.com/en-US/windows7/Windows-Update-error-800706BA
    Microsoft answer about error 800706BA:
    http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/microsoft-updates-fail...
    In addition, a KB which is also related to this "RPC Server unavailable" in our IT database:
    How to fix MSI software update registration corruption issues:
    http://support.microsoft.com/kb/971187
    Regards
    Florian Abry
    Application Engineer Group Leader
    NI Germany

  • Report generation fails with below error

    Hi Friends,
    This is an extarct from "ccat /var/opt/SUNWsymon/PRM/log/prm.log"
    Report generation fails for individual host but succeeds for all hosts.
    prmlog September 13, 2010 12:52:14 PM Thread-287: Begin loading files
    prmlog September 13, 2010 12:53:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:53:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:56:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: scp-2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: creature-t1000-08: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: sdp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: psp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: shissun1: Report request generation failed.
    prmlog September 13, 2010 1:00:05 PM Thread-294: Report successfully posted to web server.
    prmlog September 13, 2010 1:01:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 1:03:54 PM HandlerThread-0: Got trap: 2
    In /tmp directory I could see database logs directory (/tmp/SunMCDBLogFiles)
    Below is an extarct from "db-start-sql.log"
    ERROR: table "summ_temp_events" does not exist
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    WARNING: there is already a transaction in progress
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (21)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (26)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (25)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (42)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (1)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    Kindly suggest me.. This SUNMC is doing more than killing.
    Thanks
    Srini

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Report Generation Performance

    Hi!
    I am currently implementing a report generation module because I have to add some features (for example: 'Additional results'). Especially I want it to be fast(!). Apart from my new implementation which is done in LabVIEW I have an implementation in C++ (cosed source) and an implementation in VB.NET (self written). All three implementation produce the same output format (one text line per measurement)
    For 500 steps to process (no deep nesting) the report body generation duration takes:
    Implementation A (c++ DLL; closed source): 240ms
    Implementation B (VB.NET; rekursive result tree traversal): 260ms
    Implementation C (LabVIEW; rekursive result tree traversal): 460ms
    Using the LV profiler it seems to me that the Teststand API is the bottleneck - the more TS property nodes I execute per step the longer the duration.
    My questions (to CTAs :-)
    - Can I speed up the report generation by using parallel loops to process the TS Property nodes; or does the TS API not support parallel (read) requests? (like a web server does)
    - Can the recursive (reentrant VIs) approach be the reason why the performance is not so good (for performance better to process the result tree in iterative manner)? Remark: no deep nesting!
    Versions used: TS2010 & LV2010
    Remark: I know that TS2012 has implemented async report generation possibility!
    w.

    Are you using the LabVIEW runtime or the development environment when running your VIs?
    -Doug

  • Report Generation working on Dev machine but not on Deployment + Lessons learned

    I don't do deployments very often with Teststand. But I have to say, I learned a lot from this one from trial and error and help from the message board. I have got my deployment to final work (almost) with these lessons learned:
    1. Create a base installer for the engines and drivers, that way if you need to update it is much smaller.
    2. Dont install Teststand before Labview on a new development machine (not related to this deployment but I did learn that)
    3. Don't have your Testexec window open, alter the Station Globals, then close the window. It just puts them back to the old version (probably my biggest problem).
    4. Paths are extemely important.
    I think I have figured it out with much time involved and kept notes of what I have done for future. The ONLY issue I have left is this below. My dev machine works as it should but when I deploy, it does not. FYI- I manually copied over Station Globals, Process model, and Testexec. DO I need something else?
    I create serial numbers for my UUT's in the proceses model. It all works fine in development. The serial numbers are generated and the UUT filename is titled [023232232].txt and changes per unit. The path for example lets say is C:\Users\Ryan\Desktop\temp.  A logfile is generated for each and put in that folder.
    When I deploy, it does something different. Instead of putting the files into the temp folder, it errors out saying it is in use. If I delete the temp folder, it creates a file called "temp" which contains my text logfile. This file just keeps getting overwritten.
    Any ideas on this?

    Hi SimpleJack,
    One way you can ensure that the Report Options you want to have stay with your sequence file is to actually override them using a Sequence File Callback.  I have attached a link to a KnowledgeBase article that walks you through how to add the ReportOptions callback to your sequence and programmatically set the options that you would normally set by going to Configure»Report Options from the Sequence Editor.  
    Also, to ensure that the correct Process Model is being used with your sequence file after distributing, you can set the Process Model within the Sequence File Properties.  This can be found by going to Edit»Sequence File Properties, and then going to the Advanced tab.  I have attached a screenshot of this window below, as well.  From here, you can set the Model Option to Require Specific Model, which especially comes in handy if you are using your own custom Process Models.
    I hope this helps, SimpleJack!  Have a great day!
    How Can I Programmatically Enable or Disable Database Logging or Report Generation?
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Report generation Toolkit: Excel report functions error -2146827284

    Hi,
    I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
    Does anyone know anything about this error, why it occurs, how to prevent it?
    I would appreciate any help.
    Thanks,
    Rowan

    mebels_cti wrote:
    Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
    Excel still open
    So I added this;
    You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
    Ben64

  • Will loading V2011 break Report Generation in V2010?

    My report generation toolkit seems to have stopped working almost entirely.
    In V2010, the example "Generate Report From Template(Word).vi" will go as far as loading the Word file. After that it reports the error:
    (Error 1 occurred at NI_ReportGenerationToolkit.lvlib:ex_RGT_Append Anything To Report.vi -> NI_ReportGenerationToolkit.lvlib:subMS Office Report Block.vi -> Generate Report From Template (Word).vi:MS Office Report.vi-> Generate Report From Template (Word).vi   while processing the chart input.)
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    My application which was working a week ago is providing the same error message.
    From scratch I tried making a small word template file and a vi to work with the template which also provided the same error
    I loaded the same example into V2011 and with some modifications indicated by error messages, I ran the program and it will not load the file and simply reports Error 7 that it cannot find the file.
    Has my loading V2011 broken the report generation toolkit?
    I have had to go back to using V2010 due to other reasons, so I need to have 2010 working.
    Shall I uninstall 2011 and 2010 and then reinstall 2010? (all day job I would like to avoid)
    Is it possible to uninstall and reinstall the toolkit to repair the problem? (I've tried once and I am not sure that uninstall worked as the messages resulting from an install from the NI disc reported no uninstall and no install)
    In the attached zip file is the example as well as the word.doc and .dot files from V2010.
    Thanks,
    Chris
    Attachments:
    Word Reports.zip ‏221 KB

    Hi Chris,
    I have tried running your VIs on my computer running 2011 and they work fine. Can I just confirm that the issue you are seeing is present in both LabVIEW 2010 and LabVIEW 2011?
    My first recommendation would be to try and repair the 2011 LabVIEW version. This can be done through the 'Programs and Features' within the control panel. The dialog box will be available when you select National Instruments within 'Programs and Features'.  Hopefully this will solve the problem.
    What version of the Report Generation Toolkit are you using?
    Let me know if the repair of LV2011 goes. If it doesn't fix the problem let me know and I will look into this further for you.
    Regards,
    Aaron. E
    Applications Engineer Team Lead
    National Instruments
    ni.com/support

  • Error on WWI report generation

    Dear all,
    for our new ECC 6.00 EhP5 system we set up a new WWI server on Windows Server 2008 R2, everything has been set up accordingly and the RFC calls are working fine.
    When we tried to generate the first report with a dummy template (only ph value is included and "Report from Value" runs fine) we receive the following error:
    17.11.2011 09:50:41 Job started
    17.11.2011 09:50:41 Step 001 started (program RC1WWIWP, variant , user ID DE_BTC_BUS)
    17.11.2011 09:50:41 Problem occurred during report generation; check the report log
    17.11.2011 09:50:42 Generation error on WWI server SV001
    17.11.2011 09:50:42 Internal program error; (SAPLC1F3 C1F3_GEN_RAWREPORT_CB API_READ 0120)
    17.11.2011 09:50:42 Job finished
    Unfortunately I was not abel to find something assigned to this in OSS.
    Does anybody have faced something similar before?
    Any hint is more than welcome!!!
    Best regards,
    Christoph
    Add. information: I don´t know whether this is important but the process is creating a document SBR that you can see in CV04N.
    Edited by: Christoph Giehl on Nov 18, 2011 12:27 PM
    Problem was fixed - missing authorizations with the batch user.
    Edited by: Christoph Giehl on Nov 18, 2011 2:11 PM

    Problem occured due to missing authorizations of batch user.

  • Stand alone exe errors using report generation vi's

    I have a stand alone application that uses some report generation vi's. I have added the _wordsub.llb as a support file. In the main program I have told the report generations vi's where to find the _wordsub.llb so it can load the dynamic vi's as needed. The problem is when I run the stand-alone executable I get an open refernce error for one of the dynamic vi's that says that vi is not executable. But when I reconfigure the executable and include that vi as a dymaically loaded vi in addition to the _wordsub.llb, the stand alone works error free. Any suggestions?

    It really depends on what version of office you are using. Some methods have different set of parameters or even different names, labview does not adjust them accordingly, even though the code might execute but it will fail during build process. You must reselect the methods manually in order to build the executable. Most time you need to build different executables for each office version.
    -Joe

  • Report generation, Excel isn't closed in the Task manager (LV2010)

    Hello everybody,
    I attached a simple example, to explain my problem.
    I tried (with Report generation) save data to Excel. That works fine. My problem is: in the Task Manager I can see the Excel.exe.
    Does anybody have a idea or a solution, why Excel don't closed?
    If I open and close the saved Excel file, the Excel.exe disappear in the Task manager. But this should not the way.
    many thanks in advance
    zäpfle
    LV2010
    Solved!
    Go to Solution.
    Attachments:
    Example_Forum.vi ‏19 KB
    Example.xls ‏55 KB
    Auswertung_Example.xlt ‏51 KB

    Hello zäpfle,
    This is actually a known issue and already reported to NI R&D. As you mentioned, to solve this, you have to open and close the Excel report (with Word report everything seems to be fine). Since the task is closed just after the VI closes or open-and-close Excel, it seemed that not all references would close properly. The issue though isn't with properly closing the references, but rather deeper.  However, a possible workaround would be to programmatically end the process just after closing the reference to Excel.  Here is a link to a community example that demonstrates how to do just that:
    Kill a task in Windows using System Exec.vi
    https://decibel.ni.com/content/docs/DOC-9275
    Hope this helped. I am sorry for the inconvenience!
    Kind regards,
    Ioannis Karakatsanis
    Applications Engineering
    www.ni.com/support

  • 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

Maybe you are looking for

  • Can I create folders in iCloud?

    I have not used iCloud very much because I can't tell where my documents are.  I know that sounds silly and I do know literally where they are.  But it seems you cannot interact with them via a finder window.  You must go through individual applicati

  • Squid basic authentication not working

    I have setup squid as follows: /etc/squid/squid.conf auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours a

  • Which macbook pro to buy for editing?

    I will be buying a macbook pro for my future editing as i will be traveling a lot. I use after effects, premiere pro, sometimes fcp 7 and occasionaly blender and cinema 4d. I will be watching a lot of movies and playing games occasionaly. I have a la

  • Infrastructure Required to develop & deploy MI apps ??

    Hi Gurus, If i need to start building application on iPads & iPhones, what is the infrastructure that I would require. The app has to be built using the SAP MI Technology(not Sybase) Thanks Johannes

  • IOS upgrade query

    I want to update the operating system on my iPod touch but am worried that it will format the iPod and I will lose the music on it. Will I be able to back up to iTunes before upgrading the system (even if my computer has a newer version of iTunes on