File.flush(); File.mkdir() - Keithley DMM7510 Reference Manual

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

Advertisement

Section 8: TSP command reference

file.flush()

This function writes buffered data to a file on the USB flash drive.
Type
TSP-Link accessible
Function
No
Usage
file.flush(fileNumber)
fileNumber
Details
The file.write() function may buffer data instead of writing immediately to the USB flash drive.
Use file.flush() to flush this data. Data may be lost if the file is not closed or flushed before a
script ends.
If there is going to be a time delay before more data is written to a file, flush the file to prevent loss of
data because of an aborted test.
Also see
None

file.mkdir()

This function creates a directory at the specified path on the USB flash drive.
Type
TSP-Link accessible
Function
No
Usage
file.mkdir(path)
path
Details
The directory path must be absolute.
Example
file.mkdir("TestData")
Also see
None
8-210
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Where saved
The file number returned from the file.open() function to flush
Affected by
Where saved
The path of the directory
Default value
Default value
Create a new directory named TestData.
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents