PrtScan¶
SCPI Commands
CONFigure:DATA:MEASurement<MeasInstance>:IPANalysis:IPCSecurity:PRTScan:TIMeout
CONFigure:DATA:MEASurement<MeasInstance>:IPANalysis:IPCSecurity:PRTScan:STOP
CONFigure:DATA:MEASurement<MeasInstance>:IPANalysis:IPCSecurity:PRTScan:RANGe
CONFigure:DATA:MEASurement<MeasInstance>:IPANalysis:IPCSecurity:PRTScan:DESTip
CONFigure:DATA:MEASurement<MeasInstance>:IPANalysis:IPCSecurity:PRTScan:STARt
- class PrtScan[source]
PrtScan commands group definition. 7 total commands, 2 Sub-groups, 5 group commands
- class RangeStruct[source]
Structure for reading output parameters. Fields:
Range_From: int: Lower end of the range Range: 0 to 65.535E+3
Range_To: int: Upper end of the range Range: 0 to 65.535E+3
- get_dest_ip() → str[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:DESTip value: str = driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.get_dest_ip()
Configures the IP address of the destination to be scanned.
- return
dst_ip: String containing the IP address
- get_range() → RangeStruct[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:RANGe value: RangeStruct = driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.get_range()
Defines the port range to be scanned.
- return
structure: for return value, see the help for RangeStruct structure arguments.
- get_timeout() → int[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:TIMeout value: int = driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.get_timeout()
Configures a timeout in milliseconds, for waiting for an answer from the DUT during the port scan.
- return
timeout: Range: 0 to 5000
- set_dest_ip(dst_ip: str) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:DESTip driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.set_dest_ip(dst_ip = '1')
Configures the IP address of the destination to be scanned.
- param dst_ip
String containing the IP address
- set_range(value: RsCmwDau.Implementations.Configure_.Data_.Measurement_.IpAnalysis_.IpcSecurity_.PrtScan.PrtScan.RangeStruct) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:RANGe driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.set_range(value = RangeStruct())
Defines the port range to be scanned.
- param value
see the help for RangeStruct structure arguments.
- set_timeout(timeout: int) → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:TIMeout driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.set_timeout(timeout = 1)
Configures a timeout in milliseconds, for waiting for an answer from the DUT during the port scan.
- param timeout
Range: 0 to 5000
- start() → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:STARt driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.start()
Initiates a port scan.
- start_with_opc() → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:STARt driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.start_with_opc()
Initiates a port scan.
Same as start, but waits for the operation to complete before continuing further. Use the RsCmwDau.utilities.opc_timeout_set() to set the timeout value.
- stop() → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:STOP driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.stop()
Aborts a port scan.
- stop_with_opc() → None[source]
# SCPI: CONFigure:DATA:MEASurement<Instance>:IPANalysis:IPCSecurity:PRTScan:STOP driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.stop_with_opc()
Aborts a port scan.
Same as stop, but waits for the operation to complete before continuing further. Use the RsCmwDau.utilities.opc_timeout_set() to set the timeout value.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.configure.data.measurement.ipAnalysis.ipcSecurity.prtScan.clone()
Subgroups