Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

maeCopyRelxSetup

maeCopyRelxSetup(
t_relxSourceName
[ ?relxDestName t_relxDestName ]
[ ?run t_runName ]
[ ?session t_session ]
)
=> t / nil

Description

Creates a copy of a reliability setup and saves this copy with the specified name.

Arguments

t_relxSourceName

Name of the reliability setup to be copied.

?relxDestName t_relxDestName

Name with which you want to save the copy of the reliability setup.

If you do not specify this argument, the copy of the reliability setup is saved with the name relxSourceName:1.

?run t_runName

Name of the run in the run plan in which you want to copy the reliability setup.

Specify this argument only when you want to create a copy of the reliability setup that is saved in a specific run of a run plan.

The reliability setup to be copied must exist in the specified run.

?session t_session

Name of the ADE Explorer or ADE Assembler session.

Default: The current session.

Value Returned

t

The reliability setup is copied.

nil

The reliability setup is not copied because of an error.

Examples

The following example creates a copy of reliability setup relA and saves this copy with the name relB in the active setup of the current maestro session.

maeCopyRelxSetup("relA" ?relxDestName "relB")
=> t

The following example creates a copy of reliability setup relA and saves this copy in the active setup of the current maestro session. The copy of the reliability setup relA is saved with the name relA:1.

maeCopyRelxSetup("relA")
=> t

The following example creates a copy of reliability setup aging_10Years and saves this copy with the name aging_5Years in Run.0 in the current maestro session.

maeCopyRelxSetup("aging_10Years" ?relxDestName "aging_5Years" ?run "Run.0")
=> t

Note that the reliability setup aging_10Years must exist in Run.0.


Return to top
 ⠀
X