INI File
- Aktualisiert2025-07-24
- 2 Minute(n) Lesezeit
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.
The RTG installer includes an example of this file located in the same folder, named RTG Configuration Support-Template.ini. You can use this file to start creating your own custom configuration. A customization will be preserved when upgrading because the RTG installer does not overwrite this file, however it will overwrite the template. When the RTG is run, the software creates an INI file based on the existing template if it cannot find this file.
Use the INI file in the following scenarios:
- You need a static configuration for the RTG.
- You need to set up a complex configuration RTG, thus eliminating the need for a lengthy option string.
- You want to switch between multiple configurations. In this case you would maintain an INI file for each configuration.
- You want to set up a secure encrypted remote connection.
Within the file, users can specify and set parameters similar to that of the Option String. Note that the only properties that cannot be overwritten are in the Setting section where both the ServerIP and ServerPort keys are specified for remote functionality.
| Key | Value | Default Value | Required? |
|---|---|---|---|
| ServerIP | Server default IP address. | localhost | Required |
| ServerPort | Server default Ethernet port static IP address. | 50052 | Required |
| SSLPrivateKeyPath | The path of the private key for encrypted remote API communication. | "" | Not required |
| CertificatePath | The path of a Signed Certificate on the system containing the server for encrypted remote API communication. | "" | Not required |
The format for setting these parameters is as follows:
[Section 1] Key_1A = Value_1A Key_1B = Value_1B [Section 2] Key_2A = Value_2B Key_2B = Value_2B
The following is an example of a basic INI file setup for configuring the RTG:
[Setting] ServerIP = 12.34.56.78 ServerPort = 50052 CertificatePath: "C:\Users\LabVIEW\Server.crt" SSLPrivateKeyPath: "C:\Users\LabVIEW\Server.key" [DriverSetup] personality = pulse aware CertificatePath: "C:\Users\LabVIEW\Client.crt" [5841_1] pxi_trigger_output = PXI_Trig7 pxi_trigger_input = none [6594_0] bitfile_path = <LabVIEW>\examples\RTG\Coprocessor\Passthrough\NI 6594\CLIP 8 SPC (-00)\FPGA Bitfiles\rtg-passthrough-template-ni6594-00.lvbitx min_latency = 2.72E-6 timeout = 10
Refer to RTG Configuration Sections and Keys for information about updating the INI file for different system configurations.
Verwandte Inhalte
- RTG Configuration Sections and Keys
The INI file and option string sections support multiple key and value pairs.
- Starting with the RTG Software and Connecting to a Server
Connect to a server to create an RTG session.
- Host Architecture Options
The RTG Coprocessor Link Base provides a LabVIEW class with all of the necessary functionality to connect a custom Coprocessor bitfile to the RTG.