From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I'm using URL HTTP Get Document.vi to read a file. But sometimes the other machine were is the url is down so the application freezes for a long time because is stucked in URL HTTP Get Document.vi
How can I force that this Vi stops if cannot complete in some time?
You would have to modify the VI to allow you to pass in a timeout value. The defult is 25 seconds. If you decide to modify the VI I recommend you make a copy of all of the HTTP VIs, place them in your user directory (or some other suitable place) and modify those VIs. Use those in place of the shipping VIs.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot