MIL_ID EventId, | //in |
MIL_INT64 InfoType, | //in |
void *UserVarPtr | //out |
This function allows you to get information about the event that caused the hook-handler function to be called. The MfpgaGetHookInfo() function should only be called within the scope of a PU hook-handler function (see MfpgaHookFunction()).
Specifies the PU event identifier received by the hook-handler function (see MfpgaHookFunction()).
Specifies the type of information to get.
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 table below lists possible values for the InfoType parameter and possible values returned to the UserVarPtr parameter.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the device number of the Processing FPGA that contains the PU that triggered the event. This value corresponds to the rank of the Processing FPGA on the board, starting from 0. If there is only one Processing FPGA on board, then this value will be set to 0 by default. (summarize)Retrieves the device number of the Processing FPGA that contains the PU that triggered the event. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the function identifier of the PU that triggered the event. (summarize)Retrieves the function identifier of the PU that triggered the event. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the rank of the instance of the PU that triggered the event, when two or more instances, with the same function and subfunction identifier, are present in the loaded FPGA configuration. This value starts at 0. (summarize)Retrieves the rank of the instance of the PU that triggered the event, when two or more instances, with the same function and subfunction identifier, are present in the loaded FPGA configuration. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the subfunction identifier of the PU that triggered the event. (summarize)Retrieves the subfunction identifier of the PU that triggered the event. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the time stamp of the event. (summarize)Retrieves the time stamp of the event. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
Data type info: Data
type: address of a
MIL_DOUBLE
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa |
Header | Include mil.h; milfpga.h. |
Library | Use mil.lib; milfpga.lib. |
DLL | Requires mil.dll; milfpga.dll. |