Impact Acquire SDK Python
|
Contains features to control the serial interface. More...
Public Member Functions | |
__init__ (self, *args) | |
Constructs a new mvIMPACT.acquire.mvSerialInterfaceControl object. | |
Properties | |
mvLiquidLensErrorCount = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensErrorCount_get, doc=) | |
An integer property. | |
mvLiquidLensFirmwareVersion = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensFirmwareVersion_get, doc=) | |
An integer property. | |
mvLiquidLensPowerMode = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensPowerMode_get, doc=) | |
An enumerated integer property. | |
mvLiquidLensReceiveStatus = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensReceiveStatus_get, doc=) | |
An integer property. | |
mvLiquidLensSaveFocusValue = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensSaveFocusValue_get, doc=) | |
A method object. | |
mvLiquidLensSetFocusValue = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensSetFocusValue_get, doc=) | |
An integer property. | |
mvLiquidLensStatus = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvLiquidLensStatus_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceASCIIBuffer = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceASCIIBuffer_get, doc=) | |
A string property. | |
mvSerialInterfaceBaudRate = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceBaudRate_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceBinaryBuffer = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceBinaryBuffer_get, doc=) | |
A string property. | |
mvSerialInterfaceBytesAvailableForRead = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceBytesAvailableForRead_get, doc=) | |
An integer property. | |
mvSerialInterfaceBytesToRead = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceBytesToRead_get, doc=) | |
An integer property. | |
mvSerialInterfaceBytesToWrite = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceBytesToWrite_get, doc=) | |
An integer property. | |
mvSerialInterfaceDataBits = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceDataBits_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceEnable = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceEnable_get, doc=) | |
A boolean property. | |
mvSerialInterfaceMode = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceMode_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceParity = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceParity_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceRead = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceRead_get, doc=) | |
A method object. | |
mvSerialInterfaceReceiveStatus = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceReceiveStatus_get, doc=) | |
An integer property. | |
mvSerialInterfaceStopBits = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceStopBits_get, doc=) | |
An enumerated integer property. | |
mvSerialInterfaceWrite = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvSerialInterfaceWrite_get, doc=) | |
A method object. | |
mvStepperAcceleration = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperAcceleration_get, doc=) | |
A floating point property. | |
mvStepperAutoSavePositionEnable = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperAutoSavePositionEnable_get, doc=) | |
A boolean property. | |
mvStepperCurrentPosition = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperCurrentPosition_get, doc=) | |
An integer property. | |
mvStepperDesiredPosition = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperDesiredPosition_get, doc=) | |
An integer property. | |
mvStepperErrorCount = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperErrorCount_get, doc=) | |
An integer property. | |
mvStepperFirmwareVersion = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperFirmwareVersion_get, doc=) | |
An integer property. | |
mvStepperMotorSelector = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperMotorSelector_get, doc=) | |
An enumerated integer property. | |
mvStepperMoveToHomeAll = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperMoveToHomeAll_get, doc=) | |
A method object. | |
mvStepperPositionSetLoad = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperPositionSetLoad_get, doc=) | |
A method object. | |
mvStepperPositionSetSave = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperPositionSetSave_get, doc=) | |
A method object. | |
mvStepperPositionSetSelector = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperPositionSetSelector_get, doc=) | |
An integer property. | |
mvStepperReceiveStatus = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperReceiveStatus_get, doc=) | |
An integer property. | |
mvStepperSpeed = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperSpeed_get, doc=) | |
A floating point property. | |
mvStepperSpeedManual = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperSpeedManual_get, doc=) | |
A floating point property. | |
mvStepperStatus = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperStatus_get, doc=) | |
An enumerated integer property. | |
mvStepperStopAll = property(lib_mvIMPACT_acquire.mvSerialInterfaceControl_mvStepperStopAll_get, doc=) | |
A method object. | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Contains features to control the serial interface.
Contains features to control the serial interface.
__init__ | ( | self, | |
* | args ) |
Constructs a new mvIMPACT.acquire.mvSerialInterfaceControl object.
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 |
Reimplemented from ComponentCollection.
|
static |
An integer property.
This register increments whenever an error occurred while communicating with the Liquid Lens.
This register increments whenever an error occurred while communicating with the Liquid Lens.
|
static |
An integer property.
Returns the firmware version of the Liquid Lens.
Returns the firmware version of the Liquid Lens.
|
static |
An enumerated integer property.
Selects the device power mode.
Selects the device power mode.
The following string values might be valid for this feature:
|
static |
An integer property.
Result of the serial receive error detection mechanism.
Result of the serial receive error detection mechanism. This is a bit field. The bits have the following meaning: 0x1: CRC Error, 0x2: NAK received, 0x4: No response, 0x8 Incorrect answer received.
|
static |
A method object.
Saves the current Focus position into LiquidLens EEPROM.
Saves the current Focus position into LiquidLens EEPROM.
|
static |
An integer property.
Focus position value for Liquid Lens.
Focus position value for Liquid Lens.
|
static |
An enumerated integer property.
Returns the current status of the Liquid Lens.
Returns the current status of the Liquid Lens.
The following string values might be valid for this feature:
|
static |
A string property.
Buffer for exchanging ASCII data over the serial interface. This buffer uses the same memory as 'mvSerialInterfaceBinaryBuffer'.
Buffer for exchanging ASCII data over the serial interface. This buffer uses the same memory as 'mvSerialInterfaceBinaryBuffer'.
|
static |
An enumerated integer property.
Serial interface clock frequency.
Serial interface clock frequency.
The following string values might be valid for this feature:
|
static |
A string property.
Buffer for exchanging binary data over the serial interface. This buffer uses the same memory as 'mvSerialInterfaceASCIIBuffer'.
Buffer for exchanging binary data over the serial interface. This buffer uses the same memory as 'mvSerialInterfaceASCIIBuffer'.
|
static |
An integer property.
Number of serial data bytes available for read.
Number of serial data bytes available for read.
|
static |
An integer property.
Number of serial bytes to read.
Number of serial bytes to read.
|
static |
An integer property.
Length of data to write.
Length of data to write.
|
static |
An enumerated integer property.
Number of data bits.
Number of data bits.
The following string values might be valid for this feature:
|
static |
A boolean property.
Controls whether the serial interface is enabled or not.
Controls whether the serial interface is enabled or not.
|
static |
An enumerated integer property.
States the interface mode of the serial interface
States the interface mode of the serial interface
The following string values might be valid for this feature:
|
static |
An enumerated integer property.
Serial interface parity.
Serial interface parity.
The following string values might be valid for this feature:
|
static |
A method object.
Command to read data from serial interface.
Command to read data from serial interface.
|
static |
An integer property.
Result of the serial receive error detection mechanism.
Result of the serial receive error detection mechanism.
|
static |
An enumerated integer property.
Number of stop bits.
Number of stop bits.
The following string values might be valid for this feature:
|
static |
A method object.
Command to write data to serial interface
Command to write data to serial interface
|
static |
A floating point property.
Current acceleration of the selected stepper motor.
Current acceleration of the selected stepper motor.
|
static |
A boolean property.
Controls if the auto-save of motor positions is active.
Controls if the auto-save of motor positions is active.
|
static |
An integer property.
Read current position from stepper.
Read current position from stepper.
|
static |
An integer property.
The desired position of the selected stepper motor.
The desired position of the selected stepper motor. When the motor has not yet reached this position(is moving) this value may differ from 'mvStepperCurrentPosition'.
|
static |
An integer property.
This register increments whenever an error occurred while communicating with the Opto Engineering Stepper.
This register increments whenever an error occurred while communicating with the Opto Engineering Stepper.
|
static |
An integer property.
Returns the firmware version of the Opto Engineering Stepper.
Returns the firmware version of the Opto Engineering Stepper.
|
static |
An enumerated integer property.
Selects the stepper motor to control.
Selects the stepper motor to control(Zoom, Iris or Focus).
The following string values might be valid for this feature:
|
static |
A method object.
Moves all stepper motors to their home position.
Moves all stepper motors to their home position.
|
static |
A method object.
Loads the stepper 'mvStepperDesiredPosition' specified by 'mvStepperPositionSetSelector' and makes it active for each motor.
Loads the stepper 'mvStepperDesiredPosition' specified by 'mvStepperPositionSetSelector' and makes it active for each motor.
|
static |
A method object.
Saves the stepper 'mvStepperDesiredPosition' specified by 'mvStepperPositionSetSelector' into the steppers non-volatile memory for each motor.
Saves the stepper 'mvStepperDesiredPosition' specified by 'mvStepperPositionSetSelector' into the steppers non-volatile memory for each motor.
|
static |
An integer property.
Selects the stepper parameter set to load or save.
Selects the stepper parameter set to load or save.
|
static |
An integer property.
Result of the serial receive error detection mechanism.
Result of the serial receive error detection mechanism. This is a bit field. The bits have the following meaning: 0x1: Reserved, 0x2: Mismatch in answer detected, 0x4: No response, 0x8 Incorrect answer received.
|
static |
A floating point property.
Current speed of the selected stepper motor.
Current speed of the selected stepper motor.
|
static |
A floating point property.
Manual speed of the selected stepper motor.
Manual speed of the selected stepper motor.
|
static |
An enumerated integer property.
Returns the current status of the stepper.
Returns the current status of the stepper.
The following string values might be valid for this feature:
|
static |
A method object.
Stops all stepper motors.
Stops all stepper motors.
|
static |