Use the DST gRPC Server Application to perform remote operations via gRPC. The DST gRPC Application Server operates as a component of the DST software.

Application Location

The DST gRPC Server Application is located at:

<Program Files>\National Instruments\NI-DST\Application\NI-DST Server Application.exe

Server Default Settings

The server automatically detects the IP address of the host computer. You can use the IP address to connect to the gRPC server via a gRPC client.

The server uses the following default settings for the server IP address and server port:

ServerIpAddress = "localhost"
ServerPort = "50066"

Changing Server Default Settings

To change the server default settings, you must update the application configuration INI file, located at <Program Files>\National Instruments\NI-DST\Application\NI-DST Server Application.ini.

To configure the IP address of the gRPC server, change the default value for the ServerIpAddress in the NI-DST Server Application INI file.

[gRPC]
ServerIpAddress = "localhost"
ServerPort = "50066"
ServerKeyFile = ""
ServerCertificationFile = ""

Use the [gRPC] sections in the file to specify the IP address of the gRPC server for the given instrument controller instance. Don't change the name of the sections. Change the key value under the [gRPC] sections instead.

Table 3. INI File Key Values
Key Value Default Value Required?
ServerIpAddress The IP address of the DST gRPC server instance. localhost Yes
ServerPort The port number of the DST gRPC server instance. 50066 Yes
ServerKeyFile The server encryption key file. No
ServerCertificationFile The server encryption certification file. No

Server Encryption

To establish encrypted server communication, specify the key file and certification path. NI offers an example script for generating a certificate with OpenSSL. You can find this example in the grpc-labview repository on GitHub.