Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-245
fileVar:write()
This function writes data to a file.
Usage
fileVar:write(data)
fileVar:write(data1, data2)
fileVar:write(data1, ..., datan)
The file descriptor variable
Write all data to the file
The first data to write to the file
The second data to write to the file
The last data to write to the file
One or more entries (or values) separated by commas
Details
This function may buffer data until a flush (fileVar:flush() or io.flush()) or close
(fileVar:close() or io.close()) operation is performed.
Also see
File I/O (on page 9-27)
fileVar:close() (on page 11-242)
fileVar:flush() (on page 11-242)
io.close() (on page 11-253)
io.flush() (on page 11-253)
io.open() (on page 11-255)
format.asciiprecision
This attribute sets the precision (number of digits) for all numbers returned in the ASCII format.
Instrument reset
Recall setup
Create configuration script
Save setup
Usage
precision = format.asciiprecision
format.asciiprecision = precision
A number representing the number of digits to be printed for numbers printed with
the print(), printbuffer(), and printnumber() functions; must be a
number between 1 and 16