Error code -2146827284 when trying to programmatically assign X and Y values to an excel chart series

I am trying to export data to an excel spreadsheet from Labview 6.1 using Activex Automation, then plot a chart in excel using this data. I can successfully move the data and can build the chart, but I can only assign one of the data axis (either the XValues, or the Values (ie Y values) property of the class, depending which I set first). I get a message "Exception occured in Microsoft Excel, Unable to set the Values property of the Series class." with an error code of -2146827284. See example code in case I have done anything stupid. Anyone got any ideas?
Attachments:
excel_activex_test.vi ‏82 KB

Robert, thanks for responding. I was aware of the excel size limits but I don't think this is the issue here. The code I attached before tries to set first "XValues" to A2:A5 and then "Values" to c2:c5 (well within the range of excel I think ;-) ). I have attached this again and also added an image of the diagram with probes on the key places. It always succeeds on the first "set" function, and then fails on the next one. Just to confuse things it works fine if I set the "XValues" and "Values" to an array of integers. I am running Labview 6.1 on windows XP with Office XP installed as well.
Gavin
Attachments:
Write_Table_and_Chart_to_XL.llb ‏226 KB
excel_test_run.jpg ‏231 KB

Similar Messages

  • Getting error code 8003 when trying to empty trash, lots and lots of stuff in there but it won't let me empty the trash.

    getting error code 8003 when trying to empty trash, lots and lots of stuff in there but it won't let me empty the trash.

    Thomas...
    Try Trash IT for Mac >  http://www.macupdate.com/app/mac/8214/trash-it!
    It helped users with the same issue here >   https://discussions.apple.com/message/16995454#16995454

  • I get the error code -2146827284 when trying to run an Ecxel macro from LabVIEW.

    I am trying to insert data in an Excel workbook and then run a macro which I recorded in Excel to produce a plot.
    This worked great on a laptop running W2K + LV7 and Office 2000.
    I am now trying to do the same thing on a WinXP + LV7 + Excel 2002 and I get this error.
    The complete message is:
    "Error -2146827284 occurred at Exception occured in Microsoft Excel, Programmatic access to Visual Basic Project is not trusted
    . Help Path is C:\Program Files\Microsoft Office\Office10\1033\xlmain10.chm and context 0 in Excel Import Module.vi->LV report test1.vi
    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an
    error code to the error code input."
    Can anyone shed some light on this. Running a macro is the obvious and easy way to get this work done.
    See the attached VI. It includes the macro and some sample data to run it on.
    Attachments:
    LV_report_test1.vi ‏46 KB

    Hi,
    I have attached a link to a document that discusses the error you are getting:
    Error -2146827284 When Importing a Macro to Office 2002/XP
    I hope this helps.
    Sincerely,
    Feroz
    National Instruments

  • Error code U44M1P34 when trying to update Premiere Pro and After Effects- tried everything, nothing works

    I am out of ideas here. I had several program installed for months with no issues. Every update was fine. I haven't moved any installations or changed configurations, etc. I have probably a dozen CC apps installed or more.
    Then out of nowhere, I start getting an error U44M1P34 when trying to update Premiere Pro. After Effects updates give me a similar error.
    1. Tried uninstalling these apps, then restarting, then installing again, but no luck. It tells me that installation was successful, but an update failed.
    2. I tried clearing all temp files, etc. No luck.
    3. I uninstalled EVERYTHING Adobe related on my computer. Restarted. Ran the Cleaner tool as admin. Restarted. Installed Creative Cloud then tried to install Premiere Pro. Same problem.
    So after all that, including putting my work on hold so I can uninstall everything from my machine and try all this junk, it still gives me an error. I can't update those two programs, and maybe more(hard to say since some programs haven't had updates since this started, so it might be worse than just those two).
    I was able to install programs like Fireworks and Muse without issue since these problems started.
    I've pretty much read every post of every thread where this error message is at. I've looked at my log files, but don't see anything fatal(please tell me what I'm supposed to be looking for as the instructions given are vague at best).
    I just need to get this stuff installed and updated. Any ideas? Since I've literally removed Adobe's presence from my computer, then started from scratch, what else is there to try? I haven't moved ANYTHING to another drive or partition. Everything is in the same place it was since 10 months ago when I started CC.
    I'm running Windows 8.1 Update 1 64-bit. 16GB RAM, hundreds of GB of HD space remaining. Geforce GTX760m (also have the Intel 4600 integrated graphics, for whatever that's worth).
    I've run both PP and AE  just fine, and they even run fine without the update. But I WANT to update them.
    Ideas or thoughts are appreciated. Thanks.
    Brent

    Well, the Adobe rep hasn't called me yet.
    The good news though is that it's no longer an issue. Since the 2014 versions of the Adobe CC apps were released today, I was able to install/update just fine. So it was something with the previous update that was broken, or something like that.
    FWIW, the new 2014 editions are fantastic so far. Some great improvements that I'm happy with. I just wonder whether this update issue will rear it's ugly head again with a later revision?
    Time will tell. Thanks for the help regardless!
    Brent

  • Ever get error code "-2146827284" when trying to open an Excel workbook using ActiveX

    The error message claims that the file cannot be found, but the file is clearly there. Ever seen this?
    Strangely, this happens on one machine, but not on another. I'm suspecting some kind of ActiveX incompatibility and would love suggestions on how to track this bugger down (I submitted to support also).
    Thanks
    Brad
    The attached vi exhibits this behavior (on one machine anyway)...
    Attachments:
    footest.vi ‏30 KB

    Brad,
    My suggestion is that if you know exactly where does your Excel ActiveX Library resides, please look for it and re-register it in windows, using the regsvr32 command. If not, please check wether the Excel version of the machine that is having problems is the same version as the machine where it is actually working. Last resource you may want to try to reinstall Excel after trying some of the Excel examples that came with LabVIEW. If you feel that you need more direct assistance please contact us directly, you may wish to call us or email us and you can find the information for doing so at www.ni.com/ask in the internet.
    Good luck!
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • Error code 2738 when trying to install itunes 8 and quicktime

    I've had itunes installed on my laptop for some time but received a new ipod nano for xmas. When I went on to my current version it said that the nano needed me to upgrade to itunes 8. I downloaded the software but towards the end of the installation procedure it says there has been an error 2738 and that quicktime hasn't installed properly.
    can anyone help with this problem?
    many thanks.

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? Are they also 80070BC9, or some other number? (If they're another number, what number are you getting?)

  • Error code 32768 when trying to use recovery disks

    does ayone know what an 32768 error code is when trying to load recovery disks and how to solve it will not load windows  from ram drive any help is appreciateded thanks... bobby

    Hello,
    Clear now. Your created recovery disk will not be supported on your unit. You need original HP recovery kit (708649-DH1) to recover your unit. Please share privately your name/address/phone and RCD kit will be shipped to you.
    I am an HP employee.

  • I'm getting an error code (A12E1) when trying to install Creative Cloud for photographers. Agraphers

    I'm getting error code A12E1 when trying to install the Creative Cloud app for photographers. Can anyone help me get installed?

    Hi Redrock,
    Could you try the solutions described here:
    http://helpx.adobe.com/creative-cloud/kb/a12e1-error-downloading-creative-cloud.html
    Thanks,
    -Dave B

  • I am getting error code 0x8002006E when trying to burn a DVD

    Hi, I am running the latest Lion update, on my MB Pro, and keep getting the error code 0x8002006E when trying to burn a DVD. Could this be a dirty lens issue in the drive. I see that many others have had the same problem, but relly cant seem to find anyone that has a solution that works.. Help

    marobinson58 wrote:
    keep getting the error code 0x8002006E when trying to burn a DVD.
    It's an error thrown by Mac OS X's DiscRecording framework (as opposed to an error communicated by the drive's firmware). The message is (as you probably saw)
    "The burn failed because of a medium write error."
    Could this be a dirty lens issue in the drive.
    I don't think there's one single cause for this error. It might be a dirty lens. It might be something else. Not all recordable optical discs work well with all burners. Try a different brand.

  • Error code = 0x40010015 when trying to open PDF in PS CS3

    Greetings:
    I'm having a problem opening a PDF file in Photoshop.
    This is the error message:
    Error Opening the Portable Document File
    (PDF) Document. Error Code =
    0x40010015
    Searching the Adobe Forums, Knowledge Base, and even Google has turned up no results. Any idea what the problem may be?
    My process has been taking a PDF file created from QuarkXpress (6.5) and opening it in Acrobat Pro (8.1.2) and doing a save as and replacing the current pdf. Then I open this new PDF file in Photoshop CS3 (10.0.1) and apply actions. No problems. Then I encountered this one file that won't open in Photoshop, but will open in Acrobat, Preview, Illustrator. I get the following error message.
    I'm using a G5 PowerPC Mac (4 x 2.5 GHz Processor) with 6.5 GB DDR2 SDRAM for memory. Mac OS X version 10.4.11 (haven't switched to Leopard yet) Adobe Creative Suite 3 Design Premium software package.
    Thanks,
    Randy Hinderks
    Art Director / Video Editor
    On-Purpos, Inc.

    I receive an error code = 0x40010015 when trying to open a PDF in Photoshop CS3 for windows.
    I do not have Illustrator to open and re-save as the forum discussion indicated.
    Is there another way to open a PDF with this error code?  I work with Quark, Photoshop and Publisher
    MartyMag22

  • Why am I getting error code 1402 when trying to update adobe reader 10?

    Why am I getting error code 1402 when trying to update adobe reader 10?

    Impossible to guess the "why" with so little information, but this may be helpful if you want to solve the problem: Error 1402 | Error 1406 | Acrobat, Reader

  • Getting error code 1611 when trying to restore my Ipod. I have tried a forced restore and disabling my computer security and still nothing...ready to throw it out the window at this stage...help!!

    Getting error code 1611 when trying to restore my Ipod. I have tried a forced restore and disabling my computer security and still nothing...ready to throw it out the window at this stage...help!!

    Error 1611
    This error typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.
    If you also unsuccessful on another computer then time for an appointment at the Genius Bar of an Apple store. It would see that your iPod needs service as specified in the article.

  • Error code 0x80092013 when trying to access iTunes store

    I currently have the lastest version of iTunes unstalled on a Windows Vista PC. For a few months now, I get the error code 0x80092013 when trying to connect to the iTunes store or log in to my iTunes account. I have tried to run diagnostics but there is no help availavle because iTunes will not connect to the internet to get the help I need.
    I have scoured the interent for a solution to this problem and have tried everything I have come accross, from re-installing to reading every support page I can find. I am becoming so frustrated trying to fix this problem, it is not my apple ID as my iPad works perfectly fine. If anyone can give me a solution that actually works it would be greatley appreciated

    After some research I found the following tip to be working:
    https://discussions.apple.com/message/25038447#25038447
    So I changed my IPv4 as well as IPv6 DNS-Servers under Windows Network Preferences and everything worked again.
    HTH
    Christian

  • Error Code 1000 when trying to run Backup Assistant Plus.

    I am getting backup failed and Error Code 1000 when trying to run Backup Assistant Plus.  Have not been able to backup for several weeks.Droid Razr Maxx.

        Hi ellendritz- We are dedicated to make it easier to backup your data! We have integrated Backup Assistant with the Verizon Cloud service offering you many more features and 5GB of storage free! Visit http://www.vzw.com/cloud for more details. The Verizon Cloud app is currently available for download in the Google PlayStore. Please attempt backup with the new application and keep me posted on the status as I would be happy to offer additional support if needed.
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • Error code 403 when trying to register product or set up eprint

    hp 8600 pro N911a
    error code 403 when trying to register product

    Hello v8442,
    It may have been that the servers were undergoing updates that day.  Try to register again, and if you get the same error, try using a different web browser.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for