All¶
SCPI Commands
FETCh:DATA:MEASurement<MeasInstance>:IPANalysis:IPConnect:ALL
- class All[source]
All commands group definition. 1 total commands, 0 Sub-groups, 1 group commands
- class FetchStruct[source]
Response structure. Fields:
Reliability: int: See ‘Reliability Indicator’
Flow_Id: List[int]: Flow ID of the connection
Conn_Status: List[enums.ConnStatus]: OPEN | CLOSed Connection status
Lst: List[float]: Local system time, incremented every ms The clock starts when the instrument is switched on.
Sys_Clock: List[int]: System clock in units of 10 ns When 1 ms is reached (100*10 ns) , the clock is reset to 0 and the local system time is incremented. Range: 0 to 99
Protocol: List[str]: Layer 4 protocol as string (‘TCP’, ‘UDP’, …)
Dpi_Protocol: List[str]: Layer 7 protocol as string (‘HTTP’, ‘FTP’, …)
Ip_Addr_Source: List[str]: IP address of the connection source as string
Ip_Port_Source: List[int]: Port number of the connection source Range: 0 to 65654
Ip_Addr_Dest: List[str]: IP address of the connection destination as string
Ip_Port_Dest: List[int]: Port number of the connection destination Range: 0 to 65654
Overh_Down: List[float]: Downlink overhead as percentage of the packet Range: 0 % to 100 %, Unit: %
Overh_Up: List[float]: Uplink overhead as percentage of the packet Range: 0 % to 100 %, Unit: %
Avg_Ps_Down: List[float]: Average downlink packet size Range: 0 bytes to 65535 bytes, Unit: bytes
Avg_Ps_Up: List[float]: Average uplink packet size Range: 0 bytes to 65535 bytes, Unit: bytes
App: List[str]: Application name as string
Country: List[str]: Country of the destination as string (two-letter country code)
- fetch() → FetchStruct[source]
# SCPI: FETCh:DATA:MEASurement<Instance>:IPANalysis:IPConnect:ALL value: FetchStruct = driver.data.measurement.ipAnalysis.ipConnect.all.fetch()
Queries the ‘IP Connectivity’ results for all connections. After the reliability indicator, results are returned per connection (flow) : <Reliability>, {<FlowID>, <ConnStatus>, <LST>, <SysClock>, <Protocol>, <DPIProtocol>, <IPAddrSource>, <IPPortSource>, <IPAddrDest>, <IPPortDest>, <OverhDown>, <OverhUp>, <AvgPSDown>, <AvgPSUp>, <App>, <Country>}conn 1, {… }conn 2, …
- return
structure: for return value, see the help for FetchStruct structure arguments.