High Voltage SourceMeter Instrument Reference Manual Section 12: SCPI command refere
2470-901-01 Rev. A / May 2019 12-139
Details
This command is valid when the buffer style is writable or full writable.
Defines the units and the number of digits that are reported for the data. This command affects how
the data is shown in the reading buffer and what is shown on the front-panel Home, Histogram,
Reading Table, and Graph screens.
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 six pieces of data into the buffer.
Read the buffer.
Output:
1.000000E+00,Watt DC,2.000000E+00,Watt DC,3.000000E+00,Watt DC,4.000000E+00,Watt
DC,5.000000E+00,Watt DC,6.000000E+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.000000E+00,Watt DC,7.000000E+00,Watt DC,2.000000E+00,Watt DC,8.000000E+00,Watt
DC,3.000000E+00,Watt DC,9.000000E+00,Watt DC,4.000000E+00,Watt
DC,1.000000E+01,Watt DC,5.000000E+00,Watt DC,1.100000E+01,Watt
DC,6.000000E+00,Watt DC,1.200000E+01,Watt DC
Also see
Reading buffers (on page 6-1)
:TRACe:MAKE (on page 12-127)
:TRACe:WRITe:READing (on page 12-140)
Writable reading buffers (on page 6-31)