Attaches to an existing NI-DCPower session with the specified session name on the specified NI gRPC Device Server. Returns a session handle to be used in all subsequent NI-DCPower 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-DCPower 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-DCPower 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.

  • iivrn.png instrument handle out

    instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.

  • ierrcodeclst.png error out

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