SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet

Object type

Property (Read-Write)

Syntax

All revision:

SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet = Value

Value = SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet

 

In revision A.9.60 and above, the following syntax is also supported:

SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.TARGet = Value

Value = SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.TARGet

Description

This command sets/gets the target value when performing the target search with the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute object, for the active trace of the selected channel (Ch).

 

In revision A.9.60 and above, you can select the trace and set/get the target value when performing the target search with the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute object for the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.

Variable

Parameter

Value

Description

Target value

Data type

Double precision floating point type (Double)

Range

-5E8 to 5E8

Preset value

0

Unit

Varies depending on the data format.

  • Log magnitude (MLOG) : dB (decibel)

  • Phase (PHAS), Expanded phase (UPH) or Positive phase (PPH) : °   (degree)

  • Group delay (GDEL) : s (second)

  • Others : No unit

Note

If the specified variable is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.

Examples

Dim TargVal As Double
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.FUNCtion.TYPE = "atar"
SCPI.CALCulate(1).SELected.FUNCtion.TARGet = -12.5
TargVal = SCPI.CALCulate(1).SELected.FUNCtion.TARGet

Related objects

SCPI.CALCulate(Ch).SELected.FUNCtion.DATA

SCPI.CALCulate(Ch).PARameter(Tr).SELect

SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE

SCPI.CALCulate(Ch).SELected.FUNCtion.TTRansition

SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

All revision:

:CALCulate{[1]-160}[:SELected]:FUNCtion:TARGet <numeric>

:CALCulate{[1]-160}[:SELected]:FUNCtion:TARGet?

 

In revision A.9.60 and above, the following syntax is also supported:

:CALCulate{[1]-160}:TRACe{[1]-16}:FUNCtion:TARGet <numeric>

:CALCulate{[1]-160}:TRACe{[1]-16}:FUNCtion:TARGet?

Query response

{numeric}<newline><^END>

Example of use

10 OUTPUT 717;":CALC1:FUNC:TARG -12.5"
20 OUTPUT 717;":CALC1:FUNC:TARG?"
30 ENTER 717;A