Impact Acquire SDK Python

Category that contains the File Access control features. More...

Inheritance diagram for FileAccessControl:
[legend]

Public Member Functions

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

Properties

 fileAccessBuffer = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessBuffer_get, doc=)
 A string property.
 
 fileAccessLength = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessLength_get, doc=)
 An integer property.
 
 fileAccessOffset = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessOffset_get, doc=)
 An integer property.
 
 fileOpenMode = property(lib_mvIMPACT_acquire.FileAccessControl_fileOpenMode_get, doc=)
 An enumerated integer property.
 
 fileOperationExecute = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationExecute_get, doc=)
 A method object.
 
 fileOperationResult = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationResult_get, doc=)
 An integer property.
 
 fileOperationSelector = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationSelector_get, doc=)
 An enumerated integer property.
 
 fileOperationStatus = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationStatus_get, doc=)
 An enumerated integer property.
 
 fileSelector = property(lib_mvIMPACT_acquire.FileAccessControl_fileSelector_get, doc=)
 An enumerated integer property.
 
 fileSize = property(lib_mvIMPACT_acquire.FileAccessControl_fileSize_get, doc=)
 An 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 File Access control features.

A category that contains the File Access control features.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Constructs a new mvIMPACT.acquire.FileAccessControl 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

◆ fileAccessBuffer

fileAccessBuffer = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessBuffer_get, doc=)
static

A string property.

Defines the intermediate access buffer that allows the exchange of data between the device file storage and the application.

Defines the intermediate access buffer that allows the exchange of data between the device file storage and the application.

◆ fileAccessLength

fileAccessLength = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessLength_get, doc=)
static

An integer property.

Controls the Length of the mapping between the device file storage and the FileAccessBuffer.

Controls the Length of the mapping between the device file storage and the FileAccessBuffer.

◆ fileAccessOffset

fileAccessOffset = property(lib_mvIMPACT_acquire.FileAccessControl_fileAccessOffset_get, doc=)
static

An integer property.

Controls the Offset of the mapping between the device file storage and the FileAccessBuffer.

Controls the Offset of the mapping between the device file storage and the FileAccessBuffer.

◆ fileOpenMode

fileOpenMode = property(lib_mvIMPACT_acquire.FileAccessControl_fileOpenMode_get, doc=)
static

An enumerated integer property.

Selects the access mode in which a file is opened in the device.

Selects the access mode in which a file is opened in the device.

The following string values might be valid for this feature:

  • Read (Display string: 'Read'): This mode selects read-only open mode.
  • Write (Display string: 'Write'): This mode selects write-only open mode.
  • ReadWrite (Display string: 'Read Write'): This mode selects read and write open mode.
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.

◆ fileOperationExecute

fileOperationExecute = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationExecute_get, doc=)
static

A method object.

Executes the operation selected by FileOperationSelector on the selected file.

Executes the operation selected by FileOperationSelector on the selected file.

◆ fileOperationResult

fileOperationResult = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationResult_get, doc=)
static

An integer property.

Represents the file operation result.

Represents the file operation result. For Read or Write operations, the number of successfully read/written bytes is returned.

◆ fileOperationSelector

fileOperationSelector = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationSelector_get, doc=)
static

An enumerated integer property.

Selects the target operation for the selected file in the device.

Selects the target operation for the selected file in the device. This Operation is executed when the FileOperationExecute feature is called.

The following string values might be valid for this feature:

  • Open (Display string: 'Open'): Opens the file selected by FileSelector in the device. The access mode in which the file is opened is selected by FileOpenMode.
  • Close (Display string: 'Close'): Closes the file selected by FileSelector in the device.
  • Read (Display string: 'Read'): Reads FileAccessLength bytes from the device storage at the file relative offset FileAccessOffset into FileAccessBuffer.
  • Write (Display string: 'Write'): Writes FileAccessLength bytes taken from the FileAccessBuffer into the device storage at the file relative offset FileAccessOffset.
  • Delete (Display string: 'Delete'): Deletes the file selected by FileSelector in the device. Note that deleting a device file should not remove the associated FileSelector entry to allow future operation on this file.
  • MvFlashWrite (Display string: 'Mv Flash Write')
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.

◆ fileOperationStatus

fileOperationStatus = property(lib_mvIMPACT_acquire.FileAccessControl_fileOperationStatus_get, doc=)
static

An enumerated integer property.

Represents the file operation execution status.

Represents the file operation execution status.

The following string values might be valid for this feature:

  • Success (Display string: 'Success'): File Operation was successful.
  • Failure (Display string: 'Failure'): File Operation failed.
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.

◆ fileSelector

fileSelector = property(lib_mvIMPACT_acquire.FileAccessControl_fileSelector_get, doc=)
static

An enumerated integer property.

Selects the target file in the device.

Selects the target file in the device.

The following string values might be valid for this feature:

  • DeviceFirmware (Display string: 'Device Firmware')
  • LUTBlue (Display string: 'LUT Blue'): The Blue LUT of the camera.
  • LUTGreen (Display string: 'LUT Green'): The Green LUT of the camera.
  • LUTLuminance (Display string: 'LUT Luminance'): The Luminance LUT of the camera.
  • LUTRed (Display string: 'LUT Red'): The Red LUT of the camera.
  • UserFile (Display string: 'User File')
  • UserSet1 (Display string: 'User Set 1'): The first user set of the device.
  • UserSet2 (Display string: 'User Set 2'): The second user set of the device.
  • UserSet3 (Display string: 'User Set 3'): The third user set of the device.
  • UserSetDefault (Display string: 'User Set Default'): The default user set of the device.
  • mvFFCImage (Display string: 'mv FFC Image')
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.

◆ fileSize

fileSize = property(lib_mvIMPACT_acquire.FileAccessControl_fileSize_get, doc=)
static

An integer property.

Represents the size of the selected file in bytes.

Represents the size of the selected file in bytes.

◆ thisown

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