gxGetEndDeviceName (string sProgrammerID) : string
Returns the name of a connected programmer.
Parameter:
sProgrammerID - programmer identifier. A programmer ID normally consists of the string "ed" followed by an optional number, such as "ed0", "ed1", etc.
Returns:
string - the name of the programmer with the given ID. By default, the programmer names are "GALEP-5M", "GALEP-5D" etc. They can be renamed to any desired name.
Example:
string[] lst = gxGetConnectedEndDevices();
for (int i = 0; i < lst.size(); ++i)
{
string s = "Device \""+lst[i]+"\" ("+gxGetEndDeviceName(lst[i])+")";
print(s);
}
See also:
gxImportProject, gxStartAction
► latest version online