Function

SCPI Command :

[SENSe][:WINDow<n>]:DETector<t>[:FUNCtion]
class FunctionCls[source]

Function commands group definition. 2 total commands, 1 Subgroups, 1 group commands

get(window=Window.Default, trace=Trace.Default) RsFsw.enums.DetectorB[source]
# SCPI: [SENSe][:WINDow<n>]:DETector<t>[:FUNCtion]
value: enums.DetectorB = driver.sense.window.detector.function.get(window = repcap.Window.Default, trace = repcap.Trace.Default)

Defines the trace detector to be used for trace analysis. For details see ‘Sweep time and detector’.

param window

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

param trace

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

return

detector: NEGative Negative peak POSitive Positive peak SAMPle First value detected per trace point AVERage Average

set(detector: RsFsw.enums.DetectorB, window=Window.Default, trace=Trace.Default) None[source]
# SCPI: [SENSe][:WINDow<n>]:DETector<t>[:FUNCtion]
driver.sense.window.detector.function.set(detector = enums.DetectorB.ACSine, window = repcap.Window.Default, trace = repcap.Trace.Default)

Defines the trace detector to be used for trace analysis. For details see ‘Sweep time and detector’.

param detector

NEGative Negative peak POSitive Positive peak SAMPle First value detected per trace point AVERage Average

param window

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

param trace

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sense.window.detector.function.clone()

Subgroups