Configuration file for importing wire lists to harness assemblies

The configuration file (.cfg) describes the format of the input .csv file for importing wires and cables into a harness assembly. The configuration file is a delimited text file, which describes the input properties and their associated data types and corresponding units.

Note: Configuration files are used for importing wire connectivity data and cable and harness library data, and for producing reports. Each configuration file performs a different task, and requires information specific to that task.

Required format

The configuration file must contain the following information:

OBJECT

Type of object contained in the input file. For wire and cable occurrences, the object is CablesandWires. Existing files using the object of Wires also import correctly. It is not case-sensitive.

LOGFILE

The output log file path and name. For example, C:\WireListImport\wirelist.log. If no path is listed, the log file is created in the same directory as the .csv file.

HEADER1 (Property Name)

Specifies names of the input properties. The properties can be in any order, as long as the minimum required subset is present. Custom properties may be specified in addition to the minimum required properties.

 
  • For wires there must be a Wire ID, Library Name, REFDES1, Pin1, REFDES2, and Pin2.
  • For cables there must be a Cable ID, Library Name, Conductor ID, REFDES1, Pin1, REFDES2, and Pin2. Wire ID is optional for cable wires.
    Note: REFDES1 and REFDES2 can be for either a connector or splice occurrence.

HEADER2 (Data Type)

Specifies the data type associated with the property name in the same column. For predefined properties such as Library Name this value must be the type of the property, such as text.

HEADER3 (Unit)

Specifies the unit of measure associated with the data type in the same column. This value must correspond to the type for the same property. For example, a unit of meter is not appropriate for a type of temperature.

Sample wire list configuration file

The following is an example of the data contained in a wire list configuration file.

cablesandwires

C:\WireListImport\WireList_Log.TXT

Wire ID,Cable ID,Library Name,Conductor ID,RefDes1,Pin1,RefDes2,Pin2

text,text,text,text,text,text,text,text

none,none,none,none,none,none,none,none