:LTESt:LLINe:SWAVeform:DIFF{N}:STATe

Command Syntax

:LTESt:LLINe:SWAVeform:DIFF{N}:STATe {DISK | MEMory | OFF}

{N} identifies the differential waveform, which must be selected from "<connection1-8>_<ch1,3,5,7>". For example, the differential waveform of connection 4 channels 1 and 2 would be identified as DIFF4_1.

Query Syntax

:LTESt:LLINe:SWAVeform:DIFF{N}:STATe?

Description

Specifies the reporting action for the selected differential waveform upon completion of limit testing for a limit line test. Use the command argument to select or turn off the reporting action. To disable the reporting action of all channel, common-mode, differential, and function waveforms, use the :LTESt:LLINe:SWAVeform:RESet command.

To turn on limit testing for a limit line test, use the :LTESt:LLINe:TEST{N}:STATe command.

Command Arguments
Argument Description
DISK Saves the waveform to a file (.h5) in the %USER_DATA_DIR%\Limit Lines folder. Use the :LTESt:LLINe:SWAVeform:DIFF{N}:FNAMe command to specify the file name.
MEMory Saves the waveform to a memory location. Use the :LTESt:LLINe:SWAVeform:DIFF{N}:WMEMory command to specify the memory location.
OFF Turns off the saving of a differential waveform.
:CHANnel1_1:DISPlay ON
:CHANnel1_2:DISPlay ON
:DIFF1:DMODe ON
:SYSTem:AUToscale

//  Load and start limit line test.
:LLINe1:LOAD:FNAMe "%USER_DATA_DIR%\Limit Lines\Golden Test.lltx"
:LLINe1:SOURce DIFF1
:LLINe1:DISPlay ON  //  Display first limit line test.//  Configure "Save Differential Waveform" reporting.
:LTESt:LLINe:SWAVeform:RESet  //  Turn saving of all waveforms off.
:LTESt:LLINe:SWAVeform:DIFF1:FNAMe "%USER_DATA_DIR%\Waveforms\FailDiffWaveform.h5"  //  Waveform file name.
:LTESt:LLINe:SWAVeform:DIFF1:STATe DISK  //  Save waveform to file.//  Run limit testing.
:LTESt:LLINe:TEST1:MODE SOFailure  //  Stop limit testing on fail condition.
:LTESt:LLINe:TEST1:STATe ON  //  Enable limit testing.
:ACQuire:STOP
:ACQuire:CDISplay  //  Clear existing waveform data.
:ACQuire:RUN  //  Enable data acquisition.