Impact Acquire SDK Python

Category that contains the Logic Block control features. More...

Inheritance diagram for LogicBlockControl:
[legend]

Public Member Functions

 __init__ (self, *args)
 Constructs a new mvIMPACT.acquire.LogicBlockControl object.
 

Properties

 logicBlockFunction = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockFunction_get, doc=)
 An enumerated integer property.
 
 logicBlockInputInverter = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputInverter_get, doc=)
 A boolean property.
 
 logicBlockInputNumber = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputNumber_get, doc=)
 An integer property.
 
 logicBlockInputSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputSelector_get, doc=)
 An integer property.
 
 logicBlockInputSource = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputSource_get, doc=)
 An enumerated integer property.
 
 logicBlockLUTIndex = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTIndex_get, doc=)
 An integer property.
 
 logicBlockLUTSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTSelector_get, doc=)
 An enumerated integer property.
 
 logicBlockLUTValue = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTValue_get, doc=)
 A boolean property.
 
 logicBlockLUTValueAll = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTValueAll_get, doc=)
 An integer property.
 
 logicBlockSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockSelector_get, doc=)
 An enumerated integer property.
 
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Category that contains the Logic Block control features.

A category that contains the Logic Block control features.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Constructs a new mvIMPACT.acquire.LogicBlockControl object.

Parameters
pDev[in] A pointer to a mvIMPACT.acquire.Device object obtained from a mvIMPACT.acquire.DeviceManager object.
settingName[in] The name of the driver internal setting to access with this instance. A list of valid setting names can be obtained by a call to mvIMPACT.acquire.FunctionInterface.getAvailableSettings, new settings can be created with the function mvIMPACT.acquire.FunctionInterface.createSetting

Property Documentation

◆ logicBlockFunction

logicBlockFunction = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockFunction_get, doc=)
static

An enumerated integer property.

Selects the combinational logic Function of the Logic Block to configure.

Selects the combinational logic Function of the Logic Block to configure.

The following string values might be valid for this feature:

  • AND (Display string: 'AND'): Selects a Logic Block that does the logical AND of all the inputs.
  • OR (Display string: 'OR'): Selects a Logic Block that does the logical OR of all the inputs.
  • LUT (Display string: 'LUT'): Selects a Logic Block that does a Look Up Table Transformation on all the inputs.
  • LatchedLUT (Display string: 'Latched LUT'): Selects a Logic Block with 2 LUTs as inputs to a Flip-Flop.
Note
Depending on the device some of these values might not be supported and especially when working with third party devices there might be custom values which are not listed here. To get a complete and reliable list of supported values at runtime an application should therefore call mvIMPACT.acquire.PropertyI.getTranslationDictStrings() or one of the other functions dealing with translation dictionaries for enumerated properties.

◆ logicBlockInputInverter

logicBlockInputInverter = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputInverter_get, doc=)
static

A boolean property.

Selects if the selected Logic Block Input source signal is inverted.

Selects if the selected Logic Block Input source signal is inverted. This feature is not available when the LogicBlockInputSource is set to True or False.

◆ logicBlockInputNumber

logicBlockInputNumber = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputNumber_get, doc=)
static

An integer property.

Specifies the number of active signal inputs of the Logic Block.

Specifies the number of active signal inputs of the Logic Block.

◆ logicBlockInputSelector

logicBlockInputSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputSelector_get, doc=)
static

An integer property.

Selects the Logic Block's input to configure.

Selects the Logic Block's input to configure.

◆ logicBlockInputSource

logicBlockInputSource = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockInputSource_get, doc=)
static

An enumerated integer property.

Selects the source signal for the input into the Logic Block.

Selects the source signal for the input into the Logic Block. True or False indicates the input is forced constant.

The following string values might be valid for this feature:

  • AcquisitionActive (Display string: 'Acquisition Active'): Device is acquiring one or many Frames.
  • AcquisitionTrigger (Display string: 'Acquisition Trigger'): Device is currently waiting for a trigger for the capture of one or many Frames.
  • AcquisitionTriggerMissed (Display string: 'Acquisition Trigger Missed'): Device has missed a trigger for the capture of one or many Frames.
  • AcquisitionTriggerWait (Display string: 'Acquisition Trigger Wait'): Device is currently waiting for a trigger for the capture of one or many Frames.
  • Counter0Active (Display string: 'Counter 0 Active'): The chosen counter is in active state (counting).
  • Counter1Active (Display string: 'Counter 1 Active'): The chosen counter is in active state (counting).
  • Counter2Active (Display string: 'Counter 2 Active'): The chosen counter is in active state (counting).
  • Encoder0 (Display string: 'Encoder 0'): The chosen Encoder Output state.
  • Encoder1 (Display string: 'Encoder 1'): The chosen Encoder Output state.
  • Encoder2 (Display string: 'Encoder 2'): The chosen Encoder Output state.
  • ExposureActive (Display string: 'Exposure Active'): Device is doing the exposure of a Frame (or Line).
  • False (Display string: 'False'): Logic Block input is forced to Zero.
  • FrameActive (Display string: 'Frame Active'): Device is currently doing the capture of a Frame.
  • FrameTrigger (Display string: 'Frame Trigger'): Device is currently waiting for a Frame start trigger.
  • FrameTriggerMissed (Display string: 'Frame Trigger Missed'): Device has missed a Frame start trigger.
  • FrameTriggerWait (Display string: 'Frame Trigger Wait'): Device is currently waiting for a Frame start trigger.
  • Line0 (Display string: 'Line 0'): The chosen I/OLine state.
  • Line1 (Display string: 'Line 1'): The chosen I/OLine state.
  • Line2 (Display string: 'Line 2'): The chosen I/OLine state.
  • LineActive (Display string: 'Line Active'): Device is currently doing the capture of a Line.
  • LineTrigger (Display string: 'Line Trigger'): Device is currently waiting for a Line start trigger.
  • LineTriggerMissed (Display string: 'Line Trigger Missed'): Device has missed a Line start trigger.
  • LineTriggerWait (Display string: 'Line Trigger Wait'): Device is currently waiting for a Line start trigger.
  • LogicBlock0 (Display string: 'Logic Block 0'): The choosen Logic Block output state.
  • LogicBlock1 (Display string: 'Logic Block 1'): The choosen Logic Block output state.
  • LogicBlock2 (Display string: 'Logic Block 2'): The choosen Logic Block output state.
  • SoftwareSignal0 (Display string: 'Software Signal 0'): The choosen Software Signal output state.
  • SoftwareSignal1 (Display string: 'Software Signal 1'): The choosen Software Signal output state.
  • SoftwareSignal2 (Display string: 'Software Signal 2'): The choosen Software Signal output state.
  • Stream0TransferActive (Display string: 'Stream 0 Transfer Active'): Transfer on the stream is active.
  • Stream0TransferOverflow (Display string: 'Stream 0 Transfer Overflow'): Transfer on the stream is in overflow.
  • Stream0TransferPaused (Display string: 'Stream 0 Transfer Paused'): Transfer on the stream is paused.
  • Stream0TransferStopped (Display string: 'Stream 0 Transfer Stopped'): Transfer on the stream is stopped.
  • Stream0TransferStopping (Display string: 'Stream 0 Transfer Stopping'): Transfer on the stream is stopping.
  • Stream1TransferActive (Display string: 'Stream 1 Transfer Active'): Transfer on the stream is active.
  • Stream1TransferOverflow (Display string: 'Stream 1 Transfer Overflow'): Transfer on the stream is in overflow.
  • Stream1TransferPaused (Display string: 'Stream 1 Transfer Paused'): Transfer on the stream is paused.
  • Stream1TransferStopped (Display string: 'Stream 1 Transfer Stopped'): Transfer on the stream is stopped.
  • Stream1TransferStopping (Display string: 'Stream 1 Transfer Stopping'): Transfer on the stream is stopping.
  • Timer0Active (Display string: 'Timer 0 Active'): The chosen Timer is in active state.
  • Timer1Active (Display string: 'Timer 1 Active'): The chosen Timer is in active state.
  • Timer2Active (Display string: 'Timer 2 Active'): The chosen Timer is in active state.
  • True (Display string: 'True'): Logic Block input is forced to One.
  • UserOutput0 (Display string: 'User Output 0'): The chosen User Output bit state as defined by its current UserOutputValue.
  • UserOutput1 (Display string: 'User Output 1'): The chosen User Output bit state as defined by its current UserOutputValue.
  • UserOutput2 (Display string: 'User Output 2'): The chosen User Output bit state as defined by its current UserOutputValue.
Note
Depending on the device some of these values might not be supported and especially when working with third party devices there might be custom values which are not listed here. To get a complete and reliable list of supported values at runtime an application should therefore call mvIMPACT.acquire.PropertyI.getTranslationDictStrings() or one of the other functions dealing with translation dictionaries for enumerated properties.

◆ logicBlockLUTIndex

logicBlockLUTIndex = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTIndex_get, doc=)
static

An integer property.

Controls the index of the truth table to access in the selected LUT.

Controls the index of the truth table to access in the selected LUT.

◆ logicBlockLUTSelector

logicBlockLUTSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTSelector_get, doc=)
static

An enumerated integer property.

Selects which of the two LUTs to configure when the selected Logic Block is a Latched dual LUTs (i.e: LogicalBlockFunction = LatchedLUT).

Selects which of the two LUTs to configure when the selected Logic Block is a Latched dual LUTs (i.e: LogicalBlockFunction = LatchedLUT).

The following string values might be valid for this feature:

  • Value (Display string: 'Value'): Selects the LUT controlling the data input of the flip-flop.
  • Enable (Display string: 'Enable'): Selects the LUT controlling the enable input of the flip-flop.
Note
Depending on the device some of these values might not be supported and especially when working with third party devices there might be custom values which are not listed here. To get a complete and reliable list of supported values at runtime an application should therefore call mvIMPACT.acquire.PropertyI.getTranslationDictStrings() or one of the other functions dealing with translation dictionaries for enumerated properties.

◆ logicBlockLUTValue

logicBlockLUTValue = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTValue_get, doc=)
static

A boolean property.

Read or Write the Value associated with the entry at index LogicBlockLUTIndex of the selected LUT.

Read or Write the Value associated with the entry at index LogicBlockLUTIndex of the selected LUT.

◆ logicBlockLUTValueAll

logicBlockLUTValueAll = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockLUTValueAll_get, doc=)
static

An integer property.

Sets the values of all the output bits of the selected LUT in one access ignoring LogicBlockLUTIndex.

Sets the values of all the output bits of the selected LUT in one access ignoring LogicBlockLUTIndex. LogicBlockLUTValueAll value can be any binary number and each bit correspond to the output value for the corresponding index (i.e. Bit 0 = LUT Index 0 output binary value).

◆ logicBlockSelector

logicBlockSelector = property(lib_mvIMPACT_acquire.LogicBlockControl_logicBlockSelector_get, doc=)
static

An enumerated integer property.

Specifies the Logic Block to configure.

Specifies the Logic Block to configure.

The following string values might be valid for this feature:

  • LogicBlock0 (Display string: 'Logic Block 0'): Logic Block 0 is selected.
  • LogicBlock1 (Display string: 'Logic Block 1'): Logic Block 1 is selected.
  • LogicBlock2 (Display string: 'Logic Block 2'): Logic Block 2 is selected.
Note
Depending on the device some of these values might not be supported and especially when working with third party devices there might be custom values which are not listed here. To get a complete and reliable list of supported values at runtime an application should therefore call mvIMPACT.acquire.PropertyI.getTranslationDictStrings() or one of the other functions dealing with translation dictionaries for enumerated properties.

◆ thisown

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