Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-298 3700AS-901-01 Rev. D/June 2018
Details
The timespec is a table using the fields listed in the table below.
If the time (hour, minute, and second) options are not used, they default to noon for that day. When
called without a parameter (the first form), the function returns the current time.
Set the time zone before calling the os.time() function.
Example
systemTime = os.time({year = 2010,
month = 3,
day = 31,
hour = 14,
min = 25})
settime(systemTime)
Sets the date and time to Mar 31, 2010 at
2:25 pm.
Also see
settime() (on page 11-352)
settimezone() (on page 11-353)
print()
This function generates a response message.
Usage
print(value1)
print(value1, value2)
print(value1, ..., valueN)
The first argument to output
The second argument to output
The last argument to output
One or more values separated with commas