Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID EventId, | //in |
MIL_INT64 InfoType, | //in |
void *UserVarPtr | //out |
This function retrieves information about the digitizer event that caused the hook-handler function to be called. MdigGetHookInfo() should only be called within the scope of a digitizer hook-handler function (see MdigProcess() and MdigHookFunction()).
Specifies the digitizer event identifier received by the hook-handler function (see MdigProcess() and MdigHookFunction()).
Specifies the type of information about the event to return.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InfoType parameter and possible values returned to the UserVarPtr parameter.
The following allows you to retrieve information about various digitizer hook event. Unless otherwise specified, you can retrieve these information types if you call this function from within a function hooked to any digitizer event using MdigHookFunction() or MdigProcess().
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the digitizer that was used by MdigProcess(). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_ID
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the MIL identifier of the digitizer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the time at which the event occurred. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the camera's time stamp, in secs. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the GigE Vision event type, as sent by the camera. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the GigE Vision event type. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the size of the data packet, used by the GenICam SFNC-compliant camera when streaming data to the Host. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the size of the packet, in bytes. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the operating system's time stamp at the point which the event generated a service request. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
This value is generated by the operating system. To use the time stamp generated by the camera, use M_GC_CAMERA_TIME_STAMP. |
‡ | c | o | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies operating system's time stamp, in secs. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u |
The following allows you to retrieve information about a GenICam SFNC-compliant event. The following information types are only available if MdigGetHookInfo() was called from a function hooked to a GenICam event using M_GC_EVENT. In addition, the GenICam event must be enabled using MdigControlFeature(), and the message channel must be supported by your camera.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of a counter on your camera. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the index of the counter. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of the I/O signal that generated the GenICam SFNC-compatible camera's event. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of the I/O signal that generated the event. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of the timer that generated the generic the GenICam SFNC-compatible camera's event. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the index of the timer that generated the event. |
‡ | c | o | s |
The following allows you to retrieve information about a grab event.
Unless otherwise specified, the following information types are only available if MdigGetHookInfo() was called from a function hooked to an event using MdigHookFunction() or MdigProcess() with M_GRAB_..._END. If inquired from any other hook function, these information types will not return an error, but the result will be irrelevant.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves whether the currently grabbed frame is corrupt. |
‡ | c | i | o | s | u | ||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | i | o | s | u | ||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the frame is not corrupt. |
‡ | c | i | o | s | u | ||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the frame is corrupt. |
‡ | c | i | o | s | u | ||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the value of the counter used by the camera to identify each frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
Note that a GigE Vision 2.0 camera has a 64-bit frame counter, while a GigE Vision 1.0 camera has a 16-bit frame counter. |
‡ | s | |||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the value of the counter. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the error code returned by the camera for the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the GigE Vision error code. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of rows in the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the row count. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the data depth and raw color format of the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the data depth and raw color format of the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the width (size X) of the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the width of the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the height (size Y) of the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the height of the last frame grabbed, in pixels. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the status code from the last frame grabbed. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the status code. |
‡ | c | o | s | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of missing packets in the corrupted frame. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of missing packets. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of packets in the frame. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of packets in the frame. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of packets successfully recovered in the frame. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of recovered packets. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of resend commands sent to the camera for a frame. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of resend commands sent. |
‡ | c | s | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of the line (row) that, upon it being received by the digitizer, generated the event. |
‡ | b | e | f | g | h | i | k | l | m | n | t | u | |||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | b | e | f | g | h | i | k | l | m | n | t | u | |||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the row number. |
‡ | b | e | f | g | h | i | k | l | m | n | t | u | |||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of lines (rows) grabbed. |
‡ | c | k | l | m | o | p | q | r | s | ||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
You can only retrieve this value if the hook-handler function was hooked using MdigProcess() or MdigHookFunction() with M_GRAB_END or M_GRAB_FRAME_END. |
‡ | c | o | s | |||||||||||||||||||||||||||||||||||
You can only retrieve this value if the row count was enabled using MdigControl() with M_GRAB_LINE_COUNTER and the hook-handler function was hooked using MdigProcess() or MdigHookFunction() with M_GRAB_END or M_GRAB_FRAME_END. |
‡ | k | l | m | p | q | r | ||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | k | l | m | o | p | q | r | s | ||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the row number. |
‡ | c | k | l | m | o | p | q | r | s | ||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the number of the line (row) that, upon it being available in the grab buffer, generated the event. |
‡ | l | m | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | l | m | |||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the row number. |
‡ | l | m | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves information about a modified-buffer type of event. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
You can only retrieve this information if the hook-handler function was hooked using MdigProcess() or MdigHookFunction() with M_GRAB.... |
‡ | b | e | ||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_ID
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies information about a modified-buffer event. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the number of triggers missed by the specified timer. |
‡ | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of missed triggers. |
‡ | j | k | l | m | p | q | r |
You must add the following value to the above-mentioned value to set the timer to inquire.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Specifies the timer, where n can be from 1 to 4. |
‡ | j | k | l | m | p | q | r |
You can add one of the following values to the above-mentioned value to specify the type of information to return about the modified image buffer.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the modified image buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_ID
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the MIL identifier of the modified image buffer associated with the event. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the index of the modified image buffer in the image buffer array passed to MdigProcess(), if the hook-handler function was hooked using MdigProcess(). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the index of the modified image buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the X-offset of the modified region (of the image buffer). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the X-offset of the modified region. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the Y-offset of the modified region (of the image buffer). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-offset of the modified region. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the width of the modified region (of the image buffer). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the width of the modified region. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Retrieves the height of the modified region (of the image buffer). |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() ![]() |
Specifies the height of the modified region. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u |
The following allows you to retrieve information about an I/O event. These information types are only available if MdigGetHookInfo() was called from a function hooked to event using MdigHookFunction() with M_IO_CHANGE.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the auxiliary input signal that generated the interrupt. |
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the auxiliary input signal that generated the interrupt, where n is the signal number. |
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() |
Retrieves the state of the input signal that generated the interrupt. |
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the auxiliary input signal that generated the interrupt is off. |
‡ | c | j | k | l | m | o | p | q | r | s | |||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the auxiliary input signal that generated the interrupt is on. |
‡ | c | j | k | l | m | o | p | q | r | s |
The following allows you to retrieve information about a reference latch event. The following information types are only available if using a latch that has previously saved the time or counter value upon a hardware event and using MdigHookFunction() with any hook event.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the last timestamp or counter value stored by the specified latch. |
‡ | t | ||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_INT64
|
‡ | t | ||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the last timestamp or counter value stored by the specified latch. |
‡ | t |
You must add the following value to the above-mentioned value to specify which of the I/O command lists to use.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Specifies to inquire about I/O command list1. |
‡ | t |
The following allows you to retrieve information about a rotary decoder event. This information type is only available if MdigGetHookInfo() was called from a function hooked to event using MdigHookFunction() with M_ROTARY_ENCODER. In addition, you must have enabled the rotary decoder to store this information (before the grab), using MdigControl() with M_ROTARY_ENCODER_FRAME_END_READ. Note that the current value of the rotary decoder's counter can be inquired using MdigInquire() with M_ROTARY_ENCODER_POSITION.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the value of the rotary decoder's counter at the end of the last frame grabbed before the counter reached its trigger position. |
‡ | j | k | m | p | q | r | |||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k | m | p | q | r | |||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the value of the rotary decoder's counter when the last frame was grabbed. |
‡ | j | k | m | p | q | r |
You can add the following value to the above-mentioned value to specify which rotary decoder to inquire.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Specifies to inquire rotary decoder n, where n is a number between 1 and 4. |
‡ | k | p | q | r |
The following allows you to retrieve information from a data latch. These information types are only available if MdigGetHookInfo() was called from a function hooked to an end of grabbed frame event using MdigHookFunction() with M_GRAB_FRAME_END or from the hook-handler function (callback function) of MdigProcess(). In addition, you must have enabled the data latch to store this information, using MdigControl() with M_DATA_LATCH_STATE.
Note that you can only use data latches in association with the MIL digitizer allocated using MdigAlloc() with M_DEV0.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the stored data of the specified data latch. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_INT64
|
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the stored data could not be read. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the stored data. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves all the stored data of the specified data latch. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_INT64
(more
details...)
|
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies all the stored data. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Counts the number of items stored inside a data latch. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_INT64
|
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of instances. |
‡ | p | q | r |
You must add the following value to the above-mentioned values to specify which data latch to inquire about.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Specifies the data latch from which to retrieve information, where n is a value from 0 to 15. |
‡ | p | q | r |
You can add the following value to the above-mentioned value to specify the instance of the stored information to retrieve.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Specifies the instance of stored information to retrieve. |
‡ | p | q | r | ||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Sets the instance of stored information. For example, to read the information latched when the last line finishes being grabbed for a frame, with 1024 lines, the instance would be 1023. |
‡ | p | q | r |
The following allows you to retrieve information from a GenICam feature change event. These information types are only available if MdigGetHookInfo() was called from a function hooked to GenICam feature change event using MdigHookFunction() with M_FEATURE_CHANGE.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the name of the GenICam feature that changed. |
‡ | s | ||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_TEXT_CHAR
(more
details...)
|
‡ | s | ||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the feature name. |
‡ | s | ||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the string length of the feature name that changed. |
‡ | s | ||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
‡ | s | ||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the length of the string. |
‡ | s |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |