LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

does Labview have Try Catch exception handling?

1) Does Labview have Try Catch functions, exception handling?

2) Can Labview access a file or download a file using http or https?

3) How can labview  read data from an ex ternal server http or https?

 

This is in labview 2009 or 2011

 

 

0 Kudos
Message 1 of 5
(10,194 Views)

Regarding Try catch , Its already discussed here and here

 

Here is a example vi to download pdf docs. It may help

Message 2 of 5
(10,180 Views)

Hi E,

         1. you can chain together your VIs with the error wires, such that if an error occurs in one of them, none of the following VIs will execute.  That's  like throwing an exception - it interrupts the execution chain.  You then "catch" that exception by putting an error handler wherever necessary, but not necessarily in every single VI.Hope  You wouldn't put try..catch inside every single .NET function, instead you handle the exception at the level at which is most appropriate. Same thing can be done in LabVIEW.

Also see this.

 

2. The attached example downloads a picture with http "GET" command.

    Dilbert.Main_LV71.vi 160 KB

 

3.see this thread:

   http://forums.ni.com/t5/LabVIEW/Read-a-text-file-from-Labview-web-server-http/td-p/267434

 

Yes!!The same thing pointed out by nijims.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Message 3 of 5
(10,179 Views)

Thank you for your reply.

0 Kudos
Message 4 of 5
(10,144 Views)

Thank you for your reply

0 Kudos
Message 5 of 5
(10,143 Views)