SetBOLE

int SetBOLE (int newState);

Purpose

Combines the functionality of the three Utility Library functions that control whether LabWindows/CVI breaks when a library function returns an error code. This function may be more convenient to use if you need to change the break–on–library–errors state often.

SetBOLE combines the following Utility Library functions:

DisableBreakOnLibraryErrors; EnableBreakOnLibraryErrors; GetBreakOnLibraryErrors;

Parameters

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

Return Value

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

Values: 1 – enabled
0 – disabled