The configuration file defines the import format of the library data in a data file. The data file uses a locale-specific list separator, which is often a comma, for the column delimiter. For export of the various harness objects, the configuration file indicates what data is exported.
The format for the configuration file is as follows. Each item in the list refers to a single line in the file:
Object |
Type of object contained in the input file. For library wires, the object is libwires. For library cables, the object is libcables. It is not case-sensitive. |
LOGFILE |
The output log file path and name. For example, C:\WireLibrary\libwires.log. If no path is listed, the log file is created in the same directory as the data file (.csv). |
HEADER1 (Property Name) |
Specifies the names of the input parameters.
|
HEADER2 (Data Type) |
Specifies the data type associated with the property name in the same column. It is the fourth line. |
HEADER3 (Unit) |
Specifies the unit of measure associated with the data type in the same column. It is the fifth line. |
Units must be appropriate for the data type specified for the given property name. If units are incorrect, the property is not added to the library object and an error message is listed in the import log file. For example, if inch is specified as the units for a property with type text, the property is ignored and a warning is reported.
Type must also correspond with the listed data type for a predefined property. If an incorrect type exists, the property is ignored and a warning is reported.
Sample wire configuration file:
libwires
C:\libwires.log
Wire Name,Appearance,Outer Diameter,Category,Part Number,Gauge
text,text,length,text,text,text
none,none,inch,none,none,none
Sample cable configuration file:
libcables
C:\libcables.log
Cable Name,Category,Part Number,Outer Diameter,Conductor ID, Wire Name
text,text,text,length,text,text
none,none,none,inch,none,none
Sample splice configuration file:
libsplices
C:\libsplice.log
Library Name,Category,Part Number,Embedded Length, MyCustom
text,text,text,length,text
none,none,none,inch,none
Sample seal configuration file:
libseals
C:\libvirtualparts-seals.log
Name,Category,Part Number,Min Outer Diameter, Max Outer Diameter, Diameter Type
text, text, text, length, length,text
none, none, none, inch, inch, none
Sample terminal configuration file:
libterminals
C:\libvirtualparts-terminals.log
Name,Category,Part Number,Min Gauge, Max Gauge, Gauge Type
text, text, text, text, text,text
none, none, none, none, none, none
Sample plug configuration file:
libplugs
C:\libvirtualparts-plugs.log
Name,Category,Part Number
text, text, text
none, none, none
Sample label configuration file:
liblabels
C:\libvirtualparts-labels.log
Name,Category,Part Number,Height, Width
text, text, text, length, length
none, none, none, inch, inch
Sample loom configuration file:
liblooms
C:\libvirtualparts-looms.log
Name,Category,Part Number,Appearance, Wall Thickness, Min Diameter, Max Diameter, Diameter Type
text, text, text, text, length, length, length, text
none, none, none, none, inch, inch, inch, none
Sample custom (user-defined) virtual parts configuration file:
libvirtualpart
C:\libvirtualparts-virtualparts.log
Name,Category,Part Number
text, text, text
none, none, none
Sample ribbon cable configuration file:
libribboncables
C:\librawribboncables.log
Name,Category,Part Number,Conductor One Appearance,Ribbon Body Apppearance,Number of Conductors,Pitch,Height,Width,Gauge,Core Size
text,text,text, text,text,text,length,length,length,text,length
none,none,none,none,none,none,inch,inch,inch,none,inch