
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 6: SCPI command reference
2461-901-01 A/November 2015
6-179
Example 1
:TRAC:MAKE "write2me", 1000, WRITable
:TRAC:WRIT:FORM "write2me", WATT, 4
:TRAC:WRIT:READ "write2me", 1
:TRAC:WRIT:READ "write2me", 2
:TRAC:WRIT:READ "write2me", 3
:TRAC:WRIT:READ "write2me", 4
:TRAC:WRIT:READ "write2me", 5
:TRAC:WRIT:READ "write2me", 6
:TRAC:DATA? 1, 6, "write2me", read, unit
Creates a 1000-point reading buffer named
write2me
. Style is writable.
Set the data format to show units of watts with 4-½ digit resolution.
Write 6 pieces of data into the buffer.
Read the buffer.
Output:
1.00,Watt DC,2.00,Watt DC,3.00,Watt DC,4.00,Watt
DC,5.00,Watt DC,6.00,Watt DC
Example 2
:TRAC:MAKE "write2me", 1000, FULLWRIT
:TRAC:WRIT:FORM "write2me", WATT, 4, WATT, 4
:TRAC:WRIT:READ "write2me", 1, 7
:TRAC:WRIT:READ "write2me", 2, 8
:TRAC:WRIT:READ "write2me", 3, 9
:TRAC:WRIT:READ "write2me", 4, 10
:TRAC:WRIT:READ "write2me", 5, 11
:TRAC:WRIT:READ "write2me", 6, 12
:TRAC:DATA? 1, 6, "write2me", read, unit, read, unit
Creates a 1000-point reading buffer named
write2me
. Style is full writable.
Set the data format to show units of watts with 4-½ digit resolution for the first value and the second value in
the buffer index.
Write 12 pieces of data into the buffer.
Read the buffer.
Output:
1.00,Watt DC,7.00,Watt DC,2.00,Watt DC,8.00,Watt
DC,3.00,Watt DC,9.00,Watt DC,4.00,Watt
DC,10.00,Watt DC,5.00,Watt DC,11.00,Watt
DC,6.00,Watt DC,12.00,Watt DC,
Also see
(on page 3-2)
(on page 6-165)
(on page 6-180)
(on page 3-27)