174    WM-OM-E Rev I 
math to (P1 to Px). If you are applying math to a single parameter (for example, invert), just 
touch inside the Source1 field and select a parameter (P1 to Px). 
6. Touch inside the Math Operator field and select 
 P Script from the Select 
Measurement menu. 
7.  In the "Script Math" dialog, touch inside the Script Language field and select either 
VBScript or JScript from the pop-up menu. 
8. Touch the Edit Code button; the Script Editor window opens. You can enter code in this 
window or call up an existing script from a file storage location. If you create your script in 
this window, you can then export it and save it to file. 
Measure Gate 
Using Measure Gate, you can narrow the span of the waveform on which to perform parameter 
measurements, allowing you to focus on the area of greatest interest. You have the option of 
dragging the gate posts horizontally along the waveform, or specifying a position down to 
hundredths of a division. The default starting positions of the gate posts are 0 div and 10 div, which 
coincide with the left and right ends of the grid. The gate, therefore, initially encloses the entire 
waveform. 
Note: If you have Grid On Top enabled, you will not see the gate posts in their default position at each end of the grid. But if 
you touch either end of the grid, a drag cursor   will appear, indicating that you have control of the post and can now 
drag it.