Count

SCPI Command :

[SENSe]:SWEep:COUNt
Commands in total: 2
Subgroups: 1
Direct child commands: 1
get() float[source]
# [SENSe]:SWEep:COUNt
value: float = driver.sense.sweep.count.get()

Defines the number of sweeps that the application uses to average traces. (For Pulse measurements, ) . In continuous sweep mode, the application calculates the moving average over the average count. In single sweep mode, the application stops the measurement and calculates the average after the average count has been reached.

Returns:

sweep_count: When you set a sweep count of 0 or 1, the FSW performs one single sweep in single sweep mode. In continuous sweep mode, if the sweep count is set to 0, a moving average over 10 sweeps is performed. Range: 0 to 200000

set(sweep_count: float) None[source]
# [SENSe]:SWEep:COUNt
driver.sense.sweep.count.set(sweep_count = 1.0)

Defines the number of sweeps that the application uses to average traces. (For Pulse measurements, ) . In continuous sweep mode, the application calculates the moving average over the average count. In single sweep mode, the application stops the measurement and calculates the average after the average count has been reached.

Parameters:

sweep_count – When you set a sweep count of 0 or 1, the FSW performs one single sweep in single sweep mode. In continuous sweep mode, if the sweep count is set to 0, a moving average over 10 sweeps is performed. Range: 0 to 200000

Cloning the Group

# Create a copy of the original group, that exists independently
count_copy = driver.sense.sweep.count.clone()

Subgroups