:FUNCtion:PARameters:BMTRend:MEASurement:LOCation

Command Syntax

:FUNCtionN:PARameters:BMTRend:MEASurement:LOCation <index>
            

Where N identifies one of up to 64 possible operators {1:64} that can be defined as part of a math function. The operators are numbered in the order that they were originally added to the function.

The argument is an index number that specifies the measurement to select. The active measurement list is indexed starting at 1. As a result, the first (top most) measurement in the list is identified as 1, the second measurement from the top is identified as 2, and so forth. To get the index value for a specific measurement, use the :LOCation? child command for the targeted measurement. For example, use :MEASure:HORizontal:STIMe:LOCation?.

Query Syntax

:FUNCtionN:PARameters:BMTRend:MEASurement:LOCation?

Description

This command lets you select the measurement you wish to trend in the two-input "meas trend" function. It specifies the numerical location of the measurement in the result list.

The N suffix in ":FUNCtion:PARameters" must be the same as the ":FUNCtion" suffix. For example, if FUNC4 is a BMTRend operator and you have only one measurement in the list (and it is has Measure All selected), you set the measurement of FUNC4 with ":FUNCtion4:PARameters:BMTRend:MEASurement:LOCation 1".

The measurement you select must be one that is made on two input sources and that can be made multiple times in a single acquisition when Measure All is selected. Also, the measurement you select must have the same input sources (for example, :MEASure:HORizontal:STIMe:SOURce1 WMEMory1 and :MEASure:HORizontal:STIMe:SOURce2 WMEMory2) as the input sources specified by the math function operand (for example, :FUNCtion:OPERand1 WMEMory1 and :FUNCtion:OPERand2 WMEMory2).

Example

This example shows how to set up the two-input measurement trend function on a setup time measurement.

:SYSTem:DEFault
:CHANnel1:DISPlay ON
:CHANnel2:DISPlay ON
				
// Add the measurement
:MEASure:HORizontal:STIMe:SOURce1 CHANnel1
:MEASure:HORizontal:STIMe:SOURce2 CHANnel2
:MEASure:HORizontal:STIMe

// Add the two-input measurement trend operator.
:FUNCtion1:FOPerator BMTRend
:FUNCtion1:OPERand1 CHANnel1
:FUNCtion1:OPERand2 CHANnel2
:FUNCtion1:COLor TCOLor8
:FUNCtion1:DISPlay ON

// Select the measurement for the trend function.
:FUNCtion1:PARameters:BMTRend:MEASurement:LOCation 1