Serial.write(); Settime() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Also see

serial.write()

serial.write()
This function writes data to the serial port.
Type
TSP-Link accessible
Function
Yes
Usage
serial.write(data)
data
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")
Also see
serial.read()

settime()

This function sets the real-time clock (sets current time of the system).
Type
TSP-Link accessible
Function
Yes
Usage
settime(time)
time
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).
2651A-901-01 Rev. A / March 2011
(on page 7-167)
Affected by
A string representing the data to write
(on page 7-166)
Affected by
The time in seconds since January 1, 1970 UTC.
Where saved
Default value
Write data string "1 2 3 4" to the serial port.
Where saved
Default value
Section 7: Command reference
7-167

Advertisement

Table of Contents
loading

Table of Contents