Skip to main content
Skip table of contents

Scanning BackLight Features

class scanningBackLight.ScanningBackLight

Bases: object

Implements the Scanning Back Light methods for a VIEWPixx.

getBacklightIntensity()

Returns the level of the VIEWPixx back light intensity.

Returns:

An integer between 0 and 255.

Example:
PYTHON
>>> print my_device.getBacklightIntensity()
255
isScanningBackLightEnabled()

Gets the scanning back light state.

Returns:

True if scanning back light is enabled, False otherwise.

Return type:

bool

setBacklightIntensity(intensity)

Sets the display current back light intensity.

Parameters:

intensity (int) – Set to 0 for the lowest intensity level, 255 for the highest, or any value in between.

Example:
PYTHON
>>> my_device.setBacklightIntensity(42)
>>> my_device.updateRegisterCache()
>>> print my_device.getBacklightIntensity()
42
setScanningBackLight(enable)

Sets the scanning back light mode.

This method allows the user to turn the scanning back light on or off. When the scanning back light is enabled, the screen will look dimmer. When scanning back light is disabled, the screen will look brighter.

Parameters:

enable (bool) – Scanning back light mode.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.