High Voltage SourceMeter Instrument Reference Manual  Section 14: 
 
2470-901-01 Rev. A / May 2019  14-107
scriptVar.source 
This attribute contains the source code of a script. 
Type  TSP-Link accessible  Affected by  Where saved  Default value 
Usage 
code = scriptVar.source 
The name of the variable that references the script that contains the source code 
Details 
The body of the script is a single string with lines separated by the new line character. 
Example 
 
Assuming a script named test7 was created on the instrument, this example retrieves the source code.
Output: 
reset() 
display.settext(display.TEXT1, "Text on line 1") 
display.settext(display.TEXT2, "Text on line 2") 
Also see 
scriptVar.save() (on page 14-106) 
smu.breakdownprotection 
This attribute allows you to enable the breakdown protection in situations where the current may exceed the 
programmed current or the limit current value due to a breakdown condition. 
Type  TSP-Link accessible  Affected by  Where saved  Default value 
Power cycle 
Usage 
setting = smu.breakdownprotection 
smu.breakdownprotection = setting 
The breakdown protection setting: 
 Operate breakdown protection automatically (see Details):
smu.BREAKDOWN_AUTO
 Turn breakdown protection off: smu.BREAKDOWN_OFF
 Turn breakdown protection on (not recommended):