LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Download PDF, Runtime Error & LabVIEW Crash

Hello

I create a VI to download a PDF file with an HTTP request (using WebBrowser). This VI is used in a TestStand application. When it's working, the following Internet Explorer window opens suggesting to Open/Download/Cancel a pdf file. I used this solution because the TestStand execution doesn't stay blocked on this VI until the user make a choice (Open/Download/Cancel) (the execution must continue to next steps without waiting for a user action).

 

When it's working fine :

dl_pdf.JPG

 

 

The problem is that sometimes (executing with labview or teststand) a runtime error or a labview crash (or both) occurs :

Examples of errors :

labview_crash.JPG

 

labview_crash_2.JPG

 

Here I put the block diagram of the VI (the left part enable to build the url) :

block_diagram.JPG

 

Have you any idea of what cause this error ?

Or have an other solution to process this operation (a solution where the PDF file is automatically openned would be better !).

 

Thanks for your help !

 

0 Kudos
Message 1 of 3
(3,060 Views)

I have to precise that, when executing this VI with TestStand, the first the step is executed it works fine, but the second time the runtime error occurs. We have to restart the PC for it to work a new time.

0 Kudos
Message 2 of 3
(3,055 Views)

You can open a PDF within LabVIEW using this VI:

http://digital.ni.com/public.nsf/allkb/9A6A259EB5A2BEDA86256DD00048C604

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 3 of 3
(3,051 Views)