7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-239
scriptVar.source
This attribute contains the source code of a script.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) No Not applicable Not applicable Not applicable
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 8-238)
status.clear()
This function clears event registers and the event log.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
status.clear()
Details
This command clears the event registers of the Questionable Event and Operation Event Register
set. It does not affect the Questionable Event Enable or Operation Event Enable registers.
Example
Clear the bits in the registers
Also see
*CLS (on page 2)