Starting with the RTG Software and Connecting to a Server
- Updated2025-05-05
- 3 minute(s) read
Starting with the RTG Software and Connecting to a Server
Connect to a server to create an RTG session. Complete the following steps to get started with the RTG software.
- Configure the VST instrument(s) in NI MAX as described in the VST documentation.
- Run RTG Server.exe from the <Program Files>\National
Instruments\RTG\app folder on the host computer. The RTG gRPC
Server window opens.
Figure 38. RTG gRPC Server Window
Server Status Listening Port Status
Server Default Settings
The RTG server default settings are as follows:
- The gRPC server port is 50052.
- The server finds the IP address of the host computer automatically. Use the IP address or computer name to access the gRPC server through a gRPC client.
Refer to Configuring RTG with the INI File or Through an Option String to change the server default settings in the INI file.
Remote Communication
For remote communication, the Radar Target Generation software includes a designated server, RTG Server.exe, to listen for remote commands by way of gRPC. gRPC is an open-source, language-agnostic framework that uses protocol buffers to send data between systems and services. For more information about gRPC, refer to Introduction to gRPC on the gRPC Open Source Framework website.
When using the Remote API, users can establish a connection to the RTG server and send data in the following ways:
Users can generate classes from the protocol buffer file, for their language of choice, using open-source protocol buffer compilers. RTG provides a remote LabVIEW API, built on LabVIEW code generated from the protocol buffer file. Users can use this remote API in the same manner as RTG's local API.
NI provides an example script to generate a certificate using OpenSSL. Find this example on the ni/grpc-labview repo on GitHub.
Related Information
- PXIe-5830 Features
- PXIe-5831 User Manual
- PXIe-5832 Getting Started
- PXIe-5841 User Manual
- PXIe-5842 User Manual
- Configuring RTG with the INI File or Through an Option String
RTG provides two ways to construct and apply certain initial configurations at initialization—through an INI file and option string.
- Introduction to gRPC
- INI File
The RTG system requires the use of a configuration file, named RTG Configuration Support.ini, which is located on Windows systems at: <Public Documents>\National Instruments\RTG.
- SSL/TLS Support Example Script