DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

PDF report export crashes DIAdem

Hello All,

 

After tring this and that, including deleting printers and restarting the computer, I am at my wits' end.

 

When I try to export a report procedurally using this code

Call PicPDFExport(DataReadPath & Data.Root.Name & ".pdf")

 I get the following error:

 

Bei der Ausführung des Befehls "PicPDFExport" ist ein Laufzeitfehler aufgetreten.

Fehlerart : UNKNOWN

Fehleradresse : 00048036

Modulname :DIAdem.exe

 

Has anyone had something like this happen?

 

The report is a two-page layout, both landscape, with the first page containing a graph with 3 y axes (one on the left, two on the right), and the second page containing a graph with 2 Systems in one 2DAxis object.

 

Thank you in advance for any help and have anice weekend!

Leo Zschokke
Test Engineer C-EPS
ThyssenKrupp Presta AG
0 Kudos
Message 1 of 5
(5,832 Views)

Hello Leo,

 

Could you please give us the following additional information:

 

  1. DIAdem version
  2. Operating System
  3. PC specs (processor, RAM, free HDD Space)

These might help us narrow down the cause of the error.

 

Thanks,

 

     Otmar

Otmar D. Foehner
0 Kudos
Message 2 of 5
(5,820 Views)

Hi Otmar,

 

Certainly.

 

The version of DIAdem I am using is 11.3.0f4563 on Windows 7 64-bit with 90GB of free HD memory, which accounts for about two thirds of my total HD space.

 

Thank you for your help,

Leo

 

Leo Zschokke
Test Engineer C-EPS
ThyssenKrupp Presta AG
0 Kudos
Message 3 of 5
(5,798 Views)

More information. After tweaking the script a bit and using the following code:

 

PrinterName = "winspool,Adobe PDF,LPT1:"
PDFFilename = DataReadPath & Data.Root.Name & ".pdf"
PrintRangeType = "AllPages"
Call PrintMaxScale()
Call PicPrint("WinPrint")

 I found out that the error must occur while the first page is being sent to the printer. I hope this helps.

 

Thank you,

Leo

Leo Zschokke
Test Engineer C-EPS
ThyssenKrupp Presta AG
0 Kudos
Message 4 of 5
(5,786 Views)

Hi Leo,

 

I am not sure if it apllies for you as well, but this helped me to get PDFexport running for DIAdem 2012 on Win7 64bit:

 

http://forums.ni.com/t5/DIAdem/PDF-Export-Hangs/td-p/1697088

 

I used the Windows Vista instruction.

 

Phex

0 Kudos
Message 5 of 5
(5,683 Views)