Agilent Technologies 86100-90086 Sprinkler User Manual


 
25-10
Waveform Commands
SOURce:CGRade
the settings valid during the TDR normalization procedure. In the case of a mismatch, the
TDR response is not displayed and queries such as :WAV:POINTS? will return an error mes-
sage indicating that the “source is not valid”. Histogram data sources require long format.
<N> An integer, 1 through 4.
Example This example selects channel 1 as the waveform source.
10 OUTPUT 707;":WAVEFORM:SOURCE CHANNEL1"
Query :WAVeform:SOURce?
The query returns the currently selected waveform source.
Returned Format [:WAVeform:SOURce] {WMEMory<N> | FUNCtion<N> | RESPonse<N> | CHANnel<N> | HISTogram |
CGRade}<NL>
Example This example places the current selection for the waveform source in the string variable,
Selection$.
10 DIM Selection$[50] !Dimension variable
20 OUTPUT 707;":WAVEFORM:SOURCE?"
30 ENTER 707;Selection$
SOURce:CGRade
Command :WAVeform:SOURce:CGRade {CHANnel<N> | FUNCtion<N> | CGMemory}
This command sets the color grade source for waveform commands. The default is the first
displayed database signal.
CHANnel<N> Corresponds to the channel databases.
FUNCtion<N> Corresponds to the function databases.
<N> An integer, 1 through 4.
Example The following example sets the channel 1 database as the CGRade source.
:WAVeform:SOURce:CGRade CHAN1
:WAVeform:SOURce CGRade
The CGRade parameter in the second command corresponds to the channel 1 database.
Query :WAVeform:SOURce:CGRade?
The query returns the current color grade source.
Returned Format [:WAVeform:SOURce:CGRade] {CHANnel<N> | FUNCtion<N> | CGMemory}<NL>
Example The following example gets the current color grade source and store the value in the string
array, setting.
write_IO (“:WAVeform:SOURce:CGRade?”);
read_IO (Setting, SETTING_SIZE);
TYPE?
Query :WAVeform:TYPE?
This query returns the current acquisition data type for the currently selected source. The
type returned describes how the waveform was acquired. The waveform type may be NOR-
MAL, RAW, INTERPOLATE, AVERAGE, or VERSUS.