Group

Model Interaction, Alias
Description

Rename an alias.

Required Control

System control
Usage

RtlabApi.RenameAlias(aliasName, newAliasName)

Input
  • aliasName: Name of the alias to be renamed.
  • newAliasName: New name of the alias.

Output

None

Exception
  • EOK: Success.
  • EPERM: Configuration control has not been granted to this client.
  • EINVAL: Alias not found.
  • EACCES: The new alias already exists.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
ExamplesNone
Related ItemsCreateAlias, RemoveAlias.
Modulesimport RtlabApi