# :MTESt:MARGin:AUTO:HITS

: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:HITS <hits>

<hits> is an integer.

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:HITS?

## Description

Automatically sets the margin size based on a target hit count. The margin is sized so that:

Automatic margin sizing can also be based on a hit ratio as determined by the `:MTESt:MARGin:AUTO:METHod` command.

## Example Command Sequence

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