Appendix A SCPI Command Reference
AFGenerator subsystem
WCDMA Options Version 6.20
449
:AFGenerator:SINGle:SHAPe
:AFGenerator:REPLay:DOWNload:FILE
:AFGenerator:REPLay:REPeat
Query
The query form of this command will return the current setting. The string delivered
back will contain one floating point real number.
Example
:AFGenerator:SINGle:FREQuency 2500
:AFG:SING:FREQ? Value returned: "2500.0".
Syntax
:AFGenerator:SINGle:SHAPe <PredefExp>
Parameters
PredefExp is one of the following predefined expressions:
SINE|RECTangle|TRIangle| POSitivep|NEGativep. Default is SINE.
Description
Sets the waveform of the AF signal to be generated.
SINE selects a sine wave, while
RECTangle will generate a rectangular waveform.
TRIangle selects a triangular waveform.
POSitivep will generate a sawtooth with a rising (positive) slope, while
NEGativep switches to a sawtooth with a falling (negative) slope.
Note: This command will only work in single-tone generation mode. Please refer to
the description of the :AFG:MODE command for further details regarding the
single-tone generation mode.
Query
The query form of this command returns the current setting. A query will return a
string, containing the short-form version of one of the predefined expressions
explained above.
Example
:AFGenerator:SINGle:SHAPe TRIangular
:AFG:SING:SHAP? Value returned: "TRI".
Syntax
:AFGenerator:REPLay:DOWNload:FILE <string>
Parameters
string is the name of the audio file to be loaded from the /rapid/wav directory.
Description
Loads an audio file (*.wav) to be replayed.
Note: Wave files for replay over the audio interface (AF out) must be available with a
sampling rate of either 16 or 48 kHz.
Query
The query form of this command returns the current setting. A query will return a
string containing the loaded file name.
Example
:AFG:REPL:DOWN:FILE efr1.wav
Loads file ef1.wav from the /rapid/wav directory to the wave file replay function.
Syntax
:AFGenerator:REPLay:REPeat <PredefExp>
Parameters
PredefExp is one of the following predefined expressions: ON|OFF.
Default is ON.
Description
Selects whether the samples shall play once or repetitively.
Query
The query form of this command returns the current setting. A query will return a
string containing one of the predefined expressions explained above.