VIAVI TestCenter: How does genConfigIndexStart, in stcbll.ini, affect the initial Stream ID?
Knowledge Base - FAQ
VIAVI TestCenter: How does genConfigIndexStart, in stcbll.ini, affect the initial Stream ID?
• Under the [result] section of stcbll.ini, the setting genConfigIndexStart can be included (by default it is not there). For example:
[result]
genConfigIndexStart=123
• This value affects the stream ID on the first stream block on the first port in a STC configuration.
• Note that if multiple tests are being run from the same PC/VM, they will all share the same starting Stream ID.
• There is a way to get around that. See FAQ19411 - VIAVI TestCenter: How does "Start index" in Settings -> Traffic Options tab -> Streams, work?
• The number used is not a number per se, but rather a string of digits, where each digit is used as a multiplier and base 10 shift.
• Step 1: Each digit is multipled by 65,536
• Step 2: The product from step 1 is then shifted over by the number of position that digit is in.
• The result of the operation of each digit is then added together to result in the initial Stream ID.
• For example, using genConfigIndexStart=123, STC would use the following initial stream ID calculation.
• Digit by digit for "123"
• 123
• step 1: 1 * 65,536 = 65,536
• step 2: 65,536 is base 10 left shifted over 2 places
65,536 23
• step 1: 2 * 65,536 = 131,072
• step 2: 131,072 is base 10 left shifted over 1 place
131,072 3
• step 1: 3 * 65,536 = 196,608
• step 2: 196,608 is base 10 left shifted over 0 places
196,608
• Attached is spreadsheet to help with this calculation.
• Please note that for genConfigIndexStart to take effect:
• changes to stcbll.ini must be completed; and
• then a new GUI instance needs to be launched.
• This way, the new GUI instance will read the changes made to stcbll.ini .