
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-354
3700AS-901-01 Rev. D/June 2018
Example
settimezone("8", "1", "3.3.0/02", "11.2.0/02")
settimezone(offset)
Sets
offset
to equal +8 hours, +1 hour for
DST, starts on Mar 14 at 2:00 a.m., ends on
Nov 7 at 2:00 a.m.
Sets local time zone to
offset
.
Also see
(on page 11-251)
(on page 11-297)
(on page 11-352)
setup.cards()
This function returns the card model numbers that are defined for each slot in a saved setup.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
CardModels
= setup.cards()
CardModels
= setup.cards("/
path
/
filename
.set")
CardModels
A comma-delimited string listing the card model numbers for each slot
path/filename
The path and name of the file on the flash drive; the path may be absolute or
relative to the current working directory; the
.set
extension must be on the
filename
Details
This function returns a comma-delimited string that lists the card model for each slot in the instrument
(from 1 to 6) for the specified saved setup. If no card was installed in the slot when the setup was
saved, a 0 is returned as the card model number.
Use
CardModels
= setup.cards()
to return cards associated with the internally saved setup.
Use
CardModels
=
setup.cards("/
path
/
filename
.set")
to return cards associated with the
setup saved on the USB flash drive.
Example 1
CardModels = setup.cards()
print(CardModels)
Query the cards associated with the internal
saved setup.
Output, assuming a 3722 card in slot 1:
3722,0,0,0,0,0
print(setup.card("/usb1/mysetup.set"))
Query the cards associated with
mysetup.set
on the root directory on the
flash drive.
Output, assuming a 3723 on slot 2, 3722 on
slot 3, and 3720 on slot 4:
0,3723,3722,3720,0,0