Impact Acquire SDK Python
|
A class to create complex digital output signals(Device specific interface layout only). More...
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") | |
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.
__init__ | ( | self, | |
* | args ) |
Constructs a new mvIMPACT.acquire.OutputSignalGeneratorBlueDevice object.
OVERLOAD 1:
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.
src | [in] A constant reference to the mvIMPACT.acquire.OutputSignalGeneratorBlueDevice object, this object shall be created from |
canCreateExposeActiveSignal | ( | self, | |
pOutput ) |
Checks whether the specified output can be used to create an inverted expose active signal.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device. |
canInvertSignal | ( | self, | |
pOutput ) |
Checks whether the specified output can be used to create an inverted version of a certain signal.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device. |
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.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device. |
isOutputModeActive | ( | self, | |
pOutput, | |||
mode ) |
Checks whether the specified output is currently operated in a certain mode.
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 | ( | self, | |
pOutput ) |
Checks whether the specified output will currently invert a certain internal signal.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device. |
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.
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 | ( | 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.
pOutput | [in] A pointer to a mvIMPACT.acquire.DigitalOutput object obtained from an instance of the class mvIMPACT.acquire.IOSubSystemCommon for this device. |
|
static |