Data

SCPI Command :

CALCulate<n>:MASK:UPPer[:DATA]
class DataCls[source]

Data commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class DataStruct[source]

Response structure. Fields:

  • Frequency: List[float]: Frequency of the data point within the current span. Unit: Hz

  • Level: List[float]: Level of the data point. The unit of the power levels depends on [CMDLINKRESOLVED Calculate.Mask.Mode#set CMDLINKRESOLVED]. Unit: DBM

get(window=Window.Default) DataStruct[source]
# SCPI: CALCulate<n>:MASK:UPPer[:DATA]
value: DataStruct = driver.calculate.mask.upper.data.get(window = repcap.Window.Default)

Activates and defines the shape of the upper frequency mask trigger mask. You have to select a mask before you can use this command with method RsFsw.Calculate.Mask.Name.set. [N] pairs of numerical values. [N] is the number of data points the mask consists of. Each data point is defined by the frequency and the level. All values are separated by commas.

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

return

structure: for return value, see the help for DataStruct structure arguments.

set(frequency: List[float], level: List[float], window=Window.Default) None[source]
# SCPI: CALCulate<n>:MASK:UPPer[:DATA]
driver.calculate.mask.upper.data.set(frequency = [1.1, 2.2, 3.3], level = [1.1, 2.2, 3.3], window = repcap.Window.Default)

Activates and defines the shape of the upper frequency mask trigger mask. You have to select a mask before you can use this command with method RsFsw.Calculate.Mask.Name.set. [N] pairs of numerical values. [N] is the number of data points the mask consists of. Each data point is defined by the frequency and the level. All values are separated by commas.

param frequency

Frequency of the data point within the current span. Unit: Hz

param level

Level of the data point. The unit of the power levels depends on method RsFsw.Calculate.Mask.Mode.set. Unit: DBM

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)