question

udaya avatar image
udaya asked LBalcerak answered

STC Terminologies

There are three terms used in STC object reference i.e. PortConfig, Groupconfig & BlockConfig. Please help to understand how these are related and differentiate
Spirent TestCenter (STC)api
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LBalcerak avatar image
LBalcerak answered
Everything within the Spirent TestCenter API is an Object. Each Object has Attributes, some are Readable Attributes and some are Writable Attributes. There is a Generator Object and then a Child Object of GeneratorConfig under the Generator Object (see attached). The GeneratorConfig Object is used to configure the Generator. I have placed an example below that is configuring the GeneratorConfig Object. stc::config $hGeneratorConfig \ -DurationMode SECONDS \ -BurstSize 1 \ -Duration 20 \ -LoadMode FIXED \ -FixedLoad 100 \ -LoadUnit PERCENT_LINE_RATE \ -SchedulingMode RATE_BASED For additional information regarding the Spirent TestCenter API I would recommend that you view the Web-based Courses that are available for free if you have a Spirent Contract on our CSC Web-site. ---Essentials of Spirent TestCenter 2.0 Automation course--- TRN10277 ---Essentials of GUI to Script for Spirent TestCenter 2.0 course--- 10278
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LBalcerak avatar image
LBalcerak answered
![alt text][1] [1]: /storage/temp/3849-\1.jpg

\1.jpg (34.6 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.