EnableBreakOnLibraryErrors
void EnableBreakOnLibraryErrors (void);
Purpose
![]() |
Note This function has been superseded by SetBreakOnLibraryErrors. |
Directs LabWindows/CVI to display a run-time error dialog box when a National Instruments library function reports an error.
If you disable debugging, EnableBreakOnLibraryErrors has no effect.
In general, use the Run»Break on»Library Errors option in the Workspace window to enable this feature. However, you can use EnableBreakOnLibraryErrors in conjunction with DisableBreakOnLibraryErrors to temporarily suppress the Run»Break on»Library Errors feature around a segment of code. EnableBreakOnLibraryErrors does not affect the state of the Run»Break on»Library Errors option.
Parameters
None.
Return Value
None.
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later
Example
Refer to networkvariable\Buffering\NVBuffering.cws for an example of using the EnableBreakOnLibraryErrors function.