VIEWPixx

class viewpixx.VIEWPixx[source]

Bases: DpxDevice, DualLinkOut, ScanningBackLight, VideoFeatures, ThreeDFeatures

Class Definition for the VIEWPixx Device.

The bases defined bellow are the core subsystems attached to a VIEWPixx devices. A VIEWPixx device also has very specific subsystems which are used through handles. See the example bellow for more details.

Note

If you have a Lite version of the device, some of these handles will not be available. The usage of the handles is as follows:

>>> from pypixxlib.viewpixx import VIEWPixx
>>> my_device = VIEWPixx()
>>> my_device.adc.function() # adc is the subsystem in this example.
>>> my_device.BaseFunction() # A base function from one of the class' bases.
name

Name of the device.

adc

Handle for the control of Analog In signal. See Analog In.

dac

Handle for the control of Analog Out signal. See Analog Out.

audio

Handle for the audio controls. See Audio Out.

micro

Handle for the microphone controls. See Audio In.

din

Handle for the control of Digital In signal. See Digital Inputs.

dout

Handle for the control of Digital Out signal. See Digital Out.

subsytems

A list of the available subsystems related to your physical device.

isPixelPolarityInversionEnabled()[source]

Verifies that 3D pixel polarity inversion is enabled.

Returns:

True if the pixel polarity inversion is enabled, False otherwise.

Return type:

Bool

setPixelPolarityInversion(enable)[source]

Sets the 3D pixel polarity inversion.

Liquid crystal displays can exhibit an artifact when presenting 2 static images on alternating video frames, such as with frame-sequential 3D. The origin of this artifact is related to LCD pixel polarity inversion. The optical transmission of a liquid crystal cell varies with the magnitude of the voltage applied to the cell. Liquid crystal cells are designed to be driven by an AC voltage with little or no DC component. As such, the cell drivers alternate the polarity of the cell’s driving voltage on alternate video frames. The cell will see no net DC driving voltage, as long as the pixel is programmed to the same intensity on even and odd video frames. Small differences in a pixel’s even and odd frame luminance tend to leave the cell unaffected, and large differences in even and odd frame luminance for short periods of time (10-20 frames?) also do not seem to affect the cell; however, large differences in luminance for a longer period of time will cause a DC buildup in the pixel’s liquid crystal cell. This can result in the pixel not showing the programmed luminance correctly, and can also cause the pixel to “stick” for several seconds after the image has been removed, causing an after-image on the display. VPixx Technologies has developed a strategy for keeping the pixel cells DC balanced. Instead of alternating the cell driving voltage on every video frame, we can alternate the voltage only on every second frame. This feature is enabled by calling the routine DPxEnableVidLcd3D60Hz(). Call this routine before presenting static or slowly-moving 3D images, or when presenting 60Hz flickering stimuli. Be sure to call DPxDisableVidLcd3D60Hz() afterwards to return to normal pixel driving. Note that this feature is only supported on the VIEWPixx/3D when running with a refresh rate of 120Hz.

Parameters:

enable (Bool) – True to enable the pixel polarity inversion, False to disable it.