Table Of Contents

Open Component Reference (G Dataflow)

Version:
    Last Modified: May 8, 2020

    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
    connector_pane_image
    datatype_icon

    component name

    Name of the component you want to reference.

    Do not include the file extension in the name you enter.

    datatype_icon

    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

    datatype_icon

    component reference

    A reference to a component. By default, this node uses the component reference of the component where the calling VI is located.

    datatype_icon

    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.
    spd-note-note
    Note

    This is not a comprehensive list of errors this node can return.

    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: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics