Skip to content

VisionCompensationGroup

Bases: CommandGroupBase

This command group contains functions for working with x,y and z compensation.

You are not meant to instantiate this class directly. Access it via the compensation attribute of the vision attribute of the SentioProber class.

enable(comp, enable)

Enable or disable compensation for a given subsystem.

Wraps Sentios "vis:compensation:enable" command.

Parameters:

Name Type Description Default
comp CompensationMode

The compensation to enable or disable.

required
enable bool

True to enable, False to disable.

required

Returns:

Type Description
str

XY-Mode: State of the XY compensation.

str

Z-Mode: State of the Z compensation.

set_compensation(comp, enable)

Enable or disable compensation.

Deprecated since Sentio 25.2
This function is obsolete and will be removed in a future release. Use vision.compensation.enable instead

start_execute(compensation_type, mode=None, moveToOffset=None)

Start the execution of a compensation.

Wraps Sentios "vis:compensation:start_execute" remote command.

This function was rewritten to fix #49 (https://github.com/SentioProberDev/SentioProberControl/issues/49). The two last parameters are optional, moveToOffset parameter was added.

Parameters:

Name Type Description Default
compensation_type CompensationType

The type of compensation to execute.

required
mode CompensationMode | None

The mode of compensation to execute.

None
moveToOffset bool | None

Move to the offset position. Only applicable with type=CompensationType.DieAlign and mode!=CompensationMode.ProbeCard.

None

Returns:

Type Description
Response

A Response object.

handler: python options: members: VisionCompensationGroup