03-15-2012 09:06 AM
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 :
The problem is that sometimes (executing with labview or teststand) a runtime error or a labview crash (or both) occurs :
Examples of errors :
Here I put the block diagram of the VI (the left part enable to build the url) :
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 !
03-15-2012 09:30 AM
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.
03-15-2012 10:19 AM
You can open a PDF within LabVIEW using this VI:
http://digital.ni.com/public.nsf/allkb/9A6A259EB5A2BEDA86256DD00048C604