Admin Production ni-theme
Current Publication

GetBreakOnProtectionErrors

LabWindows/CVI

GetBreakOnProtectionErrors

int GetBreakOnProtectionErrors (void);

Purpose

Returns the state of the break on protection errors feature.

GetBreakOnProtectionErrors returns a 1 if you enable the option. If you disable debugging GetBreakOnProtectionErrors always returns 0.

For more information, refer to SetBreakOnProtectionErrors.

Parameters

None.

Return Value

Name Type Description
state int Current state of the break on protection errors option.

Code Description
1 Break on protection errors option is enabled.
0 Break on protection errors option is disabled or debugging is disabled.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later