TDM TEST SOLUTIONS

T1 E1 Testing

Multi-channel BER Functionality in WCS

Overview

This server function allows comparing data streams in a hyperchannel Nx64 bps, multiple channels 64 kbps or multiple subchannels Nx8 kbps to a pattern file and optionally produce log files. This server function allows the user to take advantage of the more advanced features of the T1 E1 cards.

Error counts are calculated and can be queried using QUERY TASK command.

Syntax

run task "BerFuncT(E)1:RxFile" using " 'pattern_file_name' [LOG 'log_file_name']"
" [HC|56K|SC:BitMask[,BitMask...]" ts-spec;


where :


pattern_file_name specifies a file path with data pattern to compare each stream to
LOG 'log_file_name' - optional log file to record error details to
HC - hyperchannel, ts-spec specify single Nx64 kbps stream
SC -subchannel 8kbps bit masks, for example, FE-56kbps subchannel

If HC is specified all timeslots for each card specified in ts-spec are combined into a single Nx64 kbps stream, otherwise each timeslot specified in ts-spec specifies a separate stream that is 64 kbps or can be further divided into Nx8 kbps streams if SC:bitmask1, bitmask2... are specified.

run task "BerFuncT(E)1:help" using " 'pattern_file_name' [LOG 'log_file_name']"
" [HC|56K|SC:BitMask[,BitMask...]" ts-spec;


Help Syntax :


run task "BerFuncT1:help" #*;

Examples:


  • run "BertHdT1:BertHd" using "tx pattern qrss" #3:* 50 sec;
    loads the pattern "qrss" for transmit on device #3 on all timeslots for 50 seconds
    By default for transmit and receive, the data rate is at 64 kbps, and bit inversion is turned off (T1)
  • run "BertHdT1:BertHd" using "tx pattern static FF 8 subchannel 56" #2:1..5,7,11,15 continuous;
    loads the user-defined static pattern 0xFF with a static bit count of 8, and transmit continuously at a data rate of 56 kbps on device #2 on timeslots 1 thru 5,7,11, and 15 (T1)
  • run "BertHdT1:BertHd" using "tx pattern qrss subchannel 56 bitinversion on rx pattern qrss bitinversion off" #1:1..15 continuous;
    loads the pattern "qrss" for transmit and receive on device #1. Subchannels are transmitted at 56 kbps with bit inversion turned on for transmit. Timeslots 1 thru 15 are used for transmit and receive continuously.
  • run "BertHdE1:BertHd" using "tx pattern 2^23-1 autoinsertion 10000 subchannel 32 rx pattern 2^6-1" #4:1..3,5,9,13-15 25 sec;
    loads different patterns for transmit and receive. Logic errors are inserted at a rate of 10^-4 on timeslots specified for 25 seconds

While the dll is running, the following statements insert various types of errors while in Enhanced BERT mode

Single Logic Error: inform task<task#> "insert logic error;
Bipolar Violations: inform task<task#> "insert bpv";


Examples:


run task "BerFuncT1:RxFile" using " 'c:\qrss.ber' LOG 'c:\qrss.log'" #1:23;
64kbps stream in card 1 ts 23 is compared to contents of c:\qrss.ber and errors are recorded in the log file c:\qrss.log

run task "BerFuncT1:RxFile" using " 'c:\qrss.ber' LOG 'c:\qrss.log'" #1:1..2;
two separate streams card 1 ts 1 and card 1 ts 2 are separately compared to c:\qrss.ber

run task "BerFuncT1:RxFile" using " 'c:\qrss.ber' LOG 'c:\qrss.log' HC " #1:1..2;
128 k stream card 1 ts 1..2 is compared to c:\qrss.ber

run task "BerFuncT1:RxFile" using " 'c:\qrss.ber' LOG 'c:\qrss.log' SC:C0,30,0C " #1:1..2;

six separate streams 16kbps each is separately compared to c:\qrss.ber
card1,ts1,scC0, card1,ts1,sc30, card1,ts1,sc0C,
card1,ts2,scC0, card1,ts2,sc30, card1,ts2,sc0C

Bit error rates testing consists of calculating the following task symbols that can be subsequently queried using QUERY TASK command:

streamCount
streamInfo.IndexOfTheStream
avgErrorRate.IndexOfTheStream
errorStatus.IndexOfTheStream
syncLossCount.IndexOfTheStream
errorCount.IndexOfTheStream
errorFreeSeconds.IndexOfTheStream
errorSeconds.IndexOfTheStream
syncLossSeconds.IndexOfTheStream

streamCount - is the number of the separate streams per count
streamInfo - card:ts:sc (card, timeslot and subchannel specification)
avgErrorRate - is (OutOfSyncBytes + PresyncBytes ) / (OutOfSyncBytes + PresyncBytes + SyncBytes)
errorStatus - 0 sync, 1 - presync, 2 - out of sync
syncLossCount - number of transitions from sync to out of sync state
errorCount number of errors in sync state
errorFreeSeconds number of seconds without an error
errorSconds number of seconds with errors
syncLossSeconds number of seconds with sync loss


Example:


run task "BerFuncT1:RxFile" using " 'c:\qrss.ber' LOG 'c:\qrss.log' SC:F0,0F " #1:1,2;
Task 1: Task 1 started
query task 1;
OK
Task 1: streamCount=4
streamInfo.0=1:1:F0
avgErrorRate.0=1.000000
errorStatus.0=2
syncLossCount.0=0
errorCount.0=0
errorFreeSeconds.0=0
errorSeconds.0=6
syncLossSeconds.0=6
streamInfo.1=1:1:0F
avgErrorRate.1=1.000000
errorStatus.1=2
syncLossCount.1=0
errorCount.1=0
errorFreeSeconds.1=0
errorSeconds.1=6
syncLossSeconds.1=6
streamInfo.2=1:2:F0
avgErrorRate.2=1.000000
errorStatus.2=2
syncLossCount.2=0
errorCount.2=0
errorFreeSeconds.2=0
errorSeconds.2=6
syncLossSeconds.2=6
streamInfo.3=1:2:0F
avgErrorRate.3=1.000000
errorStatus.3=2
syncLossCount.3=0
errorCount.3=0
errorFreeSeconds.3=0
errorSeconds.3=6
syncLossSeconds.3=6

For additional syntax, Download the sample script.


Application Notes


Resource:

Please Note: The XX in the Item No. refers to the hardware platform, listed at the bottom of the Buyer's Guide, which the software will be running on. Therefore, XX can either be ETA or EEA (Octal/Quad Boards), PTA or PEA (tProbe Units), XUT or XUE (Dual PCIe Express) depending upon the hardware.