Channels and Traces

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

Attribute Detail
Object Type Method
Target Trace Tr of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Tr: trace number 1–16 (see Table 3 on page 33)
Description Sets the active channel and trace.
Syntax app.SCPI.CALCulate(Ch).PARameter(Tr).SELect
Notes If the channel number is greater than the number of the channels displayed, an error occurs and the command is ignored. If the trace number is greater than the number of the traces displayed in the channel, an error occurs and the command is ignored.
Equivalent Softkeys Display > Active Trace/Channel > Active Channel
Display > Active Trace/Channel > Active Trace

SCPI.DISPlay.WINDow(Ch).ACTivate

Attribute Detail
Object Type Method
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description Sets the active channel.
Notes The channel window must be displayed. At attempt to set to the active channel the channel, which is not displayed, an error occurs.
Syntax app.SCPI.DISPlay.WINDow(Ch).ACTivate
Equivalent Softkeys Display > Active Trace / Channel > Active Channel

SCPI.SERVice.CHANnel(Ch).TRACe(1).ACTive

Attribute Detail
Object Type Property (read only)
Data Type Long
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The active trace number of the specified channel.
Syntax Dim Value As Long
Value = app.SCPI.SERVice.CHANnel(Ch).TRACe.ACTive
Warning Object TRACe has an index. In Visual Basic the index is 1 by default when it is omitted. The index can not be omitted in other programming languages.
Equivalent Softkeys None

SCPI.SERVice.CHANnel(1).ACTive

Attribute Detail
Object Type Property (read only)
Data Type Long
Target Analyzer
Description The number of the active channel.
Syntax Dim Value As Long
Value = app.SCPI.SERVice.CHANnel.ACTive
Warning Object CHANnel has an index. In Visual Basic the index is 1 by default when it is omitted. The index can not be omitted in other programming languages.
Equivalent Softkeys None

SCPI.DISPlay.WINDow(Ch).MAXimize

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The ON/OFF state of the active trace maximization of the specified channel.
Allowable Values True: Maximization ON
False Maximization OFF
Preset Value False
Syntax Dim Status As Boolean
Status = app.SCPI.DISPlay.WINDow(Ch).MAXimize
app.SCPI.DISPlay.WINDow(Ch).MAXimize = true
Equivalent Softkeys Display > Active Trace/Channel > Maximize Trace

SCPI.DISPlay.SPLit

Attribute Detail
Object Type Property (read/write)
Data Type Long
Target Analyzer
Description The number and layout of the channel windows on the screen. The channel window layout is in Table 5 below.
Range from 1 to 16
Out of Range Sets the value of the limit, which is closer to the specified value.
Preset Value 1
Syntax Dim Value As Long
Value = app.SCPI.DISPlay.SPLit
app.SCPI.DISPlay.SPLit = 2
Equivalent Softkeys Display > Allocate channels

Table 5. Channel Window Layout on the Screen [row x col]
1: [1x1] 2: [2x1] 3: [1x2] 4: [3x1]
5: [1x3] 6: [1;[1x2]] 7: [4x1] 8: [2x2]
9: [3x2] 10: [2x3] 11: [4x2] 12: [2x4]
13: [3x3] 14: [4x3] 15: [3x4] 16: [4x4]

SCPI.DISPlay.WINDow(Ch).SPLit

Attribute Detail
Object Type Property (read/write)
Data Type Long
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The code of the graph layout of channels. The channel window layout is in Table 5 on page 150.
Range from 1 to 16
Out of Range Sets the value of the limit, which is closer to the specified value.
Preset Value 1
Notes This property does not define the number of traces in the channel window, the number of traces is defined by the SCPI.CALCulate(Ch).PARameter.COUNt property.
Syntax Dim Value As Long
Value = app.SCPI.DISPlay.WINDow(Ch).SPLit
app.SCPI.DISPlay.WINDow(Ch).SPLit = 2
Equivalent Softkeys Display > Allocate Traces

SCPI.CALCulate(Ch).PARameter(1).COUNt

Attribute Detail
Object Type Property (read/write)
Data Type Long
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The number of traces in the channel.
Range from 1 to 16
Out of Range Sets the value of the limit, which is closer to the specified value.
Preset Value 1
Syntax Dim TraceNum As Long
TraceNum = app.SCPI.CALCulate(Ch).PARameter.COUNt
app.SCPI.CALCulate(Ch).PARameter.COUNt = 2
Warning Object PARameter has an index. In Visual Basic the index is 1 by default when it is omitted. The index can not be omitted in other programming languages.
Equivalent Softkeys Display > Num of Traces

SCPI.DISPlay.WINDow(Ch).TRACe(Tr).STATe

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target Trace Tr of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Tr: trace number 1–16 (see Table 3 on page 33)
Description The ON/OFF state of the data trace display.
Allowable Values True: Data trace display ON
False: Data trace display OFF
Preset Value True
Syntax Dim Status As Boolean
Status = app.SCPI.DISPlay.WINDow(Ch).TRACe(Tr).STATe
app.SCPI.DISPlay.WINDow(Ch).TRACe(Tr).STATe = false
Equivalent Softkeys Display > Display > Data / Data & Memory (ON)
Display > Display > Memory / OFF (OFF)

SCPI.DISPlay.WINDow(Ch).TRACe(Tr).MEMory.STATe

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target Trace Tr of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Tr: trace number 1–16 (see Table 3 on page 33)
Description The ON/OFF state of the memory trace display.
Allowable Values True: Memory trace display ON
False: Memory trace display OFF
Preset Value False
Notes If the memory is empty, an error occurs and the object is ignored.
Syntax Dim Status As Boolean
Status = app.SCPI.DISPlay.WINDow(Ch).TRACe(Tr).MEMory.STATe
app.SCPI.DISPlay.WINDow(Ch).TRACe(Tr).MEMory.STATe = true
Equivalent Softkeys Display > Display > Memory / Data & Memory (ON)
Display > Display > Data / OFF (OFF)

SCPI.CALCulate(Ch).SELected.MATH.MEMorize

Attribute Detail
Object Type Method
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description Saves the measurement data to the memory trace. Automatically turns on the display of the memory trace.
Syntax app.SCPI.CALCulate(Ch).SELected.MATH.MEMorize
Equivalent Softkeys Display > Data–>Memory

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

Attribute Detail
Object Type Property (read/write)
Data Type String
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The selection of the math operation between the measurement data and the memory trace data. The math result replaces the data trace. If the data trace is not saved, the command is ignored.
Range "DIVide" : Division Data / Mem.
"MULTiply" : Multiplication Data x Mem.
"ADD" : Addition Data + Mem.
"SUBTract" : Subtraction Data – Mem.
"NORMal" : No math
Notes The short form of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range An error occurs. Error code 210.
Preset Value "NORM"
Syntax Dim Param As String
Param = app.SCPI.CALCulate(Ch).SELected.MATH.FUNCtion
app.SCPI.CALCulate(Ch).SELected.MATH.FUNCtion= "DIV"
Equivalent Softkeys Display > Data Math > Data/Mem / Data*Mem / Data+Mem / Data–Mem / OFF