GetMaxAlarmBubbles

Get the current maximum number of alarm bubbles set to be generated by EnableAlarmBubbles.

Function

int GetMaxAlarmBubbles()

Return Value

Returns the maximum number of alarm bubbles. 99 by default, but can be set by SetMaxAlarmBubbles.

Remarks

This is a standalone function, not a method of the SYM3 object. Call it once a project has been loaded with CreateSym3, and you’ve received a response from the SetOnProjectInitialised callback.

Example

Halve the current number of alarm bubbles.

SetMaxAlarmBubbles(GetMaxAlarmBubbles() / 2);