Statistic

SCPI Commands

MEASure:SCALar:STATistic:RESet
MEASure:SCALar:STATistic:COUNt
class StatisticCls[source]

Statistic commands group definition. 2 total commands, 0 Subgroups, 2 group commands

get_count() int[source]
# SCPI: MEASure[:SCALar]:STATistic:COUNt
value: int = driver.measure.scalar.statistic.get_count()

Returns the number of samples measured in the statistics for voltage/current/power

return

result: No help available

reset() None[source]
# SCPI: MEASure[:SCALar]:STATistic:RESet
driver.measure.scalar.statistic.reset()

Resets the minimum, maximum and average statistic values for voltage, current, and power. Additionally this command resets the measured energy.

reset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: MEASure[:SCALar]:STATistic:RESet
driver.measure.scalar.statistic.reset_with_opc()

Resets the minimum, maximum and average statistic values for voltage, current, and power. Additionally this command resets the measured energy.

Same as reset, but waits for the operation to complete before continuing further. Use the RsNgx.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

Maximum time to wait in milliseconds, valid only for this call.