Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
8-72
2450-901-01 Rev. B/September 2013
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.
When using this command from a remote node,
localnode
should be replaced with the node reference, for
example,
node[5].serialno
.
Example
display.clear()
display.settext(display.TEXT1, localnode.serialno)
Clears the instrument display.
Places the serial number of this instrument on the top line of the User Screen display.
Also see
(on page 8-70)
(on page 8-74)
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(
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
,
minute =
minute
, second =
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)