Up Cast
- Updated2025-01-28
- 3 minute(s) read
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.

Inputs/Outputs
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
—
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
—
error out contains error information. This output provides standard error out functionality. |
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.
FPGA VI Reference In
—
error in
—
FPGA VI Reference Out
—
error out
—