Attaches to an existing NI-FGEN session with the specified Session Name on the specified NI gRPC Device Server. Returns a session handle to be used in all subsequent NI-FGEN VI calls.

Note If you do not specify a session name for the server, or if the specified session name did not previously exist on the server, then NI-FGEN will return an error.

This VI creates a new session in LabVIEW that corresponds to the Session Name specified in the server. If a session with the specified name did not previously exist on the server, then NI-FGEN will return an error.

The resulting session in LabVIEW forwards driver calls to the corresponding session on the server.


icon

Inputs/Outputs

  • ccclst.png gRPC Options

    gRPC Options specifies the information used to connect to the server.

  • cstr.png Session Name

    Session Name specifies the name of the MeasurementLink gRPC session.

  • cstr.png Address (localhost)

    Address (localhost) specifies the address of the NI gRPC Device Server.

  • cu32.png Port (31763)

    Port (31763) specifies the port that the NI gRPC Device Server monitors for connections.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

    Default value: no error

  • iivrn.png Instrument Handle Out

    Instrument Handle Out passes a reference to your instrument session to the next VI.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.