Skip to main content

MfpgaCommandInquire

BoardSupported
Host SystemNo
V4L2No
Clarity UHDNo
Concord PoENo
GenTLNo
GevIQNo
GigE VisionNo
IndioNo
Iris GTXNo
Radient eV-CLNo
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionNo

Inquire about a specified FPGA command context setting.

Syntax

void MfpgaCommandInquire(
AIL_FPGA_CONTEXT FpgaCommandContext, //in
AIL_INT64 InquireType, //in
void * UserVarPtr //out
)

Description

This function inquires information about a specified FPGA command context setting.

Note: Note that the FPGA module is not supported with Distributed Aurora Imaging Library.

Note: Note that the FPGA module is only supported on boards that support FPGA processing (Pro boards).

Parameters

FpgaCommandContext (in, AIL_FPGA_CONTEXT)

Specifies the handle of the FPGA command context associated with the PU.

InquireType (in, AIL_INT64)

Specifies the type of setting about which to inquire. This parameter can be set to one of the following values:

UserVarPtr *(out, void)

Specifies the address in which to write the requested information.

Parameter Associations

For specifying the type of setting


M_COMPLETION_MODE

Inquires how the processing operation is issued on the system command queue.

ValueDescription
M_ASYNCHRONOUSSpecifies that, after the command is queued, the thread continues executing without waiting for the operation to complete.
M_SYNCHRONOUSSpecifies that, after the command is queued, the thread waits for the processing operation to complete before continuing.

M_FUNCTION_ID

Inquires the PU's function identifier.

ValueDescription
ValueSpecifies the PU's function identifier.

M_NUMBER_OF_EVENTS

Inquires the total number of interrupts that the PU can generate.

ValueDescription
ValueSpecifies the total number of interrupts the PU can generate.

M_NUMBER_OF_INPUTS

Inquires the total number of stream input ports.

ValueDescription
ValueSpecifies the total number of stream input ports.

M_NUMBER_OF_OUTPUTS

Inquires the total number of stream output ports.

ValueDescription
ValueSpecifies the total number of stream output ports.

M_PORT_NAME

Inquires the name of the nth stream input or output port.

ValueDescription
ValueSpecifies the name of the nth stream input or output port.

Combination Constants — For specifying which stream input or output port to inquire

Essential.

Usage: You must add one of the following values to the above-mentioned values to specify the index of the stream input or output port to inquire.

ValueDescription
M_INPUT + nSpecifies the stream input port at index n. This is useful if you want to loop through all the stream input ports.
M_INPUTnSpecifies the stream input port at index n, where n is between 0 and 9. If you have more than 10 inputs, use M_INPUT + n.
M_OUTPUT + nSpecifies the stream output port at index n. This is useful if you want to loop through all the stream output ports.
M_OUTPUTnSpecifies the stream output port at index n, where n is between 0 and 9. If you have more than 10 outputs, use M_OUTPUT + n.

Combination Constants — For getting the string size

Optional.

Usage: You can add one of the following values to the above-mentioned values to get the string's length.

To retrieve the string size of a port name, you must also specify the required port index. For example, M_PORT_NAME + M_INPUTn + M_STRING_SIZE.

M_STRING_SIZE

Retrieves the length of the string, including the terminating null character ("\0").

Copyright © 2026 Zebra Technologies.