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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Group

Model Preparation
Description

Returns 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 subsystem, 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 SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • ESRCH: Specified subsystem id not found.
ExamplesSee example configuration model.
Related ItemsAddExtraFile, RemoveExtraFile, OP_EXTRA_FILE_TRANFER_TIME, OP_EXTRA_FILE
Modulesimport RtlabApi
  • No labels