LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Yes, handling exception with CVI is possible

I'm not talking about SEH but regular exceptions.

First lookt at the demo code available at :
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/demo.c.html

Once you understand what we expect from TRY, THROW and other, you could look
at both files :
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
l
and
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
l

Finally if you want to use this mecanism in your own code, look at the
Download page in the "Progammation C" section. At the bottom you should find
the zip file you're looking for.

Even if it looks cool, never forget to use the macros errChk and nullChk
defined in

Enjoy !
--
Regards, Philippe
Feel f
ree to visit : http://perso.wanadoo.fr/philippe.baucour (aka The Rebel
CVI Site)
0 Kudos
Message 1 of 5
(3,991 Views)
Good but can you please have something in english for poor folks like us who
don't know french. Would like to see what other tools/utils you got there.

vishi

"Philippe BAUCOUR" wrote in message
news:3e9662fe@newsgroups....
> I'm not talking about SEH but regular exceptions.
>
> First lookt at the demo code available at :
> http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/demo.c.html
>
> Once you understand what we expect from TRY, THROW and other, you could
look
> at both files :
>
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
> l
> and
>
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
> l
>
> Finally if you want to use this mecanism in your own code, look at the

> Download page in the "Progammation C" section. At the bottom you should
find
> the zip file you're looking for.
>
> Even if it looks cool, never forget to use the macros errChk and nullChk
> defined in
>
> Enjoy !
> --
> Regards, Philippe
> Feel free to visit : http://perso.wanadoo.fr/philippe.baucour (aka The
Rebel
> CVI Site)
>
>
>
>
>
0 Kudos
Message 2 of 5
(3,991 Views)
No. Sorry about that. I got many request for that but I simply do not have
time. However, in the latest sample code available online I try to have
comments in English. I guess it help some of you. Concerning the Exception
source code, sure comments are in French but the code is pretty old (see the
download page, 01/04/01). However, read it twice. Should not be that hard to
figure out how to use TRY, CATCH and THROW

Feel free to visit the home page where some explainations now exist in
english
If you are looking for a sample code illustrating one example or another try
: http://perso.wanadoo.fr/philippe.baucour/src/functions/Client_us.html
which is localized as well.

As you can see I try to make some effort 😉
--
Philippe
Feel free to visit : http://perso.wanadoo.fr/philippe.baucour



"Vishi Anand" a �crit dans le message
de news: 3e96eea2@newsgroups....
> Good but can you please have something in english for poor folks like us
who
> don't know french. Would like to see what other tools/utils you got there.
>
> vishi
>
> "Philippe BAUCOUR" wrote in message
> news:3e9662fe@newsgroups....
> > I'm not talking about SEH but regular exceptions.
> >
> > First lookt at the demo code available at :
> > http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/demo.c.html
> >
> > Once you understand what we expect from TRY, THROW and other, you could
> look
> > at both files :
> >
>
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
> > l
> > and
> >
>
http://perso.wanadoo.fr/philippe.baucour/src/progc/exception/exception.h.htm
> > l
> >
> > Finally if you want to use this mecanism in your own code, look at the
> > Download page in the "Progammation C" section. At the bottom you should
> find
> > the zip file you're looking for.
> >
> > Even if it looks cool, never forget to use the macros errChk and nullChk
> > defined in
> >
> > Enjoy !
> > --
> > Regards, Philippe
> > Feel free to visit : http://perso.wanadoo.fr/philippe.baucour (aka The
> Rebel
> > CVI Site)
> >
> >
> >
> >
> >
>
>
0 Kudos
Message 3 of 5
(3,991 Views)
Very good !
Je viens de le tester, çà parait trés simple...quand c'est déjà fait !
A quand un vrai SEH ?
0 Kudos
Message 4 of 5
(3,991 Views)

For what it's worth, there is an English sample project in the CVI2012 samples here:

 

{default install path}\National Instruments\CVI2012\samples\udp\

0 Kudos
Message 5 of 5
(3,390 Views)