Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-167
Also see
(on page 7-167)
serial.write()
This function writes data to the serial port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
serial.write(
data
)
data
A string representing the data to write
Details
This function writes the specified string to the serial port, where it can be read by connected equipment (for
example, a component handler).
No terminator characters are added to the data, and data is written exactly as specified by the
data
parameter.
Example
serial.write("1 2 3 4")
Write data string
"1 2 3 4"
to the serial port.
Also see
settime()
This function sets the real-time clock (sets current time of the system).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
settime(
time
)
time
The time in seconds since January 1, 1970 UTC.
Details
This function sets the date and time of the instrument based on the
time
parameter (specified in UTC time).
UTC time is specified as the number of seconds since Jan 1, 1970, UTC. You can use UTC time from a local
time specification, or you can use UTC time from another source (for example, your computer).