Statistics

SCPI Command :

[SOURce<HW>]:BB:ARBitrary:ETHernet:STATistics:ALL
class StatisticsCls[source]

Statistics commands group definition. 7 total commands, 6 Subgroups, 1 group commands

class AllStruct[source]

Structure for reading output parameters. Fields:

  • Rx_Upload_Segment: int: integer Number of Rx upload segments, see [:SOURcehw]:BB:ARBitrary:ETHernet:STATistics:RXUSegments?.

  • Rx_Control_Frames: int: integer Number of Rx control frames, see [:SOURcehw]:BB:ARBitrary:ETHernet:STATistics:RXCFrames?.

  • Rx_Data_Frames: int: integer Number of Rx data frames, see [:SOURcehw]:BB:ARBitrary:ETHernet:STATistics:RXCFrames?.

  • Rx_Data_Bytes: int: integer Number of Rx data bytes, see [:SOURcehw]:BB:ARBitrary:ETHernet:STATistics:RXDBytes?.

  • Tx_Reply_Frames: int: integer Number of Tx reply frames, see [:SOURcehw]:BB:ARBitrary:ETHernet:STATistics:TXRFrames?.

get_all() AllStruct[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:ETHernet:STATistics:ALL
value: AllStruct = driver.source.bb.arbitrary.ethernet.statistics.get_all()

Queries all statistic results in a comma-separated list that contains the following parameters: <RxUploadSegments>, <RxConrolFrames>,<RxDataFrames>,<RxDataBytes>,<TxReplyFrames>,<OccuredErrors>

return

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.arbitrary.ethernet.statistics.clone()

Subgroups