Print() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Section 7: TSP command reference
Details
The timespec is a table using the fields listed in the table below.
year
month
day
hour
min
sec
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)
Also see
settime()
(on page 7-177)
settimezone()

print()

This function generates a response message.
Type
TSP-Link accessible
Function
No
Usage
print(value1)
print(value1, value2)
print(value1, ..., valueN)
value1
value2
valueN
...
Details
TSP-enabled instruments do not have inherent query commands. Like any other scripting environment, the
print() command and other related print() commands generate output. The print() command creates
one response message.
The output from multiple arguments are separated with a tab character.
Numbers are printed using the format.asciiprecision attribute. If you want use Lua formatting, print the
return value from the tostring() function.
7-152
The year (1970 or later)
The month (1 to 12)
The day (1 to 31)
The hour (00 to 23)
The minute (00 to 59)
The second (00 to 59)
(on page 7-178)
Affected by
The first argument to output
The second argument to output
The last argument to output
One or more values separated with commas
Series 2600B System SourceMeter® Instrument Reference Manual
Sets the date and time to Mar 31, 2010 at
2:25 pm.
Where saved
Default value
2600BS-901-01 Rev. B / May 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents