Admin Production ni-theme
Current Publication

SetBOLE

LabWindows/CVI

SetBOLE

int SetBOLE (int newState);

Purpose

Note Note  This function has been superseded by SetBreakOnLibraryErrors.

Determines whether LabWindows/CVI breaks when a library function returns an error code. This function can be convenient if you need to change the break–on–library–errors state often.

Parameters

Input
Name Type Description
newState int Specifies the new break–on–library–errors state.

Specify a nonzero value or select Break On Library Errors in the function panel to display a run-time error dialog box and suspend execution when a National Instruments library function reports an error.

Specify 0 or select Do Not Break On Library Errors in the function panel if you do not want to suspend execution.

Return Value

Name Type Description
previousState int Returns the previous break–on–library–errors state.

Values: 1 – enabled
0 – disabled

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later