| MIL 10 Reference
| Customize Help
| Save Settings

MfpgaControl



See also
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Not supported on:
Not supported on Host system
Not supported on Matrox CronosPlus
Not supported on Matrox GPU processing driver
Not supported on Matrox GigE Vision driver
Not supported on Matrox IEEE 1394 IIDC driver
Not supported on Matrox Iris GT
Not supported on Matrox Morphis
Not supported on Matrox Morphis QxT
Not supported on Matrox Orion HD
Not supported on Matrox USB3 Vision driver (requires Update 19)
Not supported on Matrox Vio
Fully supported on:
Fully supported on Matrox Radient eCL
Fully supported on Matrox Radient eV-CXP
Fully supported on Matrox Solios eA/XA
Fully supported on Matrox Solios ecl/xcl/ev-cl

For any information regarding a MIL system added during a MIL Update, see the MIL system’s release note

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
None.
Synopsis
Controls a global setting of a specified Processing FPGA.
Syntax
MIL_INT MfpgaControl(
MIL_ID MilSystemId, //in
MIL_INT FpgaDeviceNumber, //in
MIL_INT64 ControlType, //in
const void *ControlValuePtr //in
)
Description

This function controls global settings of a specified Processing FPGA. See MfpgaCommandControl() to retrieve information about a specific command context.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
MilSystemId

Specifies the identifier of the system that has the required Processing FPGA.

FpgaDeviceNumber

Specifies the Processing FPGA on the system to control. This parameter must be set to the following value:

function map For specifying the rank of the Processing FPGA
CollapseValue Description
MIL system-specific
tooltip (†)
Collapse M_DEVn

Specifies the rank of the Processing FPGA to control, where n can be a value between 0 and the total number of Processing FPGAs-1.

j k l m p q r
ControlType

Specifies the Processing FPGA setting to control.

See the Parameter associations section for possible values that can be specified.

ControlValuePtr
Accepts the address of one of the following (see the Parameter associations section for specifics on which is expected):
  • MIL_INT

Specifies the value to assign to the Processing FPGA setting.

See the Parameter associations section for possible values that can be specified.

The table below lists possible values for the ControlType and ControlValuePtr parameters.

Unless otherwise specified, the following values require that you pass the ControlValuePtr parameter the address of a MIL_INT.

function map For controlling Processing FPGA settings
CollapseControlType Description
MIL system-specific
tooltip (†)
ControlValuePtr
Collapse M_ERROR

Sets whether basic parameter checking occurs. Note that, if enabled, this will also report errors when attempting to associate a command context to a PU not in the FPGA configuration, and when attempting to use an invalid interrupt.

(summarize)
j k l m p q r
Collapse M_DEFAULT

Same as M_PRINT_ENABLE.

j k l m p q r
Collapse M_PRINT_DISABLE

Disables printing of error messages.

j k l m p q r
Collapse M_PRINT_ENABLE

Enables printing of error messages.

j k l m p q r
Return value
The returned value is M_VALID if successful. If the operation fails, M_NULL is returned.
Compilation information
Header Include mil.h; milfpga.h.
Library Use mil.lib; milfpga.lib.
DLL Requires mil.dll; milfpga.dll.
DEVn ERROR DEFAULT PRINT DISABLE PRINT ENABLE