InfoFile¶
SCPI Commands
SENSe:DATA:MEASurement<MeasInstance>:IPReplay:INFofile
- class InfoFile[source]
InfoFile commands group definition. 1 total commands, 0 Sub-groups, 1 group commands
- class GetStruct[source]
Response structure. Fields:
Number_Of_Packets: int: Number of IP packets in the file
File_Size: int: Unit: byte
Bitrate: float: Unit: bit/s
Duration: int: Unit: s
Type_Py: str: String indicating the file type and information about the capturing application
Encapsulation: str: ‘Raw IP’: file contains raw IP traffic ‘Ethernet’: file contains IP traffic plus Ethernet headers
- get(filename: str) → GetStruct[source]
# SCPI: SENSe:DATA:MEASurement<Instance>:IPReplay:INFofile value: GetStruct = driver.sense.data.measurement.ipReplay.infoFile.get(filename = '1')
Queries information about a selected file in the playlist. If the file has not yet been analyzed and the measurement state is RUN, the command triggers file analysis. The analysis takes some time. Repeat the command until the analysis results are available.
- param filename
File name as a string. Specify the file name with extension but without path, for example ‘myfile.pcap’.
- return
structure: for return value, see the help for GetStruct structure arguments.