| Customize Help
| Save Settings

MfpgaCommandControl



Function Map
Synopsis
Control a specified FPGA command context setting.
Syntax
void MfpgaCommandControl(
MIL_FPGA_CONTEXT FpgaCommandContext, //in
MIL_INT64 ControlType, //in
const void *ControlValuePtr //in
)
Description

This function controls the various settings of the specified FPGA command context. To inquire information about an FPGA command context setting, see MfpgaCommandInquire(). To control or inquire about a general Processing FPGA setting, refer to MfpgaControl() or MfpgaInquire(), respectively.

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
FpgaCommandContext

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

ControlType

Specifies the FPGA command context 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 address of the variable which contains the value to assign to the command context 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.

function map For controlling FPGA Command Settings
Click to summarizeControlType Description MIL system-specific
tooltip (‡)
ControlValuePtr
Click to summarize M_COMPLETION_MODE

Specifies how the processing operation should be issued on the system command queue. Note that this parameter overrides the setting specified using MfpgaCommandAlloc() with the ExecutionMode parameter. INQ

(summarize)
j k
M10
l m p r
U27
y
U75
aa
Expand data type infoCollapse data type info ControlValuePtr extra info
Data type info: Data type: address of a MIL_INT
j k
M10
l m p r
U27
y
U75
aa
Click to summarize M_DEFAULT

Specifies that the command is queued according to the thread synchronization mode. See MthrControl() with M_THREAD_MODE.

(summarize)
j k
M10
l m p r
U27
y
U75
aa
Click to summarize M_ASYNCHRONOUS

Specifies that, after the command is queued, the thread continues executing without waiting for the operation to complete.

j k
M10
l m p r
U27
y
U75
aa
Click to summarize M_SYNCHRONOUS

Specifies that, after the command is queued, the thread waits for the processing operation to complete before continuing.

j k
M10
l m p r
U27
y
U75
aa
Compilation information
Header Include mil.h; milfpga.h.
Library Use mil.lib; milfpga.lib.
DLL Requires mil.dll; milfpga.dll.
COMPLETION MODE DEFAULT ASYNCHRONOUS SYNCHRONOUS