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.

GetExtraFiles

Group

Model Preparation

Description

Return the list of files to be transferred or retrieved during one of the following steps:

  • transfer of files during compilation from the host to the target

  • retrieval of files during compilation from the target to the host

  • transfer of files from the host to the target before the model is loaded

  • retrieval of files from the target to the host after the model is reset

Required Control

None

Usage

extraFiles = RtlabApi.GetExtraFiles (transferTime, logicalId)
( (pathName1, mode1), (pathName2, mode2), ...) = extraFiles

Input

  • transferTime: Specifies the moment during model compilation or load when the specified extra file is to be transferred or retrieved. See OP_EXTRA_FILE_TRANSFER_TIME.

  • logicalId: See Glossary. To specify all subsystems, set the logicalId to 0.

Output

  • extraFiles: Tuple of extra files. See OP_EXTRA_FILE.

Exception

  • EOK: Success.

  • EINVAL: Invalid parameter.

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

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

  • ESRCH: Specified subsystem id not found.

Examples

See example configuration model.

Related Items

AddExtraFile, RemoveExtraFile, OP_EXTRA_FILE_TRANFER_TIME, OP_EXTRA_FILE

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