:TRIGger:PATTern:PATTern <pa_ch1>[,<pa_ch2>[,<pa_ch3> 
[,<pa_ch4>[,<pa_d0>…[,<pa_d15>]]]]] 
:TRIGger:PATTern:PATTern? 
  <pa_ch1> to <pa_ch4> set the patterns of analog channels CH1 to CH4. <pa_d0> 
to <pa_d15> set the patterns of digital channels D0 to D15. 
  Users can send 20 parameters to set the pataterns of all the channels. Users can also 
omit some parameters to set the patterns of some of the channels (the pattern states 
of the channels of which the parameters are omitted remains unchanged), but at 
least one parameter (this parameter sets the pattern of CH1) should be sent. When 
the number of parameters sent is less than 20, the instrument sets the channels in 
CH1 to CH4 and D0 to D15 order.   
  In the range of the parameter, H represents high level (higher than the threshold 
level of the channel). L represents low level (lower than the threshold level of the 
channel). X denotes that this channel is ignored (this channel is not used as a part of 
the pattern. When all the channels in the pattern are set to X, the oscilloscope will not 
trigger). R represents the rising edge and F represents the falling edge (in the 
pattern, only a single rising edge or falling edge can be defined. If an edge item is 
currently defined and then another edge item is defined in another channel in the 
pattern, the former edge item defined will be replaced by X). 
  Please distinguish "omit parameter" from "ignore channel". The former means that 
the parameters corresponding to some channels are not sent when sending the 
command and the pattern states of these channels remain unchanged. The latter 
means that the channel is set to X when sending the command and the state of this 
channel is ignored when the instrument judges the patterns. 
  The query returns the patterns of the 4 analog channels when all the digital channels 
are turned off; the query returns the patterns of all the 20 channels when any of the 
digital channels is turned on. 
:TRIGger:PATTern:PATTern H,R,L,X /*Set the patterns of CH1 to CH4 to H,R,L,X. The 
patterns of the other channels remain unchanged*/ 
:TRIGger:PATTern:PATTern?              /*The query returns 
H,R,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X*/