_heartBeat Method (Python)

The _heartBeat method is a utility function for use with thread-aware debuggers that pause all threads at a breakpoint. If you are using such a debugger, then you will need to disable the SpssClient heartbeat function (which is enabled by default) during debugging; otherwise the scripting session may terminate at a breakpoint due to a failed heartbeat.

Syntax

To set the heartbeat status, use:

SpssClient._heartBeat(status)

To get the heartbeat status, use:

SpssClient._heartBeat()

Parameters

status. True to enable the heartbeat function, False to disable the heartbeat function.

Returns

True. The heartbeat function is enabled.

False. The heartbeat function is disabled.