Impact Acquire SDK .NET
|
Contains information about a captured buffer. More...
Public Member Functions | |
int | attachUserBuffer (IntPtr pBuf, int bufSize) |
Convenience function to attach a user supplied buffer to a mv.impact.acquire.Request object. | |
int | attachUserBuffer (IRequestBuffer buf) |
Convenience function to attach a user supplied buffer to a mv.impact.acquire.Request object. | |
int | configure () |
Sets a request into configuration mode. | |
int | detachUserBuffer () |
Convenience function to detach a user supplied buffer from a mv.impact.acquire.Request object. | |
BufferPart | getBufferPart (int index) |
Returns a reference to a buffer part descriptor of this request. | |
PropertyI64 | getChunkCounterValue (int index) |
Returns a 64 bit integer property (read-only) defining the selected counter value at the time of the internal frame start event for this request. | |
PropertyF | getChunkGain (int index) |
Returns a floating point property (read-only) defining the selected gain value at the time of the internal frame start event for this request. | |
PropertyF | getChunkGain (string name) |
Returns a floating point property (read-only) defining the selected gain value at the time of the internal frame start event for this request. | |
PropertyF | getChunkTimerValue (int index) |
Returns a floating point property (read-only) defining the selected timer value at the time of the internal frame start event for this request. | |
DeviceComponentLocator | getComponentLocator () |
Returns a component locator for this request. | |
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. | |
int | getIMPACTImage (TImpactBufferFlag flags) |
Returns a mvIMPACT image buffer handle for the image associated with this request. | |
void | restoreDefault () |
Restores the default for every component of this collection. | |
int | save (String fileName) |
Stores the image described by this request into a file. | |
int | save (String fileName, TImageFileFormat format) |
Stores the image described by this request into a file. | |
int | unlock () |
Unlocks the request for the driver again. | |
Public Attributes | |
readonly PropertyI64 | bufferSizeFilled = new PropertyI64() |
A 64bit integer property (read-only) containing the total amount of data (in bytes) that has been captured during the last capture operation. | |
readonly PropertyI64 | chunkDynamicRangeMax = new PropertyI64() |
A 64 bit integer property (read-only) containing the maximum value of dynamic range of the image as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkDynamicRangeMin = new PropertyI64() |
A 64 bit integer property (read-only) containing the minimum value of dynamic range of the image as returned in the chunk data attached to the image. | |
readonly PropertyF | chunkExposureTime = new PropertyF() |
A floating point property (read-only) containing the exposure time used to capture the image as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkHeight = new PropertyI64() |
A 64 bit integer property (read-only) containing the height of the image in pixels as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkLineStatusAll = new PropertyI64() |
A 64 bit integer property (read-only) containing the status of all I/O lines at the time of the internal frame start signal of the image as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkmvCustomIdentifier = new PropertyI64() |
A 64 bit integer property (read-only) containing the previously configured user defined identifier attached to the image. | |
readonly PropertyI64 | chunkOffsetX = new PropertyI64() |
A 64 bit integer property (read-only) containing the X-offset of the image in pixels as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkOffsetY = new PropertyI64() |
A 64 bit integer property (read-only) containing the Y-offset of the image in pixels as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkPixelFormat = new PropertyI64() |
A 64 bit integer property (read-only) containing the pixel format of the image as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkSequencerSetActive = new PropertyI64() |
A 64-bit integer property (read-only) containing the index of the active set of the running sequencer use during the creation of this block of data. | |
readonly PropertyI64 | chunkTimestamp = new PropertyI64() |
A 64 bit integer property (read-only) containing the timestamp value of the internal frame start signal of the image as returned in the chunk data attached to the image. | |
readonly PropertyI64 | chunkWidth = new PropertyI64() |
A 64 bit integer property (read-only) containing the width of the image in pixels as returned in the chunk data attached to the image. | |
readonly EnumPropertyI< TBayerMosaicParity > | imageBayerMosaicParity = new EnumPropertyI<TBayerMosaicParity>() |
An enumerated integer property (read-only) containing the Bayer parity of this image. | |
readonly PropertyI | imageBytesPerPixel = new PropertyI() |
An integer property (read-only) containing the number of bytes per pixel in this image. | |
readonly PropertyI | imageChannelBitDepth = new PropertyI() |
An integer property (read-only) containing the number of effective bits stored in each channel belonging to the current image. | |
readonly PropertyI | imageChannelCount = new PropertyI() |
An integer property (read-only) containing the number of channels this image consists of. | |
readonly PropertyS | imageChannelDesc = new PropertyS() |
A string property (read-only) containing the string descriptors of each channel belonging to the current image. | |
readonly PropertyI | imageChannelOffset = new PropertyI() |
An integer property (read-only) containing the offset (in bytes) to each channel belonging to the current image relative to the address contained in mv.impact.acquire.Request.imageData. | |
readonly PropertyPtr | imageData = new PropertyPtr() |
A pointer property (read-only) containing the start address of the image data. | |
readonly PropertyPtr | imageFooter = new PropertyPtr() |
A pointer property (read-only) containing the start address of the footer associated with this image. | |
readonly PropertyI | imageFooterSize = new PropertyI() |
An integer property (read-only) containing the size (in bytes) of the footer associated with this image. | |
readonly PropertyI | imageHeight = new PropertyI() |
An integer property (read-only) containing the height of the image in pixels. | |
readonly PropertyI | imageHeightTotal = new PropertyI() |
An integer property (read-only) containing the total height of the image in pixels if this buffer is part of a larger image. | |
readonly PropertyI | imageLinePitch = new PropertyI() |
An integer property (read-only) containing the offset (in bytes) to the next line of each channel belonging to the current image. | |
readonly EnumPropertyI< TRequestImageMemoryMode > | imageMemoryMode = new EnumPropertyI<TRequestImageMemoryMode>() |
An enumerated integer property (read-only) containing the memory mode used for this request. | |
readonly PropertyI | imageOffsetX = new PropertyI() |
An integer property (read-only) containing the X-offset of the image in pixels. | |
readonly PropertyI | imageOffsetY = new PropertyI() |
An integer property (read-only) containing the Y-offset of the image in pixels. | |
readonly EnumPropertyI< TImageBufferPixelFormat > | imagePixelFormat = new EnumPropertyI<TImageBufferPixelFormat>() |
An enumerated integer property (read-only) containing the pixel format of this image. | |
readonly PropertyI | imagePixelPitch = new PropertyI() |
An integer property (read-only) containing the offset (in bytes) to the next pixel of the specified channel of this image. | |
readonly PropertyI | imageSize = new PropertyI() |
An integer property (read-only) containing the size (in bytes) of the whole image. | |
readonly PropertyI | imageWidth = new PropertyI() |
An integer property (read-only) containing the width of the image in pixels. | |
readonly PropertyI | imageWidthTotal = new PropertyI() |
An integer property (read-only) containing the total width of the image in pixels if this buffer is part of a larger image. | |
readonly EnumPropertyI< TCameraOutput > | infoCameraOutputUsed = new EnumPropertyI<TCameraOutput>() |
An enumerated integer property (read-only) containing the camera output used to transmit the image to the capture device. | |
readonly PropertyI | infoExposeStart_us = new PropertyI() |
An integer property (read-only) containing a timestamp (in us) defining the time the device started the exposure of the image associated with this mv.impact.acquire.Request object. | |
readonly PropertyI | infoExposeTime_us = new PropertyI() |
An integer property (read-only) containing the 'real' expose time (in us) used to generate this image. | |
readonly PropertyI64 | infoFrameID = new PropertyI64() |
A 64 bit integer property (read-only) containing a frame identifier. | |
readonly PropertyI64 | infoFrameNr = new PropertyI64() |
A 64 bit integer property (read-only, zero-based) containing the number of image requests processed since this driver instance has been opened. | |
readonly PropertyF | infoGain_dB = new PropertyF() |
A float property (read-only) containing the gain(in dB) this image has been taken with. | |
readonly PropertyF | infoImageAverage = new PropertyF() |
Currently unsupported. | |
readonly PropertyI | infoIOStatesAtExposureEnd = new PropertyI() |
An integer property (read-only) containing the state of all the IO lines at the end of the frame exposure as a device specific bit field. | |
readonly PropertyI | infoIOStatesAtExposureStart = new PropertyI() |
An integer property (read-only) containing the state of all the IO lines at the beginning of the frame exposure as a device specific bit field. | |
readonly PropertyI | infoLineCounter = new PropertyI() |
An integer property (read-only) containing the number of lines since the last trigger event. | |
readonly PropertyF | infoMissingData_pc = new PropertyF() |
A float property (read-only) containing the amount of data missing in the current image. | |
readonly PropertyI | infoSettingUsed = new PropertyI() |
A enumerated integer property (read-only) containing the setting that was used for processing this request. | |
readonly PropertyI64 | infoTimeStamp_us = new PropertyI64() |
A 64 bit integer property (read-only) containing a timestamp to define the exact time this image has been captured (usually either at exposure start or exposure end, depending on the device). | |
readonly PropertyI | infoTransferDelay_us = new PropertyI() |
An integer property (read-only) containing the time the transaction of this image has been delayed (in us) because either the bus was blocked or the CPU was busy. | |
readonly PropertyI | infoVideoChannel = new PropertyI() |
An integer property (read-only) containing the video input channel of the device this image has been acquired from. | |
readonly EnumPropertyI< TPayloadType > | payloadType = new EnumPropertyI<TPayloadType>() |
An enumerated integer property (read-only) defining the payload type of this request. | |
readonly EnumPropertyI< TRequestResult > | requestResult = new EnumPropertyI<TRequestResult>() |
An enumerated integer property (read-only) defining the result of this request. | |
readonly EnumPropertyI< TRequestState > | requestState = new EnumPropertyI<TRequestState>() |
An enumerated integer property (read-only) defining the current state of this request. | |
Properties | |
RequestBitmapData | bitmapData [get] |
Returns an access object to a System.Drawing.Bitmap instance for the image associated with this request if System.Drawing.Bitmap is available in the target environment. | |
int | bufferPartCount [get] |
Returns the number of buffer parts currently associated with this request. | |
int | chunkCounterCount [get] |
Returns the number of counter values that can be returned as part of the additional data of the buffer containing the request data. | |
int | chunkGainCount [get] |
Returns the number of gain values that can be returned as part of the additional data of the buffer containing the request data. | |
int | chunkTimerCount [get] |
Returns the number of timer values that can be returned as part of the additional data of the buffer containing the request data. | |
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. | |
bool | hasProcessingBeenSkipped [get] |
Checks if image processing that was set up for this request has been skipped for performance reasons. | |
int | hObj [get] |
Returns a unique identifier for the component collection referenced by this object. | |
IEnumerable< Component > | imageProcessingResultsIterator [get] |
Returns an iterator for iterating inside the info/imageProcessingResults list of the request. | |
IEnumerable< Component > | infoEnumerable [get] |
Returns an enumerator of a that iterates through the all the components in the Info list of the request. | |
Component | infoIterator [get] |
Returns an iterator for iterating inside the info list of the request. | |
bool | isOK [get] |
Convenience function to check if a request has been processed successfully. | |
String | name [get] |
Returns the name associated with this request. | |
int | number [get] |
Returns the number associated with this request. | |
Contains information about a captured buffer.
This class provides access to all sorts of information about the captured buffer. Only Instances of mv.impact.acquire.FunctionInterface are allowed to create objects of mv.impact.acquire.Request. Consequently the only way to get access to a mv.impact.acquire.Request object is via a call to mv.impact.acquire.FunctionInterface.getRequest.
A mv.impact.acquire.Request represents an object used by the driver to fill its internal job queues. Whenever a buffer shall be captured a mv.impact.acquire.Request is sent to the driver and the hardware then tries to capture the desired buffer as fast as possible.
Requests are managed by the driver. The only thing the user needs to configure is the maximum number of requests he wants the driver to work with. To make sure a certain number of requests are available, the property mv.impact.acquire.SystemSettings.requestCount can be used. This can be useful for time critical applications where the hardware can capture buffers in the background while the PC performs other tasks. In that case it's necessary to make sure that the request queue never runs low to ensure lossless data acquisition.
Convenience function to attach a user supplied buffer to a mv.impact.acquire.Request object.
This function just provides a nicer way to attach a user supplied buffer to a mv.impact.acquire.Request.
It e.g. makes it possible to write code like this:
Instead if this:
To find out more about capturing to user supplied buffers please refer to the example CaptureToUserMemory.cs and have a look at the documentation of the function mv.impact.acquire.Request.configure
[in] | pBuf | A pointer to a user supplied buffer |
[in] | bufSize | The size of the user supplied buffer |
|
inline |
Convenience function to attach a user supplied buffer to a mv.impact.acquire.Request object.
This function just provides a nicer way to attach a user supplied buffer to a mv.impact.acquire.Request.
It e.g. makes it possible to write code like this:
Instead if this:
To find out more about capturing to user supplied buffers using this function please refer to the example ContinuousCaptureSimple.cs and have a look at the documentation of the function mv.impact.acquire.Request.configure
[in] | buf | An a pointer to an object of type mv.impact.acquire.helper.IRequestBuffer |
|
inline |
Sets a request into configuration mode.
In configuration mode certain properties like mv.impact.acquire.Request.imageData, mv.impact.acquire.Request.imageSize, mv.impact.acquire.Request.imageMemoryMode of a request object can be modified. This can be used to configure one or more requests to use a user supplied memory. To use only a subset of the mv.impact.acquire.Request objects available the mv.impact.acquire.ImageRequestControl.requestToUse feature can be used.
Only requests that are currently not used by the driver and are not locked because they contain image data that hasn't been processed can be set into configuration mode.
User supplied buffers must follow the alignment and size requirements reported by versions of the function mv.impact.acquire.FunctionInterface.getCurrentCaptureBufferLayout. Calling a version of this function will return all the information required to allocate buffers that can be used to capture data for the specified settings.
When allocating memory on the heap, the complete buffer size is needed which is calculated like this:
size + alignment
Example
|
inline |
Convenience function to detach a user supplied buffer from a mv.impact.acquire.Request object.
This function just provides a nicer way to detach a user supplied buffer from a mv.impact.acquire.Request.
It e.g. makes it possible to write code like this:
Instead if this:
To find out more about capturing to user supplied buffers please refer to the example CaptureToUserMemory.cs and have a look at the documentation of the function mv.impact.acquire.Request.configure
|
inline |
Returns a reference to a buffer part descriptor of this request.
This function returns a reference to a mv.impact.acquire.BufferPart at index index
associated with this mv.impact.acquire.Request.
index
[in] | index | The index of the buffer part to return |
|
inline |
Returns a 64 bit integer property (read-only) defining the selected counter value at the time of the internal frame start event for this request.
[in] | index | The index of the counter to return |
Returns a floating point property (read-only) defining the selected gain value at the time of the internal frame start event for this request.
[in] | index | The index of the gain to return |
Returns a floating point property (read-only) defining the selected gain value at the time of the internal frame start event for this request.
[in] | name | The index of the gain to return |
Returns a floating point property (read-only) defining the selected timer value at the time of the internal frame start event for this request.
[in] | index | The index of the timer to return |
|
inline |
Returns a component locator for this request.
This will allow to write custom feature bind operations.
|
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.
|
inline |
Returns a mvIMPACT image buffer handle for the image associated with this request.
Valid values for flags are defined by the enumeration mv.impact.acquire.TImpactBufferFlag.
The integer returned by this function can be passed to some of the constructors of mvIMPACT_NET.Image to create an image object that can be used in connection with the mvIMPACT image processing library efficiently.
Using the function work like this:
[in] | flags | Flags that influence the way the buffer is created internally |
|
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.
Stores the image described by this request into a file.
This function stores the image described by this request into a file.
[in] | fileName | The full path of the file to create. |
|
inline |
Stores the image described by this request into a file.
This function stores the image described by this request into a file.
[in] | fileName | The full path of the file to create. |
[in] | format | The format of the file to be created. If this parameter is set to mv.impact.acquire.TImageFileFormat.iffAuto make sure to specify a proper file extension. |
|
inline |
Unlocks the request for the driver again.
To ensure that no image data is overwritten by another image request while the user still deals with the image from a previous acquisition each image buffer will be locked by the driver when it is returned to the user by a call to mv.impact.acquire.FunctionInterface.imageRequestWaitFor. No new image will be captured into the same buffer until the user unlocks the buffer again by calling mv.impact.acquire.Request.unlock or mv.impact.acquire.FunctionInterface.imageRequestUnlock.
readonly PropertyI64 bufferSizeFilled = new PropertyI64() |
A 64bit integer property (read-only) containing the total amount of data (in bytes) that has been captured during the last capture operation.
In contrast to mv.impact.acquire.Request.imageSize, this value might be smaller than the original amount of memory, that has been allocated upfront. This e.g. might be true for a JPEG transmission of a triggered linescan application where mv.impact.acquire.Request.imageSize would contain the maximum amount of data that could be captured while this value holds the number of bytes actually captured.
This value in connection with mv.impact.acquire.Request.imageData is sufficient to copy the complete image without having any additional information about it.
readonly PropertyI64 chunkDynamicRangeMax = new PropertyI64() |
A 64 bit integer property (read-only) containing the maximum value of dynamic range of the image as returned in the chunk data attached to the image.
readonly PropertyI64 chunkDynamicRangeMin = new PropertyI64() |
A 64 bit integer property (read-only) containing the minimum value of dynamic range of the image as returned in the chunk data attached to the image.
A floating point property (read-only) containing the exposure time used to capture the image as returned in the chunk data attached to the image.
readonly PropertyI64 chunkHeight = new PropertyI64() |
A 64 bit integer property (read-only) containing the height of the image in pixels as returned in the chunk data attached to the image.
readonly PropertyI64 chunkLineStatusAll = new PropertyI64() |
A 64 bit integer property (read-only) containing the status of all I/O lines at the time of the internal frame start signal of the image as returned in the chunk data attached to the image.
readonly PropertyI64 chunkmvCustomIdentifier = new PropertyI64() |
A 64 bit integer property (read-only) containing the previously configured user defined identifier attached to the image.
This identifier can be specified by some other functions belonging to this SDK. If not specified this value will be 0.
readonly PropertyI64 chunkOffsetX = new PropertyI64() |
A 64 bit integer property (read-only) containing the X-offset of the image in pixels as returned in the chunk data attached to the image.
readonly PropertyI64 chunkOffsetY = new PropertyI64() |
A 64 bit integer property (read-only) containing the Y-offset of the image in pixels as returned in the chunk data attached to the image.
readonly PropertyI64 chunkPixelFormat = new PropertyI64() |
A 64 bit integer property (read-only) containing the pixel format of the image as returned in the chunk data attached to the image.
This will NOT be a valid Impact Acquire pixel format but e.g. a GigE Vision pixel format or something else.
readonly PropertyI64 chunkSequencerSetActive = new PropertyI64() |
A 64-bit integer property (read-only) containing the index of the active set of the running sequencer use during the creation of this block of data.
readonly PropertyI64 chunkTimestamp = new PropertyI64() |
A 64 bit integer property (read-only) containing the timestamp value of the internal frame start signal of the image as returned in the chunk data attached to the image.
readonly PropertyI64 chunkWidth = new PropertyI64() |
A 64 bit integer property (read-only) containing the width of the image in pixels as returned in the chunk data attached to the image.
readonly EnumPropertyI<TBayerMosaicParity> imageBayerMosaicParity = new EnumPropertyI<TBayerMosaicParity>() |
An enumerated integer property (read-only) containing the Bayer parity of this image.
If the current image does not contain Bayer data, this value will be mv.impact.acquire.TBayerMosaicParity.bmpUndefined.
Valid values for this property are defined by the enumeration mv.impact.acquire.TBayerMosaicParity.
An integer property (read-only) containing the number of bytes per pixel in this image.
An integer property (read-only) containing the number of effective bits stored in each channel belonging to the current image.
An integer property (read-only) containing the number of channels this image consists of.
For an RGB image this value e.g. would be 3. This value also defines how many parameters are stored by the properties mv.impact.acquire.Request.imagePixelPitch,
mv.impact.acquire.Request.imageLinePitch,
mv.impact.acquire.Request.imageChannelBitDepth,
mv.impact.acquire.Request.imageChannelDesc and
mv.impact.acquire.Request.imageChannelOffset.
If e.g. the channel count is 3 a call like pRequest->imageChannelOffset.read( 2 ) would return the channel offset of channel 3 (as calls to the read functions of properties are '0' based).
A string property (read-only) containing the string descriptors of each channel belonging to the current image.
For an RGB image this property e.g. might contain three values "R", "G" and "B".
Example
An integer property (read-only) containing the offset (in bytes) to each channel belonging to the current image relative to the address contained in mv.impact.acquire.Request.imageData.
readonly PropertyPtr imageData = new PropertyPtr() |
A pointer property (read-only) containing the start address of the image data.
This address in connection with mv.impact.acquire.Request.imageSize is sufficient to copy the complete image without having any additional information about it. Sometimes however mv.impact.acquire.Request.bufferSizeFilled might be more suitable for this.
Example
readonly PropertyPtr imageFooter = new PropertyPtr() |
A pointer property (read-only) containing the start address of the footer associated with this image.
A footer may contain additional data like e.g. information about the image (e.g. the exposure time used for this image). If this property contains the value '0' no footer is attached to this image.
An integer property (read-only) containing the size (in bytes) of the footer associated with this image.
If this property contains the value '0' no footer is attached to this image.
An integer property (read-only) containing the height of the image in pixels.
An integer property (read-only) containing the total height of the image in pixels if this buffer is part of a larger image.
An integer property (read-only) containing the offset (in bytes) to the next line of each channel belonging to the current image.
readonly EnumPropertyI<TRequestImageMemoryMode> imageMemoryMode = new EnumPropertyI<TRequestImageMemoryMode>() |
An enumerated integer property (read-only) containing the memory mode used for this request.
Valid values for this property are defined by the enumeration mv.impact.acquire.TRequestImageMemoryMode.
An integer property (read-only) containing the X-offset of the image in pixels.
An integer property (read-only) containing the Y-offset of the image in pixels.
readonly EnumPropertyI<TImageBufferPixelFormat> imagePixelFormat = new EnumPropertyI<TImageBufferPixelFormat>() |
An enumerated integer property (read-only) containing the pixel format of this image.
This might be important, when the image data needs to be processed or stored in a file or maybe even if the image shall be displayed.
Valid values for this property are defined by the enumeration mv.impact.acquire.TImageBufferPixelFormat.
An integer property (read-only) containing the offset (in bytes) to the next pixel of the specified channel of this image.
An integer property (read-only) containing the size (in bytes) of the whole image.
This value in connection with mv.impact.acquire.Request.imageData is sufficient to copy the complete image without having any additional information about it. Sometimes however mv.impact.acquire.Request.bufferSizeFilled might be more suitable for this.
An integer property (read-only) containing the width of the image in pixels.
An integer property (read-only) containing the total width of the image in pixels if this buffer is part of a larger image.
readonly EnumPropertyI<TCameraOutput> infoCameraOutputUsed = new EnumPropertyI<TCameraOutput>() |
An enumerated integer property (read-only) containing the camera output used to transmit the image to the capture device.
Valid values for this property are defined by the enumeration mv.impact.acquire.TCameraOutput.
An integer property (read-only) containing a timestamp (in us) defining the time the device started the exposure of the image associated with this mv.impact.acquire.Request object.
This value will stay 0 if nothing is known about the time the exposure did start. In such a case the mv.impact.acquire.Request.infoTimeStamp_us property should be used instead.
An integer property (read-only) containing the 'real' expose time (in us) used to generate this image.
This might differ slightly from the value selected by the user via the corresponding exposure property depending on the precision available for the device or the connected camera.
readonly PropertyI64 infoFrameID = new PropertyI64() |
A 64 bit integer property (read-only) containing a frame identifier.
This parameter is returned as part of the mv.impact.acquire.Request. It is used to associate a certain image with a unique identifier.
When an mv.impact.acquire.RTCtrProgramStep instruction of the type mv.impact.acquire.TRTProgOpCodes.rtctrlProgTriggerSet is executed, the frameID is set to the value of the property FrameID of a corresponding mv.impact.acquire.RTCtrProgramStep if the HRTC is used and any program step executes the setting of the ID.
If a device (e.g. a digital camera) supports the transmission of a unique identifier for an image, this property will reflect the identifier as transmitted by the device.
Please note that due to the nature of mv.impact.acquire.TAcquisitionMode.amContinuous there might be gaps between the last image of a continuous stream and the first image of the next continuous stream if the device is stopped or re-programmed in between.
readonly PropertyI64 infoFrameNr = new PropertyI64() |
A 64 bit integer property (read-only, zero-based) containing the number of image requests processed since this driver instance has been opened.
This counter is incremented regardless of the result this request is returned with thus also e.g. if a request did time out, was aborted(e.g. due to a call to mv.impact.acquire.FunctionInterface.imageRequestReset or mv.impact.acquire.FunctionInterface.acquisitionStop) or the data was not completely captured. So if a mv.impact.acquire.Request object contains the value 6 here, 6 requests have been processed before this one(the first request would contain the value 0) This value is reset to 0 only if the current driver instance is closed.
A float property (read-only) containing the gain(in dB) this image has been taken with.
An integer property (read-only) containing the state of all the IO lines at the end of the frame exposure as a device specific bit field.
See mv.impact.acquire.Request.infoIOStatesAtExposureStart for details on how to interpret the data.
An integer property (read-only) containing the state of all the IO lines at the beginning of the frame exposure as a device specific bit field.
The following table documents which bit in this property represents the state of which digital I/O for mvBlueFOX devices:
bit | IO |
0 | in 0 |
1 | in 1 |
2 | in 2(if available) |
3 | in 3(if available) |
4 | out 0 |
5 | out 1 |
6 | out 2(if available) |
7 | out 3(if available) |
Example
An integer property (read-only) containing the number of lines since the last trigger event.
Will contain
A float property (read-only) containing the amount of data missing in the current image.
The value of this property will be 0 almost always. However if a device can detect blocks of missing data and an image request has returned with mv.impact.acquire.TRequestResult.rrFrameIncomplete to indicate that not all the data has been captured, this property will contain the amount of data missing in percent.
A enumerated integer property (read-only) containing the setting that was used for processing this request.
The string representation will be a valid setting name, the integer representation is a handle to the mv.impact.acquire.ComponentList containing the setting.
readonly PropertyI64 infoTimeStamp_us = new PropertyI64() |
A 64 bit integer property (read-only) containing a timestamp to define the exact time this image has been captured (usually either at exposure start or exposure end, depending on the device).
mvBlueFOX specific: The counter of the timestamp starts when the camera gets initialized. It is measured in us.
An integer property (read-only) containing the time the transaction of this image has been delayed (in us) because either the bus was blocked or the CPU was busy.
Normally this value will be 0. A value larger than 0 indicates that the system can't manage the current load.
An integer property (read-only) containing the video input channel of the device this image has been acquired from.
readonly EnumPropertyI<TPayloadType> payloadType = new EnumPropertyI<TPayloadType>() |
An enumerated integer property (read-only) defining the payload type of this request.
This parameter indicates the current payload type of this request.
Valid values for this property are defined by the enumeration mv.impact.acquire.TPayloadType.
readonly EnumPropertyI<TRequestResult> requestResult = new EnumPropertyI<TRequestResult>() |
An enumerated integer property (read-only) defining the result of this request.
This parameter indicates whether a previous image acquisition has been successful or not.
Valid values for this property are defined by the enumeration mv.impact.acquire.TRequestResult.
readonly EnumPropertyI<TRequestState> requestState = new EnumPropertyI<TRequestState>() |
An enumerated integer property (read-only) defining the current state of this request.
This parameter indicates the current state of this request. A mv.impact.acquire.Request e.g. can currently be idle. This would mean that it is currently not used for image acquisition. Also a mv.impact.acquire.Request can be in 'Capturing' state, which means it is currently processed by the driver.
Valid values for this property are defined by the enumeration mv.impact.acquire.TRequestState.
|
get |
Returns an access object to a System.Drawing.Bitmap instance for the image associated with this request if System.Drawing.Bitmap is available in the target environment.
All other restrictions that apply when creating a System.Drawing.Bitmap will apply as well except one:
Please refer to the documentation of System.Drawing.Bitmap for additional details.
|
get |
Returns the number of buffer parts currently associated with this request.
Certain device drivers are able to deliver multiple buffer part within a single request object.
|
get |
Returns the number of counter values that can be returned as part of the additional data of the buffer containing the request data.
A device may support a large number of counters even though just a few of them or none is configured for counting. In such a case situation when switching on the transmission of the counter values at the time of the internal frame start event will allow to access the number of counters returned by this function but then the data in these counters of course will be meaningless.
|
get |
Returns the number of gain values that can be returned as part of the additional data of the buffer containing the request data.
A device may support a large number of gains even though just a few of them or none is configured to run. In such a case situation when switching on the transmission of the gain values at the time of the internal frame start event will allow to access the number of gains returned by this function but then the data in these gains of course will be meaningless.
|
get |
Returns the number of timer values that can be returned as part of the additional data of the buffer containing the request data.
A device may support a large number of timers even though just a few of them or none is configured to run. In such a case situation when switching on the transmission of the timer values at the time of the internal frame start event will allow to access the number of timers returned by this function but then the data in these timers of course will be meaningless.
|
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.
|
get |
Checks if image processing that was set up for this request has been skipped for performance reasons.
If mv.impact.acquire.Device.userControlledImageProcessingEnable is set to mv.impact.acquire.TBoolean.bTrue and mv.impact.acquire.SystemSettings.imageProcessingMode is set to mv.impact.acquire.TImageProcessingMode.ipmProcessLatestOnly this function can be used to check if at least one algorithm has been skipped because of a lack of processing time.
|
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.
|
get |
Returns an iterator for iterating inside the info/imageProcessingResults list of the request.
This can be useful when custom or device specific algorithms have been applied to the request object that weren't known at compile time.
For a code example please refer to the documentation of mv.impact.acquire.Request.infoEnumerable
|
get |
Returns an enumerator of a that iterates through the all the components in the Info list of the request.
This will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
get |
Returns an iterator for iterating inside the info list of the request.
This can be useful when custom or device specific information has been attached to the request object that wasn't known at compile time.
It makes it possible to write code like this:
|
get |
Convenience function to check if a request has been processed successfully.
This is just a nicer way of checking the value of the requestResult property:
It makes it possible to write code like this:
Instead if this:
|
get |
Returns the name associated with this request.
|
get |
Returns the number associated with this request.