Hi there,
I am trying to modify the MbpsLoad parameter from a streamblock using TCL STC API but it is coming back with the error "couldn't set the read only attribute":
TestCenter>eval stc::config streamblock5 -MbpsLoad 5
Failed to evaluate tcl command 'stc::config streamblock5 -MbpsLoad 5'
TestCenterException
StdOut =
StdErr =
Result = RuntimeError in config: couldn't set the read only attribute -MbpsLoad
Does anybody know how to modify this parameter? or is there a way to change the attribute "read only" to allow changes?
Thank you!!!
Answer by bhavani.geepalem · May 21, 2015 at 09:37 AM
As MbpsLoad is the readonly attribute, we can not modify the value of it.
Where as we can modify the loadunit to MEGABITS_PER_SECOND. For this, we need to get the streamblockloadprofile1 to modify it.
The API commands to modify the loadunit to Mbps is: eval stc::config streamblockloadprofile1 -loadunit MEGABITS_PER_SECOND -load 50
Attached is the screenshot for your reference.
License Check failed - Failed to source TCL file 1 Answer
Specifying the directory for the Results generated from RFC 2544 in STC 3 Answers
how do you change STC port speed to 25G in iTest 2 Answers
Where can I find spirent test center feature list( break cable, pause frames etc) documentation? 1 Answer
Copyright 2008- Spirent Communications, all rights reserved. Terms and Conditions.