Language Dictionary - 3
105
Trace Subsystem
This subsystem programs the output waveform of the ac source. Two waveform commands are available:
TRACe and DATA. These commands are interchangeable; they both perform the same function.
Subsystem Syntax
TRACe | DATA
:CATalog? Return list of defined waveforms
[:DATA] <waveform_name>, <n> {, <n>} Assign values to a waveform
:DEFine <waveform_name>[, <waveform_name> | 1024] Create and name new waveform
:DELete
[:NAME] <waveform_name> Delete waveform to free its memory
TRACe
DATA
These commands set the values of a user-defined waveform table.
The first parameter is the name of a waveform that was previously defined with TRACe:DEFine. Following
the name are 1024 data points that define the relative amplitudes of exactly one cycle of the waveform.
The first data point defines the relative amplitude that will be output at 0 degrees phase reference. An
error will occur if exactly 1024 data points are not sent with the command.
Data points can be in any arbitrary units. The ac source scales the data to an internal format that removes
the dc component and ensures that the correct ac rms voltage is output when the waveform is selected.
When queried, trace data is returned as normalized values in the range of
±
1. You can query the
predefined SINusoid, SQUare, or CSINusoid waveform shapes, but you cannot use the predefined names
as names for your waveform.
Waveform data is stored in nonvolatile memory and is retained when input power is removed. Up to 12
user-defined waveforms may be created and stored. The *RST and *RCL commands have no effect on
user-defined waveforms.
A waveform can be selected for output using the FUNCtion:SHAPe, FUNCtion:SHAPe:TRIGgered, or
LIST:SHAPe commands.
Command Syntax
TRACe[:DATA] <waveform_name>, <NRf> {,<NRf>}
DATA[:DATA] <waveform_name>, <NRf> {,<NRf>}
Parameters
<waveform_name>, <amplitude>
Examples
TRAC flattop,0.1,0.3,0.7,.....-0.7,-0.3,-0.1
Query Syntax
TRACe[:DATA]? <waveform_name>
DATA[:DATA]? <waveform_name>
Returned Parameters
<NR3> {,<NR3>} (a total of 1024 data points)
Related Commands
TRAC:DATA TRAC:DEL FUNC:SHAP