script

The script commands module.

These commands are used in the following models: SMU2450

THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.

Please report an issue if one is found.

Attributes and Functions
- script.delete()
- script.load()

Script

Bases: BaseTSPCmd

The script command tree.

Properties and methods
  • .delete(): The script.delete() function.
  • .load(): The script.load() function.

delete

delete(script_name: str) -> None

Run the script.delete() function.

Description
  • This function deletes a script from the run-time memory and nonvolatile memory.
TSP Syntax
- script.delete()
Parameters:
  • script_name (str) –

    A string that represents the name of the script.

Raises:

load

load(file: str) -> str

Run the script.load() function.

Description
  • This function creates a script from a specified file.
TSP Syntax
- script.load()
Parameters:
  • file (str) –

    A string that contains the path and file name of the script file to load; if scriptVar is not defined, this name is used as the global variable name for this script.

Returns:
  • str

    The result of the function call.

Raises: