scriptvar
¶
The scriptvar commands module.
These commands are used in the following models: MP5103, SMU2601B, SMU2602B, SMU2604B, SMU2606B, SMU2611B, SMU2612B, SMU2614B, SMU2634B, SMU2635B, SMU2636B, SMU2651A, SMU2657A
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- scriptVar.autorun
- scriptVar.list()
- scriptVar.name
- scriptVar.run()
- scriptVar.save()
- scriptVar.source
Scriptvar
¶
Bases: BaseTSPCmd
The scriptVar command tree.
Info
scriptVar, the name of the variable that references the script.
Properties and methods
.autorun: ThescriptVar.autorunattribute..list(): ThescriptVar.list()function..name: ThescriptVar.nameattribute..run(): ThescriptVar.run()function..save(): ThescriptVar.save()function..source: ThescriptVar.sourceattribute.
autorun
property
writable
¶
autorun: str
Access the scriptVar.autorun attribute.
Description
- This attribute controls the autorun state of a script.
Usage
- Accessing this property will send the
print(scriptVar.autorun)query. - Setting this property to a value will send the
scriptVar.autorun = valuecommand.
TSP Syntax
- scriptVar.autorun = value
- print(scriptVar.autorun)
Info
scriptVar, the name of the variable that references the script.
| Raises: |
|
|---|
name
property
writable
¶
name: str
Access the scriptVar.name attribute.
Description
- This attribute contains the name of a script in the runtime environment.
Usage
- Accessing this property will send the
print(scriptVar.name)query. - Setting this property to a value will send the
scriptVar.name = valuecommand.
TSP Syntax
- scriptVar.name = value
- print(scriptVar.name)
Info
scriptVar, the name of the variable that references the script.
| Raises: |
|
|---|
source
property
writable
¶
source: str
Access the scriptVar.source attribute.
Description
- This attribute contains the source code of a script.
Usage
- Accessing this property will send the
print(scriptVar.source)query. - Setting this property to a value will send the
scriptVar.source = valuecommand.
TSP Syntax
- scriptVar.source = value
- print(scriptVar.source)
Info
scriptVar, the name of the variable that references the script that contains the source code.
| Raises: |
|
|---|
list
¶
list() -> None
Run the scriptVar.list() function.
Description
- This function generates a script listing.
TSP Syntax
- scriptVar.list()
Info
scriptVar, the name of the variable that references the script.
| Raises: |
|
|---|
run
¶
run() -> None
Run the scriptVar.run() function.
Description
- This function runs a script.
TSP Syntax
- scriptVar.run()
Info
scriptVar, the name of the variable that references the script.
| Raises: |
|
|---|
save
¶
save(filename: str | None = None) -> None
Run the scriptVar.save() function.
Description
- This function saves the script to nonvolatile memory or to a USB flash drive.
TSP Syntax
- scriptVar.save()
| Parameters: |
|
|---|
| Raises: |
|
|---|