Edit an Import Correspondence File

Overview

We can design a correspondence file to import specific data or do a calculation during the import process. 

Use

First, you need to create the temp file during the data import process. 

  1. Open gINT, choose your current library and project files. then go to Add-Ins > Datgel CPT Tool > Data Import
  2. Select the File Type, raw data, and the Correspondence file.
  3. Click on Advanced button
  4. Check the box Create Temp file
  5. Click execute
  6. A new window will open.
  7. Click on Save As and save the file in the desired location

Now, you can use the temp file for the design your corresponding file:

  1. Open gINT. Go to Data Design | Correspondence Files
  2. Click on File > Open and open the correspondence file
  3. Set the Target File as your current project
  4. Set the Source File as your saved in the previous step Temp File.
  5. You can write your code on Source Expression for the desired field.
    If you want to make a calculation for unit change, an example would be: <<Calc([Source Data]*1000)>>. It will multiply by 1000 the value on import.
  6. Then click on File > Save As, and save the edited correspondence file for use it in the future.
On this page