DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

"ExportToPDF" Not Working when VBS Script is called via LabVIEW.

Hello All, 

 

I currently have a VBS script in DIAdem that generates a PDF report using "ExportToPDF" and it works great when run with DIAdem. However when I call the script to run via LabVIEW the report does not print. The script runs to completion and without any errors, but the PDF does not print (or at least not to the location that is specified). Any thoughts on why this is? 

 

Thank you in advance. 

0 Kudos
Message 1 of 2
(742 Views)

Hi, 

 

Did you wrote the VBS script by yourself or did you recorded the script when you are trying to export the report to PDF? 
Perhaps you can try to check if there are any difference in the script for both methods I mentioned?
Just sharing what I can think of on this question.

0 Kudos
Message 2 of 2
(678 Views)