# :MTESt:MARGin:AUTO:METHod

: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:AUTO:METHod {HITS | HRATio}

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:AUTO:METHod?

## Description

Selects that automatic configuration of the margin size is to be based on a target hit count (`HITS`) or target hit ratio (`HRATio`). Automatic mask margin configuration must first be enabled using the `:MTESt:MARGin:METHod` command.

## Example Command Sequence

    :MTESt2:MARGin:METHod AUTO
    :MTESt2:MARGin:AUTO:METHod HITS
    :MTESt2:MARGin:AUTO:HITS 10
    :MTESt2:MARGin:STATe ON
    :MTESt2:LOAD:FNAMe "009.95328 - 10GbE_9_953_May02.mskx"
    :MTESt2:LOAD