Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ17474
Printer Friendly
Email Article Link
Spirent TestCenter-Automation:How to get the Rx count results per port per Stream basis.
Environment/Versions
Spirent TestCenter
Automation
PGA
Answer
Below is the code:
set rxsummaryresult [stc::get $resultsdataset -ResultHandleList]
# Add the results per Rx port.
foreach rxresult [stc::get $rxsummaryresult -resultchild-Targets] {
set Streamhandle [stc::get $rxsummaryresult -parent]
set StreamName [stc::get $Streamhandle -name]
set analyzer [stc::get $rxresult -parent]
set rxport [stc::get $analyzer -parent]
# Add the stats for this RxResult object.
puts " Streamblock StreamBlock_Name Rxcount port_handle Location"
puts "======================================"
puts "$Streamhandle $StreamName [stc::get $rxresult -sigframecount] $rxport [stc::get $rxport -location]"
Version
1.0
Publish Date
2016-07-15
Categories
Product : Automation,API,Spirent TestCenter,PGA
Related Articles