Impact Acquire SDK Python

Category for Test Control features. More...

Inheritance diagram for TestControl:
[legend]

Public Member Functions

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

Properties

 testEventGenerate = property(lib_mvIMPACT_acquire.TestControl_testEventGenerate_get, doc=)
 A method object.
 
 testPayloadFormatMode = property(lib_mvIMPACT_acquire.TestControl_testPayloadFormatMode_get, doc=)
 An enumerated integer property.
 
 testPendingAck = property(lib_mvIMPACT_acquire.TestControl_testPendingAck_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 for Test Control features.

A category for Test Control features.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

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

◆ testEventGenerate

testEventGenerate = property(lib_mvIMPACT_acquire.TestControl_testEventGenerate_get, doc=)
static

A method object.

Generates a Test Event.

Generates a Test Event.

◆ testPayloadFormatMode

testPayloadFormatMode = property(lib_mvIMPACT_acquire.TestControl_testPayloadFormatMode_get, doc=)
static

An enumerated integer property.

This feature allows setting a device in test mode and to output a specific payload format for validation of data streaming.

This feature allows setting a device in test mode and to output a specific payload format for validation of data streaming. This feature is intended solely for test purposes. The data can be real acquired data or any test pattern.

The following string values might be valid for this feature:

  • Off (Display string: 'Off'): The test mode is disabled. This feature has no effect and the device is streaming data normally according to its configuration. This option has to be the default after each boot of the device.
  • MultiPart (Display string: 'Multi Part'): The device streams data using multi-part payload format with at least one part in each payload. This option must be present if and only if the device supports the multi-part payload format.
  • GenDC (Display string: 'GenDC'): The device streams data using GenDC payload format with at least one component in each payload. This option must be present if the device supports the GenDC payload format.
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.

◆ testPendingAck

testPendingAck = property(lib_mvIMPACT_acquire.TestControl_testPendingAck_get, doc=)
static

An integer property.

Tests the device's pending acknowledge feature.

Tests the device's pending acknowledge feature. When this feature is written, the device waits a time period corresponding to the value of TestPendingAck before acknowledging the write.

◆ thisown

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