Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

SaveAlias

Group

Model Interaction, Alias

Description

Save the current aliases list in the specified file.

Specifying a pattern ensures that only matching aliases are saved. Wildcard characters may be used in pattern.

Required Control

None

Usage

RtlabApi.SaveAlias(fileName, aliasNamePattern)

Input

  • fileName: Absolute or relative path of the file to save.

  • aliasNamePattern: See Glossary.

Output

None

Exception

  • EOK: Success.

  • ENOENT: Cannot open alias file.

  • ENOMEM: Memory allocation error.

  • EIO: Error sending the request or receiving the reply.

  • EBADF: Model not specified by previous Connect or OpenProject.

Examples

None

Related Items

CreateAlias, LoadAlias

Modules

import RtlabApi

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter