Creo™ Schematics 4.0 Help Center > Design Basics > Working with an Internal Catalog > Internal Catalog Parameters > Port Parameters > Example: Applying Pin Parameters from a CSV File
  
Example: Applying Pin Parameters from a CSV File
The following examples are of pin parameter CSV files with one, two, or no indexes and one or more parameters.
Simple Format with no Index
The example below shows a simple format CSV file with one parameter and no index.
signal_name
VCC
Trigger
Data1
GND
This file could be used for a component with 4 ports. This method is not based on precise indexing and could lead to unexpected results.
Simple Index and Two Parameters
The example below shows a simple format CSV file with an index and two parameters.
pin,
signal_name,
rating
1,
VCC,
200mA
2,
Trigger,
1mA
3,
Data1,
1mA
4,
GND,
200mA
Single-Level Name Format
The example below shows a single-level name format for a CSV file. This type of name format file is used to set parameters for a connector or a block with ports.
pin_name,
signal_name,
rating
1,
VCC,
200mA
2,
Trigger,
1mA
A,
Data1,
1mA
B,
GND,
200mA
Multiple-Level Name Format
The example below shows a multiple-level name format for a CSV file. This type of name format file is used for variable and fixed groups such as relays that contain components with ports.
pin_name,
signal_name,
rating
Coil!1,
VCC,
200mA
Coil!2,
Trigger,
1mA
NOC1!A,
Data1,
1mA
NOC1!B,
GND,
200mA
Combination of Single-Level and Multiple-Level Name Format
The example below shows a mixed-level name format for a CSV file. The pin name is for either a single level or multiple level pin.
pin_name,
signal_name,
rating
1,
VCC,
200mA
Coil!2,
Trigger,
1mA
NOC1!A,
Data1,
1mA
Complex Logical Indexes for Variable Groups
The example below shows a format for a connector with multiple logical members.
pin,
NAME,
TERM_GAUGE,
TERM_NAME,
TERM_GENDER
[2,1],
A,
20,
M029-56,
SOCKET
[2,2],
B,
20,
M029-56,
SOCKET
[2,3],
C,
20,
M029-56,
SOCKET
[2,4],
D,
20,
M029-56,
SOCKET
[2,5],
E,
20,
M029-56,
SOCKET
[2,6],
F,
20,
M029-56,
SOCKET