Error -2146827284 with report generation 1.1.4

Hi. Im working with Report Generation 1.1.4 and I was testing it for exporting data to an excel book. I was making some vi's to learn how to use it and do what I need it for. I need to take two non constant numeric values and save them in an excel table of two columns and graph them. The error comes when I transpose the original matrix, so i can have 2 columns instead of 2 rows in excel. In the picture you can also see that no graph is displayed. If anyone knows has experience doing this kind of activities between labview and excel I would appreciate some help! Thanks!
Attachments:
2 columns table xcel report generation test.vi ‏11 KB
test.JPG ‏165 KB

Why are you turning your array into a matrix?  A matrix is not the same thing as an array.  (They are related, but are not truly the same thing.)
Turn on context help and read about all the inputs into the charting function.  You want to have a 2-D array.  You are actually only starting off with a 1-D array.  (Which you can't transpose if you wanted to because it is only 1 dimensional).  Create a 2-D array of data to feed into the charting function.  If you need to transpose that you can.  Don't play with matrix transformations, they are rarely used and only for special math operations when they are.  Wire up any other inputs to the charting function as needed.  The default chart type is xlColumnClustered which I am going to guess is not truly the graph you want.  You probably want an XYscatter.

Similar Messages

  • Error 7 with Report Generation Toolkit

    Hello Everyone,
    I'm trying to generate an Excel sheet report for some readings using "Report Generation toolkit" But when trying to generate the report, the report generation part of code is executed and gives Error(7) and there is no report is generated.
    The Code I use is atached in the following Link:
    https://www.dropbox.com/s/9n4brimucsd0xts/Report%2​0Generation.rar
    Can I get help please?
    Thanks in advance
    Solved!
    Go to Solution.

    I was able to download and open your compressed file.  I unpacked it into a folder.
    There are numerous peculiarities that lead me to ask "Are you trying to learn LabVIEW on your own, without a mentor and without training and guidance"?  Here are some of the things that I noticed:
    Although a Report Generation .lvproj, .aliases, and .lvlps file, the Project, when opened, was empty!  Since Projects were added to LabVIEW, almost all development should take place in a Project, but you do not appear to be doing so.
    You have an Event Loop (good) to handle pressing Start, Stop, and Report buttons.  But instead of using Boolean controls with a Latch property and using a "Value Changed" event, you use Switch Until Released (which, so far, I've never used) and a Mouse Down Event.  I suppose this could work, but I've never seen this pattern.
    You are writing an Excel Report, but are not using the Excel-specific VIs (such as Excel Easy Table).  Why (or Why Not)?  The basic idea of an Excel Report is that you create the 2D text data you want to write into Excel, then with a few simple VIs, you open Excel, write the Table, and save the Report.  In particular, you don't write out something that resembles the columns of the first few rows of a Spreadsheet (Date, Time, Test, etc.).
    Now to your specific question, Error 7.  Do you know what this error means?  If you click on Help, choose Explain Error, and put in 7, you will see this means "File Not Found".  Well, there is an obvious place where a File is used, right when your program starts.  I recommend that you put a Probe (do you know about Probes?) or an Indicator on the path going into the main For loop and see what File you are trying to open (hint -- there's an error in the way you build the path, but you should be able to figure out how to fix it).
    Good luck.  Hope these suggestions get you on a Better Path.

  • LabVIEW VI with Report Generation Toolkit elements in a TestStand sequence does not run with a LabVIEW 8.5 Run-Time Engine

    Hi all,
    I am using LabVIEW 8.5.1 and TestStand 4.1. I have done a TestStand sequence with a VI in it, which uses Report Generation Toolkit elements. On my machine I am using LabVIEW and TestStand with a Development System license. On the other machine I am using TestStand with a Base Deployment license and I have chosen the LabVIEW 8.5 Run-Time Engine in the Adapter Configuration. Everything is running well except of this VI with Report Generation Toolkit elements. The error message is showing that the VI is not executable. It works well only after I have installed LabVIEW with an Evaluation license and chosen LabVIEW 8.5 Development System in the Adapter Configuration.
    I have found other posts and a document in the KnowledgeBase with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9B​D7B1986256F62006AD402?OpenDocument But I am not using EXE files in my sequence, so I don't know how to solve mine. Anybody has an idea?
    Solved!
    Go to Solution.

    Hello guys,
    thank you very much for your answers!
    @Ruediger:
    I tried to follow the instruction for Method 2 in the mentioned document: http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F​3B25B862570AD005D1D3D?OpenDocument, but the steps on my machine are different starting from step 4. After I click "Continue..." in step 3, I dont get a window, the system just makes a new folder with the same VI. 
    To be honest, I am new to LabVIEW and have some difficulties at this time. What I understood from your reply is, that I need to make a LLB-File, where the files from Report Generation Toolkit are in!?
    @GovBob:
    I was following the instruction in the document: http://digital.ni.com/public.nsf/allkb/9E00E7EFE06​35E678625734600779EFE, but it wasnt working. Can you please tell me how I can check if the VI Server is installed and running on the machine?
    I am using LabVIEW 8.5.1 and TestStand 4.1 on my machine, on the deploy machine there is TestStand 4.1.1. The version of my Report Generation Toolkit is 1.1.2.
    Kind regards, Roman

  • Error 10 when building app with Report Generation _wordsub.llb in the project.

    Error 10 occurred at ABAPI Dist Copy Non-VI Files.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> SDBEP_Invoke_Build_Engine.vi -> SDBUIP_Build_Invoke.vi -> SDBUIP_Build_Rule_Editor.vi -> SDBUIP_Item_OnDoProperties.vi -> SDBUIP_Item_OnDoProperties.vi.ProxyCaller
     This is the error I get when a set up _wordsub.llb to use of report generation in a build project.

    Dave,
    thanks for providing me with this information. I didn't hear about this error in the past, but I found a KB, that possibly can help you debugging the application: http://digital.ni.com/public.nsf/websearch/AF12BB5FAC27FE2186256F9400619C84?OpenDocument
    Let me know, if it helped you out
    Stefan
    Impossible is nothing - nothing is impossible

  • Error when using Report Generation Toolkit

    Hi, all,
    I am using Report generation toolkit to generate a report in either
    word or excel format. But i even can't run the "new report.vi". It
    returns an error code of "Bad variable type (-2147352568)", and seems
    this error comes out from the "call by reference" after the
    word/excel's "open VI reference". I have checked the folder
    "C:\Program Files\National Instruments\LabVIEW
    6.1\vi.lib\addons\_office", there are "_exclsub.llb" and
    "_wordsub.llb". The respect VIs are all inside. I don't know why there
    is such error. Currently i am using labview 6.1, Microsoft office 2000
    and Windows NT 4.0.
    Your kindly help will be appreciated very much!!!
    Thannk you in advance!! ^_^
    Your sincerely,
    celery

    So, if you place just New Report.vi on the Block Diagram, wire in the report type and run it, it gives you this error? Do the example programs which ship with the toolset give this same error also? If so, I would just reinstall the toolset first and see if that helps. It sounds like the entire install is corrupt.
    J.R. Allen

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

  • Excel value range with Report Generation Toolkit

    I have an excel sheet.  I want to find out the range for cells with values.  At least, I want the find out what's the last row that has values in it.  I tried "Excel Get Last Row.vi" in the report generation toolkit, but it would treat a blank cell as a valued cell if it is filled with another color.  Therefore, that won't work. 
    I don't want to use active x, and I don't want to write a separate vi to search for the last row.  I want to see is there a way to use the report generation toolkit.  Can I somehow get a hidden method from the class?  I would think that, since they are charging for the report generation toolkit, a simple function like that should be included.  Thanks!
    Kudos and Accepted as Solution are welcome!

    I am pretty sure that the Report Generation Toolkit does use ActiveX, so you are using it even if you dont want to.
    Seems to be how the UsedRange function is being used in the toolkit.
    See here for some examples: http://blog.contextures.com/archives/2012/03/01/select-actual-used-range-in-excel-sheet/
    I tried, and it does not find the blank cells with colored backgrounds.
    This will require some activeX modifications though.
    Kenny

  • Error building .EXE Report Generation Toolkit

    Whenever i try to build my application this error message shows up.... Error 1502 ocurred at AB_source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass: Save.vi
    it says the possible reason is Word_Open_Document.vi
       I'm using the report generation toolkit for office.... I really need to build this application soon!! 
    Please Help!!!
    Thx in advance
    Wong

    I finally made it work... As a reference, i upgraded from labview 2011 due to windows 8 incompatibility, and found that the installer kept showing these error messages. 
    I read in another post that if you opened the troubled VI and just clicked on the property nodes to browse and then ok, you just saved the VI, restarted labview and the error message disappeared. To my surprise IT WORKED!!!  I had to do it on several excell.llb VI's too. 
    Maybe you could report this bug in the report generation toolkit as a part of the NI team.
    thanks!!!
    Wong

  • Unable to write an image to excel with report generation toolkit

    I am unable to write an image to excel with the report generation toolkit. The VI works fine for word, but when I select Excel the speadsheet pens but remains blank.

    Ranjeet
    I am using Labview 2013 or 8.0, but here is an image of the very simple test VI.
    Regards
    Steve

  • Exe created with Report Generation toolkit does not work for all users

    I created a exicutable with the report generation toolkit and it only works with some of my users. I use microsoft 2007 and anyone that has microsoft 2007 my exe works well. Most of my users that have microsoft 2010 are able to use my program as well. However, there is one user with 2010 and Windows 2007 that cant get my program to work.
    Any suggestions for troubleshooting this?
    Thanks

    The most likely issue is due to the fact that Microsoft changes the ActiveX object model of Office for each version of Office. The Report Generation Toolkit does a pretty good job of handling this, but it is not 100% effective. Search, for example on the "Set Cell Border" function and you will see what I mean. In these cases it's up to you to handle this issue. How you handle it really depends on your situation. For us to provide a more concrete answer you will need to provide further details, such as what toolkit function is "not working" (whatever that means), and who you "users" are. Is this an internal distribution? Are you selling this program? Is this code written for a project with a specific customer?

  • Error 1045 Using Report Generation Excel 2010

    Hello,
    The attached code throws an error 1045 when using Excel 2010.  I don't get this error when using Excel 2007.
    Please Advise
    Thanks
    Attachments:
    Source.zip ‏66 KB

    Take a look at this Knowledge Base article and see if if helps.
    Error 1045 When Using Report Generation Toolkit for Microsoft Office
    http://digital.ni.com/public.nsf/allkb/3E4102D8B91D0F9E86256CE0006BADCB
    Applications Engineer
    National Instruments

  • Problem with report generation toolkit

    I am using labview 2011.
    When I right clicked on block diagram I can see reprt generation toolkit. But when I am trying to use it to save a word file I faced a error code-41007.Please help me..........
    Thank you in advance........

    Here's the download for the LabVIEW 2011 version of the Report Generation Toolkit:http://www.ni.com/download/labview-report-generati​on-toolkit-for-microsoft-office-2011/2572/en/
    But you keep saying you installed and uninstalled the RGT.  What version were you installing and uninstalling?  Is it currently installed?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Problem with Report Generation in TestStand 3.0

    While using On-the-Fly Test Report Generation capabilities in TestStand 3.0, the PC become very sluggish and occasionally there are error messages containing an error code of -17000 and the statment, "Out of Memory". The error dialog usually appears while attempting to run the "reportgen_html.seq" file. Do you have any suggestions as to how we may correct this problem?

    Hi
    The test which you trying to run could potentially be leaking memory. I would suggest that you do the following.
    1. Run the tests without report generation and result collection. Monitor the memory usage of your test using either taskinfo2000 or PerfMon and monitor your application.
    To turn off result collection go the configure-> station options-> general tab -> Check disable result recording for all Sequences.
    To turn off report generation -> configure-> report options-> and check disable report generation
    If you tests still give a out of memory error then potentially the tests are leaking memory. Also if you see an increase in memory usage when running your tests then you could potentially be leaking memory in the tests
    If your application
    does not give errors then I would turn on result collection and keep report generation disabled and check if you get errors.
    If you get memory errors then you just might need more RAM to store all the results.
    If you still do not get any errors then I would turn on report generation and result collection and set the report to txt. If you still do not get any errors.
    If you get errors then you might just need more memory to generate the report and display it.
    I hope this help
    Regards

  • Problems in using Application Builder to Build a exe file with Report generation Toolkit

    Hello,
    It's my first time to build exe. But I have Problem  when the VI have Report Generation toolkit VI.
    It's no problem in VI Format , But It can't work when I build as EXE format
    Can Anyone help me, and state step clearly in how to  solve the problems?
    Thank you!!

    If the code works OK in the development system but not in an executable there are a few things you can check. The two most likely causes are:
    There is an error occuring that your code isn't reporting.
    There is a file path that under the executable isn't valid.
    First make sure that all the error clusters are daisy-chained together in the subVI that you wrote to create and populate the excel file. Next make sure that the end of that chain goes to an indicator on the VI's front panel.
    Second, make sure there are indicators on other key parameters like the path the file is trying to write to.
    Third, temporarily modify the VI properties of that excel IO VI to open it's front panel when called, and rebuild your application. The next time you run the application the front panel will open when you try to write to the excel file and you should be able to see what is happening.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Get Error message with Roport Generation toolkit

    Hi:
       I am new to labview and want to make a report that content of  the FFT spectrum data and FFT figure. a error message as *The report generation toolkit does not support the data you are using*.I used a for loop for calculate the FFT,does this cause the problem?I really do know how to settle it.Any suggestion is welcome!Thanks in advance!!

    You do not need to use the Unbundle function - you already have the data available, so you're just performing an operation to get data you already have. Just use wires:
    yujin wrote:
    .I really do not know how to add the waterfall  to report,it seems can be translate to waveform.Even it is translated the report will also just be 2D show but not waterfall show.I wonder how I can get the picture of the waterfall,if so I can get it into report.But I do not know how I can do this,can you teach me?  
    I don't have LV 2009 running right now, so I can't give you the details, but basically what you need to do is to the get the image of the graph and add it to the report. You can use the Image to File method to save the image to file and then use the Report functions to add the image to the report. I can verify this tomorrow.
    Attachments:
    rewire.png ‏9 KB

Maybe you are looking for

  • Web site fit to screen

    I apologise if this is an old (or stupid!) question, but is there anything I can do to make my web site automatically fit the size of the screen being used to view the site? Hope someone is happy to help an iWeb apprentice. My web site is www.lloydve

  • Skype to Go cannot work in Syndey, Australia

    Dear support and all, I have a skype to go number and calling from Sydney to Hong Kong worked very good from Vadafone mobile service. But today Vafafone called me and said "Skype To Go" local call number (starts with "8") treat as an international ca

  • HT1338 macbook pro 2010 Mountain lion iOS 10.8.2

    Hi there. Ive been trying to sort out a problem for some time - say- 2 to 3 months. When I boot up in normal mode and open an application, my screen blinks for a nano-second regularly about every 12 seconds, and any drop down menus close, and enterin

  • Sigmatel 9205 - Problems with audio codec in Windows XP

    Does anyone have a working solution to using IDT Sigmatel STAC 9205 Audio Codec in Windows XP.  I have Dell Lat. D531, D630, D830 and XPS M1330 (the D531 and XPS came with VISTA pre-installed - we don't support, so I formatted and installed Windows X

  • Please help with Itunes Podcasts

    I have recently begun listening to Itunes Podcasts at my desks. Unfortunately, no new ones are showing up. CNN and other news shows stopped updating at 10am on 12/21. I dont know how to fix this so I can continue to listen to new podcasts on my itune