Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Utilities

Description

Installs

Install an archive file (TGZ or RPM) on the specified target. A log file is created during this

installtion

installation 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.

Examples

None

Related Items

None

InstallRtlab

Modules

import RtlabApi