Up Cast Function

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

Owning Palette: Advanced Function

Requires: FPGA Interface

Converts an FPGA VI-specific reference to a more generic reference. You then can use common code to interact with different FPGA VIs. The FPGA targets must be of the same class. You may want to use this function if you want to evaluate different algorithms in a host VI without rewriting the host VI. Some FPGA targets might not support this function.

Details  

FPGA VI Reference In is a reference to an FPGA VI. You must open a reference to the FPGA VI to use this parameter.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
FPGA VI Reference Out returns a reference to the FPGA target. If you select Interface from the shortcut menu, FPGA VI Reference Out also returns information about the VI, including controls, indicators, data types, and the connector pane, but not including the VI filename. You can bind the FPGA VI Reference Out parameter to type definitions so that LabVIEW automatically propagates configuration changes to subsequent subVIs in the data flow.
error out contains error information. This output provides standard error out functionality.

Up Cast Details

Right-click the Up Cast function and select Interface from the shortcut menu to output VI information and target information. Use the Interface option to pass data to the Read/Write Control function or Invoke Method function. If you select the Interface option, the FPGA VIs and targets must meet the following requirements: the front panel windows of the FPGA VIs are the same, the control and indicator tab order matches, and you use only one clock domain on the FPGA VI block diagram.

Right-click the Up Cast function and select Target from the shortcut menu to output only target information. Use the Target option to pass data to the Invoke Method function. The default is Target.

Note  When you pass references to subVIs, consider binding the output of the Up Cast function to a type definition to propagate changes to the subVIs. Right-click the Up Cast function and select Bind Reference Output to Type Definition from the shortcut menu to bind the output.

WAS THIS ARTICLE HELPFUL?

Not Helpful