
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-87
localnode.serialno
This attribute stores the instrument's serial number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
serialno
= localnode.serialno
serialno
The serial number of the instrument
Details
This indicates the instrument serial number.
Example
display.clear()
display.settext(display.TEXT2, "Serial #: " ..localnode.serialno)
display.changescreen(display.SCREEN_USER_SWIPE)
Clears the instrument display.
Places the serial number of this instrument on the bottom line of the USER swipe screen display. Displays the
USER swipe screen.
Also see
(on page 8-85)
(on page 8-89)
localnode.settime()
This function sets the date and time of the instrument.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
localnode.settime()
localnode.settime(
year
,
month
,
day
,
hour
,
minute
,
second
)
localnode.settime(
hour
,
minute
,
second
)
localnode.settime(os.time({
year
,
month
,
day
}))
localnode.settime(os.time({year =
year
, month =
month
, day =
day
, hour =
hour
, min
=
minute
, sec =
second
}))
year
Year; must be more than 1970
month
Month (1 to 12)
day
Day (1 to 31)
hour
Hour in 24-hour time format (0 to 23)
minute
Minute (0 to 59)
second
Second (0 to 59)