node

The node commands module.

These commands are used in the following models: SMU2601B, SMU2602B, SMU2604B, SMU2611B, SMU2612B, SMU2614B, SMU2634B, SMU2635B, SMU2636B

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

Please report an issue if one is found.

Attributes and Functions
- node[N].execute()
- node[N].getglobal()
- node[N].setglobal()

NodeItem

Bases: ValidatedDynamicNumberCmd, BaseTSPCmd

The node[N] command tree.

Info
  • N, the node number of this instrument.
Properties and methods
  • .execute(): The node[N].execute() function.
  • .getglobal(): The node[N].getglobal() function.
  • .setglobal(): The node[N].setglobal() function.

execute

execute(script_code: str) -> None

Run the node[N].execute() function.

Description
  • This function starts test scripts from a remote node. This command is not available on the 2604B, 2614B, or 2634B.
TSP Syntax
- node[N].execute()
Parameters:
  • script_code (str) –

    A string containing the source code.

Raises:

getglobal

getglobal(name: str) -> str

Run the node[N].getglobal() function.

Description
  • This function returns the value of a global variable. This command is not available on the 2604B, 2614B, or 2634B.
TSP Syntax
- node[N].getglobal()
Parameters:
  • name (str) –

    The global variable name.

Returns:
  • str

    The result of the function call.

Raises:

setglobal

setglobal(name: str, value: str) -> None

Run the node[N].setglobal() function.

Description
  • This function sets the value of a global variable. This command is not available on the 2604B, 2614B, or 2634B.
TSP Syntax
- node[N].setglobal()
Parameters:
  • name (str) –

    The global variable name to set.

  • value (str) –

    The value to assign to the variable.

Raises: