LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Want to Halt program execution??? Need some help.

Fellow programmers... whazzzzzzzup? Hey, I'm kinda new to programming in
CVI (having formerly programmed in most C++, Visual C++) and I'm trying to
figure out how to halt the program execution. When I receive a certain errorcode,
I want to display an error message and when the user hits [OK] I want the
program to immediately exit - don't run any more code. Can someone please
point me in the write direction? Thanks in advance!

[Please e-mail me at my address also, thnx!]

Klint Holland
kholland@iwtwireless.com
0 Kudos
Message 1 of 2
(2,929 Views)
Hi,

In the library menu you will find some function that transfort the error
code generated
a function into a meaningfull text (hopefully).
Go to Library, than any of the sub element (ex User interface), you will
find at the bottom
of the list Get string error.
You can then just create a pop up displaying this text.
And kill your application after that.

Good luck
Milan



"Klint Holland" wrote:
>>Fellow programmers... whazzzzzzzup? Hey, I'm kinda new to programming
in>CVI (having formerly programmed in most C++, Visual C++) and I'm trying
to>figure out how to halt the program execution. When I receive a certain
errorcode,>I want to display an error message and when the user hits [OK]
I want the>program to immediately exit - don't run any more
code. Can someone
please>point me in the write direction? Thanks in advance!>>[Please e-mail
me at my address also, thnx!]>>Klint Holland>kholland@iwtwireless.com
0 Kudos
Message 2 of 2
(2,929 Views)