:MTESt Commands
23
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
557
Introduction to
:MTESt Commands
Mask testing automatically compares the current displayed waveform with the
boundaries of a set of polygons that you define. Any waveform or sample that falls
within the boundaries of one or more polygons is recorded as a failure.
Reporting the Setup
Use :MTESt? to query setup information for the MTESt subsystem.
Return Format
The following is a sample response from the :MTESt? query. In this case, the query
was issued following a *RST command.
:MTES:SOUR CHAN1;ENAB 0;LOCK 1;:MTES:AMAS:SOUR CHAN1;UNIT DIV;XDEL
+2.50000000E-001;YDEL +2.50000000E-001;:MTES:SCAL:X1 +200.000E-06;XDEL
+400.000E-06;Y1 -3.00;Y2 +3.00;BIND 0;:MTES:RMOD
FOR;RMOD:TIME +1E+00;WAV 1000;SIGM +6.0E+00;:MTES:RMOD:FACT:STOP
0;PRIN 0;SAVE 0
Example Code
' Mask testing commands example.
' -------------------------------------------------------------------
Option Explicit
Public myMgr As VisaComLib.ResourceManager
Public myScope As VisaComLib.FormattedIO488
Public varQueryResult As Variant
Public strQueryResult As String
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub Main()
On Error GoTo VisaComError
' Create the VISA COM I/O resource.
:MTESt:SCALe:Y2
<y2_value> (see
:MTESt:SCALe:Y2? (see
<y2_value> ::= Y2 value in NR3
format
:MTESt:SOURce
<source> (see
:MTESt:SOURce? (see
<source> ::= {CHANnel<n> | NONE}
<n> ::= {1 | 2 | 3 | 4} for 4ch
models
<n> ::= {1 | 2} for 2ch models
n/a
:MTESt:TITLe? (see
<title> ::= a string of up to 128
ASCII characters
Table 98
:MTESt Commands Summary (continued)
Command
Query
Options and Query Returns