01-12-2010 05:09 AM
01-12-2010 09:07 AM
You problem has some similarities to issues we had way back with CVI 6 or 7 and XP and Office 2002. There was some issue with pasting a lot of bitmaps to Word and it would eventually crash. We never did get to the bottom of it, but did get to the point where is seemed that it was a problem within Windows that was beyond our reach. The workaround was to chop up the report in to smaller (and sensible sized) separate documents.
If you have not done so already, I'd definitely try debugging without anything to do with Word (and then bitmaps) and see if the problem still occurs. If you are running older versions of Word or Windows, it might be helpful to try a newer version.
Sorry I can't be of more help, but hopefully this will help you find a workaround.
--Ian
01-12-2010 09:42 AM
Hey Bernhard -
I've been unable to reproduce the GPF with the code you've supplied. Would it be possible for you to either post some complete code (including the necessary UIRs) that I can run to reproduce this issue? If you'd rather not make the code public, you can place it on our ftp site (ftp://ftp.ni.com/incoming) behind our firewalls.
Thanks -
NickB
National Instruments
01-12-2010 09:56 AM
Hi Ian,
Thanks for your info.
I agree with you regarding the problems using Word as a reporting tool. Thats why we moved to a professional reporting toolkit (List & Label from combit). I debugged the code as it is shown in my first post with no calls to any other function. The GPF occurs only in graphs that will retain and copy the plot data.
Bernhard
01-13-2010 04:14 AM
Hey NickB,
please find the attached sample. Clicking the Update button a couple of times will crash the program with a GPF.
Thanks
Bernhard
01-13-2010 09:11 AM
Hello Bernhard,
Thanks for the example. I was able to reproduce what you are seeing. I'll start investigating if there's any way you be able to work around this issue, and I'll let you know as soon as I know something.
Thanks again,
NickB
National Instruments
01-14-2010 12:42 PM
Hi NickB,
Any good news about the DuplicateCtrl()/DuplicatePanel() problem? I tried some workarounds but without success. We shifted an appointment for installation and commissioning at a gasturbine testbed by a week, but I have to go next week.
So any ideas or a fixed RTE for download would be very much appreciated.
Thanks, and sorry for pushing you.
Bernhard
01-15-2010 12:12 PM
Hello Bernhard -
Unfortunately, after looking through the cause of this issue, there is not a viable workaround available. Do I have your permission to get your email address from our forum administrator, so that I can contact you concerning the next steps to get you a patch?
Thanks -
NickB
National Instruments
01-15-2010 01:54 PM
Hello Nick,
yes please go on.
Thanks a lot
Bernhard
01-28-2010 03:43 PM