Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-178 2600BS-901-01 Rev. F/August 2021
Details
Use this function to save the specified buffer to a USB flash drive.
This function only saves to a USB flash drive.
You are not required to qualify the path to the USB flash drive, but you can add /usb1/ before the
fileName (see Example 2).
Example 1
savebuffer(smua.nvbuffer1, "csv", "mybuffer.csv")
Save smua dedicated reading buffer 1 as a CSV file named mybuffer.csv.
savebuffer(smua.nvbuffer1, "csv", "/usb1/mybuffer.csv")
Save smua dedicated reading buffer 1 to an installed USB flash drive as a CSV file named mybuffer.csv.
Also see
KISavebuffer factory script (on page 7-24)
smuX.savebuffer() (on page 9-236)
script.anonymous
This is a reference to the anonymous script.
Usage
scriptVar = script.anonymous
The name of the variable that references the script
Details
You can use the script.anonymous script like any other script. Also, you can save the anonymous
script as a user script by giving it a name.
This script is replaced by loading a script with the loadscript or loadandrunscript commands
when they are used without a name.
Example 1
Displays the content of the anonymous script.
print(script.anonymous.source)
Retrieves the source of the anonymous script.