INI File
- Updated2024-10-21
- 2 minute(s) read
INI File
The RTG system requires the use of a configuration file named RTG Configuration Support.ini that can be located on Windows systems at: <Public Documents>\National Instruments\RTG.
The RTG installer includes an example of this file located in the same folder and 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, but it will overwrite the template. When the RTG is run, the software will create 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.
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 | IP address | localhost | Required |
ServerPort | Ethernet port static IP address | 50052 | 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 [DriverSetup] personality = pulse aware [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.
Related Information
- RTG Configuration Sections and Keys
The INI file and option string sections support multiple key and value pairs.