MIL_ID MilSystemId, | //in |
MIL_INT FpgaDeviceNumber, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires global information about a Processing FPGA, including all loaded PUs. See MfpgaCommandInquire() to retrieve information about a specific command context.
Specifies the Processing FPGA to inquire. This parameter must be set to the following value:
For specifying the rank of the Processing
FPGA
|
|||||||||||||||||||||||||||||||||||||||
Value | Description |
MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
M_DEVn |
Specifies the rank of the Processing FPGA about which to inquire, where n can be a value between 0 and the total number of Processing FPGAs-1. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa |
Specifies the information about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address at which to write the requested information. Since the MfpgaInquire() function also returns the requested information, you can set this parameter to M_NULL.
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.
For FPGAs
|
|||||||||||||||||||||||||||||||||||||||
InquireType | Description | MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_FPGA_CONFIGURATION_FILENAME |
Inquires the string containing identifying information about the file name of the Processing FPGA configuration. The information consists of the location of the file (its path), followed by the name of the file (for example, "C:\mydirectory\myfile"). For a file on the remote computer (under Distributed MIL), the path and file name will be preceded by "remote:///" (for example, "remote:///C:\mydirectory\myfile"). (summarize)Inquires the string containing identifying information about the file name of the Processing FPGA configuration. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
MIL_TEXT("String") 1 |
Specifies the string containing information about the file name. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
M_FPGA_CONFIGURATION_FILENAME_LENGTH |
Inquires the length of the string returned by M_FPGA_CONFIGURATION_FILENAME. (summarize)Inquires the length of the string returned by M_FPGA_CONFIGURATION_FILENAME. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
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 | |||||||||||||||||||||||||||||
Value |
Specifies the length of the string, including the terminating null character ("\0"). |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
M_FPGA_PACKAGE_NAME |
Inquires the string containing identifying information about the Processing FPGA on your board. The information consists of the specific package name, followed by an underscore, followed by the speed grade. (summarize)Inquires the string containing identifying information about the Processing FPGA on your board. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
MIL_TEXT("String") 1 |
Specifies the string containing information about the Processing FPGA. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
M_FPGA_PACKAGE_NAME_LENGTH |
Inquires the length of the string returned by M_FPGA_PACKAGE_NAME. (summarize)Inquires the length of the string returned by M_FPGA_PACKAGE_NAME. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
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 | |||||||||||||||||||||||||||||
Value |
Specifies the length of the string, including the terminating null character ("\0"). |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
M_NUMBER_OF_PU |
Inquires the number of PUs currently loaded in the Processing FPGA. (summarize)Inquires the number of PUs currently loaded in the Processing FPGA. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
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 | |||||||||||||||||||||||||||||
Value |
Specifies the number of PUs. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
M_PU_LIST |
Inquires the list of function identifiers of all PUs currently loaded in the Processing FPGA. (summarize)Inquires the list of function identifiers of all PUs currently loaded in the Processing FPGA. (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: array of type MIL_INT [optionally, in C++: a
reference to a std::vector<MIL_INT>
] MORE
Data type info: Data
type: array of type MIL_INT [optionally, in C++: a
reference to a std::vector<MIL_INT>
] MORE
|
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa | |||||||||||||||||||||||||||||
Value |
Specifies the function identifier. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa |
1 If the value was passed in a variable, it won't be returned enclosed in MIL_TEXT().
Header | Include mil.h; milfpga.h. |
Library | Use mil.lib; milfpga.lib. |
DLL | Requires mil.dll; milfpga.dll. |