Impact Acquire SDK Python
OutputSignalGeneratorBlueDevice Class Reference

A class to create complex digital output signals(Device specific interface layout only). More...

Inheritance diagram for OutputSignalGeneratorBlueDevice:
[legend]

Public Member Functions

 __init__ (self, *args)
 Constructs a new mvIMPACT.acquire.OutputSignalGeneratorBlueDevice object.
 
 canCreateExposeActiveSignal (self, pOutput)
 Checks whether the specified output can be used to create an inverted expose active signal.
 
 canInvertSignal (self, pOutput)
 Checks whether the specified output can be used to create an inverted version of a certain signal.
 
 getOutputMode (self, pOutput)
 Returns the current mode a digital output is operated in.
 
 isOutputModeActive (self, pOutput, mode)
 Checks whether the specified output is currently operated in a certain mode.
 
 isSignalInverted (self, pOutput)
 Checks whether the specified output will currently invert a certain internal signal.
 
 setOutputMode (self, pOutput, mode, boInverted=False)
 This function will configure the digital output to operate in a certain mode.
 
 undefineSignal (self, pOutput)
 Removes the signal definition from the specified output pin.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

A class to create complex digital output signals(Device specific interface layout only).

Instances of this class can be used to create more complex digital output related signals like a single pulse or sequence of pulses on a certain pin as a reaction on a signal on one of the digital inputs of a device.

The availability of the features provided by this class heavily depends on the used capture device. Therefore it's crucial to check if a desired feature is available at all. This class either provides the functions needed for these checks or its functions will return appropriate error codes.

Note
This class will only be available if mvIMPACT.acquire.Device.interfaceLayout is set to mvIMPACT.acquire.dilDeviceSpecific before the device is opened.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Constructs a new mvIMPACT.acquire.OutputSignalGeneratorBlueDevice object.

OVERLOAD 1:

Parameters
pDev[in] A pointer to a mvIMPACT.acquire.Device object obtained from a mvIMPACT.acquire.DeviceManager object.

OVERLOAD 2: Constructs a new mvIMPACT.acquire.OutputSignalGeneratorBlueDevice from and existing one.

Parameters
src[in] A constant reference to the mvIMPACT.acquire.OutputSignalGeneratorBlueDevice object, this object shall be created from

Member Function Documentation

◆ canCreateExposeActiveSignal()

canCreateExposeActiveSignal ( self,
pOutput )

Checks whether the specified output can be used to create an inverted expose active signal.

Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.

◆ canInvertSignal()

canInvertSignal ( self,
pOutput )

Checks whether the specified output can be used to create an inverted version of a certain signal.

Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.

◆ getOutputMode()

getOutputMode ( self,
pOutput )

Returns the current mode a digital output is operated in.

If the mode is not selectable for the current output an exception will be raised.

Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.

◆ isOutputModeActive()

isOutputModeActive ( self,
pOutput,
mode )

Checks whether the specified output is currently operated in a certain mode.

Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.
mode[in] The mode the specified output shall be checked for.

◆ isSignalInverted()

isSignalInverted ( self,
pOutput )

Checks whether the specified output will currently invert a certain internal signal.

Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.

◆ setOutputMode()

setOutputMode ( self,
pOutput,
mode,
boInverted = False )

This function will configure the digital output to operate in a certain mode.

After calling this function the digital output will be operated in the mode specified by mode.

Valid values for constant are defined by the enum mvIMPACT.acquire.TDeviceDigitalOutputMode.

Returns
Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.
mode[in] The mode the specified output shall be operated in. If the mode passed to the function is not available for the output or the device an exception will be raised.
boInverted[in] Set this parameter to true, to invert the exposure signal

◆ undefineSignal()

undefineSignal ( self,
pOutput )

Removes the signal definition from the specified output pin.

Whenever a signal has been defined for a a certain digital output pin, this pin can no longer controlled using the corresponding functions in the class mvIMPACT.acquire.DigitalOutput. This function removes the signal definition and hands back manual control of that digital output to the user.

Returns
Parameters
pOutput[in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device.

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static