

1.
----------------------------------------------------------------------------
| Command     : etset_cur                                                  |
----------------------------------------------------------------------------
| Description : The command is used for setting the CURRENT entity name    |
|               that are used for all the other line mode commands.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| job                 | existing job   name          |                     |
----------------------------------------------------------------------------
| step                | existing step  name          |                     |
----------------------------------------------------------------------------
| etset               | existing etset name          |                     |
----------------------------------------------------------------------------


2.
----------------------------------------------------------------------------
| Command     : etset_create                                               |
----------------------------------------------------------------------------
| Description : The command is used for creating a new etset entity.       |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values        |        | Comment             |
----------------------------------------------------------------------------
| name                | legal entity name   |          et set name         |
----------------------------------------------------------------------------
| adapter             | legal entity name   |          adapter name        |
----------------------------------------------------------------------------
| split               | legal entity name   |          split name          |
----------------------------------------------------------------------------
| panel_mode          | npth                | Panel's NPTH and images      |
|                     | images_only         | only images netlist          |
|                     | panel_only          | only panel netlist           |
|                     | none                | Not S&R - not relevant       |
----------------------------------------------------------------------------
| oneup               | legal entity name   | Name of repeated one-up      |
----------------------------------------------------------------------------
| oneup_etset         | legal entity name   | Copy Et-set information from |
|                     |                     | it                           |
----------------------------------------------------------------------------
|component_down       | yes or no           |          board orientation   |
----------------------------------------------------------------------------
|test_mode            | comp, solder, both  | What side of board to test   |
|                     |                     | if single sided tester       |
----------------------------------------------------------------------------
|other_adapter        | legal entity name   |                              |
----------------------------------------------------------------------------


3.
----------------------------------------------------------------------------
| Command     : etset_open                                                 |
----------------------------------------------------------------------------
| Description : The command is used for opening an existing et-set or for  |
|               creating a new one                                         |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | legal entity name            |                     |
----------------------------------------------------------------------------
| adapter             | legal entity name            |                     |
----------------------------------------------------------------------------


4.
----------------------------------------------------------------------------
| Command     : split_open                                                 |
----------------------------------------------------------------------------
| Description : The command is used for opening an existing split          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| split               | split name                   |the split to open    |
----------------------------------------------------------------------------


5.
----------------------------------------------------------------------------
| Command     :  etm_gen_com                                               |
----------------------------------------------------------------------------
| Description : This is the general command for handling of ETM stages.    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values        | Comment                      |
----------------------------------------------------------------------------
| etset               | et set name         |                              |
----------------------------------------------------------------------------
| split               | split name          |                              |
----------------------------------------------------------------------------
| action              | open, run, info.    |Run will run the standard     |
|                     |                     |automatic (must be of current stage).
|                     |                     |Open will open the required stage
|                     |                     |and set it to be the current  |
|                     |                     |Info will create a file dir_path
|                     |                     |with the information on the stage,
|                     |                     |if it is current or not, and  |
|                     |                     |it data state.                |
----------------------------------------------------------------------------
| stage               |stage name           |The stage to do the action on |
----------------------------------------------------------------------------
| oper                |1/2                  |The button that was pressed   |
|                     |                     |(not relevant)                |
----------------------------------------------------------------------------
| dir_path            | output file path    |file path for output file used|
|                     |                     |only for info action          |
----------------------------------------------------------------------------


6.
-----------------------------------------------------------------------------
| Command     :   etm_out                                                   |
-----------------------------------------------------------------------------
| Description : The command is used for creating output files in etm        |
-----------------------------------------------------------------------------
| Response    : None                                                        |
=============================================================================
| Parameter           | Legal values                 | Comment              |
-----------------------------------------------------------------------------
| job                 | existing job name            |                      |
-----------------------------------------------------------------------------
| step                | existing step name           |                      |
-----------------------------------------------------------------------------
| etset               | existing et set name         |                      |
-----------------------------------------------------------------------------
| split               | split name                   |                      |
-----------------------------------------------------------------------------
| format              | output format                |                      |
-----------------------------------------------------------------------------
| tester_type         | pf, grid                     |                      |
-----------------------------------------------------------------------------
| dir_path            | legal path                   |                      |
-----------------------------------------------------------------------------
| prefix              | string                       |out filename prefix   |
-----------------------------------------------------------------------------
| suffix              | string                       |out filename suffix   |
-----------------------------------------------------------------------------
| dx                  | distance in x axis           |part of transform     |
-----------------------------------------------------------------------------
| dy                  | distance in y axis           |part of transform     |
-----------------------------------------------------------------------------
| angle               | 0 - 3  (0, 90, 180, 270)     |part of transform     |
-----------------------------------------------------------------------------
| mirror              | yes, no                      |part of transform     |
-----------------------------------------------------------------------------
| adjacency           | yes, no                      |should adjacency file |
|                     |                              |be created (356A)     |
-----------------------------------------------------------------------------
| trace               | yes, no, signal, outer       |should traces appear  |
|                     |                              |in output (356A)      |
-----------------------------------------------------------------------------
| thickness           | 0 - 1.0                      |board thickness for   |
|                     |                              |hioki                 |
-----------------------------------------------------------------------------
| use_099             | yes, no                      |no - output stagger as|
|                     |                              |small tp (no 099 record)
-----------------------------------------------------------------------------
| finished_drills     | yes, no                      |                      |
|                     |                              |                      |
-----------------------------------------------------------------------------
| test_thru           | yes, no                      |test all through holes|
|                     |                              |                      | 
-----------------------------------------------------------------------------
| tooling             | yes, no                      |                      |
|                     |                              |                      |
-----------------------------------------------------------------------------
| panel_img           | yes, no                      |                      |
|                     |                              |                      |
-------------------------------------------------------------------------------
| net_precision       | 1 <= n <= 6                  |The scaling precision   |
|                     |                              |1 = 0.01, 2 = 0.1, 3=1.0|
|                     |                              |4 = 10, 5 = 100, 6=1000 |
-------------------------------------------------------------------------------
| upper_grid_offset_x | int                          |Offset on the outputted |
| lower_grid_offset_x |                              |grid position           |
| upper_grid_offset_y |                              |                        |
| lower_grid_offset_y |                              |                        |
-------------------------------------------------------------------------------
| min_brush_for_fill  | 0 - 100.0                    |if '0' - no fill        |
|                     |                              |else min brush for filling contours |
-------------------------------------------------------------------------------
| surface_aperture    | -1.0 - 100.0                 |if -1 - no contour      |
|                     |                              |(IPC356A)               |
-------------------------------------------------------------------------------


7.
----------------------------------------------------------------------------
| Command     :  cr_misc_drill                                             |
----------------------------------------------------------------------------
| Description : The command is used for to create a misc drill layer for et|
|             : set drill output. This command works on current et-set, so |
|               the set_current... command should be issued beforehand     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
---------------------------------------------------------------------------|
| split               | split number                 |                     |
----------------------------------------------------------------------------
| side                | top / bot                    |                     |
----------------------------------------------------------------------------
| plate               | number                       |                     |
----------------------------------------------------------------------------
| layer               | layer name                   |                     |
----------------------------------------------------------------------------


8.
----------------------------------------------------------------------------
| Command     :  etm_units                                                 |
----------------------------------------------------------------------------
| Description : Changes the units ETM is working with, between Incehs and  |
|               MM                                                         |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
---------------------------------------------------------------------------|
| units               | inch/mm                      |                     |
----------------------------------------------------------------------------


9.
----------------------------------------------------------------------------
| Command     :  etm_overwrite                                             |
----------------------------------------------------------------------------
| Description : Sets the "action ignore" option                            |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter   | Legal values                | Comment                      |
---------------------------------------------------------------------------|
| overwrite   | none/user_defined/assigned  |None-the automatic action will|
|             |                             |not ignore anything           |
|             |                             |user_defined-actions ignore   |
|             |                             |manually modified test points |
|             |                             |assigned-actions ignore all   |
|             |                             |assigned test points          |
----------------------------------------------------------------------------


10.
----------------------------------------------------------------------------
| Command     : etm_tool                                                   |
----------------------------------------------------------------------------
| Description : The command is used to run a tool action. Command runs for |
|               the current et_set and split                               |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| tool                | tool name                    | et set name         |
----------------------------------------------------------------------------
| mode                | modifier(non,shift,ctrl,both)|                     |
----------------------------------------------------------------------------
|global_set           | yes or no                    | apply to selection  |
----------------------------------------------------------------------------
|x1,y1,x2,y2          | double in current units      | location            |
----------------------------------------------------------------------------


11.
----------------------------------------------------------------------------
| Command     : etm_filter_select                                          |
----------------------------------------------------------------------------
| Description : Used for selecting features in all/either of the sides     |
|               according to the features filter, and to a specified       |
|               limited area.                                              |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
----------------------------------------------------------------------------
| active              | yes - the filter is active   | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       following params are   |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| single_selection    | yes / no                     | default = "no"      |
----------------------------------------------------------------------------
| window              | all - whole board            | window = "no"       |
|                     | in_split                     | x1,y1,x2,y2 specify |
|                     | out_split                    |        "            |
|                     | window                       |        "            |
|                     | s_r_one_up                   |        "            |
|                     |                              |                     |
----------------------------------------------------------------------------
| side                | top / bot / both             | default = "both"    |
----------------------------------------------------------------------------
| filter_type         | points, pins, nets, patterns | default = "points"  |
----------------------------------------------------------------------------
| point_test_type     | test_points, net_points,     | default = "test_points"|
|                     | testable, non_plated         |                     |
----------------------------------------------------------------------------
| point_filter        | end_pts, mid_pts, ann_ring   | 'set' field         |
----------------------------------------------------------------------------
| pin_type            | probes, tooling              | default = "probes"  |
----------------------------------------------------------------------------
| pin_names           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| min_num_points,     | Number of points within      |                     |
| max_num_points      | the net required             |                     |
----------------------------------------------------------------------------
| net_names           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| pt_in_net_test_type | test_points, net_points,     | default = "test_points"|
|                     | testable,                    |                     |
----------------------------------------------------------------------------
| pt_in_net_filter    | end_pts, mid_pts             | 'set' field         |
----------------------------------------------------------------------------
| drill_active        | yes - the drills are active  | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       drill params are       |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| drill_fsyms         | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| drill_type          | pth, npth, via               | default = "pth"     |
----------------------------------------------------------------------------
| min_a_r, max_a_r    | annular ring size range      |                     |
|                     | in current units             |                     |
----------------------------------------------------------------------------
| pad_active          | yes - the pads   are active  | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       pad   params are       |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| pad_fsyms           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| min_exp_width       | exposed width range for pads |                     |
| max_exp_width       | in current units             |                     |
----------------------------------------------------------------------------
|                     |                              |                     |
----------------------------------------------------------------------------
|                     |                              |                     |
|                     |                              |                     |
----------------------------------------------------------------------------


12.
----------------------------------------------------------------------------
| Command     : etm_filter_high                                            |
----------------------------------------------------------------------------
| Description : Used for highlighting features in all/either of the sides  |
|               according to the features filter, and to a specified       |
|               limited area.                                              |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
----------------------------------------------------------------------------
| active              | yes - the filter is active   | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       following params are   |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| single_selection    | yes / no                     | default = "no"      |
----------------------------------------------------------------------------
| window              | all - whole board            | window = "no"       |
|                     | in_split                     | x1,y1,x2,y2 specify |
|                     | out_split                    |        "            |
|                     | window                       |        "            |
|                     | s_r_one_up                   |        "            |
|                     |                              |                     |
----------------------------------------------------------------------------
| side                | top / bot / both             | default = "both"    |
----------------------------------------------------------------------------
| filter_type         | points, pins, nets, patterns | default = "points"  |
----------------------------------------------------------------------------
| point_test_type     | test_points, net_points,     | default = "test_points"|
|                     | testable, non_plated         |                     |
----------------------------------------------------------------------------
| point_filter        | end_pts, mid_pts, ann_ring   | 'set' field         |
----------------------------------------------------------------------------
| pin_type            | probes, tooling              | default = "probes"  |
----------------------------------------------------------------------------
| pin_names           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| min_num_points,     | Number of points within      |                     |
| max_num_points      | the net required             |                     |
----------------------------------------------------------------------------
| net_names           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| pt_in_net_test_type | test_points, net_points,     | default = "test_points"|
|                     | testable,                    |                     |
----------------------------------------------------------------------------
| pt_in_net_filter    | end_pts, mid_pts             | 'set' field         |
----------------------------------------------------------------------------
| drill_active        | yes - the drills are active  | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       drill params are       |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| drill_fsyms         | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| drill_type          | pth, npth, via               | default = "pth"     |
----------------------------------------------------------------------------
| min_a_r, max_a_r    | annular ring size range      |                     |
|                     | in current units             |                     |
----------------------------------------------------------------------------
| pad_active          | yes - the pads   are active  | default = "no"      |
|                     | no  - the filter becomes     |                     |
|                     |       in-active (all the     |                     |
|                     |       pad   params are       |                     |
|                     |       not relevant)          |                     |
----------------------------------------------------------------------------
| pad_fsyms           | wild symbol names separated  | symbol names to be  |
|                     | by ';' characters            | included            |
----------------------------------------------------------------------------
| min_exp_width       | exposed width range for pads |                     |
| max_exp_width       | in current units             |                     |
----------------------------------------------------------------------------
|                     |                              |                     |
----------------------------------------------------------------------------
|                     |                              |                     |
|                     |                              |                     |
----------------------------------------------------------------------------


13.
----------------------------------------------------------------------------
| Command     : etm_create_new_revision                                    |
----------------------------------------------------------------------------
| Description : The command is used for netlist inheritance between etsets |
|   Fills the given et-set with testing information of a different et-set, |
|   as long as it is considered a new revision of the previous et-set.     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values          | Comment                    |
----------------------------------------------------------------------------
|  Job                |Current job name       |                            |
----------------------------------------------------------------------------
|  Step               |Current step name      |                            |
----------------------------------------------------------------------------
|  Etset              |Current et-set name    |                            |
----------------------------------------------------------------------------
| Prev_job            |Previous revision job  | Can be different than      |
|                     |                       | parameter job              |
----------------------------------------------------------------------------
| Prev_step           |Previous revision step | Can be different than      |
|                     |                       | parameter step             |
----------------------------------------------------------------------------
| Prev_etset          |Previous et-set name   | Must be different than     |
|                     |                       | parameter etset            |
----------------------------------------------------------------------------


14.
----------------------------------------------------------------------------
| Command     : etm_optimisation_report                                    |
----------------------------------------------------------------------------
| Description : Opens the optimisation report of the ETM                   |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| net_names           | List of net names            | names for whom report is requested |
----------------------------------------------------------------------------


15.
--------------------------------------------------------------------------
| Command     : etm_optimisation_summary                                 |
--------------------------------------------------------------------------
| Description : The command is used for opening the ETM optimisation     |
|               summary report of test points and net points histograms  |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------


16.
----------------------------------------------------------------------------
| Command     : etm_stress_analysis                                        |
----------------------------------------------------------------------------
| Description : The command will run the stress analysis check             |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values |                 Comment             |
----------------------------------------------------------------------------
| critical            | 0 and up     | should be bigger than excessive size|
----------------------------------------------------------------------------
| excessive           | 0 and up     | should be smaller than critical size|
----------------------------------------------------------------------------


17.
--------------------------------------------------------------------------
| Command     : etm_pin_head_spacing                                     |
--------------------------------------------------------------------------
| Description : The command will run the pin head spacing check          |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| critical      | 0 and up     | spacing closer than critical value will |
|               |              | be reported in red severity             |
--------------------------------------------------------------------------
| required      | 0 and up     | spacing closer than required and bigger |
|               |              | than critical will be reported in yellow|
|               |              | severity                                |
--------------------------------------------------------------------------


18.
--------------------------------------------------------------------------
| Command     : etm_solder_mask_spacing                                  |
--------------------------------------------------------------------------
| Description : The command will run the solder mask spacing checks      |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| sm_spacing    | 0 and up     | pin to solder mask distance to report   |
--------------------------------------------------------------------------
| keep_inside_  | 0 and up     | keep inside pin to solder mask distance |
|       spacing | 0 and up     | to report (always from pin edge).       |
--------------------------------------------------------------------------
| drl_spacing   | 0 and up     | drill pin to solder mask distance       |
--------------------------------------------------------------------------
| pad_spacing   | 0 and up     | pin to pad edge distance to report      |
--------------------------------------------------------------------------
| pin_edge      |              | calculate distance from pin edge or     | 
|               |              | center (all measures except keep inside)| 
--------------------------------------------------------------------------


19.
--------------------------------------------------------------------------
| Command     : etm_3d_spacing                                           |
--------------------------------------------------------------------------
| Description : The command is used for running the 3D spacing check     |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| critical      | 0 and up     | spacing closer than critical value is   |
|               |              | considered a critical problem.          |
--------------------------------------------------------------------------
| acceptable    | 0 and up     | spacing closer than acceptable and      |
|               |              | higher than critical will be reported in|
|               |              | yellow severity                         |
--------------------------------------------------------------------------


20.
--------------------------------------------------------------------------
| Command     : etm_drill_spacing                                        |
--------------------------------------------------------------------------
| Description : The command is used for running the drill spacing check  |
|               (wall thickness check)                                   |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| critical      | 0 and up     | spacing closer than critical value is   |
|               |              | considered a critical problem.          |
--------------------------------------------------------------------------
| acceptable    | 0 and up     | spacing closer than acceptable and      |
|               |              | higher than critical will be reported in|
|               |              | yellow severity                         |
--------------------------------------------------------------------------


21.
--------------------------------------------------------------------------
| Command     : etm_electrical_testing_report                            |
--------------------------------------------------------------------------
| Description : The command is used for opening the ETM general printed  |
|               report                                                   |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------


22.
--------------------------------------------------------------------------
| Command     : etm_add_new_split                                        |
--------------------------------------------------------------------------
| Description : The command is used for creating a new split entity.     |
|                                                                        |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| etset         |              | Name of the current etset               |
|               |              |                                         |
--------------------------------------------------------------------------
| new_split     |              | Name of the new split that is to be     |
|               |              | created                                 |
--------------------------------------------------------------------------
| adapter       |              | Name of the adapter for this new split  |
|               |              |                                         |
--------------------------------------------------------------------------
| empty         | "yes"/"no"   | All points in new split should be       |
|               |              | initialized as nontestable.             |
--------------------------------------------------------------------------
| component_down| "yes"/"no"   | Orientation of the board                |
|               |              |                                         |
--------------------------------------------------------------------------
| test_mode_opts| "comp"/      | Single or double sided testers          |
|               | "solder"/    |                                         |
|               | "both"       |                                         |
--------------------------------------------------------------------------
| reset         | "yes"/"no"   | Jump into the new split.                |
|               |              |                                         |
--------------------------------------------------------------------------



23.
--------------------------------------------------------------------------
| Command     : etm_semi_auto_split                                      |
--------------------------------------------------------------------------
| Description : The command is used for splitting points between the     |
|               current split and a terget split which is either a       |
|               flying probe or bed of nails adapter.                    |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| etset         |              | Name of the current etset               |
|               |              |                                         |
--------------------------------------------------------------------------
| curr_split    |              | Name of the current split               |
|               |              |                                         |
--------------------------------------------------------------------------
| target_split  |              | Name of the target split                |
|               |              |                                         |
--------------------------------------------------------------------------
| thin_level    |              | Thinning level required in the current  |
|               |              | split                                   |
--------------------------------------------------------------------------
/*HE*/
static line_field_struc etm_semi_auto_split_flds[] = {
   GEN_LINE_TEXT, "etset" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
   GEN_LINE_TEXT, "source_split" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
   GEN_LINE_TEXT, "target_split" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
   GEN_LINE_OPTION, "thin_level", 0, "none", 0, NULL,
   thin_level_opts, LENGTH (thin_level_opts), 0, 0, NULL, 0, 0,
};

/*HS
--------------------------------------------------------------------------
| Command     : etm_adapter_export                                       |
--------------------------------------------------------------------------
| Description : The command is used for exporting the configuration of   |
|               an adapter to a compressed file.                         |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| adapter_name  |              | Name of the adapter to export           |
--------------------------------------------------------------------------
| path          |              | Destination directory path              |
--------------------------------------------------------------------------
/*HE*/
static line_field_struc etm_adapter_export_flds[] = {
   GEN_LINE_TEXT, "adapter_name" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
   GEN_LINE_TEXT, "path" , 0, "", 0, NULL, NULL, 0, 
   0, 0, NULL  , 0, LEN_NAME,
};

/*HS
--------------------------------------------------------------------------
| Command     : etm_adapter_import                                       |
--------------------------------------------------------------------------
| Description : The command is used for importing an adapter             |
|               configuration from a compressed file.                    |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| adapter_name  |              | Name of adapter after importing         |
--------------------------------------------------------------------------
| path          |              | Source directory path                   |
--------------------------------------------------------------------------
| override      | yes/no       | override existing adapter with same name|
--------------------------------------------------------------------------
/*HE*/
static line_field_struc etm_adapter_import_flds[] = {
   GEN_LINE_TEXT,   "adapter_name" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
   GEN_LINE_TEXT,   "path" , 0, "", 0, NULL, NULL, 0, 
   0, 0, NULL  , 0, LEN_NAME,
   GEN_LINE_OPTION, "override",  0, "no", 0, NULL,
   no_yes_opts , LENGTH(no_yes_opts),  0, 0, NULL, 0, 0,
};
/*HS
--------------------------------------------------------------------------
| Command     : etm_etset_delete                                         |
--------------------------------------------------------------------------
| Description : The command is used for etset delete                     |
|                                                                        |
--------------------------------------------------------------------------
| Response    : None                                                     |
==========================================================================
| Parameter     | Legal values | Comment                                 |
--------------------------------------------------------------------------
| etset_name    |              | Name of etset to delete                 |
--------------------------------------------------------------------------
/*HE*/
static line_field_struc etm_etset_delete_flds[] = {
   GEN_LINE_TEXT,   "etset_name" , 0, "", 0, NULL, NULL, 0, 
   0, 0, ent_name_chars  , 0, LEN_NAME,
};

static const char *source_net_opts[]  = {"cad", "current", "cbc"};

/*HS
----------------------------------------------------------------------------
| Command     : etm_update_ref_netlist                                     |
----------------------------------------------------------------------------
| Description : To set a specific netlist to be the reference by which we  |
|   create the ET netlist                                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| step                | existing step  name          |                     |
----------------------------------------------------------------------------
| source_netlist      | "cad", "current", "cbc"      |                     |
----------------------------------------------------------------------------
| with_cad_names      | yes/no                       |                     |
----------------------------------------------------------------------------


24.
----------------------------------------------------------------------------
| Command     : etm_netlist_to_layers                                      |
----------------------------------------------------------------------------
| Description : Converts the ET netlist into layers in the job matrix      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| top_lyr_name        | the name for the top layer   |                     |
----------------------------------------------------------------------------
| top_lyr_name        | the name for the top layer   |                     |
----------------------------------------------------------------------------


25.
----------------------------------------------------------------------------
| Command     : etm_undo                                                   |
----------------------------------------------------------------------------
| Description : Will activate the undo option                              |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


26.
----------------------------------------------------------------------------
| Command     : etm_lic_close                                              |
----------------------------------------------------------------------------
| Description : Closes the ETM license currently used and the ETM editor   |
|   This command should not be used in a script because it will disallow   |
|   the user to continue working on the ETM.                               |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


27.
----------------------------------------------------------------------------
| Command     : etm_setup_flows                                            |
----------------------------------------------------------------------------
| Description : Activates the correct working flow for the tester type     |
|   This command does not need to be activated from a script, it will be   |
|   done automatically when split is created or opened.                    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


28.
----------------------------------------------------------------------------
| Command     : etm_reset_page                                             |
----------------------------------------------------------------------------
| Description : Initializes and resets some variables when opening the ETM |
|   window.                                                                |
|   This command does not need to be activated from a script, it will be   |
|   done automatically when split is created or opened.                    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


29.
----------------------------------------------------------------------------
| Command     : etm_sr_create_from_table                                   |
----------------------------------------------------------------------------
| Description : Creates a not-flattened step & repeated et-set according to|
|   the step & repeat table of ETM.
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


30.
----------------------------------------------------------------------------
| Command     : etm_sr_delete                                              |
----------------------------------------------------------------------------
| Description : removes the step & repeat information of a step & repeated |
|   et-set - but only for non flattened et-sets.                           |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


31.
----------------------------------------------------------------------------
| Command     : etm_test_points_report                                     |
----------------------------------------------------------------------------
| Description : Opens the test points report of the ETM                    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


32.
----------------------------------------------------------------------------
| Command     : etm_nets_report                                            |
----------------------------------------------------------------------------
| Description : Opens the nets report of the ETM                           |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


33.
----------------------------------------------------------------------------
| Command     : etm_pins_report                                            |
----------------------------------------------------------------------------
| Description : Opens the pins report of the ETM                           |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


34.
----------------------------------------------------------------------------
| Command     : etm_pins_validation                                        |
----------------------------------------------------------------------------
| Description : Runs the pins usage validation report and opens it.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


35.
----------------------------------------------------------------------------
| Command     : etm_adj_verification                                        |
----------------------------------------------------------------------------
| Description : Runs the adjacency verification report and opens it.        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


36.
----------------------------------------------------------------------------
| Command     : etm_pin_to_grid_report                                     |
----------------------------------------------------------------------------
| Description : Opens the pin to grid matching report                      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


37.
----------------------------------------------------------------------------
| Command     : etm_selected_items_report                                  |
----------------------------------------------------------------------------
| Description : Opens a report in which all the selected items are reported|
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


38.
----------------------------------------------------------------------------
| Command     : etm_through_hole_balance                                   |
----------------------------------------------------------------------------
| Description : Runs the through hole balance action and opens it report.  |
|   If there are more than one item selected, the action will be done only |
|   on the selected items                                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


39.
----------------------------------------------------------------------------
| Command     : etm_net_to_ref_net                                         |
----------------------------------------------------------------------------
| Description : Copy the current ETM/Custom netlist in its present state   |
|   to be the reference netlist of this step.                              |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


40.
----------------------------------------------------------------------------
| Command     : etm_add_compensation_posts                                 |
----------------------------------------------------------------------------
| Description : Automatically adds compensation posts to the board and     |
|    opens it report.                                                      |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


41.
----------------------------------------------------------------------------
| Command     : etm_compensate_deflection                                  |
----------------------------------------------------------------------------
| Description : This action activates the deflection compensation action.  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


42.
----------------------------------------------------------------------------
| Command     : etm_clear_selections                                       |
----------------------------------------------------------------------------
| Description : Clears all selected items                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


43.
----------------------------------------------------------------------------
| Command     : etm_improve_assign                                         |
----------------------------------------------------------------------------
| Description : Runs the p2g improve assignment action for the current     |
|   split                                                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
