B-10
BIT 4886 051010
FIGURE B-3. USING LIST COMMANDS AND QUERIES (SHEET 1 OF 2)
NOTES:
Examples below are intended only to illustrate command functions. Refer to PAR. 4.1.1 for pro-
gramming techniques to optimize performance.
FUNC:MODE VOLT
Initializes the power supply mode to be voltage.
LIST:CLEAR
Initializes the list processor to add entries, clears main channel (LIST:CURR
or LIST:VOLT) and LIST:DWEL data tables (Table B-2) and List Sequence
table (Table B-3).
LIST:dwell .010
Sets the time duration for location 0 to be 0.010 second (Since dwell times
for the rest of the locations in this sample list are not entered before running
the list, the dwell time will be 0.010 second for all locations.
LIST:VOLT -20,-18,-16,-14,-12,-10,-8,-6,-4,-2,0
Starting at location 0 (-20), up to location 10 (0), fills the list with 11 data
points.
LIST:VOLT:POIN?
Returns 11. Indicates that 11 data points have been entered, and location
11 is the next location to be filled (for the 12th data point.
NOTE: See PAR. B.2 for format and accuracy of all numerical data returned.
LIST:QUERY?
Returns 0 (pointer cleared by LIST:CLE).
LIST:VOLT?
Returns -20,-18,-16,-14,-12,-10,-8,-6,-4,-2,0 (the contents of locations 0
through 10). (See PAR. B.2 for format and accuracy of numerical data.)
list:volt 2,4,6,8,10,12,14,16,18,20
Adds 10 points to the list (location 11 through 20). List now has 21 points.
LIST:VOLT:POIN?
Returns 21 (the next location to be filled by LIST:VOLT).
LIST:VOLT?
Returns -20,-18,-16,-14,-12,-10,-8,-6,-4,-2,0,2,4,6,8 (the contents of loca-
tions 0 through 15).
LIST:GEN SEQUENCE
Enables the execution of a user-determined sequence list
LIST:seq 0, 0, 0, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
Establishes the user-determined sequence.
LIST:seq 19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Continues the user-determined list sequence. The SEQ values entered
mean that if LIST:GEN SEQ is issued, the list will execute location 0 four
times (-20V for 40 milliseconds) location 1 through 20 and 19 through 0 (10
milliseconds each) for a total of 44 data points when VOLT:MODE LIST is
issued.
LIST:SEQ?
Returns 0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12 (LIST:SEQ locations 0 through
15).
LIST:QUERY 16
Start LIST queries from location 16.
LIST:SEQ?
Returns 13,14,15,16,17,18,19,20,19,18,17,16,15,14,13,12 (LIST:SEQ loca-
tions 16 through 31).
LIST:QUERY 32
Start LIST queries from location 32.
LIST:SEQ?
Returns 11,10,9,8,7,6,5,4,3,2,1,0 (LIST:SEQ locations 32 through 43).
LIST:COUNT 100
Specifies that when VOLT:MODE LIST is issued, the user-determined
sequence will be executed 100 times. (44 steps in the list will be executed
100 times)
LIST:COUN:SKIP 4
Specifies that the first 4 steps of the sequence will only be executed the first
time through the list. For the subsequent 99 iterations established by
LIST:COUNT 100, location 0 (-20V) will last 10 milliseconds.
CURR 1;VOLT -20
initializes the BOP output.
OUTPUT ON
Turns the output on (BOP now provides -20 volts)
VOLT:MODE LIST
Executes the list. For 40 milliseconds the BOP outputs -20V, then output a
staircase triangle wave from -20V to +20V and back down to -20V. This
staircase will have a uniform spacing between voltage changes of 10 milli-
seconds and will repeat 100 times.
VOLT?
Returns -20 (the last step in the list set the unit to -20V.
LIST:GEN?
Returns SEQ to indicate the list will be executed in the user-determined
order entered by LIST:SEQ (Table B-3).