:LTESt:LLINe:TEST{N}:STATe

Instrument:
N1010A
DCA-X
DCA-M
Meas. mode:
Scope
Eye
Jitter
TDR
Flex Apps:
FlexDCA
FlexRT

Command Syntax

:LTESt:LLINe:TEST{1:64}:STATe {ON | OFF}

{1:64} identifies the specific limit-line test.

Query Syntax

:LTESt:LLINe:TEST{1:64}:STATe?

Description

Turns on or off limit testing for a specified limit line test. When testing limits are on, data acquisition continues until the event specified with the :LTESt:LLINe:TEST:MODe command occurs. This can be defined as stop acquisition upon the first failed or first successful data point. To specify the reporting action to be taken once the data acquisition has stopped, use the following commands:

To create a limit line test, use the :LLINe subsystem.

Requires FlexDCA revision A.04.50 and above.

Example

This example shows the general steps required to load two limit line tests, apply limit testing to each limit line test, configure the reports, and run the tests. The waveform content window is tiled so that the two waveforms do not overlap. In a real example, you would need to create the limit test for your waveforms and manage the correct positioning of the limit lines.

:SYSTem:MODE OSCilloscope
:CHANnel1A:DISPlay ON
:CHANnel1B:DISPlay ON
:TRIGger:PLOCk ON
:SYSTem:AUToscale

//  Load and start limit line test.
:LLINe1:LOAD:FNAMe "%USER_DATA_DIR%\Limit Lines\Golden Test.lltx"
:LLINe1:SOURce CHANnel1A
:LLINe1:DISPlay ON  //  Display first limit line test.
:LLINe2:LOAD:FNAMe "%USER_DATA_DIR%\Limit Lines\Golden Test.lltx"
:LLINe2:SOURce CHANnel1B
:LLINe2:DISPlay ON  //  Display second limit line test.
:DISPlay:WINDow:TIME1:DMODe STILed  //  Stack and tile waveform window.//  Configure "Save Waveform" reporting using default file name.
:LTESt:LLINe:SWAVeform:RESet  //  Turn saving of all waveforms off.
:LTESt:LLINe:SWAVeform:CHANnel1A:WMEMory WMEMory1  //  Turn on saving of channel 1A.
:LTESt:LLINe:SWAVeform:CHANnel1A:STATe MEMory  //  Enable waveform save.
:LTESt:LLINe:SWAVeform:CHANnel1B:WMEMory WMEMory2  //  Turn on saving of channel 1B.
:LTESt:LLINe:SWAVeform:CHANnel1B:STATe MEMory  //  Enable waveform save.//  Configure "Save Summary" reporting using default file name.
:LTESt:LLINe:SSUMmary:STATe ON  //  Enable summary report save.//  Configure "Save Screen Image" reporting using default file name.
:LTESt:LLINe:SIMage:WINDow TIME1
:LTESt:LLINe:SIMage:INVert ON
:LTESt:LLINe:SIMage:STATe ON  //  Enable screen image save.//  Run limit testing.
:LTESt:LLINe:TEST1:MODe SOFailure  //  Stop limit testing on fail condition.
:LTESt:LLINe:TEST1:STATe ON  //  Enable limit testing.
:LTESt:LLINe:TEST2:MODe SOFailure  //  Stop limit testing on fail condition.
:LTESt:LLINe:TEST2:STATe ON  //  Enable limit testing.
:ACQuire:STOP
:ACQuire:CDISplay
:ACQuire:RUN  //  Enable data acquisition.