Impact Acquire SDK .NET
|
A base class to describe an arbitrary digital camera signal (Device specific interface layout only). More...
Public Member Functions | |
TDMR_ERROR | copyDescription (String newName) |
Creates a new camera description list as a copy of the current one. | |
TDMR_ERROR | exportDescription () |
Stores the current camera description on disk. | |
IEnumerable< T > | getEnumerable< T > () |
Returns an enumerator of a certain type that iterates through the collection. | |
IEnumerator< int > | GetEnumerator () |
Returns an enumerator that iterates through the collection. | |
TDMR_ERROR | importDescription () |
Updates a camera description with the data stored in a previous session or with the original default data. | |
void | restoreDefault () |
Restores the default for every component of this collection. | |
Public Attributes | |
readonly PropertyI | aoiHeight = new PropertyI() |
An integer property defining the number of active lines to capture from the camera. | |
readonly PropertyI | aoiStartX = new PropertyI() |
An integer property defining the X-offset in pixels to the first active pixel to capture. | |
readonly PropertyI | aoiStartY = new PropertyI() |
An integer property defining the Y-offset in lines to the first active line to capture. | |
readonly PropertyI | aoiWidth = new PropertyI() |
An integer property defining the number of active pixels to capture per line. | |
readonly EnumPropertyI< TBayerMosaicParity > | bayerParity = new EnumPropertyI<TBayerMosaicParity>() |
An enumerated integer property defining the start pixel for a camera delivering an unconverted bayer image. | |
readonly PropertyI | bitsPerPixel = new PropertyI() |
An integer property defining the number of bits per pixel currently transmitted by this camera. | |
readonly EnumPropertyI< TCameraDataFormat > | format = new EnumPropertyI<TCameraDataFormat>() |
An enumerated integer property defining the data format the camera is sending image data. | |
readonly EnumPropertyI< TCameraInterlacedType > | interlacedType = new EnumPropertyI<TCameraInterlacedType>() |
An enumerated integer property defining how the camera transmits image data. | |
readonly PropertyS | name = new PropertyS() |
A string property (read-only) containing the name of this camera description list. | |
readonly EnumPropertyI< TCameraOutput > | videoOutput = new EnumPropertyI<TCameraOutput>() |
An enumerated integer property defining the type of video outputs this camera offers. | |
Properties | |
String | className [get] |
Returns the class this description is belonging to. | |
IEnumerable< Component > | componentEnumerable [get] |
Returns an enumerator that iterates through the collection. | |
IEnumerable< ComponentList > | componentListEnumerable [get] |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection. | |
int | hObj [get] |
Returns a unique identifier for the component collection referenced by this object. | |
A base class to describe an arbitrary digital camera signal (Device specific interface layout only).
This class provides access to all settings specific for digital video signals.
|
inlineinherited |
Creates a new camera description list as a copy of the current one.
This function can be used to create a new camera description list. It will create a deep copy of the properties referenced by this camera description and will append the new description to the list of camera descriptions.
[in] | newName | The name for the newly created camera description. This name MUST NOT match a description already existing. |
|
inlineinherited |
Stores the current camera description on disk.
This function can be used to store the current settings of a camera description permanently so that the next time the driver is initialised these settings are restored.
When exporting a camera description a file in XML format will be written to disk.
PUBLIC%/Documents/Balluff/ImpactAcquire/CameraFiles
(or MVIMPACT_ACQUIRE_DATA_DIR%/CameraFiles
, which will point to the same folder)/opt/ImpactAcquire/data/camerafiles
This behaviour can be modified by writing the the property mv.impact.acquire.Device.customDataDirectory before initialising the device.
|
inlineinherited |
Returns an enumerator of a certain type that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Returns an enumerator that iterates through the collection.
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Updates a camera description with the data stored in a previous session or with the original default data.
When importing a camera description the device driver will try to retrieve the parameters needed from a XML file.
PUBLIC%/Documents/Balluff/ImpactAcquire/CameraFiles
(or MVIMPACT_ACQUIRE_DATA_DIR%/CameraFiles
, which will point to the same folder)/opt/ImpactAcquire/data/camerafiles
This behaviour can be modified by writing the the property mv.impact.acquire.Device.customDataDirectory before initialising the device. To get access to a XML description file within the application, these file must be copied to this directory BEFORE the device is initialised. During the init process the device driver will process every file located under this location and will add them to the internal list of descriptions. Every camera located during this process and also descriptions created later on during the program operation can be selected via the property mv.impact.acquire.CameraSettingsFrameGrabber.type.
To restore the default values valid during the driver was initialised the function mv.impact.acquire.ComponentCollection.restoreDefault can be used as well.
|
inlineinherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
An integer property defining the number of active lines to capture from the camera.
An integer property defining the X-offset in pixels to the first active pixel to capture.
An integer property defining the Y-offset in lines to the first active line to capture.
An integer property defining the number of active pixels to capture per line.
readonly EnumPropertyI<TBayerMosaicParity> bayerParity = new EnumPropertyI<TBayerMosaicParity>() |
An enumerated integer property defining the start pixel for a camera delivering an unconverted bayer image.
Valid values for this property are defined by the enumeration mv.impact.acquire.TBayerMosaicParity.
An integer property defining the number of bits per pixel currently transmitted by this camera.
readonly EnumPropertyI<TCameraDataFormat> format = new EnumPropertyI<TCameraDataFormat>() |
An enumerated integer property defining the data format the camera is sending image data.
Valid values for this property are defined by the enumeration mv.impact.acquire.TCameraDataFormat.
|
inherited |
An enumerated integer property defining how the camera transmits image data.
Valid values for this property are defined by the enumeration mv.impact.acquire.TCameraInterlacedType.
A string property (read-only) containing the name of this camera description list.
|
inherited |
An enumerated integer property defining the type of video outputs this camera offers.
Valid values for this property are defined by the enumeration mv.impact.acquire.TCameraOutput.
|
getinherited |
Returns the class this description is belonging to.
|
getinherited |
Returns an enumerator that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mv.impact.acquire.ComponentList.