Open Component Reference
- Updated2023-02-17
- 4 minute(s) read
Open Component Reference
Returns a reference to a component, such as a library or GLL, you specify with a name string.
Use Open Component Reference to create a component reference for Open VI Reference.
Programming Patterns


component name
Name of the component you want to reference.
Do not include the file extension in the name you enter.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
error in does not contain an error | error in contains an error |
---|---|
If no error occurred before the node runs, the node begins execution normally.
If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out. | If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out. |
Default: No error

component reference
Reference to the specified component.

error out
The node produces this output according to standard error behavior.
This node can return the following error codes.
-4503 | Some of the Application's GLLs contain incompatible or missing exports. Make sure all VIs and DLLs called by the application are exported in the GLL and have the expected connector pane configuration. Make sure all G Types are compatible. |
1571 | Packed project libraries are not supported. |
1753 or 1754 | The specified component was not found. Make sure the component name you specified is correct. |
1755 | One or more dependency GLL was not found. |
1757 | Cannot open an application component. Only library components are supported. |
1758 | Multiple components with the same name were found. |
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
error in does not contain an error | error in contains an error |
---|---|
If no error occurred before the node runs, the node begins execution normally.
If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out. | If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out. |
Where This Node Can Run:
Desktop OS: Windows
FPGA:
Web Server: