MIL_FPGA_CONTEXT FpgaCommandContext, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires information about a specified FPGA command context setting.
Specifies the type of setting about which to inquire. These inquire types correspond to register fields of the PU associated with the specified FPGA command context. This parameter can be set to one of the following values:
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 InquireType parameter and possible values returned to the UserVarPtr parameter.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For specifying the type of
setting
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_CAPABILITY |
Inquires a PU's capability. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the PU's capability as a value. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_COMPLETION_MODE |
Inquires how the processing operation is issued on the system command queue. SET SET (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_ASYNCHRONOUS |
Specifies that, after the command is queued, the thread continues executing without waiting for the operation to complete. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_SYNCHRONOUS |
Specifies that, after the command is queued, the thread waits for the processing operation to complete before continuing. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_FUNCTION_ID |
Inquires the PU's function identifier. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the PU's function identifier. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_INSTANCE_ID |
Inquires the PU's instance number. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the PU's instance number. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_MAJOR_VERSION |
Inquires the major version number of the PU. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the major version number of the PU. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_MINOR_VERSION |
Inquires the minor version number of the PU. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the minor version number of the PU. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_NATIVE_ID |
Inquires the native function identifier of the command context. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the native function identifier of the command context. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_NUMBER_OF_EVENTS |
Inquires the total number of interrupts that the PU can generate. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the total number of interrupts the PU can generate. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_REG_IOCTL_OFFSET |
Inquires the position of the I/O control register space, relative to the start of the PU's register space. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the postition of the I/O control register space, in quadwords. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_REG_USER_FULL_SIZE |
Inquires the size of the PU's entire register space, which includes the header, I/O control, and user-specific register sections. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the size ot the PU's register space, in quadwords. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_REG_USER_OFFSET |
Inquires the position of the user-specific register section, relative to the start of the PU's register space. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the postition of the user-specific register section, in quadwords. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_REG_USER_SIZE |
Inquires the size of the user-specific register section of the PU. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the size of the user-specific register section, in quadwords. |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
M_SUB_FUNCTION_ID |
Inquires the PU's subfunction identifier. (more details...) |
† | j | k | l | m | p | q | r | ||||||||||||||||||||||||||||||
Value |
Specifies the PU's subfunction identifier. |
† | j | k | l | m | p | q | r |
Header | Include mil.h; milfpga.h. |
Library | Use mil.lib; milfpga.lib. |
DLL | Requires mil.dll; milfpga.dll. |