# :LTESt:ACQuire:STATe

:LTESt Acquisition Commands

- :LTESt:ACQuire:CTYPe
- :LTESt:ACQuire:CTYPe:SAMPles
- :LTESt:ACQuire:CTYPe:WAVeforms
- :LTESt:ACQuire:SIMage:FNAMe
- :LTESt:ACQuire:SIMage:FNAMe:AUPDate
- :LTESt:ACQuire:SIMage:FNAMe:USTandard
- :LTESt:ACQuire:SIMage:FTYPe?
- :LTESt:ACQuire:SIMage:IMETadata
- :LTESt:ACQuire:SIMage:INVert
- :LTESt:ACQuire:SIMage:MONochrome
- :LTESt:ACQuire:SIMage:SINClude
- :LTESt:ACQuire:SIMage:STATe
- :LTESt:ACQuire:SIMage:WINDow
- :LTESt:ACQuire:STATe
- :LTESt:ACQuire:SWAVeform:CHANnel{N}:FNAMe
- :LTESt:ACQuire:SWAVeform:CHANnel:FTYPe
- :LTESt:ACQuire:SWAVeform:CHANnel{N}:STATe
- :LTESt:ACQuire:SWAVeform:CHANnel{N}:WMEMory
- :LTESt:ACQuire:SWAVeform:CMODe{N}:FNAMe
- :LTESt:ACQuire:SWAVeform:CMODe:FTYPe
- :LTESt:ACQuire:SWAVeform:CMODe{N}:STATe
- :LTESt:ACQuire:SWAVeform:CMODe{N}:WMEMory WMEMory{1:8}
- :LTESt:ACQuire:SWAVeform:DIFF{N}:FNAMe
- :LTESt:ACQuire:SWAVeform:DIFF:FTYPe
- :LTESt:ACQuire:SWAVeform:DIFF{N}:STATe
- :LTESt:ACQuire:SWAVeform:DIFF{N}:WMEMory
- :LTESt:ACQuire:SWAVeform:FUNCtion{N}:FNAMe
- :LTESt:ACQuire:SWAVeform:FUNCtion{N}:STATe
- :LTESt:ACQuire:SWAVeform:FUNCtion{N}:WMEMory
- :LTESt:ACQuire:SWAVeform:RESet

## Command Syntax

    :LTESt:ACQuire:STATe {ON | OFF | 1 | 0}

## Query Syntax

    :LTESt:ACQuire:STATe?

## Query Response

    {1 | 0}

## Description

Enables acquisition limit testing. The actual test is started by placing Infiniium in run mode (`:ACQuire:RUN`). You must use the `:ACQuire:RUN` command to start continuous sweeps and so begin the test. During the limit test, use the `:MEASure:LTESt:ACQuire:COUNt?` query to return the current count of patterns, samples, or waveforms. When the acquisition limit test completes, Infiniium acquisition is automatically stopped (`:ACQuire:STOP`). Upon completion of the limit test, disable limit testing (`:LTESt:ACQuire:STATe OFF`).

## Example Command Sequence

The following example shows how to create an acquisition limit test that runs until 100 waveforms have been acquired.

    :ACQuire:SINGle  //  Stop waveform acquisition.

    :LTESt:ACQuire:CTYPe WAVeforms  //  Create test based on acquisition to waveforms.
    :LTESt:ACQuire:CTYPe:WAVeforms 100  //  Stop test after 100 waveforms acquired.
    :LTESt:ACQuire:SWAVeform:CHANnel2:STATe MEMory  //  Save channel 2 to waveform memory.
    :LTESt:ACQuire:SWAVeform:CHANnel2:WMEMory WMEMory2  //  Select waveform memory 2.
    :LTESt:ACQuire:SIMage:STATe ON  //  Save screen image.
    :LTESt:ACQuire:SIMage:INVert ON  //  Invert colors on  screen image.
    :LTESt:ACQuire:SIMage:WINDow TIME1  //  Capture only waveform instead of entire display.
    :LTESt:ACQuire:SIMage:FNAMe "C:\Users\me\Documents\Keysight\Infiniium\Screen Images\my test.jpg"  //  Create this image file.
    :LTESt:ACQuire:STATe ON  //  Turn limit test on.
    :ACQuire:RUN  //  Start waveform acquisition.
    *OPC?  //  Wait for test completion.
    :LTESt:ACQuire:STATe OFF