228 Keysight InfiniiVision HD3-Series Oscilloscopes User's Guide
16 Mask Testing
 
Similarly, the vertices in Region 2 describe the line that forms the top of the 
bottom part of the mask.
The vertices in a mask file are normalized. There are four parameters that define 
how values are normalized:
• X1
• ∆X
• Y1
• Y2
These four parameters are defined in the Oscilloscope Setup portion of the mask 
file.
The Y-values (normally voltage) are normalized in the file using the following 
equation:
Y
norm
 = (Y - Y1)/∆Y
where ∆Y = Y2 - Y1
To convert the normalized Y-values in the mask file to voltage:
Y = (Y
norm
* ∆Y) + Y1
where ∆Y = Y2 - Y1
The X-values (normally time) are normalized in the file using the following 
equation:
X
norm
 = (X - X1)/∆X
To convert the normalized X-values to time:
X = (X
norm
* ∆X) + X1
Oscilloscope
Setup Information
The keywords "setup" and "end_setup" (appearing alone on a line) define the 
beginning and end of the oscilloscope setup region of the mask file. The 
oscilloscope setup information contains remote programming language 
commands that the oscilloscope executes when the mask file is loaded.
Any legal remote programming command can be entered in this section.
The mask scaling controls how the normalized vectors are interpreted. This in turn 
controls how the mask is drawn on the display. The remote programming 
commands that control mask scaling are:
:MTES:SCAL:BIND 0
:MTES:SCAL:X1 -400.000E-06
:MTES:SCAL:XDEL +800.000E-06
:MTES:SCAL:Y1 +359.000E-03
:MTES:SCAL:Y2 +2.35900E+00