Impact Acquire SDK C++
|
Contains basic statistical information. More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
HOBJ | hObj (void) const |
Returns a unique identifier for the component collection referenced by this object. | |
int | reset (void) const |
Resets all statistical properties. | |
const ComponentCollection & | restoreDefault (void) const |
Restores the default for every component of this collection. | |
Statistics (Device *pDev) | |
Public Attributes | |
PropertyI | abortedRequestsCount |
An integer property (read-only) containing the overall count of image requests which have been aborted since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
PropertyF | bandwidthConsumed |
A float property (read-only) containing the current bandwidth consumed by this device in KB/s based on the average buffer size and the timestamps delivered from the device driver. | |
PropertyF | captureTime_s |
A float property (read-only) containing the overall time an image request spent in the device drivers processing chain. | |
PropertyI | errorCount |
An integer property (read-only) containing the overall count of image requests which returned with an error since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
PropertyF | formatConvertTime_s |
An integer property (read-only) containing the time (in seconds) needed to convert the image data delivered by the hardware and/or active internal driver filter nodes to the format specified by mvIMPACT::acquire::ImageDestination::pixelFormat internally. | |
PropertyI | frameCount |
An integer property (read-only) containing the overall count of images captured since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
PropertyI | framesIncompleteCount |
An integer property (read-only) containing the overall count of image requests which haven't been captured completely since the mvIMPACT::acquire::Device has been opened. | |
PropertyF | framesPerSecond |
A float property (read-only) containing the current number of frames captured per second. | |
PropertyF | imageProcTime_s |
An integer property (read-only) containing the time (in seconds) needed to process the image data internally. | |
PropertyI | lostImagesCount |
An integer property (read-only) containing the number of images that have been lost from a continuous image stream coming from a video signal source. | |
PropertyF | missingDataAverage_pc |
A float property (read-only) containing the average amount of data missing in frames that haven't been captured completely since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
PropertyF | queueTime_s |
A float property (read-only) containing the average time (in seconds) a mvIMPACT::acquire::Request object spends in the request queue of the device. | |
PropertyI64 | retransmitCount |
A 64 bit integer property (read-only) containing the number of retransmit requests issued due to temporary bus bandwidth shortages or other transmission problems since this mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
PropertyI | timedOutRequestsCount |
An integer property (read-only) containing the overall count of image requests which have timed out since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset(). | |
Protected Attributes | |
HOBJ | m_hRoot |
Contains basic statistical information.
This class contains basic statistical information about the mvIMPACT::acquire::Device and the the current image acquisition progress.
|
inlineexplicit |
[in] | pDev | A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. |
|
inlineinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mvIMPACT::acquire::ComponentList.
|
inline |
Resets all statistical properties.
|
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.
PropertyI abortedRequestsCount |
An integer property (read-only) containing the overall count of image requests which have been aborted since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().
PropertyF bandwidthConsumed |
A float property (read-only) containing the current bandwidth consumed by this device in KB/s based on the average buffer size and the timestamps delivered from the device driver.
PropertyF captureTime_s |
A float property (read-only) containing the overall time an image request spent in the device drivers processing chain.
This time is NOT the reciprocal of the frame rate, but usually a much longer period of time as it includes the time elapsed from sending the request into the capture queue until the buffer has been placed back into one of the result queues again. This time increases with the amount of requests being used.
PropertyI errorCount |
An integer property (read-only) containing the overall count of image requests which returned with an error since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().
PropertyF formatConvertTime_s |
An integer property (read-only) containing the time (in seconds) needed to convert the image data delivered by the hardware and/or active internal driver filter nodes to the format specified by mvIMPACT::acquire::ImageDestination::pixelFormat internally.
This time will be almost 0 when no custom destination pixel format has been specified and if a custom destination format was selected and this format differs from the pixel format that is transferred by the hardware this time will be a part (or all, but never more) than the time reported by mvIMPACT::acquire::Statistics::imageProcTime_s.
PropertyI frameCount |
An integer property (read-only) containing the overall count of images captured since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().
This counter is incremented regardless of the result a request is returned with thus also e.g. if a request did time out, was aborted(e.g. due to a call to mvIMPACT::acquire::FunctionInterface::imageRequestReset or mvIMPACT::acquire::FunctionInterface::acquisitionStop) or the data was not completely captured.
PropertyI framesIncompleteCount |
An integer property (read-only) containing the overall count of image requests which haven't been captured completely since the mvIMPACT::acquire::Device has been opened.
This value is a good indicator for bandwidth problems on the device to host connection.
PropertyF framesPerSecond |
A float property (read-only) containing the current number of frames captured per second.
This property is calculated from a running average where the current difference between 2 consecutive frames contributes 30 percent to the new value while the remaining 70 percent are used from the previous value to avoid sudden strong fluctuations in case a frame is missing of trigger frequencies are not constant.
This property is reset to 0.0 automatically if the acquisition either has been stopped by calling mvIMPACT::acquire::FunctionInterface::acquisitionStop() or mvIMPACT::acquire::FunctionInterface::imageRequestReset() or the internal request queue has run out of buffers for more than 200 milliseconds.
PropertyF imageProcTime_s |
An integer property (read-only) containing the time (in seconds) needed to process the image data internally.
This time might be interesting e.g. if the image data is transformed into a color image by the driver (e.g. when working with Bayer mosaic cameras) or if any other processing function is applied to the image before it is transferred to the user.
PropertyI lostImagesCount |
An integer property (read-only) containing the number of images that have been lost from a continuous image stream coming from a video signal source.
Possible causes (among others) might be:
|
protectedinherited |
PropertyF missingDataAverage_pc |
A float property (read-only) containing the average amount of data missing in frames that haven't been captured completely since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().
This value is a good indicator for bandwidth problems on the device to host connection.
PropertyF queueTime_s |
A float property (read-only) containing the average time (in seconds) a mvIMPACT::acquire::Request object spends in the request queue of the device.
This is the time between a call to mvIMPACT::acquire::FunctionInterface::imageRequestSingle() and the time the driver actually uses this buffer to capture data into it or to forward it into a kernel driver.
PropertyI64 retransmitCount |
A 64 bit integer property (read-only) containing the number of retransmit requests issued due to temporary bus bandwidth shortages or other transmission problems since this mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().
This value can be an indicator for transmission problems because of bad signal quality or bus bandwidth shortages in the system. Ideally this property should stay 0 all the time if the system can cope with the amount of data transferred and the signal quality is good. However it might increase slowly and still every frame will be flawless as the driver internally was able to restore the lost data by re-requesting it from the video signal source again.
PropertyI timedOutRequestsCount |
An integer property (read-only) containing the overall count of image requests which have timed out since the mvIMPACT::acquire::Device has been opened OR since the last call to mvIMPACT::acquire::Statistics::reset().