Scriptvar.source; Status.clear() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual

scriptVar.source

This attribute contains the source code of a script.
Type
TSP-Link accessible
Attribute (R)
No
Usage
code = scriptVar.source
code
scriptVar
Details
The body of the script is a single string with lines separated by the new line character.
Example
print(test7.source)
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()

status.clear()

This function clears event registers and the event log.
Type
TSP-Link accessible
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
status.clear()
Also see
*CLS
(on page 2)
DMM7510-901-01 Rev. B / May 2015
Affected by
Not applicable
The body of the script
The name of the variable that references the script that contains the source code
(on page 8-238)
Affected by
Section 8: TSP command reference
Where saved
Default value
Not applicable
Not applicable
Where saved
Default value
Clear the bits in the registers
8-239

Advertisement

Table of Contents
loading

Table of Contents