
25-10
Waveform Commands
SOURce:CGRade
This command selects a channel, function, TDR response, waveform memory, histogram, or
color grade/gray scale as the waveform source. If the waveform source is set to CGRade, the
default source is the first database signal displayed. To set the CGRade source you must use
the :WAVeform:SOURce:CGRade command. TDR responses are valid sources for waveform
queries only if the current settings for channel bandwidth, record length, and timebase match
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);
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...