Description
This Tcl command changes the user name of a programmer. Enter the new programmer name in the Programmer window to rename the programmer. By default, the programmer name is the same as the programmer ID.
set_prg_name -name { name } -new_name { new_name }
Arguments
Parameter | Type | Description |
---|
name | string | Identifies the old programmer name. |
new_name | string | Specifies the new programmer name. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Parameter 'param_name' is not defined. Valid command formatting is set_prg_name -name "name" -new_name "new_name" |
None | Required parameter 'new_name' is missing. |
None | The programmer with name 'some_device_name' does not exist. |
Example
The following example changes the name of the programmer 'FP300086' to 'FP3Prg2':
set prj_name "FP300086"
set_prg_name -name "$prj_name" -new_name {FP3Prg2}