DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem PDF Export

I've seen several of these posts, but none have been able to solve my problem.  I'm trying to use the LabVIEW DIAdem Connectivity VIs 3.0.2 to take a DIAdem template and a TDMS file and generate a PDF file.  I've attached my VI, my report file, and a sample tdms file.  A few things I noticed was that the PDF printed to my local physical printer if I set it as the default printer (at least that worked), but when I set the DIAdem PDF export as the default printer, it prints into oblivion?  Not sure what's going on.  I'd really like to get this process solidified, because I'll be using it in tens and tens fo VI's.  Thanks in advance!

0 Kudos
Message 1 of 2
(5,428 Views)

Hi plasmaphase,

 

It looks like it goes into the nether because the default Printer as the DIAdem PDF export needs to know where to save the exported pdf. Currently, you have the printer dialog not displaying and so the DIAdem PDF export has no way of knowing where to save the printed file.

 

To get this to work the easiest method would be to enable the print dialog to display. If that is not an option and you want this to run as a script, with no dialog input you will need make a custom version of the DIAdem Print Report.vi to include a PDFFileName parameter so the export process knows where to save the resulting file.

 

You can find some more internal scripting information that is being used at this link, which describes what actually takes place on the DIAdem end to do the print operation:

 

http://zone.ni.com/reference/en-XX/help/370858K-01/comoff/picprintdlg/

 

Hopefully that helps things move along!

 

Regards,

 

James W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,397 Views)