node

The node commands module.

These commands are used in the following models: DAQ6510, SMU2450, SMU2460, SMU2461, SMU2470, SMU2651A, SMU2657A, SS3706A

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 (1 to 63).
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 on a remote TSP-Link node.
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.
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.
TSP Syntax
- node[N].setglobal()
Parameters:
  • name (str) –

    The global variable name to set.

  • value (str) –

    The value to assign to the variable.

Raises: