8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-210 DMM7510-901-01 Rev. B / May 2015
file.flush()
This function writes buffered data to a file on the USB flash drive.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
file.flush(fileNumber)
The file number returned from the
function to flush
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
Affected by Where saved Default value
Function No
Usage
file.mkdir(path)
The path of the directory
Details
The directory path must be absolute.
Example
Create a new directory named TestData.
Also see
None