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

Utilities
Description

Installs an archive file (TGZ or RPM) on the specified target. A log file is created during this installtion or the filename is returned by the function.  To install the current version of RT-LAB on a target, use InstallRtlab instead.

Required Control

None
Usage

logfilename = RtlabApi.InstallTarget(nodeName, filename)

Input
  • nodeName: RT-LAB target node name.
  • filename: Path and file name of the target to install.
Output
  • logFilename: Path and file name of the log file if any.
Exception
  • EOK: Success.
  • ESRCH: RT-LAB target file not found.
  • EFAULT: No nodeName or filename have been specified.
  • EINVAL: Unknown file extension for the RT-LAB target file.
  • OP_API_EBAD_PHYS_NODE: Invalid node name.
ExamplesNone
Related ItemsNone
Modulesimport RtlabApi
  • No labels