Impact Acquire SDK Java
|
Contains convenience functions to control features understood by a devices custom command interpreter. More...
Public Member Functions | |
long | commandBufferSize () |
Returns the size of the command buffer for this device in bytes. | |
long | commandBufferSizeUsed () |
Returns the amount of bytes of the command buffer currently used(thus the amount of bytes that await sending) for this device in bytes. | |
CustomCommandGenerator (Device pDev) | |
Constructs a new mvIMPACT.acquire.CustomCommandGenerator object. | |
CustomCommandGenerator (Device pDev, String settingName) | |
Constructs a new mvIMPACT.acquire.CustomCommandGenerator object. | |
synchronized void | delete () |
void | discardCommandBuffer () |
Discards all pending custom commands to the device. | |
int | modifySequencerSetValue (long sequencerSet, int parameter, double value) |
Modifies a value of a certain sequencer set at runtime. | |
int | modifySequencerSetValue (long sequencerSet, int parameter, long value) |
Modifies a value of a certain sequencer set at runtime. | |
int | queueSequencerSetValueModification (long sequencerSet, int parameter, double value) |
Queues the modification of a value of a certain sequencer set at runtime. | |
int | queueSequencerSetValueModification (long sequencerSet, int parameter, long value) |
Queues the modification of a value of a certain sequencer set at runtime. | |
int | queueTransmissionRequest (long timestamp_us, int offsetX, int offsetY, int width, int height) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | queueTransmissionRequest (long timestamp_us, int offsetX, int offsetY, int width, int height, int mode) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | queueTransmissionRequest (long timestamp_us, int offsetX, int offsetY, int width, int height, int mode, long identifier) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | queueTransmissionRequest (Request pRequest) |
Request the transmission of an image currently associated with the Request object in full resolution. | |
int | queueTransmissionRequest (Request pRequest, int offsetX, int offsetY, int width, int height) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | queueTransmissionRequest (Request pRequest, int offsetX, int offsetY, int width, int height, int mode) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | queueTransmissionRequest (Request pRequest, int offsetX, int offsetY, int width, int height, int mode, long identifier) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | queueTransmissionRequest (Request pRequest, long identifier) |
Request the transmission of an image currently associated with the Request object in full resolution. | |
int | requestTransmission (long timestamp_us, int offsetX, int offsetY, int width, int height) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | requestTransmission (long timestamp_us, int offsetX, int offsetY, int width, int height, int mode) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | requestTransmission (long timestamp_us, int offsetX, int offsetY, int width, int height, int mode, long identifier) |
Request the transmission of an image with a certain timestamp in a different mode/ROI. | |
int | requestTransmission (Request pRequest) |
Request the transmission of an image currently associated with the Request object in full resolution. | |
int | requestTransmission (Request pRequest, int offsetX, int offsetY, int width, int height) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | requestTransmission (Request pRequest, int offsetX, int offsetY, int width, int height, int mode) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | requestTransmission (Request pRequest, int offsetX, int offsetY, int width, int height, int mode, long identifier) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI. | |
int | requestTransmission (Request pRequest, long identifier) |
Request the transmission of an image currently associated with the Request object in full resolution. | |
int | sendCommandBuffer () |
Applies all pending custom commands to the device. | |
Protected Member Functions | |
CustomCommandGenerator (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | swigRelease (CustomCommandGenerator obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Contains convenience functions to control features understood by a devices custom command interpreter.
Contains convenience functions to control features understood by a devices custom command interpreter.
This class will allow to create various special commands understood by some MATRIX VISION and Balluff imaging devices. For example an application can modify parameters in a running sequencer program without stopping the acquisition engine and/or the sequencer program (see mvIMPACT.acquire.SequencerControl and the corresponding use cases for details). This allows changes to be applied much faster than with a conventional approach which would work like this:
A single parameter in a defined sequencer set can be modified much faster at runtime like this:
This class uses an internal command buffer which allows an application to send multiple change commands in a single packet. This can be achieved like this:
The command queue NEVER overflows. When no more data can be stored in the queue before queuing the next parameter change all the pending changes will be transmitted to the device. Calling mvIMPACT.acquire.CustomCommandGenerator.queueSequencerSetValueModification and mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer directly afterwards is equivalent to call mvIMPACT.acquire.CustomCommandGenerator.modifySequencerSetValue. So the previous example can also be rewritten like this:
Because there can never be an overflow of the command queue even this code is valid:
Apart from modifying sequencer sets at runtime some MATRIX VISION and Balluff imaging devices support the so called Smart Frame Recall
feature. For more information about the feature itself please refer to the corresponding use case in the product documentation. There is also a C++ example called GenICamSmartFrameRecallUsage.cpp which can be read to get a first glimpse. The source code and the documentation of this example can be found in the C++ version of this documentation. The mvIMPACT.acquire.CustomCommandGenerator provides functions to request a full resolution version of an image based on a mvIMPACT.acquire.Request object containing an image with reduced resolution passed to it (internally the relevant piece of information is the timestamp of the image to request). To request an image an application can call one of the various versions of the mvIMPACT.acquire.CustomCommandGenerator.requestTransmission functions.
To allow the application to distinguish easily between images belonging to the reduced data stream and the ones that have been explicitly requested by the application the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() can be used. When requesting a full resolution ROI the application can tag the requested images with a custom identifier. This identifier is later returned in the chunk data of the image. The following example demonstrates how to use this feature:
|
protected |
CustomCommandGenerator | ( | Device | pDev, |
String | settingName ) |
Constructs a new mvIMPACT.acquire.CustomCommandGenerator object.
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 |
CustomCommandGenerator | ( | Device | pDev | ) |
Constructs a new mvIMPACT.acquire.CustomCommandGenerator object.
pDev | [in] A pointer to a mvIMPACT.acquire.Device object obtained from a mvIMPACT.acquire.DeviceManager object. 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 |
long commandBufferSize | ( | ) |
Returns the size of the command buffer for this device in bytes.
long commandBufferSizeUsed | ( | ) |
Returns the amount of bytes of the command buffer currently used(thus the amount of bytes that await sending) for this device in bytes.
synchronized void delete | ( | ) |
void discardCommandBuffer | ( | ) |
Discards all pending custom commands to the device.
This function will discard all pending custom commands. After calling this function the pending command queue will be empty an can be filled with new commands.
|
protected |
int modifySequencerSetValue | ( | long | sequencerSet, |
int | parameter, | ||
double | value ) |
Modifies a value of a certain sequencer set at runtime.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueSequencerSetValueModification directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
sequencerSet | The index of the sequencer set to modify. |
parameter | The parameter within the selected sequencer set to modify. |
value | The new value the selected parameter within the selected sequencer set shall be set to. |
int modifySequencerSetValue | ( | long | sequencerSet, |
int | parameter, | ||
long | value ) |
Modifies a value of a certain sequencer set at runtime.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueSequencerSetValueModification directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
sequencerSet | The index of the sequencer set to modify. |
parameter | The parameter within the selected sequencer set to modify. |
value | The new value the selected parameter within the selected sequencer set shall be set to. |
int queueSequencerSetValueModification | ( | long | sequencerSet, |
int | parameter, | ||
double | value ) |
Queues the modification of a value of a certain sequencer set at runtime.
This function queues a single parameter modification of a selected sequencer set. The actual modification will not become effective until mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer is called. With this function multiple modifications can be sent to a device at once. When the new command does not fit inside the internal command queue any more all pending commands will be sent to the device before the new one is put into the queue.
sequencerSet | The index of the sequencer set to modify. |
parameter | The parameter within the selected sequencer set to modify. |
value | The new value the selected parameter within the selected sequencer set shall be set to. |
int queueSequencerSetValueModification | ( | long | sequencerSet, |
int | parameter, | ||
long | value ) |
Queues the modification of a value of a certain sequencer set at runtime.
This function queues a single parameter modification of a selected sequencer set. The actual modification will not become effective until mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer is called. With this function multiple modifications can be sent to a device at once. When the new command does not fit inside the internal command queue any more all pending commands will be sent to the device before the new one is put into the queue.
sequencerSet | The index of the sequencer set to modify. |
parameter | The parameter within the selected sequencer set to modify. |
value | The new value the selected parameter within the selected sequencer set shall be set to. |
int queueTransmissionRequest | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode, | ||
long | identifier ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | Request | pRequest | ) |
Request the transmission of an image currently associated with the Request object in full resolution.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to queue the transmission request of the image currently associated with pRequest
in full resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
The actual transmission request will not be sent to the device until mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer is called. With this function multiple commands can be sent to a device at once. When the new command does not fit inside the internal command queue any more all pending commands will be sent to the device before the new one is put into the queue.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode, | ||
long | identifier ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int queueTransmissionRequest | ( | Request | pRequest, |
long | identifier ) |
Request the transmission of an image currently associated with the Request object in full resolution.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to queue the transmission request of the image currently associated with pRequest
in full resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
The actual transmission request will not be sent to the device until mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer is called. With this function multiple commands can be sent to a device at once. When the new command does not fit inside the internal command queue any more all pending commands will be sent to the device before the new one is put into the queue.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | long | timestamp_us, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode, | ||
long | identifier ) |
Request the transmission of an image with a certain timestamp in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
timestamp_us | [in] The timestamp of the mvIMPACT.acquire.Request object shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | Request | pRequest | ) |
Request the transmission of an image currently associated with the Request object in full resolution.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in full resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | Request | pRequest, |
int | offsetX, | ||
int | offsetY, | ||
int | width, | ||
int | height, | ||
int | mode, | ||
long | identifier ) |
Request the transmission of an image currently associated with the Request object in a different mode/ROI.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in a different mode/resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
offsetX | [in] The X-offset of the ROI of the image that shall be transmitted within the current image. |
offsetY | [in] The Y-offset of the ROI of the image that shall be transmitted within the current image. |
width | [in] The width of the ROI of the image that shall be transmitted within the current image. |
height | [in] The height of the ROI of the image that shall be transmitted within the current image. |
mode | [in] The mode in which this image shall be transmitted. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int requestTransmission | ( | Request | pRequest, |
long | identifier ) |
Request the transmission of an image currently associated with the Request object in full resolution.
This is a convenience function combining a call to mvIMPACT.acquire.CustomCommandGenerator.queueTransmissionRequest directly followed by a call to mvIMPACT.acquire.CustomCommandGenerator.sendCommandBuffer. Commands which have been queued before and have not yet been sent will be sent as well when calling this function.
If mvIMPACT.acquire.AcquisitionControl.mvSmartFrameRecallEnable is set to mvIMPACT.acquire.TBoolean.bTrue this function can be used to request the transmission of the image currently associated with pRequest
in full resolution. One use case would be to transmit every image taken by the sensor with a very coarse resolution e.g. by setting the properties mvIMPACT.acquire.ImageFormatControl.decimationHorizontal and/or mvIMPACT.acquire.ImageFormatControl.decimationVertical to values greater than 1. When then an algorithm finds something interesting within an image this function can be used to request the transmission of the very same image in full resolution for detailed processing.
pRequest | [in] A pointer to a mvIMPACT.acquire.Request object currently associated with the image that shall be transmitted again. |
identifier | [in] A user defined identifier that shall be attached to the image that will be sent as a result of calling this function. This value will be written into the mvIMPACT.acquire.Request.getChunkmvCustomIdentifier() property so in order to actually benefit from this parameter the corresponding chunk must be enabled. See mvIMPACT.acquire.ChunkDataControl for details. |
int sendCommandBuffer | ( | ) |
Applies all pending custom commands to the device.
This function will send all pending custom commands to a device. After calling this function the pending command queue will be empty an can be filled with new commands. Calling this function multiple times without queuing new commands after each send will have no effect!
|
staticprotected |
|
protected |