IpLogging¶
SCPI Commands
CONFigure:DATA:MEASurement<MeasInstance>:IPLogging:TYPE
CONFigure:DATA:MEASurement<MeasInstance>:IPLogging:FSIZe
CONFigure:DATA:MEASurement<MeasInstance>:IPLogging:PCOunter
CONFigure:DATA:MEASurement<MeasInstance>:IPLogging:PSLength
- class IpLogging[source]
IpLogging commands group definition. 4 total commands, 0 Sub-groups, 4 group commands
- get_fsize() → float[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:FSIZe value: float = driver.configure.data.measurement.ipLogging.get_fsize()
Configures the maximum log file size. When this file size is reached, logging stops. The default value 0 bytes means that no limit is defined.
- return
file_size: Range: 0 bytes to 1E+9 bytes, Unit: bytes
- get_pcounter() → int[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:PCOunter value: int = driver.configure.data.measurement.ipLogging.get_pcounter()
Configures the maximum number of IP packets to be logged. When this number of packets is reached, logging stops. The default value 0 means that no limit is defined.
- return
packet_counter: Range: 0 to 1E+6
- get_ps_length() → int[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:PSLength value: int = driver.configure.data.measurement.ipLogging.get_ps_length()
Configures the maximum number of bytes to be logged for each IP packet. If the packet is longer, only the specified number of bytes is logged. The remaining bytes of the packet are ignored. The default value 0 means that no limit is defined.
- return
pkt_snap_length: Range: 0 bytes to 65565 bytes, Unit: bytes
- get_type_py() → RsCmwDau.enums.LoggingType[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:TYPE value: enums.LoggingType = driver.configure.data.measurement.ipLogging.get_type_py()
Selects the interface to be monitored.
- return
logging_type: UPIP | UPPP | LANDau | UPMulti | UIPClient UPIP: IP unicast traffic from/to the DUT UPPP: PPP encapsulated IP traffic from/to the DUT LANDau: IP traffic at the LAN DAU connector UPMulti: IP multicast traffic to the DUT UIPClient: IP traffic from/to the DUT with the DAU as client
- set_fsize(file_size: float) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:FSIZe driver.configure.data.measurement.ipLogging.set_fsize(file_size = 1.0)
Configures the maximum log file size. When this file size is reached, logging stops. The default value 0 bytes means that no limit is defined.
- param file_size
Range: 0 bytes to 1E+9 bytes, Unit: bytes
- set_pcounter(packet_counter: int) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:PCOunter driver.configure.data.measurement.ipLogging.set_pcounter(packet_counter = 1)
Configures the maximum number of IP packets to be logged. When this number of packets is reached, logging stops. The default value 0 means that no limit is defined.
- param packet_counter
Range: 0 to 1E+6
- set_ps_length(pkt_snap_length: int) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:PSLength driver.configure.data.measurement.ipLogging.set_ps_length(pkt_snap_length = 1)
Configures the maximum number of bytes to be logged for each IP packet. If the packet is longer, only the specified number of bytes is logged. The remaining bytes of the packet are ignored. The default value 0 means that no limit is defined.
- param pkt_snap_length
Range: 0 bytes to 65565 bytes, Unit: bytes
- set_type_py(logging_type: RsCmwDau.enums.LoggingType) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPLogging:TYPE driver.configure.data.measurement.ipLogging.set_type_py(logging_type = enums.LoggingType.LANDau)
Selects the interface to be monitored.
- param logging_type
UPIP | UPPP | LANDau | UPMulti | UIPClient UPIP: IP unicast traffic from/to the DUT UPPP: PPP encapsulated IP traffic from/to the DUT LANDau: IP traffic at the LAN DAU connector UPMulti: IP multicast traffic to the DUT UIPClient: IP traffic from/to the DUT with the DAU as client