# :MTESt:MARGin:PERCent

:MTESt Margin Commands

- :MTESt:MARGin:AUTO:HITS
- :MTESt:MARGin:AUTO:HRATio
- :MTESt:MARGin:AUTO:METHod
- :MTESt:MARGin:METHod
- :MTESt:MARGin:PERCent
- :MTESt:MARGin:STATe

## Command Syntax

    :MTEStN:MARGin:PERCent <percent_margin>

<percent_margin> is a double.

Where N identifies a specific mask and must be a value from 1 to 16 {1:16}. For example, `:MTESt2` selects mask 2.

## Query Syntax

    :MTEStN:MARGin:PERCent?

## Description

Sets the amount of mask margin to apply to the selected mask. The margin is expressed as a percentage (−100 to +100). Manual margin configuration must first be selected using the `:MTESt:MARGin:METHod`. Negative mask margins encroach on the area of the standard mask. Positive mask margins expand the area of the mask. Margin percent can also be queried from the Mask Tests results table using `:MEASure:MTESt:MARGin?`.

## Example Command Sequence

    :MTESt2:MARGin:METHod MANual
    :MTESt2:MARGin:PERCent 100
    :MTESt2:MARGin:STATe ON
    :MTESt2:LOAD:FNAMe "009.95328 - 10GbE_9_953_May02.mskx"
    :MTESt2:LOAD