EasyManuals Logo

Keithley 2461 Reference Manual

Keithley 2461
1109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #748 background imageLoading...
Page #748 background image
Model 2461
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2461-901-01 A/November 2015 8-75
Example
file_num = file.open("/usb1/testfile.txt",
file.MODE_WRITE)
if file_num != nil then
file.write(file_num, "This is my test file")
file.close(file_num)
end
Opens file testfile.txt for writing.
If no errors were found while opening,
writes This is my test file and
closes the file.
Also see
None
file.read()
This function reads data from a file on the USB flash drive.
Type TSP-Link accessible
Affected by Where saved Default value
Function
No
Usage
fileContents = file.read(fileNumber, readAction)
fileContents
The contents of the file based on the readAction parameter
fileNumber
The file number returned from the file.open() function to read
readAction
The action:
Return the next line; returns nil if the present file position is at the end of the
file: file.READ_LINE
Return a string that represents the number found; returns an event string if no
number was found; returns nil if the current file position is at the end of file:
file.READ_NUMBER
Return the whole file, starting at the present position; returns nil if the
present file position is at the end of the file: file.READ_ALL
Details
This command reads data from a file.
Example
file_num = file.open("/usb1/testfile.txt",
file.MODE_READ)
if file_num != nil then
file_contents = file.read(file_num, file.READ_ALL)
file.close(file_num)
end
Open testfile.txt on the
USB flash drive for reading. If
it opens successfully, read the
entire contents of the file and
store it in variable
file_contents.
Close the file.
Also see
None

Table of Contents

Other manuals for Keithley 2461

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2461 and is the answer not in the manual?

Keithley 2461 Specifications

General IconGeneral
Maximum Current7 A
Power100 W
Resolution6.5 digits
Source Measure Unit (SMU)Yes
DC Voltage100 V
Maximum Voltage100 V
Display5-inch capacitive touchscreen
ConnectivityUSB, GPIB
SoftwareTSP
DC Current7 A
Current Source Range0 to 7 A
Voltage Measurement Range100 mV to 100 V
Current Measurement Range10 nA to 7 A
Voltage Measurement Resolution100 nV

Related product manuals