Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-136
077114601 / March 2019
Example
:LIST1:CURR "1,1,1"
:LIST1:VOLT "5,10,15"
:LIST1:DWEL "2,2,2"
:LIST1:CURR:APPE "2,2,2"
:LIST1:VOLT:APPE "5,10,15"
:LIST1:DWEL:APPE "3,3,3"
:LIST:SAVE:INTE 1
:LIST1:CURR?
Set up list 1 with the following 6 points:
Point 1: 1 A, 5 V, 2 s
Point 2: 1 A, 10 V, 2 s
Point 3: 1 A, 15 V, 2 s
Point 4: 2 A, 5 V, 3 s
Point 5: 2 A, 10 V, 3 s
Point 6: 2 A, 15 V, 3 s
Query the current settings of list 1. Output:
1.0000,1.0000,1.0000,2.0000,2.000
0,2.0000
Also see
[:SOURce[n]]:LIST<listNumber>:<element>
(on page 7-134)
[:SOURce[n]]:LIST:SAVE:INTernal
(on page 7-143)
[:SOURce[n]]:LIST<listNumber>:<element>:POINts?
This command queries the length of the specified list.
Type
Affected by
Where saved
Default value
Query only
Instrument reset
Not applicable
Not applicable
Usage
[:SOURce[n]]:LIST<listNumber>:CURRent:POINts?
[:SOURce[n]]:LIST<listNumber>:VOLTage:POINts?
[:SOURce[n]]:LIST<listNumber>:DWELl:POINts?
[n]
Channel number: For single-channel instruments, the value is
1
<listNumber>
The list number: 1 to 9.
Details
This command returns the length of the specified list. The response message indicates the number of
points in the list.
Example
:LIST1:VOLT:POIN?
Check the number of points in the list. Output: 6
Also see
[:SOURce[n]]:LIST<listNumber>:<element>
(on page 7-134)
[:SOURce[n]]:LIST<listNumber>:<element>:APPend
(on page 7-135)