Admin Production ni-theme
Current Publication

DisableBreakOnLibraryErrors

LabWindows/CVI

DisableBreakOnLibraryErrors

void DisableBreakOnLibraryErrors (void);

Purpose

Note Note  This function has been superseded by SetBreakOnLibraryErrors.

Directs LabWindows/CVI not to display a run-time error dialog box when a National Instruments library function reports an error.

In general, you should use the Run»Break on»Library Errors option in the Workspace window to disable this option. However, you can use this function in conjunction with EnableBreakOnLibraryErrors to temporarily suppress the Run»Break on»Library Errors feature around a segment of code. DisableBreakOnLibraryErrors does not affect the state of the Run»Break on»Library Errors option in the Workspace window.

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 DisableBreakOnLibraryErrors function.