| Customize Help
| Save Settings

MfpgaSetLink



Function Map
Synopsis
Cascade the PUs of two commands, such that a stream output of one PU is routed to a stream input port of the other PU.
Syntax
void MfpgaSetLink(
MIL_FPGA_CONTEXT SrcFpgaCommandContext, //in
MIL_INT SrcStreamPort, //in
MIL_FPGA_CONTEXT DstFpgaCommandContext, //in
MIL_INT DstStreamPort, //in
MIL_INT64 ControlFlag //in
)
Description

This function cascades (links) the ports of two PUs that are interconnected in the FPGA configuration and loaded in a Processing FPGA. This function allows you to route data from one PU's stream output port to the specified stream input port of another PU.

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
SrcFpgaCommandContext

Specifies the handle of the FPGA command context to use in the link.

SrcStreamPort

Specifies the stream output port of the PU associated with the source command context. You must set this parameter to the following value:

function map For specifying the rank of the stream output port
Click to summarizeValue Description MIL system-specific
tooltip (‡)
Click to summarize M_OUTPUTn

Specifies the rank of the PU's stream output port to use in the link. You must set n to a value between 0 and 9, inclusive.

(summarize)
j k
M10
l m p r
U27
y
U75
aa
DstFpgaCommandContext

Specifies the handle of the destination command context to use in the link.

DstStreamPort

Specifies the stream input port of the PU associated with the destination command context. You must set this parameter to the following value:

function map For specifying the rank of the stream input port
Click to summarizeValue Description MIL system-specific
tooltip (‡)
Click to summarize M_INPUTn

Specifies the rank of the PU's stream input port to use as the destination stream port. You can set n to a value between 0 and 9, inclusive.

(summarize)
j k
M10
l m p r
U27
y
U75
aa
ControlFlag

Reserved for future expansion. Set this parameter to M_DEFAULT.

Compilation information
Header Include mil.h; milfpga.h.
Library Use mil.lib; milfpga.lib.
DLL Requires mil.dll; milfpga.dll.
OUTPUTn INPUTn M_OUTPUTn M_INPUTn