Scripting

device get_device_name_by_index (Tcl Script API Function)



The device get_device_name_by_index function has the following format:

Syntax device get_device_name_by_index <family_name> <index>
Arguments

<family_name>

The name of the device family to which the device belongs.

<index>

The index value of the device.

Return Value

Code Name Code String Return
TCL_OK 0 <device name>
TCL_ERROR 1 Invalid index value
TCL_ERROR 1 wrong # args. Usage: device device_name_by_index <family name> <index>"
Description Returns the device name belonging to the specified device family and corresponding to the specified index value.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.