VIAVI TestCenter-Automation:How to get the Rx count results per port per Stream basis.
Knowledge Base - FAQ
VIAVI TestCenter-Automation:How to get the Rx count results per port per Stream basis.
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]"