DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Export Hangs

I'm exporting a report using PDF export in Diadem 11.2.0f4178 and it just hangs with no error message. I'm running windows 7 64 bit. I also have Diadem 11.3.0f4563 installed and it does the same thing. 

 

I can print to adobe pdf, but when i generates the report its doesnt not copy the page names (which on 100 page report is a bit of a problem). A solution to either would resolve this.

 

Anyone have the same problem or know of a fix?

Message 1 of 11
(6,860 Views)

Hello Eric,

 

How much memory does your machine have?

 

Have your tried deleting 50 pages and exporting to PDF then? Does that work?

 

This is just a hunch, but available memory could be a factor here ...

 

I also have DIAdem 2011 and Windows 7 64-bit, and I can export to PDF just fine, but I have never tried exporting 100+ pages ...

 

 

     Otmar

Otmar D. Foehner
0 Kudos
Message 2 of 11
(6,854 Views)

Hi Eric,

 

I have exported 600 pages to PDF before on Windows 7 64 bit, but the number of pages you can export will depend on how "busy" those pages are, effectively how much memory each takes up, and of course also your available memory.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 3 of 11
(6,846 Views)

I have 12GB of memory on my machine. It also hangs if I try and export one empty report page. Thanks, --Eric

0 Kudos
Message 4 of 11
(6,843 Views)

I am also experiencing problems with pdf export as well.

 

Brand new laptop win 7 pro 64, fresh install DIAdem2010, disconnected license

 

I am unable to pdf export the example report sheet programatically or by clicking file pdf export.  My old laptop works correctly win 7 pro 32 bit.

 

I see it generating the file with nothing in it (0kb).

 

0 Kudos
Message 5 of 11
(6,797 Views)

I have some questions and suggestions from our R&D team below:

 

  • Can you try to print using the "PRINT" icon in DIAdem-REPORT and then selecting the "DIAdem-PDF Export" driver? Does that work (vs. hitting the PDF icon directly)?
  • Does printing to ANY other printer work (i.e. a network printer or a printer attached o your PC directly)?

Something that might help is to delete the printer from the driver list and then deleting the following Registry-Keys:

 

On 32Bit: HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\DIAdem\Shared\

   Please delete the variables 'CLSID', 'GUID' and 'PDFVersion'. (make a backup of your Registry before messing with the variables)

 

On 64Bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\National Instruments\DIAdem\Shared\
   Please delete the variables 'CLSID', 'GUID' and 'PDFVersion'. (make a backup of your Registry before messing with the variables)

After that DIAdem needs to be started as an Administrator for the first time!


Please let us know if any of these methods will help fix your issues.

 

Best regards,

 

     Otmar

Otmar D. Foehner
0 Kudos
Message 6 of 11
(6,780 Views)

tried printing to diadem-pdf export, same error.

 

yes i can print to other printers, see comment above about printing to adobe pdf creater.

 

I tried unistalling the pdf-export print driver, then deleted the reg variables. Now i get a "print driver host for 32bit applications has stopped working" error message.

0 Kudos
Message 7 of 11
(6,760 Views)

Hello Otmar,

 

I've tried your list of steps:

 

Printing to a printer works correctly, printing to my adobe pdf works correctly.  Printing to DIAdem pdf no longer freezes DIAdem after the registry edit and removing the DIAdem pdf printer.  It is currently making 1 KB pdf files of the example report that are locked or otherwise unopenable.  The error message I got from Adobe while trying to open the file is attached.

 

This may be an issue with Lenovo.

 

David

 

 

0 Kudos
Message 8 of 11
(6,759 Views)

I found a solution from another thread that worked for me:

http://forums.ni.com/t5/DIAdem/Windows-vista-ultimate-64-bit-PDF-export-error/m-p/978241/highlight/t...

 

 

Windows Vista:

  1. Make sure that you are logged in as Windows administrator.
  2. Click the Windows button and click Printers.
  3. Right-click the Diadem pdf Export and select Properties
  4. Click the Ports tab, then click the Add Port button.
    Note: If the Ports tab is greyed out, right-click the Diadem Pdf Export icon and select Run as admin.
  5. Select Local Port and click the New Port button.
  6. Enter PDF1 for the new port name and click OK. Close the Printer Ports window.
  7. Put a checkmark in the box next to the PDF1 port if it is not already checked.
  8. Click on the Advanced tab.
  9. Select the Spool print documents radio button to make the options below it clickable.
  10. Clear (uncheck) the box labeled Enable advanced printing features by clicking it.
  11. Select the Print directly to printer radio button to make the options below not clickable.
  12. Click the Apply button, then click OK.
  13. Important: In order for the changes to take effect, you must restart your computer.
    Reboot your computer and then try to print, email, or create a pdf from Diadem.

Regards,

Ierman Gert

Message 9 of 11
(6,731 Views)

Thats money, good find. Solved the problem. Thanks Frizzit.

0 Kudos
Message 10 of 11
(6,728 Views)