Home
SOURce Command - Artisan Technology Group
Contents
1. UAS Number of unavailable seconds BIT DS1 bit error count BIT ARATIO 051 average bit error ratio BIT CRATIO DS1 current bit error ratio BIT CSES3 051 consecutive SES count BIT EFS DS1 bit error free seconds BIT EFS PC 051 bit error free seconds BIT ES DS1 bit errored seconds BIT SES DS1 bit severely errored seconds BIT SYNC ES DS1 bit synchronous ES DEGM IN DS1 degraded minute count TES3 DS1 10 3 threshold ES TES4 DS1 10 4 threshold ES TES5 DS1 10 5 threshold ES TES6 DS1 10 6 threshold ES ESF Data Link DL SYNC SEC Number of ESF datalink synchronous seconds DL PAT The currently detected ESF datalink pattern Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh DM OD DS 1 lt DS1 result continued FETCh Command Reference FETCh DM OD DS T result Parameter Retrieved result Block Errors BLOCK Number of block errors counted ESTBLOCK Estimated total number of blocks received BIT BES Number of pattern burst error seconds CATV UAS Number of Cable TV unavailable seconds SEE Number of Severe Error Events SUMMARY 1 An eight field data record See Summary 1 Field Descriptions Block Errors page 6 30 for an explanation for each field Signal RXFREQ DS1 input frequency PEAKV DS1 peak voltage DBDSX DS1 signal level in dB dsx Status SIGNAL DS1 signal status SFSYNC DS1 SF
2. Parameter Retrieved result Alarms LOP DS3 Loss of Pattern alarm LOP_SEC DS3LOP seconds 053 excess zeros alarm AIS DS3AIS alarm AIS SEC DS3 AIS seconds LCVA DS3 Line Code Viol alarm LCVA SEC DS3LCVA seconds BLUE DS3 Blue alarm BPV BPV DS3 bipolar violation count BPV ARATIO 053 BPV average error ratio BPV CRATIO DS3 BPV current error ratio BPV EFS DS3 BPV error free seconds BPV EFS PC DS3 BPV percentage error free seconds BPV ES 053 BPV errored seconds Pattern Bit Errors BIT DS3 bit error count BIT ARATIO DS3 average bit error ratio BIT CRATIO 053 current bit error ratio BIT CSES3 DS3 consecutive 3 SES count BIT EFS 053 bit error free seconds BIT EFS PC 053 biterror free seconds BIT ES DS3 bit errored seconds BIT_SES DS3 bit severely errored sec BIT_SYNC_ES DS3 bit synchronous ES Artisan Technology Group Quality Instrumentation 6 21 Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD lt DS3 DS3B gt result FETCh DM OD lt DS3 DS3B gt D53 result continued Parameter Retrieved result Pattern Bit Errors TES3 DS3 10 Threshold ES TES4 DS3 10 Threshold ES TES5 05310 Threshold ES 56 DS3 10 Threshold ES C P Bit Errors Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CBIT DS3 C bit error count CBIT_ARATIO D
3. Root node Level 1node SYSTem ote Only works from front panel operation mode SYSTem ERRor VERSion 5 PRESet SCPI STORE 14 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem REM ote SYSTem REMote This command can only be used if the instruction is running from a Front Panel Mode The SYSTem REM command works from a front panel operation and activates SCPI mode without resetting the test set s configuration This can be useful if you want to set up the test set using the front panel controls or by using the recall function but run the test remotely with the SCPI interface SYSTem REMote This puts thetest set into SCPI mode stopping any active test but maintaining the instrument s configuration Note Compare this command to RST See RST page 5 2 14 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem ERRor SYSTem ERRor Use the following query command to return the next error code in the error queue If the queue is empty you will see the 0 value SYSTem ERRor 14 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem VERSion SYSTem VERSion Use the fo
4. Error Type Applicable Rates Description BPV SINGLE 1E 2 to 1E 9 Bipolar Violation BURST OFF DATA SINGLE 1E 2 to 1E 9 Data errors cause the signal to be BURST OFF errored prior to calculation of the CRC DAT_CRC SINGLE 1E 2 to 1E 9 For combined Data CRC errors BURST OFF the signal is errored after calculation of the CRC FRAME SINGLE 1E 2 to 1E 9 Selection of DS1 Frame errors BURST OFF causes the frame bits to be errored LOOPUP 15 25 45 85 Sends the currently configured 16S5 CONTINUOUS loop up code see page 12 31 UNTIL RCVD LOOPDN 15 25 45 85 Sends the currently configured 165 loop down code see page 12 31 UNTIL RCVD 12 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark and omit the parameters to query the unit forthe current value For example SOUR DM EINJ DS2 SOURce Command Reference SOURce DM EINJ ect DS2 err type gt lt rate gt SOURce DM EINJ ect DS2 err type gt lt rate gt This SOURce command allows you to inject 052 logic errors when the DS3 signal is composed of DS1 sub channels RST default Rate OFF SOUR DM 1 EINJ D21 C2 SINGLE njects a C2 biterror into a DS2 signal The following table lists the parameters to use with this command SOURce DM EINJ DS2 error type gt l
5. selects the internal pattern generator for the 053 payload status GPIBSendCommand instid ROUT SEL DS3 TX SOURCE if status 0 ProcessErrors status return select the DS3 Rx selector to take its signal from the bipolar DS3 port status GPIBSendCommand instid ROUT SEL DS3 RX BIPOLAR if status 0 ProcessErrors status return start the test status GPIBSendCommand instld INIT J if status 0 ProcessErrors status return 16 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Request a SONET signal status status GPIBSendCommand instid FETC DM OD STS1 SIGNAL if status 0 ProcessErrors status return Read STS1 signal status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request STS1 Loss of Pointer alarm indication status GP BSendCommand instld FETC DM OD STS1 LOPNTR if status 0 ProcessErrors status return Read STS1 Loss of Pointer alarm status GPIBReadResult instld result 50 if status 0 f ProcessErrors status return Request a 053 13 frame detect status status GPIBSendCommand in
6. GPIB interface software installed on your PC This software typically comes with the GPIB interface card Thecontroller should not be more than 20 meters 65 feet away from the test instrument e f you are connecting many test sets to a controller do not exceed 2 meters 6 feet times the number of devices connected to the controller To increase the operating distance by 1250 meters use an GPIB extender order number HP 372044 Requirements for Thecontroller should not be more than 10 meters 33 feet away RS 232 from the test instrument Aterminal or a terminal emulation package installed on your PC or a control program that can transmit and receive SCPI commands 2 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Using an GPIB Interface Using an GPIB Interface To connect a test set to a controller using an GPIB interface cable follow these steps l Verify that your controller has an GPIB interface For example you should have installed an GPIB interface card in your PC and the corresponding software that came with the card 2 Ontherear panel of your CERJAC test set locate the REMOTE IEEE 488 port GPIB Interface Port AV 200W 3 Plug end the GPIB cable using the pin side of the connector into the REMOTE IEEE 488 port on the CERJ AC test s
7. Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD ATM result ATM AAL 1 Thefollowing parameters are used to retrieve ATM AAL 1 measurement Results results Before you use these parameters you must set the ATM foreground channel type to AAL 1 see SOURceDM ATMGEN lt param seti ng page 12 9 FETCh DM OD ATM AAL 1 result Parameter Retrieved result CELL LOSS CNT AAL 1 cell loss count CELL LOSS RAT AVG AAL I1cell loss ratio average CELL LOSS RAT CUR AAL I1 cell loss ratio current CELL LOSS ES AAL 1 cell loss error seconds CELL LOSS EFS AAL 1 cell loss percent errored free seconds SN ERR CNT AAL 1sequence number CRC parity error count SN ERR RAT AVG AAL 1sequence number CRC parity error ratio average SN ERR RAT CUR AAL 1sequence number CRC parity error ratio current SN ERR ES AAL 1sequence number CRC parity error seconds SN ERR EFS AAL 1 sequence number CRC parity error percent errored free seconds Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD ATM result Cell Delay Results The following parameters retrieve ATM cell delay measurement results Before using these commands you must set the test mode to cell transfer delay or inter arrival time SOURC
8. Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM VT15 sync mode 12 64 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 13 STATus OPERation EVENt 13 3 STATus OPE Ration CONDition 13 3 STATus OPE Ration ENABle value 13 3 STATus OPE Ration ENABle 13 3 STATus QUE Stionable EVENt 13 4 STATus QUEStionable CONDition 13 4 STATus QUE Stionable E NABle value 13 4 STATus QUE Stionable ENABle 13 4 STATus PRESet 13 5 STATus Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus Command Reference The STATus commands let you retrieve the value from the various SCPI registers The STATus command tree is STATus Command Structure Root node Level 1node Level 2 node Parameter STATus OPERation EVENt CONDition ENABLe decimal value ENABLe QUEStionable EVENE CONDition ENABLe decimal value ENABLe PRESet 13 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus Command Reference STATus OPERation EVENt STATus OPE Ration E VE Nt The 5 standard requires that the following two commands be included for reading the Operation Event register and its corresponding Operation Conditio
9. Request 053 severely error seconds status GPIBSendCommand instld FETC DM OD DS3 SES if status 0 ProcessErrors status return Read DS3 bit error seconds status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return End Test status GPIBSendCommand instid AB ORT if status 0 ProcessErrors status return Take test setoutof HP IB mode status GPIBSendCommand instid SYST PRES if status 0 ProcessErrors status return Function GPIBSendCommand Purpose This function writes SCP commands to the system and verifies the command is acceptable by the system Return 0 if Success or error code wi Static int GPIBSendCommand int instld char command char system result 5 SYST ERROR query buffer int status GPIB 1 0 and system status 16 29 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued send msg string to instrument and verify GPIB status send command to instrument Status iwrite instld command strlen command J if status 0 return _ WRITE ERROR send SYSTEM ERROR QUERY command in order to verify valid commands status iwrite i
10. Request VT15 Loss of Pointer alarm indication status GPIBSendCommand instid ETC DM OD VT15 LOPNTR J if status 0 ProcessErrors status return Read VT15 Loss of Pointer alarm status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request a DS1 SF frame detect status status GPIBSendCommand instid ETC DM OD DS1 SFSYNC if status 0 ProcessErrors status return Read a a DS1SF frame detect status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Inject VT15 errors status GPIBSendCommand instld S OUR DM EINJ VT15 BER 1E 3 if status 0 ProcessErrors status return wait 1 second 16 18 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued Request VT15 code violation count status GPIBSendCommand instid ETC DM OD VT15 CV if status 0 ProcessErrors status return Read VT15 code violation count status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request VT15 code violation average error ratio status GPIBSendCommand instld FETC DM OD
11. UsetheFIELD and VALUE keys to configure which results are shown on the test set display and front panel LEDs whilethe unit is in SCPI mode UseFIELD to select Results Level and then use VALUE to set the results level for the level of measurement detail you want Usethe RESULT keys to scroll through measurement screens in the upper half of the display The measurement screens available depend on the results enabled in the lower half of the display For more information on viewing measurements refer to the documentation that came with your test set 2 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Local Mode Store Recall Command Feature Local Mode Store Recall Command F eature SCPI mode has new Store Recall feature enhancement Release 7 0 and higher software provides support for test set Store and Recall functions In SCPI mode the test set only has a limited number of operational front panel controls Release 7 0 and higher software syntax requires the use of the leading colon where earlier releases do not use itin all instances Table below lists the various Local mode commands used with the 156 MTS test set SCPI Command Context Command Description SCPI Activates SCP mode sets all parameter to their defaults Also RST See SYSTem REMote page 14 3 Local Query test set for local SCPI mode SYSTEM ERR
12. FETCh DM OD lt DS3 DS3B gt result FETCh DM OD lt DS3 DS3B gt D53 result continued Parameter Retrieved result J itter JITTER CUR PTOP H 053 high band current p to p jitter JITTER MAX PTOP H DS3 high band max p to p jitter JITTER POS PEAK H 053 high band positive peak jitter JITTER NEG PEAK H DS3 high band negative peak jitter JITTER MASK PC H DS3 high band max jitter mask JITTER HITS H DS3 high band jitter hits count JITTER HITS SEC H DS3 high band jitter hits time JITTER CUR PTOP W DS3 wide band current p to p jitter JITTER MAX PTOP W DS3 wide band max p to p jitter JITTER POS PEAK W DS3 wide band positive peak jitter JITTER NEG PEAK W 053 wide band negative peak jitter JITTER MASK PC W DS3 wide band max jitter mask JITTER HITS W 053 wide band jitter hits count JITTER HITS SEC W 053 wide band jitter hits time Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD lt DS3 DS3B gt result FETCh DM OD lt DS3 DS3B gt D53 result continued Parameter Pulse Mask Available for DS3 A MSK PSHAPE Retrieved result Positive pulse shape results pass fail or unavailable only MSK NSHAPE Negative pulse shape results pass fail unavailable MSK PRISE Positive pulse rise time in nanoseconds MSK NRISE
13. REI P STS 1Path remote event indication REI alarm count formerly FETC DM OD STS1 PATH REI P ARATIO STS 1 Path REI alarm average ratio formerly FETC DM OD STS PATH ARATIO REI P CRATIO STS 1Path REI alarm current ratio formerly FETC DM OD STS 1 PATH CRATIO REI P ES STS 1 Path REI errored seconds count formerly FETC DM OD STS 1 PATH ES REI P SES STS 1 Path REI severely errored seconds count formerly FETC DM 00 5 51 SES REI P UAS STS 1 Path REI unavailable seconds count formerly FETC DM OD STS PATH UAS REI P EFS STS 1 Path REI error free seconds count formerly FETC DM 00 5 51 EFS 6 37 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STST result FETCh DM OD STST path result continued Parameter Retrieved result REI P PC EFS STS 1 Path REI percentage of error free seconds formerly FETC DM OD STS1 PATH PC EFS LOP P STS 1 Path loss of pointer alarm formerly FETC DM OD STS1 LOPNTR LOP P SEC STS 1 Path loss of pointer alarm seconds formerly FETC DM OD STS1 LOPNTR SEC 6 38 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STS 1 Line Measurements FETCh Command Reference FETCh
14. return Requesta SONET signal status status GPIBSendCommand instid FETC DM OD STS1 SIGNAL if status 0 ProcessErrors status return Read STS1 signal status status GPIBReadResult instld result 50 if status 0 ProcessErrors status return 16 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing M 13 Format DS3 DS1 Payload continued Request STS1 Loss of Pointer alarm indication status GPIBSendCommand instid FETC DM OD STS1 LOPNTR if status 0 ProcessErrors status return Read STS1 Loss of Pointer alarm status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request a 053 13 frame detect status status GPIBSendCommand instld FETC DM OD DS3 M 13FRAM E if status 0 ProcessErrors status return Read a 053 13 frame detect status status GPIBReadResult instld result 50 if status 0 t ProcessErrors status return Request a DS1 SF frame detect status status GPIBSendCommand instid ETC DM OD DS1 SFSYNC if status 0 ProcessErrors status return Read a a DS1SF frame detect status status GPIBReadResult instld result 50 J if status
15. 4 rtisan tisan Technology Group is your source for quality Femoog Ge new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment EQUIPMENT DEMOS HUNDREDS OF InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com 7 information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED Contact us 888 88 SOURCE sales artisantg com www artisantg com Agilent Technologies E4480 90001 SCPI Programmer s Manual 156MTS SONNET Maintenance Test Set E i i gt LJ a ui Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Copyright Agilent Technologies 2000 All rights reserved Reproduction adaptation or translation without prior written permission is prohibited except as allowed under the copyright laws Publication part number E4480 90001 Version
16. The following 5 command for setting the input impedance exists but was not documented in this manual INPUT IMPedance value Terminal mode is indicated when the value is less than or equal 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes to 100 Bridge mode is indicated when the value is more than 100 Miscellaneous 1 Fixes ATM functionality failed following the restoration of default settings using a Setup Menu pick The problem was caused when the ATM board lost synchronization with the host CPU when the test set was warm started This problem was corrected by restoring test set default settings on the fly and not warm starting the unit When the test set was configured for DS1rate with a DS1 payload in monitor mode it would not display the DS0 VF Measurement screen This short coming has been corrected When the test set is configured for terminal mode STS1 OCI STS1 OC1 VT1 5A and 1to 28 counting mode with other VT s set to AIS drop and insert fields set to 7 then 8 and back to 7 the DS1 signal became lost This problem was corrected A SCPI command was fixed to set the terminal mode state for DS1 DS1 DS1 with DSO data This command changes the state of the ABCD signaling bits For terminal mode DS3 DS3 DS3 the test set loses sync when TX clock is set to LO
17. return WRITE ERROR Read system error result from instrument status iread instld system result 5 if status 0 return GPIB READ ERROR 16 21 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued convert system result into integer for error code use as return value status atoi system result J return status Function GPIBReadResult Purpose This function reads results from the system via GPIB interface Return 0 if Success or error code static int GPIBReadResult int instld char result unsigned int cnt int status GPIB 1 0 and system status Read system error result from instrument Status iread instld result cnt if status 0 return GPIB READ ERROR return status Function Purpose This is a generic function that process GPIB command or 1 0 errors Return void static void ProcessErrors int error_code Generic routines to process GPIB Command 1 errors 16 22 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a DS3 Dropped from a SONET Signal This ex
18. Decimal value of the H1 H2 pointer bytes 2 12 For example FETC DM OD STS12C H1H2 7returns the h1 H2 byte value for STS 1 7 in the STS 12c Note thath1 H2 1 contains the pointer value and H1 H2 through 12 contain the concatenation indicator value 6 48 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate 7 3 ABORt 7 4 INITiate and ABORt Command Reference 7 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate and ABORt Command Reference Use the INITiate commands to clear results in the status registers start a test and begin accumulating results in the status registers To stop a test and freeze the final results use the ABORt command 7 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate and ABORt Command Reference INITiate INITiate After you enter the Reset command and set up signal paths you use the INITiate command to begin running the test Example You might enter the following sequence of commands if you want to transmit a test signal containing DS3 patterns RST ROUT SEL DS3 TX SOURCE ROUT MATR DS3DROP STS 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate an
19. Inthe lEEE 488 Addr field select a value from 00 through 31 The GPIB address identifies a test instrument This address is used in messages sent between a controller and an instrument Inthe SCPI Via field select IEE E 488 Continue to step 6 5 If you are using an RS 232 connection enter information in the following fields on the Administrative Setup screen Inthe Remote field set the communications parameters For example 9600 8 1 None sets 9600 baud 8 data bits 1 stop bit and no parity Inthe SCPI Via field select REMOTE RS232 Continue to step 6 6 Now you are ready to make sure that the connection between the devices is operating properly Continue to Testi ng Your Connecti on on page 2 8 2 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Testing the Connection Testing the Connection After connecting the controller to the test set and configuring the test set interface follow this procedure to verify the connection between the devices is working properly Note This procedure assumes you are using HP s Windows tools for HP IB Make sure the interface software is properly installed on you controller refer to the software documentation If you are using an interface from another vendor refer to their documentation 1 Open the HP IB Tools window l g HP IB Tools If you are using a
20. LOP Loss of pointer events LOP SEC Loss of pointer seconds BIT STS 3c bit errors BIT ARATIO Average BER for bit errors BIT CRATIO Current BER for bit errors BIT ES Bit errored seconds BIT SES Bit severely errored seconds BIT EFS Bit error free seconds BIT EFS PC Percentage of bit error free seconds H1H2 1 Decimal value of the H1 H2 pointer bytes for STS 1 1 in the STS 3c H1H2 2 Decimal value of the H1 H2 pointer bytes for STS 1 the STS 3c H1H2 3 Decimal value of the H1 H2 pointer bytes for STS 1 the STS 3c 6 47 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STS12C result FETCh DMOD STS12C result This command retrieves STS 12c error and alarm measurements The following table describes the applicable parameters to use with this command FETCh DM OD STS12C result Parameter Retrieved result CONCAT The signal s concatenation status RXFREQ The STS 12 signal frequency PATTERN The receive STS 12c data pattern LOP Loss of pattern events LOP SEC Loss of pattern seconds BIT STS 12c bit errors BIT ARATIO Average BER for bit errors BIT CRATIO Current BER for bit errors BIT ES Bit errored seconds BIT SES Bit severely errored seconds BIT EFS Bit error free seconds BIT EFS PC Percentage of bit error free seconds H1H2_1 through
21. Negative pulse rise time in nanoseconds MSK PFALL Positive pulse fall time in nanoseconds MSK NFALL Negative pulse fall time in nanoseconds MSK PWIDTH Positive pulse width in nanoseconds MSK NWIDTH Negative pulse width in nanoseconds MSK PAMP Positive pulse amplitude pass fail unavailable MSK NAMP Negative pulse amplitude pass fail unavailable MSK PAMP MV Positive pulse amplitude in millivolts MSK NAMP MV Negative pulse amplitude in millivolts MSK IMB Pulse imbalance status pass fail not applicable MSK IMB RATIO Pulse imbalance ratio MSK PSTAT Status of positive pulse acquisition text MSK NSTAT Status of negative pulse acquisition text MSK UPPER MSK LOWER These two commands return the standardized mask curve data points for the selected mask see SENSe DM M SKSEL pulse mask page 11 15 The upper and lower boundaries of the mask are each described by 576 values can be set from 1 through 576 to retrieve specific data point orto A to retrieve all data points at once Artisan Technology Group Quality Instrumentation 6 25 Guaranteed 888 88 SOURCE www artisantg com Example FETCh Command Reference FETCh DM OD DS3 CBIT row cbit FETCh DMOD DS3 CBIT row chi t gt This command retrieves the last C bit values received by the test set row The
22. Parameter Retrieved result J itter JITTER CUR PTOP H DS1 high band current p to p jitter JITTER MAX PTOP DS1high band max p to p jitter JITTER POS PEAK H DS1 high band positive peak jitter JITTER NEG PEAK H DS1 high band negative peak jitter JITTER MASK PC H DS1 high band max jitter mask JITTER HITS H 051 high band jitter hits count JITTER HITS SEC H DS1 high band jitter hits time JITTER CUR PTOP W 051 wide band current p to p jitter JITTER MAX PTOP W 051 wide band max p to p jitter JITTER POS PEAK W 051 wide band positive peak jitter JITTER NEG PEAK DS1wide band negative peak jitter JITTER MASK PC W DS1wide band max jitter mask JITTER HITS W DS1 wide band jitter hits count JITTER HITS SEC W 051 wide band jitter hits time Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD DS2 result FETCh DMOD DS2 result This command retrieves DS2 measurement results The following table lists the applicable parameters and the retrieved results FETCh DM OD DS2 lt DS2 result Parameter Retrieved result LOS 0521055 of signal alarm AIS DS24AIS alarm LOF 0521055 of frame alarm XBIT DS2 X bit status 6 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Re
23. Waits 1 second to allow errors to accumulate FETC DMOD VT15 CV Request VT1 5 Code Violation parity error count fread bus VT1 5 cv error count Sends the error count to the output queue FETC DMOD VT15 CV ARATIO Request VT1 5 Code Violation average error ratio bit error rate fread bus VT1 5 cv average ratio Sends the average ratio to the output queue FETC DMOD DS1 BIT Requests the DS1 bit error count fread bus DS1 bit error count Sends the bit error count to the output queue FETC DMOD DS1 BIT CRATIO Requests DS1 bit error current ratio fread bus DS1 bit error current ratio Sends the ratio to the output queue FETC DMOD DS1 BIT ES Requests the number of DS1 bit errored seconds fread bus DS1 bit errored seconds Sends the number of bit errored seconds to the output queue ABOR Ends the test Notice the green RUN LED turn off on the test set SYST PRES Takes the test set out of HP IB mode and returns control to the test set 16 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals U sing C The following example shows how to complete this test using SCPI commands within a C program C Program Listing for Testing VT1 5 Signals Using 5 Commands KAAKAA AKAK KAKA KAKA KAAKA KK This example shows how to transmit a test signal containing VT1 5 mapped 051 signals JE IEEE
24. and the type of timing RST default INT Example SOUR DM CLOCK1 INT Setsthe DS1timing source to internal The following tables lists the parameters to use with this command SOURce DM CLOCKn Signal Type Parameters Signal Type Timing Source Description CLOCK1 INT EXT LOOP DS1 100 053 100 LOOP REF CLOCK2 INT EXT LOOP BITS STS N CLOCK3 INT EXT sonetLOOP 053 DS3 LOOP_RX 053 LOOP_DROP SOURce DM CLOCKn lt timing source Parameters Timing Source Description INT Internal EXT External REF Reference input LOOP Loop timed for receive signal BITS Derived from the input BITS signal at the rear panel 12 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM CODEI line code SOURce DM CODE 1 li ne code This SOURce command sets the line code for the DS1 Bipolar Receive the DS1 Bipolar Transmit and the DS1 Bipolar Drop ports to either AMI or B8ZS RST default AMI Example SOUR DM CODE1 AMI Sets the DS1 line code to AMI The following table lists the parameters to use with this command SOURce DM CODE1 line code Parameters Line Code Description AMI Alternate mark inversion B8ZS Bipolar with eight zero substitution HDB3 High density with three zero substitution 12 20 Artisan Technology
25. fread bus gt STS 1 Loss of Pointer alarm Sends the alarm indication to the output queue FETC DMOD DS3 M13FRAME Requests the 053 13 frame detect status fread bus 053 m13bit frame detect status Sends the status to the output queue FETC DMOD DS1 SFSYNC Requests the DS1 SF frame detect status 16 32 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent DS1 and SONET Transmission Testing 051 SONET Transmission Testing Using 5 Commands continued SCPI Command Description fread bus DS1SF frame detect status Sends the status to the output queue SOUR DM EINJ DS3 DATA 1E 3 Injects DS3 errors wait 15 Waits 1 second to allow errors to accumulate FETC DMOD DS3 BIT Requests the DS3 bit error count fread bus DS3 bit error count Sends the bit error count to the output queue FETC DMOD DS3 BIT ARATIO Requests a DS3 bit error average ratio fread bus DS3 bit error average ratio Sends the ratio to the output queue FETC DMOD DS3 BIT CRATIO Requests a DS3 bit error current ratio fread bus DS3 bit error current ratio Sends the ratio to the output queue FETC DMOD DS3 BIT SES Requests the number of DS3 severely errored seconds fread bus DS3 severely errored seconds Sends the number of severely errored seconds to the output queue ABOR Ends t
26. status SYSTEM STORE 1 name Local Store Configuration to position 1 Local Enter SCPI control leave test set SYSTEM REMote mode unchanged Local Commands SCPI interface connection with IEEE488 SYSTEM SCPI IEEE488 connection port The test set configurations are saved when you execute the 5 command SYST E M STORE The n is a number location between 1 and 10 that specifies the save slot of the configuration data Using the name optional parameter specifies the name tag under which the test set stores the configuration data This replaces the default configuration name the mode title name Note that to store test set modes the unit must be operating in the desired mode via local front panel mode Prior to entering 5 itis possible to query the status of the test set with SYSTE M ERR Thetest set will return to the a textual string indicating the status of the local SCPI mode When using version 7 0 released software to recall test set configuration you had to place a test set in non menu mode prior to 2 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Local Mode Store Recall Command Feature entering SCPI mode The reason being thatthe test set cannot exit SCPI mode to enter terminal mode unless the test set was placed in terminal mode prior to entering SCPI control As of Host SW V7 0 the SYSTEM R
27. 0 ProcessErrors status return 16 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing M 13 Format DS3 DS1 Payload continued Inject DS1 errors status GPIBSendCommandq instld SOUR DM EINJ DS1 data 1E 3 if status 0 ProcessErrors status return wait 1second Request DS1 bit error count status GPIBSendCommand instld ETC DM OD DS1 BIT if status 0 ProcessErrors status return Read DS1 bit error count status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS1 bit error average ratio status GPIBSendCommand instid FETC DM OD DS1 BIT_ARATIO if status 0 ProcessErrors status return Read DS1 bit error average ratio status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS1 bit error current ratio status GPIBSendCommand instld FETC DM OD DS1 CRATIO J if status 0 ProcessErrors status return 16 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing M 13 Format DS3 DS1 Pa
28. 1 SOUR DM DATA5 2 20 1INV Sets the STS 12c data pattern for an inverted 220 1 PRBS The following table lists the patterns to use with this command SOURce DM DATAS pattern Parameters Pattern Description 2515 215 1 PRBS pseudo random bit sequence 2 20 1 20 1 PRBS 2723 1 23 1 PRBS 2431 1 21 1 PRBS 2 15 1INV Inverted 215 1 PRBS 2 20 1INV Inverted 220 1 PRBS 2 23 1INV Inverted 223 1 PRBS 2 31 1INV Inverted 21 1 PRBS ONES All ones pattern ZEROS All zeros pattern PROG32 The user programmable pattern defined by the SOURce DM PROG32 PATTERN command see page 12 63 LIVE Live traffic no pattern 12 28 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DL DATA FDL message SOURce DM DL DATA FDL message This SOURce command programs the transmitted DS1 extended superframe ESF facility datalink FDL message RST default 0111 1110 0111 1110 Example SOUR DM DL DATA 101101 Add a question mark to Sets the transmitted DS1 ESF FDL message to the following bit query the unit for the current sequence 0101 101001111110 value For example Note that only bits 2 through 7 are user programmable SOUR DM DL DATA The following table lists the patterns to use with this command SOURce DM DL DATA FDL message Parameters Pa
29. 10 10 DS1 10 10 DS3 10 11 1 10 11 RS 232 10 15 STS N 10 13 VT 10 13 SSENSe commands 11 1 11 18 signaling bits 12 55 Software Release Notes 1 SONET alarms 12 5 SONET Path FEBE measurements 6 37 6 39 SOURce commands 12 1 12 63 STATus commands 13 1 13 5 stopatest 7 4 string parameters 1 5 Index 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Index STS 1 electrical measurements 6 35 error injection 12 38 pointer adjustment 12 43 pointer results 6 40 rx signal level 8 5 tx signal level 9 5 STS 1 measurements OH measurements 6 36 Path OH results 6 37 6 39 STS 1 overhead OH byte values 6 36 path results 6 43 transmit 12 57 STS 12c error injection pattern 12 28 results 6 48 STS 3 error injection STS 3c ATM results 6 10 pattern 12 27 results 6 47 STS N alarms 12 5 demux 10 3 10 7 rx signal selection selectors 10 13 txtiming 12 20 STS N overhead line results 6 44 section results 6 45 transmit 12 42 12 57 transport OH results 6 41 12 41 12 41 6 46 Summary 1fields 6 3 SYSTem commands 15 1 SSYST REM 15 3 T technical support terminal test modes 4 3 termination mode 8 6 test set local operation 2 11 test set mode emulation 4 1 4 17 transmit on off 9 6 transmit programming diagram 18 5 transmit timing 12 20 Trouble Scan 11 10 TS selecting for fractional 1 12 51 types of pa
30. 111100 60 DS1Line 4 101110 46 DS1 Line All 010011 19 Example SOURCe DM DS3 FEAC LOOPBACK LINE 47 Sends loop up activate or loop down deactivate code to DS1 line 15 12 48 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC BURST SIZE size SOURce DM DS3 FEAC BURST SIZE size This command specifies the number of times to transmit the selected FEAC code when you press the test set s ACTION INJ ECT key or issue the SOURce DM DS3 F EAC ACTION command Use SOURce DM DS3 FEAC BURST_SETTING to select the FEAC code size The number of times 3 15 to transmit the FEAC code Example SOURCe DM DS3 FEAC BURST SIZE 10 P Configures the test set to send the selected FEAC code 10 times 12 49 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC ALM STAT alarm SOURce DM DS3 FEAC ALM STAT alarm This command selects the FEAC code to transmit when SOURceDM DS3 FEAC CONT STAT is set to ON or SOURCe DM DS3 FEAC BURST SETTING is set to ALM STAT For alarm specify the decimal equivalent of the FEAC code bit sequence listed in the following table Alarm Status Field FEAC Code Selections FEAC Code BitSequence Decimal
31. 4 2 M ay 2000 Printed in USA Warranty The information contained in this document is subject to change without notice Agilent Technologies makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantability and fitness for a particular purpose Agilent Technologies shall not be liable for errors contained herein or for incidental or consequential damage in connection with the furnishing performance or use of this material Trademark Credits Windows is a trademark of Microsoft Corporation SLC 96 is a registered trademark of AT amp T All other trademarks are the property of their respective owners ISO Certification Agilent Technologies Service Test Division STD is an International Standards Organization ISO 9001 registered company recognizing that the quality System operated by STD meets the requirements established in accordance with ISO 9001 The CERJ AC 156M TS test sets are manufactured STD in strict compliance with this quality System STD received ISO 9001 certification no 6969 from National Quality Assurance NQA on August 30 1995 ISO 9001 REGISTERED COMPANY Certificate No 6969 Communications M easurements Division 2 Robbins Road Westford M assachusetts 01886 USA Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com About This Book
32. 56K LINE RATE INC 5 4 43 42 Adjusts the nominal line rate up or down in five steps 1 NOMINAL 1 2 3 4 5 FGND TYPE AALO Sets the foreground channel AAL type to AALO AALI Sets the foreground channel AAL type to 11 TST Sets the foreground channel type to test cell FGND SRV TYPE CBR VBR Sets the service type for the foreground channel FGND PCR XXX VBR foreground PCR percentage XXX is 0 2 4 100 RST default is 100 FGND SCR XXX VBR foreground SCR percentage XXX is 0 2 4 100 RST default is 10 FGND MBS XXX VBR foreground M BS percentage Indicates the RST default for each source Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com is 0 1 3 9 RST default is 9 12 10 SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen foreground parameter gt lt setting gt continued Foreground Parameter Setting FGND_DISTRIB OFF Description Sets the foreground channel distribution to off CON TINUOUS Sets the foreground channel distribution to continuous SINGLE Sets the foreground channel distribution to single PERIODIC Sets the foreground channel distribution to periodic ON For STS 12c ATM only Activates the foreground channel FGND CELL BURST Sets the foreground channel cells per burst xxx can be 0 through 512 decimal RST defau
33. 888 88 SOURCE www artisantg com Test Set Commands 5 2 Register Commands 5 3 Common SCPI Commands Reference 5 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Test Set Commands Common SCPI Test Set Commands Command Description IDN Returns the M odel and Serial numbers of the test set along with the software version number and release date RST Activates SCPI mode and sets all parameter to their defaults See also SYSTem REM ote page 14 3 TST The response to TST Self Test Query is 0 which means WAI The response to WAI is NO OP no operation since there are no over lapped commands Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Common 5 Commands Reference Register Commands Register Commands Common 5 Register Commands Command CLS Description Clears the Standard Event Status Register to all 0 s ESE x Sets the Standard Event Status Enable Register bits where x is a decimal integer whose binary equivalent is the desired 8 bit mask ESE Returns the decimal integer value of the standard event status enable register ESR Returns the decimal integer value ofthe Standard Event Status Register Reading the Standard Event Status Register clears it OPC After receipt of the OP
34. CNT Total cell stream HEC error count HCS ERR RAT Total cell stream HEC error cell ratio CHCS ERR CNT The total number of correctable HEC errors Note this result is available for STS 12c ATM only UHCS ERR CNT The total number of uncorrectable HEC errors Note this result is available for STS 12c ATM only TOT CELL CNT Total cell stream cell count TOT CELL SEC AVG Total cell stream cells per second average TOT CELL SEC CUR Total cell stream cells per second current Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD ATM result Payload BitError following table lists the ATM payload bit error measurements Results available using this command Note that the ATM receive channel type must be set AAL 0 AAL 1 or test cell see SOURce DM ATMGEN lt gt seti ng page 12 9 FETCh DM OD ATM payload bit error result Parameter Retrieved result BIT ERR CNT ATM payload bit error count ERR RAT AVG payload bit error ratio average ERR RAT CUR payload bit error ratio current PYLD PAT SYNC ATM payload pattern synchronization status PYLD ES ATM payload bit error seconds PYLD EFS ATM payload bit percent errored free seconds PYLD LOP Payload loss of pattern alarm PYLD LOP SEC Payload loss of pattern alarm seconds
35. D4 detection status ESFSYNC DS1ESF detection status PATTERN DS1 pattern detection status B8ZS DS1 B8ZS detection status Alarms LOS 0511055 of Signal alarm LOS SEC DS1LOS Seconds count LOF DS1 Loss of Frame alarm LOF SEC DS1LOF seconds LOP 0511055 of pattern alarm LOP SEC DS1LOP seconds ONESDEN DS1 Is density alarm state 1 alarm tripped 0 not tripped 6 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD DS T result FETCh DM OD DS T lt DS1 result continued Parameter Retrieved result Alarms AIS DS1AIS alarm AIS SEC DS14AIS seconds YELLOW DS1 yellow alarm YELLOW SEC DS1 yellow alarm seconds COFA 051 change of frame alignment 051 excess 05 alarm IDLE DS1 idle signal status IDLE SEC DS1idle signal seconds BPV BPV DS1 bipolar violation count BPV ARATIO DS1BPV average error ratio BPV CRATIO DS1 BPV current error ratio BPV EFS DS1 BPV error free seconds BPV EFS PC DS1BPV biterror free seconds BPV ES DS1 BPV errored seconds CRC CRC DS1 CRC error count CRC ARATIO DS1 CRC average error ratio CRC CRATIO DS1 CRC current error ratio CRC EFS DS1 error free seconds CRC EFS PC DS1 CRC bit error free seconds CRC_ES DS1CRC errored seconds 6 16 Artisan Technology Group Quality Instrumentation Guaranteed 8
36. DM OD STST result These commands retrieve STS 1Line overhead measurement results from the DS3Drop output of the matrix switch before DS3 desynchronization Additional Line measurements can be retrieved using the STS1 LINE commands see FETCh DMOD STSI LI NE result page 6 44 The following table lists the applicable parameters and the retrieved results FETCh DM OD STST line result Parameter Retrieved result AIS L STS 1Line alarm indication signal alarm formerly FETC DM OD STS L LIN E AIS AIS L SEC STS 1 Line alarm indication signal alarm seconds formerly FETC DM OD STS1 LINE 15 SEC L STS 1Line remote defect indication alarm formerly FETC DM OD STS1 LFERF RDI L SEC STS 1Line remote defect indication alarm seconds formerly FETC DM OD STS1 LFERF SEC RELL STS 1Line remote event indication REI alarm count formerly FETC DM OD STS1 LINE REI L ARATIO STS 1Line REI alarm average ratio formerly FETC DM OD STSI LINE ARATIO REI 1 CRATIO STS 1 Line REI alarm current ratio formerly FETC DM OD STS1 LINE CRATIO REI L ES STS 1Line REI errored seconds count formerly FETC DM OD STS 1 LINE ES REI L SES STS 1 Line REI severely errored seconds count formerly FETC DM OD STS LINE FEBE SES REI L EFS STS 1Line REI error free seconds count formerly FETC DM OD STS 1 LINE FEBE_EFS REI L PC EFS STS
37. DS31 VTGRP VT15 STS12 returns the setting of the DS1 line code 11 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Add a question mark and omit the parameter to query the unit for the current value For example SENS DM DATA1 Example Note SENSe Command Reference SENSe DM 1 pattern SENSe DM DATA1 pattern The DS1 Error Alarm Freq Measure sensor can be set to look for a particular data pattern Status and alarm information is then based on whether these selected framing and data patterns have been found in the measured signal The selected data pattern is also used for detection of bit errors This SENSe command identifies the transmit pattern when 051 is the source RST default QRSS SENS DM DATA1 AIS Sets the 051 transmit pattern to AIS This SENSe command also sets up the DS1 internal source and can therefore be used interchangeably with the corresponding SOURce commands The following table lists the parameters to use with this command SENSe DM 1 pattern Parameters Parameter Description AIS Alarm Indication Signal PROG User Programmable pattern QRSS QRSSINV Quasi random signal 2723 1 2 23 1INV 2720 1 2 20 1INV 2115 1 2 15 1INV 2 11 1 2 11 1INV PRBS pseudo random bit sequence patterns for example 2 23 1 223 1 PRNS The IN V selections in
38. IB mode status GPIBSendCommand instid SYST PRES if status 0 ProcessErrors status return Function GPIBSendCommand Purpose This function writes SCP commands to the system and verifies the command is acceptable by the system Return 0 if Success or error code static int GPIBSendCommand int instld char command char system_result 5 SYST ERROR query buffer intstatus GPIB 1 0 and system status send msg string to instrument and verify GPIB status send command to instrument status iwrite instld command strlen command if status 0 return GPIB WRITE ERROR send SYSTEM ERROR QUERY command in order to verify valid commands status iwrite instld SYSTEM QUERY CMD strlen SYSTEM QUERY if status 0 return WRITE ERROR Read system error result from instrument status iread instld system result 5 if status 0 return GPIB READ ERROR convert system result into integer for error code use as return value status atoi system result return status 16 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Function GPIBReadResult Purpose This function reads results from the system
39. Measurement a Systems Command gt Status Output Decoder Reporting Queue BN Data pest Storage IN OUT Program message Response message received from waiting to be sent controller to controller 17 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 16 Using the Programming Diagrams 18 2 Key to Diagrams 18 3 Receive Programming Diagram 18 4 Transmit Programming Diagram 18 5 Programming Diagrams 18 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming Diagrams This chapter presents a graphic model of your AC test set as itis controlled by the 5 command set The programming diagrams provide a visual reference to help you configure the instrument Each element in the Receive Programming Diagram on page 18 4 and in the Transmit Programming Diagram on page 18 5 represents a SCPI command and its applicable parameters Using the Programming Diagrams The following steps explain how to use the programming diagrams to help you generate SCPI programs 1 Make copies of the transmit and receive programming diagrams 2 each diagram highlight the desired signal routes and circle the appropriate SOURce choices and the SENSe boxes you want to use 3 Confirm that the highlighted paths connect the sources to the desired outputs and the inputs to the desired SENSe boxes 4
40. ROUT M VT15DROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 TX SOUR DM ATM M UX STS1 ROUT SEL STS1 RX 1 0 1 5 1 053 5 ROUT SEL 0 1 ROUT M ATR STSIDROP EXT ROUT M VTI5DROP EXT ROUT SEL 5751 RX BIPOLAR 0 1 STS 1 DS3 DS1 RST ROUT SEL TX 0 1 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 RX BIPOLAR SENS DM DATA3BITERR OFF 0 1 5 1 DS3 E1 RST ROUT SEL TX 1 SOUR DM M ODE E1 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 RX BIPOLAR SENS DM DATA3BITERR OFF 4 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 0 1 STS1 VT DS1 RST ROUT SEL OPT TX 1 ROUT M ATR 5751 VT15 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT M VTI5DROP EXT ROUT SEL DS3 RX BIPOLAR ROUT SEL DS1 RX VT15 0 1 5 1 RST ROUT SEL OPT TX 1 ROUT M ATR STSIDROP EXT ROUT M ATR VI5DROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 TX ATM SOUR DM ATM M UX STS1 ROUT SEL DS3 RX BIPOLAR 0 1 5 1 053 RST ROUT SEL TX 0 1 ROUT SEL DS3 TX SOURCE ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT M ATR DS3
41. ROUT M ATR 575 2 575 32 ROUT M ATR STS 3 STS B ROUT M UX OTH 5 512 55 0 12 053 RST ROUT SEL DS3 TX SOURCE ROUT M ATR 575 2 575 32 ROUT M ATR STS 3 STS B ROUT M UX OTH STS12 PASS 0C 12 DS3 1 RST ROUT SEL DS3 TX SOURCE ROUT M ATR 575 2 575 2 ROUT M ATR 575 3 5758 ROUT M UX OTH 575 12 55 0C 3 STS 1 RST ROUT SEL 5753 RX OC3 ROUT MATR STS LEXT ROUT MATR STS42 5T542 ROUT MATR 575 8 575 8 ROUT SEL OPT TX OC3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Drop and Insert Testing Modes SCPI Commands to Emulate Drop and Insert Testing Modes continued Tx Rx Rate Payload SCPI Command Sequence 0C 3 DS3 RST ROUT SEL 5753 RX OC3 ROUT SEL 053 TX SOURCE ROUT MATR STS42 5T542 ROUT MATR 575 8 575 8 ROUT SEL TX OC3 0C 3 DS3 1 RST ROUT SEL 5753 RX OC3 ROUT SEL 053 TX DS31DI ROUT MATR STS42 5T542 ROUT MATR 575 8 575 8 ROUT SEL TX OC3 STS 1 053 1 RST ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL DS3 TX DS3IDI DS3 DS1 RST ROUT SEL DS3 RX BIPOLAR ROUT SEL DS3 0531 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Drop and Insert Testing Modes Artisan Technology Group Quality Instrumentation Guaranteed
42. RX BIPOLAR STS 1 0 12 053 RST ROUT M ATR DS3 TX SOURCE STS 1 0 3 DS3 RST ROUT MATR 053 TX SOURCE ROUT SEL 5753 RX OC3 4 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing odes SCPI Commands to Emulate Terminal Testing M odes continued Transmit Rate Receive Rate Payload SCPI Command Sequence STS 1 STS 1 DS3 RST ROUT M ATR DS3 TX SOURCE POUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT STS 1 0 1 DS3 RST ROUT SEL DS3 TX SOURCE ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 RX OC1 STS 1 STS 1 DS3 1 RST ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT SENS DM DATA3BITERR OFF STS 1 STS 1 VT DS1 RST ROUT M ATR 5 5 1 15 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT M ATR VTISDROP EXT ROUT SEL DS1 RX VT15 STS 1 STS 1 ATM RST ROUT M ATR STSIDROP EXT ROUT M ATR VTISDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 TX ATM ROUT SEL STS1 RX BIPOLAR SOUR DM ATM M UX STS1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 575 1 053 053 RST ROUT SEL DS3 TX SOURCE ROUT M STSIDROP EXT R
43. RX BIPOLAR Front panel input VT15 051 dropped from a VT1 5 mapped SONET signal DS3 DS1 dropped from a DS3 signal DS1 TX LOOP Output of the 051 Rx selector SOURCE DS1 internal source DSO Output of the 050 M ux ATM Output of the ATM generator Do not use this command if you are using the SOUR DM DATA1 ATM command see page 12 24 10 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source ROUTe SELect selector input source DS1 DS0 Parameters continued Selector Input Description DS1 DROP 053 RXA Dual 053 modes Selects the 053 A or B DS3 RXB from which the 05115 dropped and from which 051 DS2 measurements are made DS3and E1 The following table lists the DS3 and E1 selector commands Selectors ROUTe SELect lt selector gt lt input source DS3 E1 Parameters Selector Input Description E1 RX BIPOLAR Front panel input DS3 DS1 dropped from a DS3 signal El TX LOOP Output of the E1 Rx selector SOURCE E1 internal source ATM Output of the ATM generator Do not use this command if you are using the SOUR DM DATA1 ATM command see page 12 24 DS3 RX BIPOLAR Front panel input port Note This is the reset default for instruments configured for a maximum rate of DS3 DROP DS3 drop from the matrix switch Note This is the reset def
44. SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued Inject DS3 errors status GPIBSendCommandq instid SOUR DM EINJ DS3 data 1E 3 if status 0 i ProcessErrors status return wait 1second request DS3 biterror count status GPIBSendCommand instld FETC DM OD DS3 if status 0 ProcessErrors status return Read DS3 bit error count Status GP IBReadResult instld result 50 if status 0 ProcessErrors status return Request DS3 bit error average ratio status GPIBSendCommand instid FETC DM OD DS3 BIT_ARATIO if status 0 ProcessErrors status return Read DS3 bit error average ratio Status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS3 bit error current ratio status GPIBSendCommand instld FETC DM OD DS3 BIT_CRATIO if status 0 ProcessErrors status return 16 28 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued Read DS3 bit error current ratio status GPIBReadResult instld result 50 if status 0 ProcessErrors status return
45. SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal U sing C The following example shows how to complete this test using SCPI commands within a C program Testing a Dropped DS3 Signal Using C Commands I AA TA IR IA TA ARR IIA This example shows how to transmit a SONET test signal with each 5751 containing DS3 patterns JE ICE EI IC TOR TAA RA TER include lt stdio h gt Hinclude lt stdlib h gt include lt string h gt define GPIB WRITE ERROR 1 define GPIB READ ERROR 2 define SYSTEM QUERY CM D SYST ERR External Functions Note the following are vendor specific GPIB 1 0 functions The functions are generic Therefore the parameters and or function name may not match the functions provided by specific vendors Function iopen Purpose This function establishes a session with the desired interface or deice and returns a session identifier The session identifier should only be passed as a parameter to other vendor specific GPIB functions Return 0 if Success or error code f extern int iopen char address int Function iwrite Purpose This is a vendor specific function that writes SCPI commands to the system via GPIB interface Return 0 if Success or error code extern int iwrite int id char data unsigned int datalen Function iread Purpose This is a vendor specific function
46. SCPI goes beyond the front panel controls allowing more flexible configuration options by providing complete access to the set s functionality The IEEE 488 2 standard describes how to send commands to an instrument and send responses to a controller It also defines a group of frequently used housekeeping commands to be accepted by most SCPI compliant instruments and specifies how some types of features should be implemented in SCPI firmware Although the IEEE 488 2 standard covers many aspects of communication between a controller and an instrument it does not specify which commands or features should be supported by each type of instrument Test sets from different manufacturers that conform to the IEEE 4882 standard may not be able to communicate with each other because they do not support the same command set SCPI promotes a uniform and consistent programming environment for instrument control and data usage over a IEEE 488 bus Consistency is achieved by defining the program messages instrument responses and data formats to use when communicating with SCPI instruments The Hewlett Packard Interface Bus HP IB is based on the IEEE 488 1 standard and defines the type of physical and electrical connection to use when connecting a test instrument to a controller how the devices talk and listen to each other and how a byte of data is transmitted back and forth between a controller and an instrument The HP IP cable connected betwe
47. SOURCE www artisantg com Contents Terminal Testing Modes 4 3 Monitor Testing Modes 4 14 Drop and Insert Testing Modes 4 16 5 Common SCPI Commands Reference 5 1 Test Set Commands 5 2 Register Commands 5 3 6 FETCh Command Reference 6 1 Summary_1 Field Descriptions Block Errors 6 3 FETCh TRBLSCAN 6 4 FETCh DMOD ATM result 6 5 FETCh DMOD DSO result 6 13 FETCh DMOD DS1 result 6 14 FETCh DMOD DS2 result 6 19 FETCh DMOD lt DS3 DS3B gt result 6 20 FETCh DMOD DS3 CBIT row cbit 6 26 FETCh DMOD DS3 FEAC code 6 26 FETCh DMOD ET result 6 27 FETCh DMOD OPTions 6 31 FETCh DMOD VT15 result 6 32 FETCh DMOD STSI result 6 35 FETCh DMOD STSI PATH results 6 43 FETCh DMOD STSILINE result 6 44 FETCh DMOD STSI SECTion result 6 45 STS N Measurement Receive Signal Selection 6 46 FETCh DMOD STS3C result 6 47 FETCh DMOD STS12C result 6 48 7 INITiate and ABORt Command Reference 7 1 INITiate 7 3 viii Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents ABORt 74 8 1NPut Command Reference 8 1 INPut FILTer DS1 signal levd gt 8 3 1NPut FILTer DS3 B signal levd 8 4 INPut FILTer STS1 signal leve 8 5 INPut FILTer E1 signal levd gt 8 6 INPut IMPedance Query Command 8 6 INPut TYPE termination mode 8 6 9 OUT Put Command R
48. Stionable EVENt 13 4 STATus QUEStionable CONDition 13 4 STATus QUE Stionable ENABle value 13 4 STATus QUE Stionable ENABle 13 4 STATus PRESet 13 5 1 4 5 Command Reference 15 1 SYSTem REMote 15 3 SYSTem ERRor 154 SYSTem VERSion 15 5 SYSTem PRESet 15 6 SYSTem OPTionS 15 7 SYSTem SCPI 15 8 15 Error Code Reference 15 1 16 SCPI Programming Examples 16 1 About the Examples 16 2 Conventions Used in Examples 16 3 Test a 053 Signal with DS1Payload 16 4 Test VT1 5 Signals 16 13 Testing DS3 Dropped from a SONET Signal 16 23 Simultaneous Independent DS1 and SONET Transmission Testing 16 32 17 About SCPI 17 1 SCPI Interface 17 2 xii Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents Interface Connections 17 5 Sending SCPI Messages 17 6 18 Programming Diagrams 18 1 Usingthe Programming Diagrams 18 2 Key to Diagrams 18 3 Receive Programming Diagram 18 4 Transmit Programming Diagram 18 5 Software Release Notes A 1 A 156MTS HOST CODE V7 00 Release Notes A 2 156MTS Host Software Version 6 8 Release Notes A 4 156MTS Host Software Version 6 7 Release Notes A 10 Host Software Version 6 60 Release Notes A 13 156 MTS Host Software Version 6 50 Release Notes 16 Host Software Version 6 41 and Software Version 3 40 Release Notes 21 xiii Artisan Technology Group Quality Instrumen
49. TX Output of the DS1 Tx selector STS1 RX 0 1 Front panel optical receive port NRZ Rear panel STS 1 input BIPOLAR Front panel STS 1 input STS1 TX PASS STS 1pass through from STS1 Rx selector TX STS 1 1 from the matrix switch ATM Output of the ATM generator STS_BPTX PASS STS 1 pass through from the front panel STS 1 port TX STS 1 1 from the matrix switch STS3 RX 0C3 Front panel optical receive port Note This is the reset default for OC 3 instruments NRZ Rear panel STS 3 input DROP STS 3 dropped from the OC12 DM ux Note This is the reset default for OC 12 equipped instruments STS3 TX PASS STS 3pass through from STS3 Rx selector TX STS 3fromthe STS3 M ux STS12 RX 0 12 Front panel optical receive port NRZ Rear panel STS 12 input 10 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source ROUT SEL selector input source STS N VT Parameters continued Selector Input Description STS12 TX PASS STS 12 pass through from front panel optical rx port TX STS 12from the STS12 M ux STS12C CLRCH STS 12c setto clear channel ATM STS 12c setto ATM STS12PYLD STS12C STS 12 payload set to concatenated STS 12c STS3 STS 12 payload set to channelized four 575 35 0 12 Output of the STS12 Tx
50. Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Long Form and Short Form Using Parameters SCPI Basics Entering Commands Entering Commands commands have both a long and short version for example SOURCE SOUR The instrument responds to either version but will not respond to variations of either version The SCPI interface does not differentiate betw een upper case and lower case letters but only the long or short form of a command is valid SCPI Command Entry Format Example command SOURce Command Entry Correct Entry SOURCE sour SOURCe SOUR Incorrect Entry SOU Sourc Parameters follow the nodes of commands and are specified throughout this reference in angle brackets lt gt If more than one parameter is available they are listed in this manual separated by a vertical bar If a command requires more than one parameter it is entered with the parameters separated by a comma There are five types of parameters that are used with SCPI commands as described in the following table Types of Parameters Parameter Types Description Numeric All commonly used decimal numbers including optional signs decimal points and scientific notation You can also specify a numeric parameter in hex octal and or binary Special cases also include M AXimum and M IN imum as values Discrete Values are represented
51. This manual is your guide to programming with SCPI commands to control CERJAC test instruments Chapter 1 introduces the 5 command language and describes how to enter commands Chapter 2 describes how to connect a test set to a controller and send messages from the controller to the test set Chapter 3 outlines how to plan and program a test using SCPI Chapter 4 lists the SCPI commands to use for duplicating the front panel operation test modes Chapter 5 describes the common 5 commands Chapters 6 through 14 list all the 5 commands and associated parameters Chapter 15 describes error codes you may see after issuing a SCPI command or command Chapter 16 contains several sample 5 programs and a corresponding program written in C programming language Chapter 17 provides general background information on the SCPI HP IB interfaces and standards Chapter 18 contains block diagrams that illustrate how the SCPI commands interact to control the AC instrument You can use these diagrams to help you determine the 5 commands to enter to perform a particular test Appendix A contains the Software Release Notes from 6 41 to 7 0 that are incorporated in this manual Index Section list three level of SCPI reference catagories set in alphabetical order and keyed to the appearing page numbers Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www
52. Type 1 NR1 Numeric Response Type 2 NR2 Numeric Response Type 3 NR3 ASCII String Messages Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Basics Format of Responses Format of Responses Instruments provide responses to query commands in one of four SCPI response data types The types are numeric response type 1 NR1 numeric response type 2 NR2 numeric response type 3 NR3 and ASCII string messages Integer quantities are returned in NR1format which consists of a positive or negative sign followed by a variable number of decimal digits No decimal point is sent This format is used for example for counts of seconds which never have fractional values In addition if a value is retrieved for a SONET overhead byte F1 F2 K1 K2 etc the value is returned as a decimal integer in the range of 0 to 255 In general responses which are Boolean in nature on off true false etc are given in NR1 with 1 indicating ON or TRUE and 0 indicating OFF or FALSE Most FETCh commands will return a value of 1 if the requested result is not valid The SYST E RR query command returns NR1 format also In this case 0 indicates No errors queue empty Negative values are error codes see Error Code Reference page 15 1 Fixed point fractional quantities are sent in NR2 format which consists of a positive or negative sign followed by a variable numbe
53. and Sets the DS1 drop framing to be regenerated by the test set omit the second parameter to query the unit for the current PASS The dropped DS1 data and framing are both derived from the value For example VT1 5 ee REGEN The DS1 data and signaling are derived from the VT1 5 the DS1 framing is internally generated by the test set SOURce DM SCRAMBLE ON OFF gt This command enables and disables the STS 1 signal scrambler RST default ON Example SOUR DM SCRAMBLE OFF Disables the STS 1 scrambler 12 60 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM PROG PATTERN pattern SOURce DM PROGI1 PATTERN pattern This SOURce command configures the DS1 user programmable pattern RST default 101010101010101010101010 Example SOUR DM PROG1 PATTERN 10110111 Transmits the user defined pattern 10110111 repeating data pattern Where pattern is the 2 to 24 character pattern Enter 15 and 05 for the pattern bits Note This command overrides the SOUR DM DATA command SOURce DM PROG3 PATTERN pattern This SOURce command configures the DS3 user programmable pattern RST default 101010101010101010101010 Example SOUR DM PROG3 PATTERN 10110110 Transmits the user defined pattern 10110110 repeating data pattern Where pattern is the 2 to 24 character pattern E
54. at a time When you issue this query command the test set sends the next error in the queue An error response consists of an error number followed by a message The errors that you can receive from as AC test set are listed in the following table 15 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Error Code Reference SCPI Error Messages Error Code Error Message Description 0 No error None 100 Command error You did not enter the command correctly Check command syntax and spelling 109 Missing parameter You are missing a parameter in the command 112 Parameter mnemonic too parameter you entered is greater long gt 12 characters that 12 characters Check command syntax and spelling 120 Numeric data error out You entered an invalid number in a of range command Check your command and the valid ranges that apply 221 Setting conflict Command conflicts with the current settings 223 Too much data You entered too many commands or parameters in the command string Break up the commands into two string 350 Queue overflow Indicates thatthe error queue is full and some errors may have been lost 15 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Error Code Reference 15 4 Artisan Technology Group Quality Instrumentation Gu
55. capability When attached to a terminal or PC running as a terminal emulator the port maintains a Remote Front Panel which mirrors the test set display Front panel key presses are simulated by key strokes at the terminal emulator keyboard The field portable Agilent AC 156MTS test set provides SONET ATM and T carrier testing with flexible configuration for network testing requirements for installation qualification and maintenance testing of OC12 to DSO vi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents Contents About this Version iv Conventions v Introduction vi 1 SCPI Basics 1 1 SCPI Commands at a Glance 12 RootNodes 1 3 Common Commands 1 3 Entering Commands 1 4 Using Query Commands to Retrieve Results 1 7 FormatofResponses 1 8 2 Getting Started 2 1 Connection Requirements 2 2 Using an GPIB Interface 2 3 Using an RS 232 Interface 2 4 Configuring the Port Settings 2 6 Testingthe Connection 2 8 Local Test Set Control in SCPI Mode 2 11 Local Mode Store Recall Command Feature 2 12 3 Programming ATest 3 1 Planningthe Test 3 2 Setting Up a Test 3 3 RunningaTest 3 4 Returning Control to the Test Set 3 6 Timed Test Duration in SCPI Mode 3 7 Path and Section Trace Strings 3 8 4 Front Panel Emulation Using SCPI 4 1 Recreating Front Panel Setups 4 2 vii Artisan Technology Group Quality Instrumentation Guaranteed 888 88
56. channel AAL type to AAL3 4 AAL5 Sets the receive channel AAL type to AALS TST Sets the receive channel type to test cell Indicates the RST default for each source 12 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt ATM Background Channel Setup SOURce DM ATM gen background parameter gt lt setting gt Background Parameter Setting Description BKGND TYPE IDLE Sets the background channels cell type to idle AAL3 4 Sets the background channels cell type to AAL3 4 AAL5 Sets the background channels cell type to AALS BKGND_DATA 15 05 Sets the background channels 1 4 cell payloads data to all BKGND DATA1 32BIT ones all zeros or to the 32 bit programmable pattern BKGND DATA2 The DATA command sets all channels to the same BKGND_DATA3 pattern the DATAn commands seta single channel each BKGND_DATA4 BKGND_BIT_PATT32 XXXXXXXX Sets the background channels 1 4 cell payload 32 bit BKGND_CH1_BIT_PATT32 patterns to 00000000 through FFFFFFFF hex RST default is BKGND_CH2_BIT_PATT32 9ABCDEFO BKGND CH3 BIT 32 The BIT PATT32 command sets all channels to the same BKGND CH4 BIT 32 pattern the CHn commands set a single channel each BKGND 1 GFC X Sets the background channel 1 4 header to 0 hex BKGND HDR2 GFC RST default is 0 B
57. code received SOURCe DM DS3 FEAC CBIT row cbit 0 1 gt sets the specified C bit to a 1 or 0 where row is the M3 subframe 1 7 and cbitis 1 2 or 3 For example SOURCe DM DS3 FEAC CBIT 1 3 Oassignsthe value Oto the bit in row 1 the FEAC bit See 053 C Bit Configuration in Chapter 7 of the user manual for more information about rows and C bits SOURce DM DS3 FEAC CONT_ALM STAT lt gt controls whether F EAC codes are sent continuously ON or not off When off the FEAC bit is set by the DS3 C Bit Control screen Row 1 C3 program bit SOURCce DM DS3 FEAC BURST SETTING parameter selects the type of FEAC codeto transmit several times in a row BURST SIZE specifies how often The codes are transmitted when the ACTION INJECT key is pressed Parameter Code Transmitted NONE No codes transmitted ACTIVATE Loop up code for LOOPBACK LINE DEACTIVATE Loop down code for LOOPBACK LINE 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156 MTS Host Softw are Version 6 50 Release Notes Product Numbers 4480 amp E4487A Installation Applicability A 20 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Parameter Code Transmitted ALM STAT FEAC code for ALM STAT below SOURce DM DS3 FEAC LOOPBACK_LINE lt 0
58. documentation RENTALS ITAR CERTIFIED Contact us 888 88 SOURCE sales artisantg com www artisantg com
59. down LINE In band line loopback codes NTWK In band network loopback codes PROG In band user programmable loopback code 4BIT In band only four bit loopback codes OUTB LINE Out of band line loopback codes OUTB NTWK Out of band network loopback codes OUTB PROG Out of band user programmable loopback codes OUTB PYLD Out of band payload loopback codes 12 30 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS1loopback value 500 lt 51 loopback gt value continued Loopback Value Description LPUP PROG TX Setthe transmit in band user programmable loop LPDN PROG TX 16 bit binary value back codes Each x can be set to 1 or 0 Default is 10000 LPUP PROG RX XXXXXXXXXXXXXXXX Setthe receive in band user programmable loop LPDN PROG RX 16 bit binary value back codes Each x can be set to 1 or 0 Default is 10000 LPUP DL OUTB PROG xxxxxx Setthe user programmed out of band loopback LPDN DL OUTB PROG 6 bitbinary value codes Each x can be set to 1 or 0 Default is 111111 12 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM EINJ ectDSO DATA rate SOURce DM EINJ ect DSO DATA rate This SOURce command allows
60. end FGND OAM EN OFF ON Enables or disables foreground OAM generation Indicates the RST default for each source Also executing the SCPI query command SOURCe DM ATMGEN ATM PARM returns the setting of the ATM layer generator 12 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt ATM Idle Cell Setup SOURce DM ATM gen idle cell parameter setting Idle Cell Parameter Setting Description IDLE HDR GFC X Sets the idle cell header to 0 through F hex RST default is 0 IDLE HDR PT X Sets the idle cell header PT to 0 through 7 RST default is 0 IDLE HDR CLP 0 Sets the idle cell header CLP to 0 1 Sets the idle cell header CLP to 1 IDLE CELL DATA XX Sets the idle cell payload data to 00 through FF hex RST default is 00 Indicates the RST default for each source ATM Receive Channel Setup SOURce DM ATM gen rx channel parameter gt lt setting gt Rx Channel Parameter Setting Description RX HDR VPI XX Sets the receive channel header VPI to 00 through FF hex RST default is 01 RX HDR VCI XXXX Sets the receive channel header VCI to 0000 FFFF hex RST default is 0001 RX CELL TYPE AALO Sets the receive channel AAL type to AALO 11 Sets the receive channel AAL type to AAL1 AAL3 4 Sets the receive
61. of frame alarm seconds PLCP YEL SEC PLCP Yellow alarm seconds 6 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD DS0 result FETCh DMOD DSO result This command retrieves 050 measurement results The following table lists the parameters to use and the retrieved results FETCh DM 00 50 result Parameter BIT Retrieved result Number of bit errors detected BIT ARATIO Average bit error ratio BIT CRATIO Current bit error ratio DATA Decimal value of the 8 bit data FREQ Frequency of the received tone SIGNALA Received A signaling bit status SIGNALB Received B signaling bit status SIGNALC Received C signaling bit status SIGNALD Received D signaling bit status VF DBM RM S power of the received tone in dBm VF 3DBM SEC Seconds with received tone greater than 3dB m 6 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD DS T result FETCh DMOD DS1 result This command retrieves DS1 measurement results The following table lists the parameters to use with this command FETCh DM OD DS 1 lt DS1 result Parameter Pattern Bit Errors AVAIL SEC Retrieved result Number of available seconds
62. of times specified by Burst of When FEAC Burst is set to Alarm Status the FEAC code specified by the Alarm Status field is sent Burst of number of times See the following section for information about how to control DS3 FEAC codes through the SCPI interface Host version 6 50 introduces several commands for controlling DS3 codes through the SCPI interface Currently the commands are available only for FEAC codes received on the DS3 A input For more information about FEAC codes and their functionality ANSI T1 107 section 9 3 3 1995 FETCh DMOD DS3 parameter retrieves information about the FEAC codes received by the test set The following table lists command parameters Parameter Retrieved Value FEAC CODE Last received FEAC alarm status code text and six bit sequence Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156 MTS Host Softw are Version 6 50 Release Notes Parameter Retrieved Value FEAC CODE SEC Number of seconds since last FEAC code received FEAC SEQ Type of FEAC control code sequence activate or deactivate last received FEAC SEQ SEC Number of seconds since last FEAC control code sequence received FEAC LINE Line affected by most recently received FEAC loopback control sequence for example DS1 7 For example FETCh DMOD DS3 FEAC CODE retrieves the last FEAC alarm status
63. on alarm tells the test set to inhibit counting of errors during related alarm conditions This prevents error counts from running during Loss Of Signal or Loss Of Frame conditions RST default ON Example SENS DM DATA IEER ON Errors not counted during alarm conditions This command can be set to ON or OFF Also the SCPI query command SENSe DM DATA IERRor returns the inhibiterror on the alarm setting during the related alarm condition SENSe DM DATA TRBLscan lt gt This SENSe command switches the Trouble Scan feature On or Off The configuration set by this command will be retained when the unit is returned to front panel control RST default ON Example SENS DM DATA TRBL ON Turns Trouble Scan on Also executing the SCPI query command SENSe DM DATA TRBLscan returns the on off setting of the trouble scan 11 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM FRAMe TYPE 1 frame format SENSe DM FRAMe TYPE1 lt frame format gt This SENSe command sets the DS1 frame type RST default ESF Example SENS DM DATA TYPEl SF This sets the 051 frame type to SuperF rame format The following table lists the parameters to use with this command SENSe DM FRAM eTYPEI framing format Parameters Parameter Description SF
64. or fractional E1 FET1 signal RST default All channels Example SOUR DM FT1 1 2 3 7 9 21 Sets the FT1 signal to be made up of DSO channels 1 2 3 7 8 and 21 Example SOUR DM FE1 7 16 Sets the FE1 signal to be made up of timeslots 7 and 16 Note that if the E1framing format is 50 16 or TSO 16CRC then timeslot 16 cannot be used For the highest channel number is 24 for FE1 the highest channel number is 31 12 51 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Note SOURce Command Reference SOURce DM FRAM e TYPE1 frame format SOURCce DM FRAMe TYPET frame format This SOURce command sets the DS1 and E1 framing formats RST default ESF SOUR DM FRAM TYPE1 ESE Setsthe frame type for a DS1 signal to Superframe format For E1 testing you must set the DS1 E1 mode to E1 before setting the other signal parameters Use the SOURce DM M ODE E10r E1 amp TS commands see page 12 55 The following table lists the framing types to use with this command SOURce DM FRAM e TYPE1 framing format Framing Format Description SF DS1SuperFrame format ESF DS1 Extended Super Frame format SLC 96 DS1 SLC 96 frame format TSO E1TS0 framing SOUR DM M ODE E1 TS0 amp CRC E1TSQ CRC framing SOUR DM M ODE E1 TS0 amp TS16 E1TS0 TS16 framing S OUR DM M ODE E1 TS0 amp TS1
65. panel SYSTEM SCAN STATUS Return bandwidth scan status SYSTEM SCAN BANDWIDTH n Fetch VPI VCI bandwidth results for channel SSYSTEM SCAN SELECT n Select Channel n for further measurement SYSTEM SCAN SELECT Quarry last channel selected for further measurement SYSTEM SCAN MODE EXIT Exit VPI VCI scan mode and return to ordinary SCPI mode 12 22 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark to query the unit for the current value For example SOUR DM DATAO SOURce Command Reference SOURce DM DATAO pattern SOURce DM DATAO pattern This SOURce command identifies the transmit payload when DSOisthe source RST default 1004HZ SOUR DM DATAO 1012 2 Sets the DSO transmit tone to 1012 Hertz The following table lists the parameters to use with this command SOURce DM DATAO pattern Parameters Pattern 1004HZ 1012HZ 1020HZ 2010HZ Description 1004 1012 1020 or 2010 Hertz tones PROG User Programmable pattern QRSS QRSSINV Quasi random signal 2 6 1 2 6 1INV 2 1 PRBS pseudo random bit sequence INV inverted 2 9 1 2 9 1INV 29 1 PRBS INV inverted PRBS 211 1 2 11 1INV 211 1 PRBS pseudo random bit sequence 215 1 2 15 1INV 255 1 PRBS 2720 1 2 20 1INV 20 1 PRBS 2723 1 2
66. registers Injecting Errors and Requesting Error Status SCPI Command Description SOUR DM EINJ DS3DATA 1E 3 Injects DS3 errors into the 053 signal Wait a few moments Wait for errors to accumulate This will give you more significant measurements FETC DM OD DS3 BIT Requests the DS3 bit error count FETC DM OD DS3 ARATIO Requests the 053 bit error average ratio FETC DM OD DS3 CRATIO Requests the 053 bit error current ratio FETC DM OD DS3 SES Requests the DS3 severely errored seconds Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Returning Control to the Test Set Stopping the Test When you have gathered all your measurements and test results you can stop the test and return control to the test set Stopping the Test SCPI Command Description ABOR Stops the test You will notice the green RUN LED turn off SYST PRES Takes the test set out of SCPI mode and returns control to the test set Returning Control to the Test Set To exit SCPI mode and return control back to the test instrument follow these steps 1 Onthecontroller issue the SYST PRES command Or you can turn the test instrument off and then on 2 The main menu appears on the test instrument when it is out of SCPI mode EL 155 HRIH Ling Pointer Sequences 3 6 Artisan Techn
67. seconds 6 44 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD STS1 SECTion result FETCh DMOD STS1 SECTion result These commands retrieve STS N section overhead measurement results Thesignal from which the measurement is retrieved depends on the configuration of the test set and certain ROUTe MATRix commands see STS N Measurement ve Selection page 6 46 Other transport overhead measurements are retrieved using the STS1 and STS1 PATH commands see STS N Transport OH Results page 6 41 and FETCh DMOD STS1 PATH results page 6 43 The following table lists the applicable parameters and the retrieved results FETCh DMOD STS1 SECTion lt STS N section overhead result Parameter Retrieved result CV Section CV count CV_ARATIO Section CV average BER CV_ES Section CV errored seconds CV_SES Section CV severely errored seconds CV_EFS Section CV error free seconds CV_PC_EFS Section CV error free seconds 6 45 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference STS N Measurement Receive Signal Selection STS N Measurement Receive Signal Selection STS N transport measurement commands STS1 STS1 LINE and STS1 SE CTion retrieve measurements based on only one received
68. seconds LFERF STS 1 Loss of Far end Receive Failure alarm LFERF SEC STS 1LFERF seconds LOCLK STS 1Loss of Clock alarm LOCLK SEC STS 1LOCIk seconds Fl OH byte F1 value 6 41 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STST result FETCh DMOD STS1 STS N result continued Parameter Retrieved result K1 PH byte K1 value K2 OH byte K2 value OOF EV Out of Frame events Note not valid for OC 12 OOF SEC Out of Frame seconds OOF EV EFS Out of Frame error free seconds OOF EV PC EFS Out of Frame 96 error free seconds 6 42 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD STS1 PATH results FETCh DMOD STS1 PATH results For SONET Path FEBE These commands retrieve 575 1 path overhead measurement results measurements see the REIP fromthe DS3Drop output of the matrix switch Additional Path commands on page 6 36 overhead results can be retrieved using some STS1 commands see STS 1 Path Measurements page 6 37 The following table lists the applicable parameters and the retrieved results FETCh DMOD STS1 PATH result Parameter Retrieved result F2 STS 1 Path OH byte F2 value CV STS 1 Path code violation CV count CV ARATIO STS 1 Pa
69. see the table below Results Display in sets the display mode for the path trace byte and section trace byte values below This field has two options ASCII the default displays values in ASCII Hex amp ASCII displays values in hex and ASCII Format Fill on Action onnenon 1 Byte 16 Byte 64 Byte NULL 0x00 in all bytes 0x00 in all bytes 0x00 in all bytes HEX 0x01 in all bytes 0x41 Ox4F with CRC7 0x41 to Ox7F ASCII A copied 4 times to DEL followed by a carriage return 0 00 and line feed 0x0A ASCII 0x41 in all bytes nnnnnn serial number Agilent Technologies with CRC7 copied 4times 156 5 Test Set Serial No nnnnnn followed by carriage return 0 00 and line feed 0x0A A 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes Host Softw are Version 6 60 Release Notes Format Fill on Action 1 Byte 16 Byte 64 Byte USER First byte copied to all 64 Calculate and insertCRC7 action bytes of first 16 bytes copy first 16 bytes 4 times Product Numbers Host software version 6 50 is a software maintenance release for E4480A amp E4487A the 156MTS and 31XE test sets Agilent recommends you install this software in your test set Applicability Host version 6 50 supports these test sets E4480A 156MTS SONET T Carrier Test Set E4487A 31X
70. selector 0C3 Output of the STS3 Tx selector Note This is the reset default for OC 3 equipped instruments 0 1 Output of the STS1 Tx selector 10 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference RS 232 Datalink The following table lists the RS 232 datalink selector commands These Selector commands affect the routing of signals to and from the rear panel RS 232 datalink port Port input and output functions are controlled simultaneously ROUTe SELect lt selector gt lt input source Parameters Selector Input Description RS232 NONE The RS 232 datalink port is disabled Fl SONET section user channel Port input is routed to STS 12 STS 3 and STS 1Tx signals Port output is routed from optical receive STS3 Rx selector or STS1 Rx selector El SONET section orderwire See routing for F1 above E2 SONET line orderwire See routing for F1 above CBIT_R5 053 C bit PM DL row 5 Port input is routed to 053 Tx and DS3 Bipolar transmit Port output is routed from DS3 Rx selector CBIT R67 DS3 C bitrows 6and 7 See routing for CBit R5above R26 DS3C bitrows 2 6 7 See routing for CBit R5 above ESF SLC DS1ESF or SLC 96 data link channel Port input is routed to 051 Tx and DS1 bipolar transmit Port output is routed from DS1 E1_ Rx selector DSO 050 data Port input is rout
71. set will return the currently programmed value for that parameter Note The DS1 line code is set using the SENS DM CODE1 command See SENSe DM CODE1 line code page 11 4 8 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com IN Put Command Reference NPut FILTer DS1 signal level 51 si gnal level This command sets the receive level filter for the DS1 input RST default DSX1 Example INPUT FILTER DS1 DSX1 MON Sets the DS1 receive port to DSX 1 monitor level The following table lists the parameters to use with this command INPut FiLTer DS1 signal level Parameters Parameter Description DSX1 051 cross connect level equalized for 0 655 feet of cable DSX1 M ON DSX 1 monitor level 10 25 dB dsx flat loss ALBO Automatic Line Build Out automatic equalization for 400 4000 feet of cable Also executing the SCPI query command INPut FILTer DS1 returns the input filter settings for DS1 digital signal level1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INPut Command Reference IN Put FILTer DS 3 lt B gt signal level IN Put FILTer DS3 lt B gt si gnal leve This command sets the receive level filter for the DS3 input For dual DS3 the level 2 node DS3 sets the level for DS3 A DS3B sets the level for DS3
72. the test set 16 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload U sing C The following example shows how to complete this test using SCPI commands within a C program C Program listing for Testing M 13 Format 053 051 Payload A KAKA TA AR IIA AAR This example shows how to transmit a test signal containing 13 mapped 053 signals KK KK KK K f include lt stdio h gt Hinclude lt stdlib h gt include lt string h gt define GPIB WRITE ERROR 1 define GPIB READ ERROR 2 amp define SYSTEM QUERY CM D SYST ERR External Functions Note the follow ing are vendor specific GPIB 1 0 functions The functions are generic Therefore the parameters and or function name may not match the functions provided by specific vendors y Function open Purpose This function establishes a session with the desired interface or deice and returns a session identifier The session identifier should only be passed as a parameter to other vendor specific GPIB functions Return 0 if Success or error code extern int iopen char address int Id Function write Purpose This is a vendor specific function that writes 5 commands to the system
73. the other channels with VT Path AIS SAME Uses the same pattern as the insert group UNEQ VT Unequipped STS SAME Uses the same pattern as the insert channel UNEQ STS Unequipped EXT External input from STS n Bipolar Port 57512 UNEQ STS Unequipped SAME Uses the same pattern as the insert channel PASS Pass through of the three unused STS 3 signals for drop and insert operations Also executing the SCPI query command ROUTe MUX OTH DS0 DS31 VTGRP VT15 STS12 returns the setting of the remaining channel on the demultiplexer 10 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source ROUT e SELect lt sdector gt lt i nput source Add a question mark and omit the second parameter to query the unit various signals Example These commands configure the transmit and receive selectors for the ROUT SEL DS1 Tx LOOP Setsthe DS1 Tx selector to the output from the DS1 Rx selector DS1 and DSO Selectors The following table lists the DS1 and DSO selector commands ROUTe SELect lt selector gt lt input source 051050 Parameters Selector Input Description 050 TX SOURCE Internal VF tone generator EXT VF Rear panel VF input EXT RS232 Rear panel RS 232 input DS1
74. the parameters to query the unit for the current values SOUR DM BINT The following table lists the parameters to use with this command 5 535 51 SOURce DM EINJ ect STS3 S TS IPATH lt source gt lt status gt Sources Status Description 1 STS 1 1 NORM Normal 2 STS 1 2 UNEQ Unequipped 3 STS 18 PAIS Path Alarm Indication Signal 12 40 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOUR DM EINJ STS3C error type rate SOUR DM EINJ STS3C error type rate SOUR DM EINJ STS12C error type gt lt rate gt These two SOURce commands inject errors on the transmit STS 3c or STS 12c signals RST default Rate OFF Example SOUR DM EINJ STS3C FEBE SINGLE Add a question mark and e Injects a single error on the transmit STS 3c signal omit the parameters to query SOUR DM EINJ STS12C DATA SINGLE the unit for the current values For example SOUR DM Injects a single payload pattern bit error on the transmit STS 12c EINJ STS3C signal The following table lists the error type and rate parameters to use with these commands SOURce DM EINJ ect STS3C error type rate and SOURce DM EINJ ect STS12C error type gt lt rate gt ErrorType Applicable Rates Description DATA SINGLE 1E 2 through 1E 9 BURST OFF Injects bit errors in t
75. you to insert logic errors in the DSO signal RST default Rate OFF Example SOUR DM EINJ DSO DATA SINGLE Add a question mark 7 and njects a BPV error into a DSO signal omit the second parameter to query the unit for the current value For example The following table lists the parameters to use with this command SOUR DM EINJ 50 SOURce DM EINJ ect DS0 DATA rate Parameters Rate Description SINGLE A single error is injected 1E 2through 1E 9 A steady error rate is started at the indicated rate BURST Enables control via the rear panel Burst input The error is sentfor all valid bit periods when the burst input is ata logic high level OFF Disables error injection 12 32 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark and omit the parameters to query the unit forthe current value For example SOUR DM EINJ DS1 SOURce Command Reference SOURce DM EINJ ectDS1 err type gt lt rate gt SOURce DM EINJ ect DS1 err type gt lt rate gt This SOURce command allows you to insert logic errors in the DS1 signal RST default Rate OFF SOUR DM EINJ DS1 BPV SINGLE e njects a BPV error into 051 signal The following table lists the parameters to use with this command SOURce DM DS1 error type gt lt rate gt Parameters
76. 1 Line REI percentage of error free seconds formerly FETC DM OD STSI LINE FEBE_PC_EFS 6 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STST result STS 1 Pointer and This commands retrieve STS 1 pointer and frequency measurement Frequency Results results from the STS1Drop output on the matrix switch The following table lists the applicable parameters and the retrieved results FETCh DM OD STS1 pointer frequency result Parameter Retrieved result POINTER STS 1 Valid pointer status PNTR VALUE STS 1 pointer value H1 STS 10H H1 byte decimal value H2 STS 10H H2 byte decimal value PNTR JUST CNT STS 1 pointer justification count PNTR PJ SEC STS 1 pointer justification seconds PNTR LAST DIR STS 1 pointer new data flag seconds PNTR NDF SEC STS 1 pointer new data flag seconds DROP FREQ STS 1drop frequency JITTER CUR PTOP H STS 1high band current p to p jitter JITTER MAX PTOP STS 1high band max p to p jitter JITTER POS PEAK H STS 1high band positive peak jitter JITTER NEG PEAK H STS 1high band negative peak jitter JITTER MASK PC H STS 1high band max jitter mask JITTER HITS H STS 1high band jitter hits count JITTER HITS SEC H STS 1 high band jitter hits time JITTER CUR PTOP W STS 1wide band current p to p jitter JITTER MAX PTOP
77. 1A2 3 CONSEC 4 CONSEC Results in an invalid frame word being transmitted in 5 CONSEC 23 CONSEC a selectable number of consecutive frames 24 CONSEC through 30 CONSEC CONTINUOUS BURST OFF PNTR 7 CONSEC 8 CONSEC Results in an invalid STS1 pointer value being 9 CONSEC CONTINUOUS inserted in a selectable number of consecutive BURST OFF frames Pointer errors are inserted on all three STS 1 transmit paths unless STS1 parameter is used leaving the matrix switch including through paths Note 575 2 pointer errors PNTR and frame errors A1A2 cannot be inserted simultaneously If pointer errors are active selecting frame errors disables the pointer errors and starts the frame errors Similarly selecting pointer errors while frame errors are active stops the 1 2 errors and starts the pointer errors Setting either type off disables whichever is error type is currently active 12 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM EINJ ect STS3 S TS IPATH lt source gt lt status gt SOURCe DM EINJ ect STS3 STSIPATH Source status This SOURce command sets selected STS 1 channels leaving the matrix switch to Unequipped or Path AIS RST default Rate Norm Example SOUR DM EINJ STS3 STSIPATH 1 UNEQ Add a question mark 7 and Sets STS 1 the STS 3 to unequipped omit
78. 23 1INV 23 1 PRBS 550CTET 55 octet pattern also called Daly pattern ONES ZEROS ALT All ones all zeros or alternating ones and zeros pattern 1IN8 21 8 3IN 24 1 in 8 pattern and so forth EXTVF External VF signal 12 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DATA1 pattern SOURCce DM DATAT pattern This SOURce command sets the DS1 transmit pattern RST default QRSS Example SOUR DM DATA1 AIS Add a question mark to query the unit for the current value For example SOUR DM DATA12 e Sets the 051 transmit pattern to AIS The following table lists the parameters to use with this command SOURce DM 1 pattern Parameters Pattern Description AIS Alarm Indication Signal PROG User Programmable pattern QRSS I QRSSINV Quasi random signal INV inverted 276 1 2 6 11INV 26 1 PRBS pseudo random bit sequence 279 1 2 9 1IN V 29 1 PRBS 2711 1 2 11 1INV 211 1 PRBS pseudo random bit sequence 2715 1 2 15 1INV 215 1 PRBS 2720 1 2 20 1INV 220 1 PRBS 2723 1 2 23 1INV 2 3 1 PRBS 550CTET 55 octet pattern ONES ZEROS ALT All ones all zeros or alternating ones and zeros 11 8 21 8 3IN24 1 8 pattern an so on LIVE Live traffic no pattern PASSTHRU D
79. 3 0C 3 RST ROUT SEL TX 0 1 ROUT SEL 053 TX SOURCE ROUT SEL 5753 RX OC3 4 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 0 1 0 1 DS3 RST ROUT SEL OPT TX 1 ROUT SEL DS3 TX SOURCE ROUT M ATR STSIDROP EXT ROUT M DS3DROP RXT ROUT SEL STS1 RX OC1 0 1 0 1 DS3 DS1 RST ROUT SEL OPT TX 1 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS1 1 SENS DM DATA3BITERR OFF 0 1 0 1 053 1 RST ROUT SEL OPT TX 1 SOUS DM M ODE E1 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT SEL STS3 RX OCI SENS DM DATA3BITERR OFF 0 1 0 1 VT DS1 RST ROUT SEL OPT TX 1 ROUT M ATR STS VT15 ROUT M ATR DS3DROP EXT ROUT M ATR DS3DROP EXT ROUT M VTI5DROP EXT ROUT SEL STS1 1 ROUT SEL DS1 RX VT15 4 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing odes SCPI Commands to Emulate Terminal Testing M odes continued Transmit Rate Receive Rate Payload SCPI Command Sequence OC 1 OC 1 ATM RST ROUT SEL TX 0 1 ROUT M ATR STSIDROP EX
80. 4 The first command drops VT group 2 from the VTGRP DMux the second command drops VT 4 from the dropped group Example 2 ROUT DMUX STS12 3 Drops the third STS 3 from the STS 12 demultiplexer STS12 DMux The following table lists the parameters to use with this command ROUTe DM UX lt demux gt lt drop channel Parameters Demux Channel Description 050 1 24 050 dropped from the 050 75 demultiplexer 050 75 DM ux DS31 1 28 051 dropped from the 053 demultiplexer DS31 DM ux In dual DS3 modes the DS3 signal is selected by ROUT SEL DS1 Drop see page 10 10 VTGRP 1 7 VT group dropped from the VTGRP DM ux VT15 1 4 VT1 5 dropped from the VT15 DM ux STS12 1 4 STS 3dropped from the STS12 DM ux Also executing the SCPI query command ROUTe DMUX DS0 DS31 VTGRP VT15 STS12returns the channel to be dropped from the demultiplexer Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M ATRix output input ROUTe MATRix output i nput gt The matrix switch provides great flexibility in loading and unloading the STS 1 and STS 3 payloads ROUTe MATRix commands control the matrix switch by first identifying an output and then specifying the input to be connected to it RST Defaults For STS 1 STS 2 and STS 3 Outputs DS3 For DS3Drop and STS1Drop Outputs EXT For test sets with a maximum r
81. 6 amp CRC E1TSQ TS16 CRC framing S OUR DM M 1 NONE DS1 or El unframed Also executing the query command SOURce DM FRAMe TYPE1 returns DS1 frame setting 12 52 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 500 Command Reference SOURce DM FRAM e TYPE3 framing type SOURce DM FRAMe TYPE3 framing type This SOURce command sets the DS3 framing format RST default M13 Example SOUR DM FRAM TYPE3 M13 Sets the frame type for a DS3 signal to M13 The following table lists the framing types to use with this command SOURce DM FRAMe TYPE3 framing type Framing Type Description CBIT The third fifth and seventh bits in a DS3 signals M subframe M 13 The multiplex between the 051 and DS3 levels up to 28 DSI facilities are combined into a single DS3 facility NONE No framing type Also executing the query command SOURce DM FRAMe TYPE3 returns DS3 frame setting 12 53 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example SOURce Command Reference SOURce DM M ODE SOURce DM MODE This SOURce command lets you determine the current DS1 E1 mode see below SOURce DM MODE lt 051 1 mode This SOURce command lets you set the 051 1 mode The test set must be set to the appropriate mode for
82. 63 gt selects the DS3 line to send the loop code to Specify the decimal equivalent 0 63 of the line identifier code listed in the user manual the left most bit is the MSB For example SOURce DM DS3 FEAC LOOPBACK_LINE 47 sends the loop code to DS1 line 15 SOURCe DM DS3 FEAC BURST SIZE 3 15 gt specifies the number of times 3 15 to transmit the selected FEAC code BURST SETTING when the ACTION INJ ECT key is pressed SOURce DM DS3 FEAC ALM_ STAT lt 0 63 gt selects the FEAC code to transmit when CONT ALM STAT is setto ON or BURST SETTING issetto ALM STAT Specify the decimal equivalent 0 63 of the FEAC code bit sequence listed in the user manual the left most bit is the MSB For example SOURce DM DS3 FEAC ALM_ STAT 25 sends a DS3 Equipment Failure SA alarm SOURce DM DS3 FEAC ACTION is equivalent to pressing the ACTION INJ ECT key in the 053 Control screen Host software version 6 41 is a minor maintenance upgrade to version 6 40 Agilent recommends you install this software in your test set If release 6 41 3 40 is not already installed in your test set please follow the attached instructions to download the software Host version 6 41 and ATM software version 3 40 supports these Software Release Notes Host Softw are Version 6 41 and ATM Software Version 3 40 Release Notes Host xofiavaredensranrfied Tear Ad Me aoa erga 49 Release Notes O
83. 88 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD DS T result FETCh DM OD DS 1 lt DS1 result continued Parameter Retrieved result Framing FRM DS1 frame error count FRM ARATIO 051 frame average error ratio FRM_CRATIO DS1 frame current error ratio FRM_EFS DS1 frame error free seconds FRM EFS PC 051 frame bit error free seconds FRM ES DS1frame errored seconds FRM SLIP DS1 frame slip count Framing FRM_SLIP_SEC DS1 frame slip seconds FRMCRC_ES DS1 frame CRC errored seconds FRMCRC_ESA DS1 frm CRC threshold A ES count FRM 051 frm CRC threshold B ES count FRMCRC SES DS1frm CRC severely ES FRM SES DS1 frm CRC consecutive SES Loopback LPUP INB SYNC Inband loop up synchronization LPUP INB SYNC SEC Inband loop up synchronization seconds LPUP OUTB SYNC Out of band loop up synchronization LPUP OUTB SYNC SEC Out of band loop up synchronization seconds LPDN INB SYNC Inband loop down synchronization LPDN INB SYNC SEC Inband loop down synchronization seconds LPDN OUTB SYNC Out of band loop down synchronization LPDN OUTB SYNC SEC Out of band loop down sync seconds 6 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD DS T result FETCh DM OD DS T lt DS1 result continued
84. A SINGLE 1E 2 to 1E 9 BURST OFF Data errors The signal is errored before calculation of the CRC SINGLE 1 2 to 1E 9 BURST OFF Data errors The signal is errored after calculation of the CRC FRAME CRC SINGLE 1E 2to 1E 9 BURST OFF Frame and CRC errors MFRAME CRC SINGLE 1E 2to 1E 9 BURST OFF M ultiframe and CRC errors 12 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOUR DM EINJ ect VTI5 error type gt lt rate gt SOUR DM EINJ ect VT15 error type rate These SOURce command allow the insertion of VT1 5 errors and alarms and return error and alarms results RST default Rate OFF Example SOUR DM EINJ VT15 BER SINGLE njects a biterror in the VT 1 5 payload Example SOUR DM EINJ VT15 PNTR 8 CONSEC Add a question mark 7 and njects an invalid pointer into eight consecutive VT super frames omit the parameters to query the unit for the current values The following table lists the parameters to use with these commands For example SOUR DM EINJ VT15 SOURce DM EINJ ect VT15 error type gt lt rate gt Error Type Applicable Rates Description REI V SINGLE 1 2 through 1 4 OFF VT1 5 remote event indication alarms BER SINGLE 1E 2 through 1E BURST OFF Bit errors PNTR 7 8 CONSEC 9 CONSEC VT poi
85. B For both commands the level selections are the same RST default DSX3 Example INPut FILTer DS3 HIGH Sets the DS3 receive port to high level The following table lists the parameters to use with this command INPut FiLTer DS3 signal level Parameters Parameters Description DSX3 Automatic equalizer for 0 900 feet of cable DSX3 M ON DS3 monitor level up to 26 dBdsx flat loss HIGH High level signal nominal 0 91 Vpk LOW Low level signal nominal 0 186 Vpk Also executing the SCPI query command INPut FILTer DS3 returns the input filter settingsm for DS3 digital signal level3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com IN Put Command Reference IN Put FILTer STS1 signal level 5 51 si gnal level This command sets the receive level filter for the STS 1 input RST default STSX1 Example INPut FILTer STS1 STSX1 MON Sets the STS 1 receive port to STS 1 monitor level The following table lists the parameters to use with this command INPut FiLTer STS 1 signal level Parameters Parameters Description 5 5 1 Automatic equalizer for 0 900 feet of cable 5 5 1 Monitor level to 26 dB stsx flat loss HIGH High level nominal 1 110 Vpk input signal LOW Low level nominal 0 206 Vpk input Also executing the SCPI query command INPut FILTer STS1
86. C Loss of cell synchronization alarm seconds ATM DS3 HEC The following parameters retrieve ATM measurement results on DS3 Results HEC based signals Before using these commands you must set the ATM DMux to DS3 HEC mapping using SENS DM ATMUX 053 HEC FETCh DM OD ATM lt DS3 HEC result Parameter Retrieved result DS3 VAL CELL DEL Valid cell delineation DS3 LOCS Loss of cell synchronization alarm DS3 LOCS SEC Loss of cell synchronization alarm seconds 6 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD ATM result Misinserted following parameters retrieve ATM misinserted cell measurements Cell Results These commands are only valid when the receive channel type is set for AAL 1 SOUR DM ATMGEN RX CELL TYPE AALT see page 12 14 FETCh DM OD ATM misinsert result Parameter Retrieved result MISINS CELL CNT Misinserted cell error count MISINS CELL SEC Misinserted cell error seconds MISINS CELL RAT AVG Misinserted cell error average ratio MISINS CELL RAT CUR Misinserted cell error current ratio MISINS CELL ES Misinserted cell error seconds MISINS CELL EFS isinserted cell error free seconds ATM PLCP The following parameters are used to retrieve PLCP physical layer Results convergence protocol measurement results Before you use these parameters you must s
87. C command Bit 0 of the Standard Event Status Register is setto confirm that all processing of commands received before receipt of the OPC have been completed and results where appropriate are in the output queue OPC After receiptof the OPC command an ASCII character 1 is put into the output queue to confirm that all processing of commands received before receipt of the OPC have been completed and results where appropriate are in the output queue SRE Setthe bits in the Service Request Enable Register Syntax is SRE x where x is a decimal integer whose binary equivalent is the desired 8 bit mask Note how ever that Bit 6 is set to 0 regardless of the SRE command This bit is not programmable SRE Returns the decimal value ofthe Service Request Enable Register Reading the Register does not clear it Note thatthe retrieved value will always be in the range 0 through 63 or 128 through 191 Bit 6 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Common SCPI Commands Reference Register Commands Common SCPI Register Commands continued Command Description STB Returns the decimal integer value of the Status Byte Register Note that in this version of the register Bit 6 is MSS rather than RQS 5 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
88. C3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 051 0C 3 VT DS1 RST ROUT SEL 5753 RX OC3 ROUT MATR DS3DROP STS 1 ROUT MATR VT15DROP STS 1 ROUT SEL 051 RX VT15 DS1 STS 1 VT DS1 RST ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP STS 1 ROUT M VTISDROP EXT ROUT SEL DS1 RX VT15 DS1 DS3 DS1 RST ROUT SEL DS3 RX BIPOLAR DS1 DS1 DS1 RST ROUT SEL DS1 RX BIPOLAR DS1 DS1 ATM RST ROUT SEL DS1 TX ATM ROUT SEL DS1 RX BIPOLAR SOUR DM ATM M UX 051 El El El RST SOUR DM M ODE E1 ROUT SEL E1 RX BIPOLAR El El ATM RST SOUR DM M ODE E1 ROUT SEL 1 TX ATM ROUT SEL E1 RX BIPOLAR SOUR DM ATM M UX E1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Monitor Testing Modes SCPI Commands to Emulate Monitor Testing Modes Tx Rx Rate Payload SCPI Command Sequence 0C 12 DS3 RST ROUT SEL 57512 TX PASS 0 12 053 1 RST ROUT SEL STS12 TX PASS 0C 12 VT DS1 RST ROUT M ATR VTISDROP STS 1 ROUT M DS3DROP STS 1 ROUT SEL DS1 RX VT15 ROUT SEL STS12 TX PASS 0C 3 DS3 RST ROUT SEL 5753 RX OC3 ROUT SEL 5753 TX PAS
89. CONDition STATus QUEStionable ENABle value Use this command to set the Questionable E vent Enable register STATus QUEStionable ENABle value Where value is a decimal integer representing the desired 16 bit mask STATus QUEStionable ENABle Use this command to return the decimal value of the 16 bit mask STATus QUEStionable ENABle Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus Command Reference STATus PRESet STATus PRESet Use the following command to clear both the Operation Event Enable register and the Questionable E vent Enable register to zero STATus PRESet 13 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus Command Reference 13 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 14 SYSTem REMote 14 3 SSYSTem ERRor 14 4 SYSTem VERSion 14 5 SYSTem PRESet 14 6 SYSTem OPTionS 14 7 5 5 5 14 8 SYSTem Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference The SYSTem and SYSTem commands let you collect the functions that are not related to instrument performance The command tree is SYSTem and SYSTem Command Structure
90. D STS12C SENS DM ATM DM UX STS12C 0 12 0 12 STS 3c w ATM RST ROUT M ATR STS3C ATM SOUR DM ATM M STS3C 4 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing odes SCPI Commands to Emulate Terminal Testing M odes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 0C 12 0C 3 DS3 RST ROUT SEL 053 TX SOURCE ROUT SEL 5753 RX OC3 0C 12 STS 1 DS3 RST ROUT SEL DS3 TX SOURCE ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT 0C 12 DS3 DS3 RST ROUT SEL DS3 TX SOURCE ROUT SEL DS3 RX BIPOLAR 0C 12 DS1 DS3 1 RST ROUT SEL DS1 RX BIPOLAR ROUT SEL DS3 RX BIPOLAR 0 12 DS1 VT DS1 RST ROUT M ATR 5 5 1 15 ROUT M ATR 5 5 2 15 ROUT M ATR STS 3 VT15 ROUT M ATR DS3DROP STS 1 ROUT SEL DS1 RX BIPOLAR 0C 3 0C 12 DS3 RST ROUT SEL DS3 TX SOURCE ROUT SEL 0 3 0C 3 0C 3 STS 1 ATM RST ROUT SEL 0 3 ROUT SELSTS1 SOUR DM M UX 5751 ROUT SEL 5753 RX OC3 4 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 0C 3 0C 3 STS 3c RST ROUT SEL OPT TX OC3 R
91. DM ATM tst_mode xver inter FETCh DM OD ATM cell delay result Parameter Retrieved result DLY MIN CUR Current minimum delay DLY MAX CUR Current maximum delay DLY MIN AVG Average minimum delay DLY MAX AVG Average maximum delay DLY MIN PEK Peak minimum delay DLY MAX PEK Peak maximum delay DLY TYP Typical delay OAM Results The following parameters are used to retrieve ATM OAM cell measurement results FETCh DM OD ATM 0AM result Parameter Retrieved result OAM F4 AIS OAM F4 VC flow AIS alarm indication signal alarm OAM F4 AIS SEC OAM F4AIS alarm seconds OAM F4 RDI OAM F4 RDI remote defect indication alarm OAM F4 RDI SEC OAM F4 RDI alarm seconds OAM F5 AIS OAM F5 flow AIS alarm OAM F5 AIS SEC OAM F5AIS alarm seconds OAM F5 RDI OAM F5 RDI alarm OAM F5 RDI SEC OAM F5RDI alarm seconds Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD ATM result ATM STS 3c The following parameters are used to retrieve ATM STS 3c Results measurement results Before you use these parameters you must set the ATM DMux to STS3c mapping using the SSENS DM ATMDMUX STS3c command see page 11 3 FETCh DM OD ATM STS 3c result Parameter Retrieved result VAL CELL DEL Valid cell delineation LOCS Loss of cell synchronization alarm LOCS SE
92. DS3 PATTERN Requests the DS3 pattern sync status fread bus STS1 pattern status Sends the pattern status to the output queue SOUR DM EINJ DS3 DATA 1E 3 Injects DS3 errors wait 15 Waits 1 second to allow errors to accumulate 16 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using SCPI Commands continued SCPI Command Description FETC DMOD DS3 BIT Requests the DS3 bit error count fread bus DS3 bit error count Sends the bit error count to the output queue FETC DMOD DS3 BIT ARATIO Requests a DS3 bit error average ratio fread bus DS3 bit error average ratio Sends the ratio to the output queue FETC DMOD DS3 BIT CRATIO Requests a DS3 bit error current ratio fread bus DS3 bit error current ratio Sends the ratio to the output queue FETC DMOD DS3 BIT SES Requests the number of DS3 severely errored seconds fread bus DS3 severely errored seconds Sends the number of severely errored seconds to the output queue ABOR Ends the test Notice the green RUN LED turn off on the test set SYST PRES Takes the test set out of HP IB mode and returns local control 16 24 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
93. Description DS3 Eqpt Fail SA 011001 25 DS3 service affecting equipment failure DS3 LOS HBER 001110 14 Loss of signal High bit error ratio DS3 Out of Frame 000000 0 DS3AIS Received 010110 22 Alarm indication signal DS3 IDLE Received 011010 26 DS3 Eqpt Fail NSA 001111 15 053 non service affecting equipment failure Com Eqpt Fail NSA 011101 29 Non service affecting common equip failure Multi DS1 LOS HBER 010101 21 Multiple 0511055 of signal high bit error ratio DS1 Eqpt Fail SA 000101 5 Service affecting 051 equipment failure Single DS1LOS HBER 011110 30 Single 0511055 of signal high bit error ratio DS1 Eqpt Fail NSA 000011 3 Non service affecting 051 equipment failure DS3NIU Loop Up 001001 9 Network interface unit loop activation DS3NIU Loop Down 010010 18 Network interface unit loop deactivation All other bit sequences are unassigned Example SOURCe DM DS3 FEAC ALM STAT 25 Configures the test set to send 053 Equipment Failure SA alarm FEAC code bit sequence 2011001 12 50 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC ACTION SOURce DM DS3 F EAC ACTION This command is equivalent to pressing the test set s ACTION INJ ECT key from the DS3 FEAC Control screen SOURce DM lt FT1 FE1 gt lt channds gt This SOURce command selects which channels are used to make up the fractional T1 FT1
94. E SONET Electrical test Set Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156 MTS Host Softw are Version 6 50 Release Notes New Features Host version 6 50 includes the following new features di st Softw Version 6750 Release several new SCPI commands for controlling DS3 FEAC bits performance improvements This release also fixes problems with SCPI performance and results store recall functions Installation If the software described in this release note is not already installed in your test set follow the instructions on 26 to download the software Install only software with a higher version number than the software already in your test set The distribution diskette includes the appropriate software for your test set For more information call Telecomms Networks Test Division TNTD at 800 923 7522 Path and Host version 6 50 introduces enhancements for displaying and Section Trace editing the J 1 path trace string and the 0 section trace string Strings See Chapters 3 and 4 of the user manual for the screens J 1 Path Trace Control and JO Section Trace Control Screens Two new fields have been added to these screens Fill on ACTION orFill on INJ ECT for older models automatically fills the transmit trace string when you press the ACTION INJ ECT button The field has three options NULL fi
95. E4 BKGND AAL AAL3 4 Sets the background channel 1 4AAL type to either BKGND AAL TYPE2 AAL5 AAL 3 4 or AAL 5 BKGND AAL TYPE3 BKGND AAL TYPE4 BKGND OAM FLOW F4 Sets the background OAM flow to F4 VPs F5 Sets the background OAM flow to F5 VCs FA amp F5 Sets the background OAM flow to both F4 and F5 BKGND OAM ALARM AIS Sets the generated OAM alarm function to AIS RDI Sets the generated OAM alarm function to RDI AIS amp RDI Sets the generated OAM alarm function to both AIS amp RDI BKGND OAM TYPE SEG Sets the background OAM payload type to segment END Sets the background OAM payload type to end to end BKGND OAM EN OFF ON Enables or disables background OAM generation Indicates the RST default for each source 12 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ATM Error Injection SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen lt ATM error parameter gt lt setting gt ATM Error Parameter Setting Description HCS BYTE CONT OFF ON Sets continuous HEC error injection off or on Note You mustsetthe ATM Muxto STS3C using the SENS DM ATM DM UX STS3C command see page 11 3 HCS BYTE OFF For STS 12c ATM only Injects HEC byte errors SINGLE 6 CONSEC 7 CONSEC 8 CONSEC HCS BIT CONT OFF ON Sets continuous HEC error injection off or on DS3 only HCS BIT OF
96. EIA TR TOR TARA RA TER TOR TOR TARR TOR TORT AT AR TR TR TAR RTARTA TR TR TAR AR RAR include lt stdio h gt include lt stdlib h gt include lt string h gt define GPIB WRITE ERROR 1 define GPIB READ ERROR 2 define SYSTEM QUERY CM D SYST ERR External Functions Note the following are vendor specific GPIB 1 0 functions The functions are generic Therefore the parameters and or function name may not match the functions provided by specific vendors Function open Purpose This function establishes a session with the desired interface or deice and returns a session identifier The session identifier should only be passed as a parameter to other vendor specific GPIB functions Return 0 if Success or error code extern int iopen char address int Id Function iwrite Purpose This is a vendor specific function that writes SCPI commands to the system via GPIB interface Return 0 if Success or error code extern int iwrite int id char data unsigned int datalen Function iread Purpose This is a vendor specific function that reads results from the system via GPIB interface Return 0 if Success or error code extern int iread int id char buffer unsigned int bufsize Local Functions static int GPIBSendCommand int instld char static int GPIBReadResult int instld char result unsigned int cnt static void ProcessErrors i
97. EMOTE command will be rejected if the test setis menu Enter SCPI control with SYST REM Enter a few selected System Commands in Local SCPI Mode using the store and recall commands The command syntax listed below require use of the complete upper case mnemonic and not the abbreviated version that is used in SCPI mode Table lists the Store Recall command set Local Mode STORE RECALL Command Table SCPI Command Context Command Description Local Query test set for local SCPI mode SYSTEM ERR status SYSTEM STORE 1 name Local Store Configuration to position 1 Local Enter SCPI control leave test set SYSTEM REM mode unchanged SCPI Query the position number last SENS AU STORE stored 2 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Local Mode Store Recall Command Feature Local Mode STORE RECALL Command Table SCPI Command Context Command Description SCPI Query name of configuration SYSTEM STORE n stored in position SCPI Erase configuration stored in SYSTEM CLEAR n position n SCPI Exit SCPI mode bring test set to SYSTEM RECALL n stored configuration 2 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Planning the Test 3 2 Command Sequence 3 2 Setting UpaTest 3 3 RunningaTest 3 4 Returning Contr
98. F For STS 12c ATM only Injects HEC bit errors SINGLE 6 CONSEC 7 CONSEC 8 CONSEC PLCP B1 CONT OFF ON Sets continuous PLCP B1 error injection off or on Note You mustsetthe ATM Muxto DS3 mapping using the SOUR DM ATM DM UX DS3 command see page 12 8 PLCP FEBE CONT OFF ON Sets continuous PLCP FEBE error injection off or on Note You mustsetthe ATM Muxto DS3 mapping using the SENS DM ATM DM UX DS3 command see page 11 3 A1A2 CONT OFF ON Sets continuous PLCP A1 or A2 error injection off or on Note You mustsetthe ATM Muxto DS3 mapping using the SOUR DM ATM DM UX DS3 command see page 11 3 PLCP POI CONT OFF ON Sets continuous PLCP POI error injection off or on Note You mustsetthe ATM Muxto DS3 mapping using the SOUR DM ATM DM UX DS3 command see page 11 3 PLCP YEL ALM OFF ON Turns on or off continuous PLCP yellow alarm injection Indicates the RST default for each source 12 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen lt ATM error parameter gt lt setting gt continued ATM Error Parameter Setting Description LOSS OF CELL SINGLE none Forces a single dropped cell Note You must set the ATM gen foreground channel type to AAL1 using SOUR DM ATM gen fgnd type AALI SN CRC PAR SINGLE none Injects a single se
99. Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TM VPI CPI Scan Capability Enhancement With Release 7 0 or higher SCP mode now supports VPI CPI Virtual Path Identifier Virtual Channel Identifier scan RST Issuethe appropriate 5 commane the set the desired rate and with an payload Hom nd PL erin Perform the VPI CPI scan using the following sequence of commands from the table below ATM VPI CPI Scan CapabilityTable SCPI Command SYSTEM SCAN MODE CHANNEL Command Description Select VPI VCI scan channel search mode SYSTEM SCAN STATUS Return channel search scan status SYSTEM SCAN START Start the channel search scan observe front panel ABORT Stop scan when all channel are recognized 12 21 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference TM VPI CPI Scan Capability Enhancement ATM VPI CPI Scan CapabilityTable SCPI Command Command Description SOUR DM ATMGEN DECILAM Set format of VPI VCI channel results to decimal SOUR DM ATMGEN HEX Set format of VPI VCI channel results to hexa decimal SSYSTEM SCAN CHANNEL n Fetch VPI VCI scan results for channel n SYSTEM SCAN MODE BANDWIDTH Select VPI VCI scan bandwidth measurement mode SYSTEM SCAN START Start the bandwidth scan observe the front
100. ILTer DS1 returns the setting of the transmit output port for DS1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut Command Reference OUTPutFILTer DS3 signal level OUTPut FILTer DS3 si gnal levd gt This command sets the transmit signal level for the DS3 output RST default DSX3 Example OUTP FILT DS3 HIGH Setsthe DS3transmit signal level to high The following table lists the parameters to use with this command OUTPutFILTer DS3 signal level Parameters Parameters Description DSX3 053 cross connect level LBO of 450 feet of cable HIGH High level no LBO LOW Low level flat loss from High level 900 LBO simulating 900 feet of cable added Also executing SCPI query command OUTPut FILTer DS3 returns the setting of the transmit output port for DS3 9 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut Command Reference OUTPutFILTer STS1 signal level OUTPut FILTer STS1 signal leve This command sets the transmit signal level for the STS 1 output RST default STSX1 Example OUTP FILT STS1 STSX1 Setsthe STS 1transmit signal level to STSX 1 level The following table lists the parameters to use with this command OUTPutFILTer STS 1 signal level Parameters Parameters Description STSX1 STSX 1 level LB
101. J ect STS1 xxx PNTR AD rate pointer adjustment rate parameters Select Rate INIT Description Init preconditions the system s elastic store to minimize any delays in responding to subsequent pointer adjustment commands When the init rate is used with these commands a short burst of pointer adjustments occurs OFF Terminates pointer adjustment activity SINGLE A single pointer adjustment 11 5 11 milliseconds 32M S 32 milliseconds 40M S 40 milliseconds 53M 5 53 milliseconds 80M S 80 milliseconds 91M 5 91 milliseconds 106M 5 106 milliseconds 128M S 128 milliseconds 1S 15 35 3seconds 4S 4 seconds 55 5 seconds 85 8 seconds 95 9 seconds 12 44 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference Pointer Adjustment rates SOURce DM EINJ ectSTS1 PNTR ADJ lt rate gt pointer adjustment rate parameters continued Select Rate Description 10 65 10 6 seconds 12 85 12 8 seconds 12 45 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC CBIT row cbit 0 1 SSOURce DM DS3 F EAC CBIT row cbit 0 1 This command sets the specified C bit to a 0 or 1 row The M3 subframe 1 7 chit The C bit 1 2 or 3 who
102. KGND HDR3 GFC BKGND HDR4 BKGND HDRI1 VPI XX Sets the background channel 1 4 header VPI to 00 FF hex BKGND HDR2 VPI RST defaults are HDR1 02 HDR2 203 HDR3 04 BKGND HDR3 VPI HDR4 05 BKGND HDR4 VPI BKGND HDRI1 VCI XXXX Sets background channel 1 4 header VCI to 0000 FFFF hex BKGND HDR2 VCI BKGND HDR3 VCI BKGND HDR4 VCI RST default is 0001 for all channels BKGND HDRI PT BKGND HDR2 BKGND HDR3 PT BKGND HDR4 Sets the background channel 1 4 header PT to 0 through 7 RST default is 0 Indicates the RST default for each source 12 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen background parameter gt lt setting gt continued Background Parameter Setting Description BKGND HDR1 CLP 0 1 Sets the background channel 1 4 header to 0 or 1 BKGND HDR2 CLP BKGND HDR3 CLP BKGND HDR4 CLP BKGND SEND OFF ON Disables or enables ATM background channel 1 4 BKGND SEND EN2 Note You must set the ATM foreground channel bandwidth BKGND_SEND_EN3 step size to 10 with background AALs using the BKGND SEND EN4 SOUR DM ATM gen BW 5 10 command BKGND SRV CBR VBR Sets the background channel 1 4 service type to either BKGND SRV TYPE2 CBR or VBR BKGND SRV TYPE3 BKGND SRV TYP
103. L DS1_RX VT15 Directs the DS1 dropped from the VT1 5 to the DS1 error measurement sense block INIT Starts the test Notice the green RUN LED on the test set FETC DMOD STS1 SIGNAL Requests a SONET signal status NOTE A response of 1 for each of the status indicators tells you that the receive signal is present and the dropped DS1 signal has the expected framing type A response of for STS 1 and VT1 5 Loss Of Pointer alarms indicate that the STS 1 and VT1 5 pointer are valid no alarm conditions fread bus gt STS1 signal status Sends the signal status to the output queue FETC DMOD STS1 LOPNTR Requests an STS1 Loss of Pointer alarm indication fread bus gt STS1 Loss of Pointer alarm Sends the alarm indicator to the output queue 16 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals Test VT1 5 Signals Using SCPI Commands continued SCPI Command Description FETC DMOD VT15 LOPNTR Requests the VT1 5 Loss of Pointer alarm indication fread bus gt VT15 Loss of Pointer alarm Sends the detect status to the output queue FETC DMOD DS1 SFSYNC Requests a DS1 SF frame detect status fread bus gt DS1 SF frame detect status Sends the detect status to the output queue SOUR DM EINJ VT15 BER 1E 3 Injects VT1 5 errors wait 15
104. M 13 format DS3 signals The transmit and receive signal rate is the RST default OC 12 OC 3 STS 1 or DS3 depending on test set configuration Receive the signal drop out the first STS1 from it drop the DS3 and from it drop the first DS1 Then request testing results using this configuration U sing SCPI The following example shows how to complete this test using SCPI Commands commands issued in SCPI mode 13 Mapped DS3 DS1 Payload Using SCPI Commands Command Description RST Accesses HP IB mode and sets the parameters to their default settings INIT Starts the test Notice the green RUN LED on the test set FETC DMOD STS1 SIGNAL Requests a SONET signal status NOTE A response of 1 for each of the status indicators tells you that the receive signal is present and the dropped DS3 and DS1 signals have the expected framing types A response of 0 for the STS 1 Loss Of Pointer alarm indicates that the STS 1 pointer is valid no alarm condition fread bus gt STS1 signal status Sends the signal status to the output queue FETC DMOD STS1 LOPNTR Requests an STS1 Loss of Pointer alarm indication fread bus gt STS1 Loss of Pointer alarm Sends the alarm indicator to the output queue FETC DMOD DS3 M13FRAME Requests 053 13 frame detect status fread bus DS3 m13 frame detect status Sends the detect status to the output queue FETC DMOD DS1 SFSYNC Req
105. M ALARM lt DS3 alarm type gt lt ON OFF gt Alarm Type Description DS3 LOS DS3 loss of signal SOURce DM ALARM lt DS1 alarm type gt lt ON OFF gt Alarm Type Description DS1 YEL 051 Yellow alarm 12 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ALARM alarm type gt lt On Off gt SOURce DM ALARM lt DS1 alarm type ON OFF continued Alarm Type Description DS1 IDLE DS1 Idle code E1 Alarms SOURce DM ALARM lt 1 alarm type gt lt ON OFF gt Alarm Type Description El REMOTE 1 remote alarm indication RAI 1 MFRAME E1 distant multiframe alarm Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Note SOURce Command Reference SOURce DM ATMM UX mapping SOURce DM ATMMUX mappi ng This SOURce command sets the ATM physical layer mapping You must set the mapping with this command before you enter the SOUR DM ATMGEN command Do notuse this command if you are also using a SOUR DM DATAn ATM command RST default STS3C SOUR DM ATMMUX DS3 Setsthe ATM physical layer mapping to DS3 PLCP based mapping When you set the mapping with this command the SENS DM ATM DM UX automatically gets set to the same setting The following table lists the parameters to use with this co
106. M FRAM TYPE3 B frame format This command sets the framing format for the DS3 error alarm overhead and frequency measure sensor The framing selection is used to compare to the receive signal for framing mismatch framing errors and so forth For dual DS3 applications the level 3 node TYPE3 sets the framing for the DS3 A sensor TYPE 3B sets the pattern for the DS3 B sensor For both commands the framing selections are the same RST default M13 Example SENS DM FRAM TYPE3 M13 This sets the 053 frame type to M13 format The following table lists the parameters to use with this command SENSe DM FRAM framing format Parameters Parameter Description CBIT DS3 C bit frame format M 13 M 13 framing format NONE Unframed Also executing the SCPI query command SENSe DM FRAMe TYPE3 returns the framing type as specified by the command Also executing the SCPI query command SENSe DM FRAMe TYPE3B returns the framing type as specified by the command 11 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM PROG1 BLOCK_SIZE size SENSe DM PROG1 BLOCK SIZE size This SENSe command lets you program the size of the DS1 blocks RST default 2K Example SENS DM PROG1 BLOCK SIZE Sets the block size for the instrument to 3 k
107. M3 subframe 1 7 cbit The C bit whose value you want to retrieve 1 2 or 3 FETCh DMOD DS3 CBIT 1 3 Retrieves the C3 bitin row 1 the FEAC bit FETCh DMOD DS3 FEAC code This command retrieves DS3 FEAC codes The following table lists the applicable parameters and the retrieved results FETCh DM OD DS3 FEAC code Parameter Retrieved value FEAC CODE Lastreceived FEAC loop code or alarm status code text and six bit sequence FEAC CODE SEC Number of seconds since last FEAC code received FEAC SEQ Type of FEAC control code sequence activate or deactivate last received FEAC SEQ SEC Number of seconds since last FEAC control code sequence received FEAC LINE Line affected by most recently received FEAC loop back control sequence for example DS1 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD E1 result FETCh DMOD E1 result This command retrieves E1 measurement results The following table lists the applicable parameters and the retrieved results FETCh DM OD E1 E1 result Parameter Retrieved result Signal PEAKV E1 peak voltage RXFREQ E1 frequency SIGNAL E1 Signal status REF_FREQ Reference signal frequency DELTA_FREQ Difference between 1 and reference signals DBDSX 1 signal lev
108. O simulating 450 feet of cable HIGH High level no LBO LOW Low level Flat loss from High level 900 LBO simulating 900 feet of cable added Also executing the SCPI query command OUTPut FILTer STS1 returns the setting of the transmit output port for STS1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example 1 Example 2 OUTPut Command Reference OUTPutSTATeN lt gt OUTPUutSTATeN ONJOFF This command activates and deactivates the four transmit signals Each source can be set ON activated or OFF deactivated RST default ON for all sources OUTP STATe2 Activates the STS 1 transmit signal OUTP STATe3 OFF Deactivates the DS3 transmit signal The following table lists the parameters to use with this command OUTPut STATeN Parameters Parameter N Description STATel DS1 E1 transmit signal STATe2 STS 1transmit signal STATe3 DS3transmit signal STATe4 Optical transmit signal Also executing the SCPI query command OUTPut STATe1 returns the state of DS1 output Executing the SCPI query command OUTPut STATe2 returns the state of STS1 output Executing the SCPI query command OUTPut STATe3 returns the state of DS3 output Executing the SCPI query command OUTPut STATe4 returns the state of Optical Output Artisan Technology Group Qualit
109. OH Bit Valid Values Description SIGA loro Signaling bit A SIGB loro Signaling bit B SIGC loro Signaling bit C SIGD loro Signaling bit D 12 55 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM 0H lt DS3 overhead bit gt lt value gt SOURCe DM OH lt DS3 overhead bi t value This SOURce command lets you control the overhead bits for a DS3 signal as well as the DS2 X bit state RST default FEBE 111 or XBIT 1 Example SOUR DM OH FEBE 111 Add a question mark and Setsthe FEBE bits to all ones omit the second parameter to query the unit for the current value For example The following table lists the parameters to use with this command SOUR DM OH FEBE SOURce DM 0H D53 overhead bit gt lt value gt OH Bit Valid Values Description FEBE 000 001 010 Far End Block Error 111 XBIT land0 The first bit in the first and second M subframes in a DS3 M frame OBIT 1 through 262143 Programs the 18 overhead bits in the unused bandwidth created when 05315 mapped into 575 1 O bits Enter the decimal equivalent of the 18 bit binary value to be encoded into the O bits 052 XBIT 1 0 Sets the transmit 052 X bit state 12 56 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a questi
110. OP This problem has been corrected For terminal mode E1 E1 E1 an unframed data lights the yellow alarm This problem has Been corrected Additions Support has been added for the new OC12 4 board which includes board recognition and loading Firmware Firmware code was added to recognize and provide electrical STS1LOS signal detection This capability is provided only when the OC12 4 board is present It is not supported by the OC12 or earlier boards Installation Install only software with a higher version number than the software already in your test set The distribution diskette includes the appropriate software for your test set A 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes For More For more information call Agilent s TNTD at 800 923 7522 Information Product Number The 156MTS SONET Maintenance Test Set Host Software E4480A Version 6 70 is a new release of the software for the E 4480A 156MTS SONET Maintenance Test Set 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 7 Release Notes Release Overview This new version of the 156 5 SONET Maintenance Test Set 156MTS Host Software Version 6 7 Release Software An Auto Setup problem was fixed i
111. OUT M ATR DS3DROP EXT STS 1 DS1 053 1 RST ROUT SEL DS1 RX BIPOLAR STS 1 DS1 VT DS1 RST ROUT M ATR 5 5 1 15 ROUT M ATR DS3DROP STS 1 ROUT SEL DS1 RX BIPOLAR DS3 0C 12 DS3 RST ROUT SEL DS3 TX SOURCE DS3 0 12 053 1 RST DS3 0C 3 DS3 RST ROUT SEL 053 TX SOURCE ROUT SEL 5753 RX OC3 DS3 0C 3 DS3 1 VT RST ROUT M ATR DS3DROP STS 1 ROUT M ATR VTI5DROP STS 1 ROUT SEL DS1 RX VT15 DS3 STS 1 DS3 RST ROUT SEL DS3 TX SOURCE ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT DS3 DS3 DS3 RST ROUT SEL DS3 TX SOURCE ROUT SEL DS3 RX BIPOLAR Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI SCPI Commands to Emulate Terminal Testing M odes continued Transmit Rate Receive Rate Payload SCPI Command Sequence DS3 DS3 DS1 RST ROUT SEL DS3 RX BIPOLAR SENS DM DATA3BITERR OFF DS3 DS3 El RST SOUR DM M ODE E1 ROUT SEL DS3 RX BIPOLAR SENS DM DATA3BITERR OFF DS3 DS3 ATM PLCP RST ROUT SEL DS3 TX ATM ROUT SEL DS3 RX BIPOLAR SOUR DM ATM M UX 053 DS3 DS3 ATM HEC RST ROUT SEL DS3 TX ATM ROUT SEL DS3 RX BIPOLAR SOUR DM ATM M UX DS3 HEC DS3 DS1 DS1 RST ROUT SEL DS1 RX BIPOLAR DS1 0 12 053 1 RST DS1 0 12 VT DS1 RST ROUT M ATR DS3DROP STS 1 ROUT M ATR VTISDROP STS 1 ROUT SEL STS3 RX VT15 DS1 0C 3 DS3 1 RST ROUT SEL 5753 RX O
112. OUT SEL 5753 RX OC3 ROUT MATR STS3C CLRCH 0C 3 0C 3 DS3 RST ROUT SEL 053 TX SOURCE ROUT SEL TX OC3 ROUT SEL 5753 RX OC3 0C 3 0C 3 053 1 RST ROUT SEL 0 3 ROUT SEL 5753 RX OC3 0C 3 0C 3 VT DS1 RST ROUT SEL TX OC3 ROUT SEL 5753 RX OC3 ROUT MATR STS 1 VT15 ROUT MATR STS 2 VT15 ROUT MATR STS48 VT15 ROUT MATR DS3DROP STS 1 ROUT MATR VT15DROP STS 1 ROUT SEL 051 RX VT15 0C 3 0C 3 ATM RST ROUT SEL OPT TX OC3 ROUT SEL 5753 RX OC3 ROUT MATR STS3C ATM SOUR DM ATM M UX STS3C 4 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing odes SCPI Commands to Emulate Terminal Testing M odes continued Transmit Rate Receive Rate Payload SCPI Command Sequence 0C 3 STS 1 DS3 RST ROUT SEL DS3 TX SOURCE ROUT SEL 0 3 ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT 0C 3 DS3 DS3 RST ROUT SEL DS3 TX SOURCE ROUT SEL 0 3 ROUT SEL DS3 RX BIPOLAR 0C 3 DS3 VT DS3 1 RST ROUT M ATR 5 5 1 15 ROUT M ATR 5 5 2 15 ROUT M ATR STS 3 VT15 ROUT M ATR DS3DROP STS 1 ROUT M ATR VTDROP EXT ROUT SEL 0 3 ROUT SEL DS3 RX BIPOLAR 0C 3 DS1 DS3 1 RST ROUT SEL 0 3 ROUT SEL DS1 RX BIPOLAR 0C 1 0C 12 DS3 RST ROUT SEL TX OC1 ROUT SEL 053 TX SOURCE 0C 1 0C
113. Query commands instruct an instrument to retrieve the current value of the specified parameter and place it in the output buffer in preparation for transmission back to the controller The controller can then address the test instrument to Talk and retrieve the response over the IEEE 488 bus For RS 232 applications the response is not placed in the output queue Instead it is transmitted immediately to the controller over the serial link FETCR is the most commonly used query command All test results error and alarm information are retrieved using the FETCh command The test instrument also supports other query commands including SYST ERR which retrieves messages from the error queue and SYST VERS which retrieves the SCPI compatibility date Some SOURce ROUTe and SENSe commands can also be used as query commands by adding a question mark after the level 2 node and omitting the second parameter The test set returns the currently programmed value for that parameter For example the command SOUR DM OH DS2 XBIT would return the current state of the transmit DS2 X bit either 1 or 0 Note Query commands can only detect parameters that are changed using SCPI If you exit SCP mode and make changes using the front panel controls the query commands may return incorrect parameter values 1 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Numeric Response
114. S ROUT SEL TX OC3 0C 3 053 1 RST ROUT SEL 5753 RX OC3 ROUT SEL 5753 TX PASS ROUT SEL 0 3 0C 3 VT DS1 RST ROUT SEL 5753 RX OC3 ROUT MATR DS3DROP STS 1 ROUT MATR VT15DROP STS 1 ROUT SEL 051 RX VT15 ROUT SEL 5753 TX PASS ROUT SEL TX OC3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Monitor Testing Modes SCPI Commands to Emulate Monitor Testing Modes continued Tx Rx Rate Payload SCPI Command Sequence STS 1 DS3 RST ROUT M ATR STS 1 EXT ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT STS 1 053 1 RST ROUT M ATR STS 1 EXT ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT STS 1 VT DS1 RST ROUT M ATR STS 1 EXT ROUT M ATR STSIDROP EXT ROUT M ATR DS3DROP EXT ROUT M ATR VTISDROP EXT ROUT SEL DS1 RX VT15 DS3 DS3 RST ROUT SEL DS3 RX BIPOLAR ROUT SEL DS3 TX LOOP DS3 DS1 RST ROUT SEL DS3 RX BIPOLAR ROUT SEL DS3 TX LOOP DS1 DS1 RST ROUT SEL DS1 RX BIPOLAR ROUT SEL DS1 TX LOOP Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Drop and Insert Testing Modes Drop and Insert Testing Modes SCPI Commands to Emulate Drop and Insert Testing M odes Tx Rx Rate Payload SCPI Command Sequence 0C 12 STS 1 RST ROUT M ATR STS 1 EXT
115. S1 E1 FT1 Error Alarm DS1 dropped from DS3 or VT1 5 Frequency based on Matrix Switch settings Measure for DS3Drop and VT15Drop DS2 Alarms Measure DS1 Thru Data to transmit diagram DS1 E1 BPV Jitter Voltage Measure 18 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 575143 STS1 2 From STS 1 Receive STS1 1 Matrix Diagram STS3c Switch EXT 053 Path 0H Insert ATM Generator 053 Bipolar Receive from receive diagram 051 Bipolar Receive Aux 051 Receive Bipolar ClrCh Bipolar 053 Thru Data Programming Diagrams Transmit Programming Diagram Transmit Programming Diagram STS 12 Pass from receive diagram STS3 Line Sec OH amp Err Insert STS 3 Pass from receive diagram STS 1 OC NRZ Pass from receive diagram DS3 Internal Source Setting Opt Tx Sel to 0 1 causes STS3 NRZ DS3 B Passthrough from receive diagram Transmit to output STS1 until Opt Tx Sel is set to 063 Selecting 0 12 has no effect on 5753 NRZ Transmit Optical Transmit STS1 Bipolar Transmit DS3 B Logic Err Insert DS3 B Bipolar Transmit Bipolar 080 78 Internal Source Receive Datalink In
116. S3 C bit average error ratio CBIT_CRATIO DS3 C bit current error ratio CBIT EFS DS3 C bit error free seconds CBIT_EFS PC DS3 C bit error free seconds CBIT ES CNT DS3 C bit errored seconds P1 P2 Current binary value of the DS3 P 10r P2 bit PBIT DS3 P bit error count PBIT_ARATIO DS3 P bit average error ratio PBIT_CRATIO DS3 P bit current error ratio PBIT_EFS DS3 P bit error free seconds PBIT EFS PC DS3 P bit error free seconds PBIT ES CNT DS3 P bit errored seconds 6 22 FETCh Command Reference FETCh DM OD lt DS3 DS3B gt result FETCh DM OD lt DS3 DS3B gt lt 053 result continued Parameter Retrieved result Frame FFCV Errors FRM 053 frame error count FRM ARATIO DS3 frame average error ratio FRM CRATIO DS3 frame current error ratio FRM EFS 053 frame error free seconds FRM EFS PC 053 frame error free seconds FRM ES DS3 frame errored seconds FFCV_FE DS3 frame format CV far end Frame FFCV Errors FFCV_FESA DS3 FFCV far end seconds A FFCV_FESB DS3 FFCV far end seconds B FFCV_FESC DS3 FFCV far end seconds c FFCV_NE DS3 frame format CV near end FFCV_NESA DS3 FFCV near end seconds A FCV_NESB DS3 FFCV near end seconds B FFCV_NESC DS3 FFCV near end seconds c 6 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference
117. SEL DS3 BIPOLAR if status 0 ProcessErrors status return start the test status GPIBSendCommand instld INIT if status 0 ProcessErrors status return 16 26 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued request signal status status GPIBSendCommand instid FETC DM OD DS3 SIGNAL if status 0 ProcessErrors status return Read signal status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return request DS3 M 13 frame detect status status GPIBSendCommand instid FETC DM OD DS3 M 13FRAM E if status 0 ProcessErrors status return Read DS3M 13 frame detect status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return request DS3 pattern sync status status GPIBSendCommand instld FETC DM OD DS3 PATTERN if status 0 ProcessErrors status return Read 053 pattern status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return 16 27 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
118. SINGLE 1E 2 through 1E 9 Inserts a Bipolar Violation in the outgoing STS 1 BURST OFF electrical signal SECT BER SINGLE 1E 2 through 1 9 Inserts a Section bit error BURST OFF LINE BER SINGLE 1E 2 through 1 9 Inserts a Line bit error BURST OFF PATH BER SINGLE 1E 2 through 1E 9 Inserts an STS 1 path bit error in all three transmit BURST OFF paths unless STS1sn parameter is used leaving the STS 1 matrix switch including through paths 12 38 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOUR DM EINJ 575 1 lt gt err type gt lt rate gt SOURce DM EINJ ect STS1 lt n gt error type rate continued ErrorType Applicable Rates Description REI P SINGLE 1 4 through 1 8 OFF Path remote event indication formerly SOUR DM EINJ STS1PATH REI L SINGLE IE 4 through 1 8 OFF Line remote event indication formerly SOUR DM EINJ STS1LINE FEBE Bl SINGLE or OFF Results in an inversion of the value of the B1 byte in one frame Note B1 byte inversion is not available at OC 12 OC 12 C work B2 SINGLE or OFF Results in an inversion of the value of the B2 byte in one frame B3 SINGLE or OFF Results in an inversion of the value of the B3 byte in one frame It is inserted on the DS3 mapped STS 1 unless the matrix switch has been set for VT15Drop A
119. SK A new SCPI command was added to return the setting of the ATM physical layer mapping SOURce DM ATMMUX A new SCPI command returns the settings of the ATM Layer Generator SOURCe DM ATMGEN ATM param new SCPI command was added to return the setting of the 051 input impedance INPUT IMPedance A 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes SCPI Manual Text The following H1 byte overhead command exists but were not Changes Only previously documented in this manual These commands set and query SONET overhead H1 byte The commands are SOURCe DM OHH1 value where value can be 0 or 1 and SOURce DM OHH1 Thefollowing query commands exist but were not previously documented in this manual these commands have been added to the 5 documentation SOURce DM PROG1 PATTERN pattern SOURCe DM PROG3 PATTERN pattern SOURCe DM PROG32 PATTERN pattern ROUTe MATRix lt output gt lt input gt SOURCe SOURCe SOURCe SOURCe SOURCe SOURCe SOURCe SOURCe SOURCe DM DM DM DM DM DM DM DM DM DS3 FEAC CBIT DS3 FEAC CONT ALM STAT DS3 FEAC BURST SETTING DS3 FEAC LOOPBACK LINE DS3 FEAC BURST SIZE DS3 FEAC ALM STAT FT1 FE1 NX
120. SONET signal The measured SONET signal is determined as follows After RST is received the test set retrieves the result values from the highest level signal for which it is configured OC 12 OC 3 STS 1 electrical After ROUTe MATRix lt XDrop gt E xt is received where XDrop is STS1Drop VT15Drop or DS3Drop the test set retrieves the result values from the received STS 1 electrical signal If the STS1 Rx selector is then switched to the results retrieved from the received OC 1 optical signal After receiving any ROUTe MATRix command not listed above the test set retrieves the result values from the received OC 12 or OC 3 depending on the setting of the STS3 Rx selector Note The commands always specify FETCh DM OD STS1 result even though the retrieved result may be measured from the received OC 12 OC 3 or OC 1 signal rather than the STS 1 6 46 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STS3C result FETCh DMOD STS3C result This command retrieves STS 3c error and alarm measurements The following table describes the applicable parameters to use with this command FETCh DM OD STS3C result Parameter Retrieved result CONCAT The signal s concatenation status RXFREQ The STS 3 signal frequency PATTERN The receive STS 3c data pattern
121. Serial connection start the terminal emulation package on the controller If Windows is installed on the controller you can use the Terminal item in the Accessories window See the documentation that came with the emulation package 2 launch the HP IB interface software click the Interactive icon HP IB Tools la INTER r j amp ACTIVE Interactive DDE View HP IB Server README WIN 3 Select the Add Device option from the Setup menu 4 When the Add Device window appears enter a device name and click OK 2 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Testing the Connection 5 When the Setup Device Address screen appears enter the GPIB Address that you assigned to the instrument see Usi ng an GPIB Interface page 2 3 in the Primary Address field and click OK A window similar to the following is displayed Device Address 729 Match Char High Speed Timing Disabled Last Term Reason OTHER 6 Toenter a SCPI command select String from the Output menu Output String tester Bus Addressing Yes No Data RST 7 To activate SCPI mode on the test set type RST or SYST REM in the Data field and click OK The RST command puts the test set is stop mode if necessary resets all configuration parameters to their default values and activa
122. Summary 1Field Descriptions Block Errors 6 3 FETCh TRBLSCAN 6 4 FETCh DMOD ATM result 6 5 FETCh DMOD DSO result 6 13 FETCh DMOD DS1 result 6 14 FETCh DMOD DS2 result 6 19 FETCh DMOD lt DS3 DS3B gt result 6 20 FETCh DMOD DS3 CBIT row chit 6 26 FETCh DMOD DS3 FEAC code 6 26 FETCh DMOD E 1 result 6 27 FETCh DMOD OPTion 6 31 FETCh DMOD VT15 result 6 32 XFETCh DMOD STS1 result 6 35 FETCh DMOD STSI PATH results 6 43 FETCh DMOD STSILINE result 6 44 FETCh DMOD STS1 SECTion result 6 45 STS N Measurement Receive Signal Selection 6 46 FETCh Command Reference 6 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh Command Reference Use the FETCh commands to retrieve test result values FETCh Command Structure Root node Level 1node Level 2 node Level 3 node Parameter FETCh TRBLSCAN DM OD result DS0 result DS1 result 052 result DS3 DS3B result 053 row cbit 053 FEAC code 1 result 15 result SSTS1 result PATH result LINE result SECTion lt result gt STS3C result STS12C result Example FETCh commands are used as follows FETC DMOD STS1 PATH CV ES Retrieves the STS 1 Path code vi
123. SuperFrame format ESF Extended SuperFrame format SLC 96 SLC 96 frame format NONE Unframed Also executing the SCPI query command INput FILTer DS1 returns the framing type as specified by the command 11 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM DS3B LEDS sharing mode SENSe DM DS3B LEDS shari ng mode This command sets the LED sharing mode for the test set s front panel DS3 ALARMS and STATUS indicator LEDs in dual DS3 modes RST default NONE Example SENS DM DS3B LEDS ALM STAT ALARMS and STATUS indicator are shared between DS3 A and DS3 B The sharing mode selections for this command are as follows NONE LEDs are not shared The front panel 053 ALARMS and STATUS indicators show only DS3 A information ALARM The ALARMS indicators are shared indicating when there is a current or historical alarm condition on either DS3 A or DS3 B ALM STAT ALARMS and STATUS indicators are shared indicating when there is alarm history and signal status conditions on either DS3 A or DS3 B Also executing the SCPI query command SENSe DM DS3B LEDS returns the DS3B LED to sharing mode 11 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENS DM FRAM TYPE3 lt B gt frame format SSENS D
124. TAT pattern 12 25 SOURCe DM DL DATA FDL message 12 29 SOURce DM lt DS1 loopback gt value 12 30 SOURce DM EINJ ect lt type gt rate gt 12 32 12 43 SOURce DM lt FT1 FE1 gt lt channels gt 12 51 SOURce DM FRAMe TYPEn format 12 52 12 53 SSOURCe DM MODE 12 54 SOURCe DM MODE lt 51 1 gt 12 54 SOURCeDM NX 64K 56 gt 12 55 SOURce DM OH lt parameter gt lt value gt 12 55 12 60 SOURCe DM SCRAMBLE ON OFF gt 12 60 SOURce DM PROG1 PATTERN lt pattern gt 12 61 SOURce DM PROG3 PATTERN lt pattern gt 12 61 SOURce DM VT15 sync mode 12 63 SOURce Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference The SOURce commands affect the transmitter side of the instrument SOURce Command Structure Rootnode Level 1node 0URce DM Level 2node Level 3 node Level 4node Parameters lt LOCK UNLOCK ALARM alarm type gt lt on off gt ATM MUXt mapping ATM gen parameter setting CLOCkn signal timing source 1 ine code DATAn signal payload EINJ 051 052 53 0538 1 error type rate 15 error type gt lt rate gt SSTS1 STS 1 1 error type gt lt rate gt 5753 STSIPATH source status STS3C STS12C lt error type g
125. Timed Test Duration in 5 Mode Corrected problem with ESF FDL data intepretation SCPI commands returns invalid data for functions not previously set has been corrected by initializing all SCPI queries structures to zero command SYST RE MOTE was corrected E1TS mode with drop insert set to 29 to 31 then switching to a DS1 mode the DSO setup screens drop and insert field settings were corrected Removed the Aux pick from field Others gt in all modes with VT1 5A payload Fixed problem in the H pointer increment test for mode 12 0 12 STS12 where error inject and local action key appears to be locked DS2 OOF out of frame error while recovering from a power interruption Fixed SCPI commands SOUR DM EINJ STS1 A1A2 B1 SECT BER LINE BER Fixed Pointer operation in 5751 5751 Added OC3 0C3 5 51 and OC12 OC12 STSI ATM Fixed mode with VT1 5b payload following factory defaults Corrected OC12 D amp I 053 1 and OC3 D amp I 053 1 modes Changed J 0 J 1 and J 2 from Hewlett Packard to Agilent Technologies Fixed 5 command SOUR DM ALARM DS1 YEL Fixed 5 commands SOUR DM EINJ DS3 FRAME BURST and SOUR DM EINJ DS3 FRAME OFF A 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS HOST CODE V7 00 Release Notes 15 Fixed STS frame measure
126. URce Command Reference SOURce LOCAL LOCK UNLOCK SOURce LOCAL lt LOCK UNLOCK This command enables or disables the LOCAL key on the CERJAC test set s front panel When the key is locked it cannot be used to take the test set out of SCPI remote mode When the key is unlocked the remote mode can be disabled by pressing LOCAL on the front panel RST Default UNLOCK Example SOUR LOCAL LOCK Locks outthe front panel LOCAL key Example SOUR LOCAL Queries the test set for the current status of the LOCAL key Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark and omit the second parameter to query the unit for the current value For example SOUR DM ALARm AIS V SONET Alarms SOURce Command Reference SOURce DM ALARM alarm type gt lt On Off gt SOURce DM ALARM alarm type On Off This SOURce command activates or deactivates transmitted alarms RST default OFF for all alarm types SOUR DM ALARM 15 V ON Setsthe VT AIS alarm on SOUR DM ALARM RDI P ON Setsthe SONET Path remote defect indication alarm on The following tables list the parameters to use with this command SOURce DM ALARM lt SONET alarm type gt lt ON OFF gt Alarm Type Description AlS_L Line alarm indication signal formerly S OUR DM ALARM LAIS L Line remote defect indication
127. URce DM EINJ 53 error type lt rate gt Error Type Rates Description LOGIC SINGLE 1E 2 to 1E 9 BURST OFF Logic error BPV SINGLE 1E 2 to 1E 9 BURST OFF Bipolar violation DATA SINGLE 1E 2 to 1E 9 BURST OFF Data error DAT_PBIT SINGLE 1E 2 to 1E 9 BURST OFF Data Parity Bit error FRAME SINGLE 1E 2 to 1E 9 BURST OFF Frame error F1 FO bit errors Cl SINGLE 1E 2 to 1E 9 BURST OFF C1 bit error C2 SINGLE 1E 2 to 1E 9 BURST OFF C2 bit error C3 SINGLE 1E 2 to 1E 9 BURST OFF C3 bit error C ALL SINGLE 1E 2to 1E 9 BURST OFF Errors are injected in all of the C bits 12 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM EINJ error type rate SOURce DM EINJ ect E 1 error type rate This SOURce command allows you to insert logic errors in the E1 signal RST default Rate OFF Example SOUR DM EINJ El BPV SINGLE Add a question mark and njects a BPV error into a E1 signal omit the parameters to query the unit for the current value For example The following table lists the parameters to use with this command SOUR DM EINJ E1 SOURce DM EINJ ectE1 error type gt lt rate gt Error Type Applicable Rates Description BPV SINGLE 1E 2 to 1E 9 BURST OFF Bipolar Violation DAT
128. UTPut FILTer STS1 signal level 9 5 OUTPutSTATeN lt ON OFF gt 9 6 OUTPut Command Reference 9 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut Command Reference The OUTPut commands control the characteristics of the output ports on the test set OUTPut Command Structure Root node Level 1 node Level 2 node Parameter OUTPut FILTer DSI E1 lt signal level DSF lt signal level gt STSI lt signal level gt STATeNt on off t These commands can also be used as quary commands by adding a question mark after the level 2 node andomitting the second parameter The test set will return the currently programmed value for that parameter Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut Command Reference OUTPutFILTer DS1 signal level OUTPut FILTer DS1 si leve This command sets the transmit signal level for the DS1 output RST default DSX1 Example OUTP FILT DS1 DSX1 Setsthe DS1transmit port to DSX 1 level The following table lists the parameters to use with this command OUTPutFILTer DS1 signal level Parameters Parameters Description DSX1 DSX 1 level E1 1807 5 Line Build Out of 7 5 dB 18015 Line Build Out of 15 dB 1 022 Line Build Out of 22 dB Also executing the SCPI query command OUTPut F
129. V average error ratio BPV CRATIO STS 1BPV current error ratio BPV EFS STS 1BPV error free seconds BPV EFS PC STS 1BPV error free seconds BPV ES STS 1BPV errored seconds RXFREQ STS 1 frequency Note that if the receiver is set for 0 12 OC 3 you must multiply the returned value by 12 or 3 respectively to calculate the STS N frequency OPT DBM Receive signal optical power in decibels relative to a milliwatt dB m DBDSX STS 1 electrical power in decibels relative to the DSX level dB dsx 6 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STST result STS 1 Overhead These commands retrieve STS 1 overhead byte values from the Byte Values DS3Drop output of the matrix switch before DS3 de synchronization The following table lists the applicable parameters and the retrieved results Some parameters are grouped together by function in the table but you can only FETCh the value of one parameter at a time FETCh DMOD STS1 result Parameter Retrieved result C2 Decimal value of the path signal label D1 D2 D3 Decimal value of the section DCC D4 D5 012 Decimal value of the line DCC E1 E2 Decimal value of the local E1 and express E2 orderwires Fl Decimal value for the section F1 user channel 61 Decimal value for the path status byte H4 Decimal value
130. VT15 CV ARATIO J if status 0 ProcessErrors status return Read VT15 code violation average error ratio status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS1 bit error count status GPIBSendCommand instid ETC DM OD DS1 BIT if status 0 ProcessErrors status return Read DS1 bit error count status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return 16 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued Request DS1 biterror average ratio status GPIBSendCommand instld FETC DM OD DS1 BIT_ARATIO if status 0 ProcessErrors status return Read DS1 bit error average ratio status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request DS1 bit error current ratio status GPIBSendCommand instld FETC DM OD DS1 BIT_CRATIO if status 0 ProcessErrors status return Read DS1 bit error current ratio status GPIBReadResult instld result 50 if status 0 1 ProcessErrors status return Request DS1 bit error seconds status GPIBSendComma
131. W STS 1wide band max p to p jitter JITTER POS PEAK W STS 1wide band positive peak jitter JITTER NEG PEAK STS 1wide band negative peak jitter JITTER MASK PC W STS 1 wide band max jitter mask 6 40 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STST result FETCh DM OD STST pointer frequency result continued Parameter Retrieved result JITTER HITS W STS 1wide band jitter hits count JITTER HITS SEC W STS 1 wide band jitter hits time STS N Transport These commands retrieve SONET transport overhead measurement OH Results results The signal from which the measurement is retrieved depends on the configuration of the test set and certain ROUTe MATRix commands see STS N Measurement ve Si gnal Selecti on page 6 46 Other transport overhead measurements are retrieved using the STS1 LINE and STS1 SECTion commands see FETCh DMOD STSI LI NE result page 6 44 and FETCh DMOD STSI SECTi on result page 6 45 The following table lists the applicable parameters and the retrieved results FETCh DM OD STS1 STS N result Parameter Retrieved result SIGNAL STS 1 signal status FRAME STS 1 frame status LOS STS 1 Loss of Signal alarm LOS SEC STS 1Loss of Signal seconds count LOF STS 1Loss of Frame alarm LOF SEC STS 1Loss of Frame
132. With these annotated diagrams in hand refer to the appropriate chapters of this manual to determine the specific ROUTe SENSe and SOURce commands required to implement the system setup Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming Diagrams Key to Diagrams Key to Diagrams The programming diagrams are made up of the following elements Element Symbol Description Sources me Internal signal or pattern generators and error injection elements Sources are controlled using SOURce Insert commands I 0 Ports Signal input or output connections on the test set such STS1 A NRZ as front panel jacks and so on Ports are controlled using Receive OUTPut and INPut commands Selectors Switching elements that selecta signal path from various choices Selectors are controlled using ROUTe SELect commands Matrix Switch A unique switching element with multiple inputs and outputs Some functions of the STS 1matrix switch are shown on the receive diagram and some are shown on the transmit diagram The matrix switch is controlled using ROUTe M ATRix commands STS 1 Matrix Switch i M ultiplexers Circuitry that combines low rate signals into a composite higher rate signal M ultiplexers are controlled using ROUTe M UX commands Demultiplexers Circuitry that drops a selected lower rate channel from a higher rat
133. YELLOW SEC PSYNC VT P1 P0 sync loss alarm PSYNC SEC VT 0 sync loss seconds RDI V VT remote defect indicator RDI V RDI VSEC RDI V seconds PDI V VT Path defect indicator PDI V PDI VSEC PDI V seconds RH V VT remote failure indicator RFI V RFI_VSEC RFI V seconds 6 32 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh DM OD VT15 lt VT15 result continued FETCh Command Reference FETCh DM OD VT15 result Pointer Parameter Retrieved result PNTR VALUE VT pointer value PNTR PJ SEC VT pointer justification seconds POS PNTR CNT Count of positive VT pointer adjustments NEG PNTR CNT Count of negative VT pointer adjustments V1 VT V1 byte value V2 VT V2 byte value Code Violations VT CV parity error count CV_ARATIO VT CV average bit error ratio CV_ES VT CV errored seconds CV_SES VT CV severely errored sec CV_UAS VT CV unavailable seconds CV_EFS VT CV error free seconds CV_PC_EFS VT CV error free seconds Overhead V4 The V4 byte value SIGLBL The VT signal label bits 5 7 of the V5 byte Returns bit value and text message Z6 The Z6 growth byte value 77 The Z7 byte value Bit8 is used for RFI V 12 The VT path trace string Returns 64 ASCII character string 6 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisa
134. ample shows how to transmit a SONET test signal with each 5751 containing 053 patterns The transmit signal rate is the RST default OC 12 or OC 3 depending on test set configuration Receive and measure the DS3 signal which is dropped from the SONET signal by the multiplexer under test U sing SCPI The following example shows how to complete this test using SCPI Commands commands issued in mode Testing a Dropped DS3 Signal Using SCPI Commands SCPI Command RST Description Accesses HP IB mode and sets the parameters to their default settings ROUT SEL DS3 TX SOURCE Selects the internal pattern generator for the DS3 payload ROUT SEL DS3 RX BIPOLAR Sets the DS3 Rx selector to take its signal from the bipolar DS3 receive port INIT Starts the test Notice the green RUN LED on the test set FETC DMOD DS3 SIGNAL Requests the signal status NOTE A response of 1 for each ofthe status indicators tells you that the receive signal is present and the dropped DS3 signals has the expected framing type A response of 0 for the STS 1 Loss Of Pointer alarm indicates that the STS 1 pointer is valid no alarm condition fread bus gt DS3 signal status Sends the signal status to the output queue FETC DMOD DS3 M13FRAME Requests 053 13 frame detect status fread bus 053 13 frame detect status Sends the frame detect status to the output queue FETC DMOD
135. an Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM 0H VT OH byte gt lt value gt SOURcCe DM OH VT OH byte value These SOURce commands let you control the VT path overhead bytes RST default 0 zero or ASCII null Example SOUR DM OH 26 1 Add a question mark and Setsthe Z6 byte to the binary equivalent of 1 00000001 omitthe second parameter to query the unit for the current value For example SO0UR DM OH J2 The following table lists the parameters to use with this command SOURce DM 0H SONET VT overhead byte gt lt value gt VT OH Byte Description 12 Enter an ASCII string as many as 64 characters long for the VT path trace signal Each character is one byte Valid only in BSYNC mode Z6 Enter the decimal value for the growth byte B yte sync modes only Z7 Enter the decimal for this byte Bit 8 is the RFI V other bits are undefined Not applicable for asynchronous VT modes SIGLBL Enter the decimal value for the VT signal label bits 5 through 7 ofthe V5 byte Value can be from 0 through 7 Also see fill selections on format table on page12 59 12 58 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Fill Action Reference The Fill on ACTION or Fill on INJ ECT and Format fields define the transmit trace
136. aranteed 888 88 SOURCE www artisantg com 16 Aboutthe Examples 16 2 Conventions Used in Examples 16 3 Test a DS3 Signal with DS1Payload 16 4 Test a 053 Signal with DS1 Payload 16 4 Test VT1 5 Signals 16 13 Testing a DS3 Dropped from a SONET Signal 16 23 Simultaneous Independent DS1 and SONET Transmission Testing 16 32 SCPI Programming Examples Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Aboutthe Examples About the Examples This chapter contains programming examples that address many applications and can be modified to perform additional required functions Each program example has two versions which show you how to issue SCPI commands Oneatatime in HP IB mode nsidea program Use these program examples to help you create your own custom test programs See Chapters 5 through 14 for information on a SCPI command used in an example 16 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Conventions Used in Examples Conventions Used in Examples The following conventions are used in the programming examples in this chapter Responses When an inquiry command is sent over the IE E E 488 bus to the test set the test set will return a generated response to the output queue When a response results from an inquiry command it
137. artisantg com Introduction About this Version SCPI HP IB Programmer s Manual printing history Version Release date Notes 20 November 1993 30 September 1995 31 March 1996 32 October 1996 40 November 1997 41 March 1999 42 M ay 2000 Update to include latest commands This version of the Programmer s Reference Gui deapplies to CERJ AC 156MTS test sets that have option UHR and are running Host software version 7 00 These test sets include HP CERJAC 156 E4280A HP CERJAC 156MTS E4480A HP CERJAC 31XE E4487A Some instruments running earlier software versions may not support all functions described in this manual some functions of instruments running later software versions may not be covered by this manual refer to any user supplements or contact Agilent Technologies at 1 800 923 7522 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Introduction Conventions The following conventions are used in this manual SCPI Common SCPI common commands always begin with an asterisk For example Commands RST For more information see Chapter 5 Common SCPI Commands Reference SCPI Commands SCPI commands have both a long and abbreviated version In this manual the long and abbreviated versions are shown together The abbreviated version is in ALL CAPS while the remaining letters that comprise the long version are in lowe
138. ata pattern pass through ATM ATM traffic Do not use this command if you are using the ROUT SEL DS1 TX ATM or SOUR DM ATM M UX 051 command 12 24 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DATA1 pattern SOURce DM 1 pattern Parameters Pattern Description EXT 12 25 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark to query the unit for the current value For example SOUR DM DATA3 SOURce Command Reference SOURce DM DATA3 pattern SOURce DM DATA3 pattern This SOURce command sets the 053 data pattern RST default 2 15 1 SOUR DM DATA3 IDLE Setsthe DS3transmit pattern to idle The following table lists the parameters to use with this command SOURce DM DATA3 pattern Parameters Pattern Description IDLE Idle AIS Alarm Indication Signal PROG User Programmable pattern EXT External LIVE Live traffic no pattern ONES All ones pattern 2723 1 2 23 1INV 293 1 PRBS pseudo random bit sequence The INV voice inverts the PRBS pattern 2720 1 2 20 1INV 220 1 PRBS 2715 1 2 15 1INV 215 1 PRBS ATM_HEC ATM traffic Do notuse this command if you are ATM PLCP using the ROUT SEL DS3 TX ATM o
139. ate of OC 3 or 0C 12 STS 1 For test sets with a maximum rate of STS 1 EXT Example 1 ROUT MATR STS 1 STS 2 Connects the STS 1 output of the matrix switch to the 57530 input Example 2 ROUT MATR DS3DROP STS 3 Connects the DS3Drop output on the switch to the STS input Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M ATRix output input The following table lists the parameters to use with the ROUT MATR command For a description of each input see Matri x Input Descri pti ons page 10 6 ROUTe M ATRix output input Parameters Output Input Description 5 5 1 575 575 57548 575 1 output of the matrix switch VT15 DS3 EXT STS STS STS STS STS output of the matrix switch VT15 053 EXT 57538 575 575 57548 5 5 3 output of the matrix switch VT15 053 EXT STS3C CLRCH Sets the matrix switch for STS 3c clear channel transmit amp receive Note This command overrides the setting of the DS3Drop output of the matrix switch ATM Sets the matrix switch for STS 3c ATM transmit and receive The ATM M ux should be set to STS 3c mapping also Do not use this command if you are using the SOUR DM DATA4 ATM command see page 12 27 DS3DROP 575 5752 5759 Lets you control the DS3Drop VT15 053 Ext output of the matrix switch VTI5DROP STS 1 STS 2 STS 3 Lets yo
140. ault for instruments configured with STS 1 or higher DS31 INS BIPOLAR Front panel DS1 bipolar receive port DS1 TX Output of the DS1 Tx selector 10 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source ROUTe SELect selector input source DS3 E1 Parameters continued Selector Input Description DS3 TX LOOP DS3 dropped on the receive programming diagram see page 18 4 SOURCE DS3 internal source DS31DI Output of the 053 1 drop amp insert circuitry DS31 Output of the M 13 Mux ATM Output of the ATM Mux Note The ATM Mux should be set to DS3 mapping see SOUR DM ATM M UX command on page 12 8 Do not use this command if you are using the SOUR DM DATA3 ATM command see page 12 26 DS3 INS BIPOLAR Front panel DS3 Bipolar Receive port DS3 TX Output ofthe DS3 Tx selector 10 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source STS N and VT The following table lists the STS N and VT selector commands Selectors ROUT SEL lt selector gt lt input source STS N VT Parameters Selector Input Description VT INS BIPOLAR Front panel DS1 bipolar receive port AUX Rear panel DS1 input port DS1
141. cess or error code static int GPIBSendCommand int instld char command char system result 5 SYST ERROR query buffer int status GPIB 1 0 and system status send msg string to instrument and verify GPIB status send command to instrument status iwrite instld command strlen command if status 0 return GPIB WRITE ERROR send SYSTEM ERROR QUERY command in order to verify valid commands status iwrite instld SYSTEM QUERY CMD strlen SYSTEM QUERY if status 0 return GPIB WRITE ERROR Read system error result from instrument status iread instld system result 5 if status 0 return GPIB READ ERROR convert system result into integer for error code use as return value status atoi system result return status 16 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing 13 Format 053 051 Payload continued Function GPIBReadResult Purpose This function reads results from the system via GPIB interface Return 0 if Success or error code y static int GPIB ReadResult int instld char result unsigned int cnt int status GPIB 1 0 and system status Read system error result from instrument status iread instld result cnt if status 0 re
142. command has been added to return the setting of the DS1 line code SENSe DM CODE1 A SCPI command has been added to return the inhibit error on alarm setting SENSe DM DATA IERR Another new SCPI command to return the on off setting of Trouble Scan function SENSe DM DATA TRBLscan Three new 5 commands were added to return framingtype specified by the SENSe DM FRAMe command SENSe DM FRAMe TYPE1 SENSe DM FRAMe TYPE3 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes 14 15 16 17 18 19 20 21 22 23 SENSe DM FRAMe TYPE3B The following new SCPI command returns the DS3B LED sharing mode SENSe DM DS3B LEDS A new SCPI command to return the DMUX mapping setting SENSe DM ATMDMUX A new SCPI command has been added to return the selected jitter measurement rate SENSe DM JITTer RATE WB THRESH HB THRESH A new SCPI command has been added to return the DS3 pulse mask setting SENSe DM MSKSEL A new SCPI command was added to return the pulse mask polarity setting SENSe DM MSKPOL A SCPI command was added to return the pulse mask tolerance setting SENSe DM MSKTOL A SCPI command was added to return the setting of the pulse mask stop start switch SENSe DM M
143. d ABORt Command Reference ABORt ABORt When you want to stop a test and freeze the accumulated results you use the ABORt command Example After you initiate the test and request the status of some of the signal variables you can abort the test RST ROUT SEL DS3 TX SOURCE ROUT MATR DS3DROP STS 2 INIT FETC DMOD DS3 SIGNAL FETC DMOD DS3 PATTERN Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INPut FILTer DS1 signallevel 8 3 053 lt gt signal level 8 4 INPut FILTer STS1 signal level 8 5 INPut FILTer E1 signal level gt 8 6 INPut TYPE termination mode 8 6 NPut Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Reference Usethe INPut command to control the characteristics of the input ports on the test set INPut Command Structure Root node Level 1node Level 2 node Parameter IN Put FILTer DST lt signal level gt 053 signal level DS3B signal level STSI lt signal level gt signal level pedancet Returns setting for DS1 input impedance TYPE termination t These commands can also be used as quary commands by adding a question mark after the level 2 node andomitting the second parameter The test
144. d that enables the 053 error out signal The SCPI command is as follows ROUTe SELect ERROUT 053 5 53 5 512 Additionally the DS1 error out jack is active both on the front panel and in 5 command mode This signal is always active when DS1 bit errors are present There is no corresponding SCPI command to control the 051 error out so the above SCPI commands has been added to this manual The SCPI commands have been reworked to match SCPI SOURCE DM CLOCKn command set in the documentation in this manual The updated SCPI command structure is as follows Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 7 Release Notes Miscellaneous Fixes Product Numbers E4480A amp E4487A Applicability Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce DM CLOCK1 parameter sets 051 clock source SOURce DM CLOCK2 parameter sets 5 51 clock source SOURce DM CLOCK3 parameter sets 053 clock source New following SCPI commands have been added SOURce DM CLOCK1 queries 051 clock source SOURce DM CLOCK2 queries STS1 clock source The new SCPI commands have been added to query test set for its clock source settings These commands have been added to this SCPI Manual The following 5 commands
145. description E xample 5 5 5 488 SYSTem STORE Local Mode SYSTEM STORE n name In Local or front panel Mode this command stores configuration to a position stored as specified by the number position 1 through 10 and the name specified as name Test set configurations are saved using SCPI command SYSTEM STORE n name where n is a number 1 to 10 specifying which slot the configuration is to be saved The is an optional parameter when specified is stored as the name of the configuration thus replacing the default configuration name the mode title name Note that to store test set modes the unit must be operating in the desired mode via local front panel mode SCPI Mode SYSTEM STORE n In SCPI mode this command queries the name of configuration stored in position name n SYSTEM STORE n The name is not permitted for s query in SCPI mode 14 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 15 Error Code Reference 15 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Error Code Reference The CERJAC test sets save errors that may occur when you send a SCPI command that does not follow the correct syntax or when processing a SCPI command in the Error Queue You can use the SYST ERR query command to read these errors one
146. e SOUR DM ATM M UX automatically gets set to the same setting The following table lists the parameters to use with this command SENSe DM ATM MUX mapping Parameters Mapping Description DS3 Sets the ATM demux to DS3 PLCP based mapping DS3 HEC Sets the demux to 053 HEC based mapping STS3C Sets the ATM demux to STS 3c mapping STS12C Sets the ATM demux to STS 12c mapping 5 51 Sets the ATM demux to 575 1 mapping El Sets the ATM demux to E1 mapping DS1 Sets the ATM demux to 051 mapping Also executing SCPI query command SENSe DM ATMMUX returns the setting of the ATM physical layer mapping Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM CODE1 line code SENSe DM CODE 1 li ne code Usethis SENSe command to simultaneously switch the line code for the DS1 Bipolar Receive the DS1 Bipolar Transmit and the 051 Bipolar Drop ports RST default AMI SENS DM CODE1 AMI Sets the 051 line code to AMI The following table lists the parameters to use with this command SENSe DM CODE1 line code Parameters Parameters Description AMI Alternate M ark Inversion B8ZS Bipolar with 8 zero substitution HDB3 High density bipolar with 3 zero substitution E1 Also executing the SCPI query command SENSe DM CODE1 DS0
147. e SOURce DM DS3 FEAC BURST SETTING ACTIVATE Configures the test set to send loop up code to the line specified the SOURce DM DS3 FEAC LOOPBACK LINE command 12 47 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC LOOPBACK LINE line SOURce DM DS3 F EAC LOOPBACK LINE lt line gt This command selects the DS3 line to send loop code to when SOURCe DM DS3 FEAC BURST SETTING is set to ACTIVATE or DEACTIVATE For line specify the decimal equivalent of the line ID code listed in the following table Loopback Line Field FEAC Code Selections Line Line ID Code Decimal Line Line ID Code Decimal DS3 Line 011011 27 051 Line 15 101111 47 DS1 Line 1 100001 33 051 Line 16 110000 48 DS1 Line 2 100010 34 DS1 Line 17 110001 49 DS1 Line 8 100011 35 DS1 Line 18 110010 50 DS1Line 100100 36 DS1 Line 19 110011 51 DS1Line amp 100101 37 DS1 Line 20 110100 52 DS1 Line 6 100110 38 DS1 Line 21 110101 53 DS1 Line 7 100111 39 DS1 Line 22 110110 54 DS1 Line 8 101000 40 DS1 Line 23 110111 55 051 Line 9 101001 41 DS1Line 24 111000 56 DS1Line 0 101010 42 DS1Line 25 111001 57 DS1Line 1 101011 43 DS1Line 26 111010 58 DS1Line 2 101100 44 DS1Line 27 111011 59 DS1Line 3 101101 45 DS1Line 28
148. e DM MSKPOL lt pulsepolarity gt 11 17 SENSe DM MSKTOL masktolerance 11 18 SENSe DM MSK lt start stop gt 11 18 1 2 SOURce Command Reference 12 1 SOURceLOCAL LOCK UNLOCK gt 12 4 SOURce DM ALARM alarm type On Off 12 5 SSOURCeDM ATMMUX mapping 12 8 SOURCe DM ATMGEN ATM param gt lt setting gt 12 9 SOURce DM CLOCK lt n gt timing source 12 20 TM VPI CPI Scan Capability Enhancement 12 21 SOURceDM CODE1 lt linecode gt 12 23 SOURCe DM DATAO pattern 12 24 SSOURCeDM DATAT pattern 12 25 SOURce DM DATA3 pattern 12 26 SOURce DM DATA4 pattern 12 27 SOURCe DM DATAS5 pattern 12 28 SOURce DM DL_DATA FDL message 12 29 SOURce DM DS1 gt value 12 30 SOURce DM EINJ ect DSO DATA lt rate gt 12 32 SOURCe DM EINJ ect DS1 err type gt lt rate gt 12 33 SOURCe DM EINJ ect DS2 err type gt lt rate gt 12 34 SOUR DM EINJ DS3 B errtype rate 12 35 SOURce DM EINJ ect E1 error type gt lt rate gt 12 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents SOUR DM EINJ ect VT15 error type rate 12 37 SOUR DM EINJ STS1 4n err type gt lt rate gt 12 38 SOURce DM EINJ ect STS3 STSIPATH lt source gt lt status gt 12 40 SOUR DM EINJ STS3C error type gt lt rate gt 12 41 SOURce DM EINJ ect STS12 OH bit gt lt rate gt 12 42 SOUR DM EINJ STS1x
149. e command You must use this command before setting the DS1 or E 1 signal parameters Set the other signal parameters as follows Set the line code using SOURce DM CODEn Set the framing format using SOURce DM FRAMe TYPEn Set the timing source using SOURce DM CLOCKn Configure the next lower rate signal using steps 3 through 7 When you have finished configuring your test set begin the test using the INIT command See Running a Test page 3 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Setting Up a Test Setting UpaTest 1 Connect input and output signals to your test set as appropriate for your application 2 Putthe set in SCPI mode using the RST or SYST REM command see below First make sure your test set and controller are properly connected and configured See Getting Started page 2 1 Using the Reset Each SCPI command has a reset default value for each of its Command parameters The default values reflect the highest transmit and receive rates possible for the options purchased with your instrument The SCPI Reset command RST performs the following actions Places atest set into HP IB mode Sets all parameters to a defined default setting Sets each instrument to a state where it is waiting for a configuration or a measurement command When you become familiar with the RST default settings you will notice t
150. e remaining sets together as many as 30 See Using an GPIB Interface page 2 3 for connection procedures RS 232 Interface You can use an RS 232 serial interface to connect a single instrument to a controller To communicate with the instrument you will also need a terminal or a PC running a terminal emulator or other SCPI interface application The commands and responses are identical whether you use this interface or the HP IB interface The primary difference is that the RS 232 interface transmits responses as soon as they are ready rather than placing them in an output queue See Using an RS 232 Interface page 2 4 for connection procedures Also see test set interface cable information on Page 27 6 of the 156MTS SONET User Manual 17 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com About SCPI Sending SCPI Messages Sending SCPI Messages When you send a program message from a controller to an instrument the instrument s SCPI processor parses decodes the message to determine which command it received The instrument then carries out the command If the command requires data to be sent back to the controller the data is buffered in the output queue until it is requested by the controller The following diagram shows the process a command follows through the SCPI processor SCPI Processor
151. e signal Demultiplexers are controlled using ROUTe DM UX commands Sensors EE Elements which perform one or more measurements ee Sensors are controlled using SENSe commands Results Measure of measurements performed by sensors are retrieved using FETCh commands 18 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Receive DS3 B Bipolar Receive DSI E1 Bipolar Receive Programming Diagrams Receive Programming Diagram Receive Programming Diagram Optical STS3c 5753 Measure ATM STS 12 Pass Measure to transmit diagram STS 3 Pass To Transmit Diagram to transmit diagram STS3c Naz Moya Bipolar Receive Switch Drop DS3Drop VT15Dro STSI STS 1 OC NRZ Pass d m Reset to transmit diagram Pointer amp Frequency Measure Path OH amp Error VTI5 VTGRP Measure Transport DMux DMux STS1 BPV Alarms OH DS3 Jitter Error Desync Voltage Measure Measure 053 Bipolar Drop 053 Thru Data Eun ais to transmit diagram mE 053 Error Alarm Freq DS3 BPV Pulse Mask CBit Rn Jitter Measure ESF_SLC RS 232 Voltage FI El E2 Datalink Measure Duput DS3 B Passthrough to transmit diagram ww 053 RxB DS3 B BPV Err Alarm Signal Measure D
152. ed seconds BIT SES E1 bit severely errored sec BIT SYNC ES 1 bit synchronous ES BIT DRIBBLE E1 dribbling error seconds AVAIL SEC Available seconds 6 28 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD E1 result FETCh DM OD E1 E1 result continued Parameter Retrieved result Pattern Bit Errors UAS Unavailable seconds DEGM IN Degraded minutes TES3 E110 Threshold ES TES4 1 10 Threshold ES TES5 E1 1077 Threshold ES 56 1 10 Threshold ES Framing CRC CRC4 Number of CRC 4 errors CRC4 ARATIO CRC 4 error ratio average CRC4 CRATIO CRC 4 error ratio current CRC4 EFS CRC 4 error free seconds CRC4 EFS PC CRC 4 percentage error free seconds CRC4 ES CRC 4 errored seconds 750 FRM TSO frame errors 750 FRM_ARATIO TS0 frame error ratio average 750 FRM CRATIO TS0 frame error ratio current 750 FRM EFS 50 frame error free seconds 50 EFS PC 50 percentage frame error free seconds 750 FRM ES TS0 frame errored seconds CAS FRM CAS frame errors CAS FRM ARATIO CAS frame error ratio average CAS FRM CRATIO CAS frame error ratio current CAS FRM EFS CAS frame error free seconds CAS FRM EFS PC CAS percentage frame error free seconds Ar
153. ed to the 050 Tx selector Port output is routed from DSO TS DM ux 10 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe SELect lt selector gt lt input source 10 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 11 SSENSeAU STORE 11 4 SENSe AU TESTDURMODE TIMER 114 SENSe AU TIMERDURHOURS 00 99 11 4 SENSe AU TIMERDURMINUTES 00 59 11 4 SENSe AU TIMERDURSECONDS 00 59 11 4 SSENSeDM ATMDMUX mapping 11 5 SENSe DM CODE1 line code 11 6 SENSe DM DATA1 pattern 11 7 SENSe DM DATA1HOLDOFF interval 11 8 SENSe DM DATA3 lt B gt lt pattern gt 11 9 SENSe DM DATA IERRor lt ON OFF gt 11 10 SENSe DM DATA TRBLscan lt ON OFF gt 11 10 SENSe DM FRAMe TYPE1 frame format 11 11 SENSe DM DS3B LEDS lt sharing mode 11 12 SENS DM FRAM TYPE3 lt B gt frame format 11 13 SENSe DM PROGIBLOCK SIZE size 11 14 SENSe DM JITTer RATE operating rate 11 15 SENSeDM JITTer WB THRESH threshold 11 15 SENSe DM MSKSEL pulse mask 11 17 SENSe DM MSKTOL mask tolerance 11 18 SENSe Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe Command Reference Use SENSe commands to control test set measurement f
154. eference 9 1 OUTPut FILTer DS1 signal levd 9 3 OUTPut FILTer DS3 signal levd 9 4 OUTPutFILTer STS1 signal levd 9 5 OUTPutSTATeN lt ON OFF gt 9 6 10 ROUTe Command Reference 10 1 ROUTe DMUX lt demux gt lt drop channel 10 3 ROUTe MATRix lt output gt lt input gt 10 4 ROUTe MUX INS lt mux gt lt insert gt 10 7 ROUTe MUX OTH lt mux gt lt payload gt 10 8 ROUTe SE Lect selector input source 10 10 11 SENSe Command Reference 11 1 SSENSeAU STORE 114 SSENSe AU TESTDURMODE TIMER 11 4 SENSe AU TIMERDURHOURS lt 00 99 gt 11 4 SENSe AU TIMERDURMINUTES 00 59 11 4 SENSe AU TIMERDURSECONDS 00 59 11 4 SSENSeDM ATMDMUX mapping 11 5 SSENSeDM CODE1 lt linecode gt 11 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents SENSe DM DATA1 pattern 11 7 SENSe DM DATA1 HOLDOFF lt interval gt 11 8 SENSe DM DATA3 lt B gt pattern 11 9 SENSe DM DATA IERRor lt ON OFF gt 11 10 SENSe DM DATA TRBLscan lt ON OFF gt 11 10 SENSe DM FRAMe TYPE1 lt frameformat gt 11 11 SENSe DM DS3B LEDS lt sharing mode 11 12 SENS DM FRAM TYPE3 B frameformat 11 13 SENSe DM PROGIBLOCK SIZE size 11 14 SENSe DM JITTer RATE operatingrate 11 15 SENSe DM JITTer WB THRESH threshold 11 15 SENSe DM JITTer THRESH threshold 11 16 SENSe DM MSKSEL lt pulsemask gt 11 17 SENS
155. el in dBdsx Status MA 1 signal level in milliamperes TSOSYNC 50 synchronization status TS16SYNC TS16 synchronization status CRC4SYNC CRC 4 frame synchronization status PATTERN E1 pattern detection status HDB3 Valid HDB3 signal status Alarms LOS E1 Loss of Signal alarm LOS SEC E1LOS Seconds count OOF Out of Frame events OOF_SEC Out of Frame seconds LOP 1 loss of pattern alarm LOP_ SEE E1LOP seconds AlS E1 Path AIS alarm Artisan Technology Group Quality Instrumentation 6 27 Guaranteed 888 88 SOURCE www artisantg com FETCh DM OD E1 E1 result continued FETCh Command Reference FETCh DM OD E1 result Parameter Retrieved result Alarms AIS SEC E1Path AIS alarm seconds RAI Remote alarm indication RAI SEC Number of remote alarm indication seconds DISTANT Distant multiframe alarm DISTANT SEC Distant multiframe alarm seconds Excess zeros alarm status BPV BPV E1 bipolar violation count BPV ARATIO E1 BPV average error ratio BPV CRATIO E1 BPV current error ratio BPV EFS E1 BPV error free seconds BPV EFS PC E1BPV error free seconds BPV ES E1 BPV errored seconds Pattern Bit Errors BIT 1 bit error count BIT ARATIO E1average bit error ratio BIT CRATIO El current bit error ratio BIT_CSES3 E1 consecutive 3 SES count BIT EFS 1 bit error free seconds BIT EFS PC 1 biterror free seconds BIT ES E1 bit error
156. emaining channels not specified in the INS command on the multiplexer RST default for DSO ONES RST default for M13 VT15 and STS12 SAME RST default for VTGrp and STS12 1 Example ROUT MUX OTH DSO SAME The remaining DSOs are the same as the selected insert channel The following table lists the parameters to use with this command ROUTe M UX OTH mux payload Parameters Mux Payload Description 050 SAME Uses the same pattern as the insert channel ONES Inserts an all ones pattern on the other channels PASS Pass the other channels through as they are M 13 AIS Fills the other channels with 051 15 INV Uses an inverted copy of the insert channel for the others SAME Uses the same pattern as the insert channel 10 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M UX OTH mux payload ROUTe M UX OTH lt mux gt lt payload gt Parameters continued Mux Payload VT15 AIS Description Fills the other channels with AIS Asynchronous VT only ZERO All zeros pattern INV Inverted copy of the primary insert channel SAME Uses the same pattern as the insert channel EXT External input from the DS1 Bipolar Receive port Async only AUX Inserts the signal from the Auxiliary DS1 port on the other channels Asynchronous VT only VTGrp AIS Fills
157. en a controller and an instrument and the HP IP interface card that you install in a controller adhere to this interface standard The terms GPIB General Purpose Interface Bus IEEE 488 bus and HP IB are used interchangeably in this book to refer to the communication between a controller and a CERJ AC test set 17 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com About SCPI The SCPI Interface Layering of the The SCPI HP IB interface is based on four successive independent Standards levels of communication protocol Each layer supports it own set of common messages These messages form the independent protocols used to communicate within the layer and with the corresponding layers The following diagram shows the succession of layers SCPI Standard Layer C IEEE 488 2 Standard Common Commands and Queries Layer B Syntax and Data Structures Layer A IEEE 488 1 Standard includes HP IB Remote Interface Functions Messages 17 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com About SCPI The SCPI Interface The following table summarizes the protocol layers SCPI HP IB Communications Protocol Layers Layer Standard Specifies A SCPI The commands that control each programmable function in an instrument The types of parameters that you can use with these commands The types of values
158. et 4 Plugthe other end of the cable into the connector on the GPIB interface card 5 If you want to connect additional instruments to a controller plug one end of the GPIB cable into the REMOTE IEEE 488 port on the test set and the other end of the cable into the socket side of a connector plugged into another set In this manner you can create a daisy chain connection from the controller 2 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Using an RS 232 Interface Using an RS 232 Interface To connect a test instrument to a controller using an RS 232 interface cable follow these steps 1 Ontherear panel of your AC test set locate the REMOTE RS232 port RS 232 Remote Interface Port 2 Plugone end of the serial cable into the REMOTE RS232 data port 3 Plugthe other end of the cable into the serial port on your PC Note You may need to attach a DB 25to DB 9 adaptor to the serial cable if the serial porton your PC requires a DB 9 connector Also see RS 232 cable interface information on page 2 5 2 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Using an RS 232 Interface Cannsoth any ect et female Cannsott Sovial Cs blo CI DB 5ptn DB 2 a
159. et the ATM DMUX to DS3 PLCP mapping using the SENS DM ATMDMUX ds3 command see page 11 3 FETCh DM OD ATM lt PLCP result Parameter Retrieved result VAL PLCP SYNC PLCP valid PLCP synchronization PLCP B1 CNT PLCP B1BIP error count PLCP B1 BIP RAT AVG PLCP B1BIP error ratio average PLCP B1 BIP RAT CUR PLCP B1BIP error ratio current PLCP B1 BIP ES PLCP B1BIP errored seconds PLCP B1 BIP EFS PLCP errored free seconds PLCP FRM POI CNT PLCP frame and path overhead error count PLCP FRM FEBE CNT PLCP FEBE error count 6 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD ATM result FETCh DM OD ATM lt PLCP result continued Parameter Retrieved result PLCP POI RAT PLCP frame and path overhead error ratio average PLCP RAT CUR PLCP frame and path overhead error ratio current PLCP FRM POI ES PLCP frame and path overhead errored seconds PLCP FRM POI EFS PLCP frame and path overhead percent errored free seconds PLCP FEBE RAT AVG PLCP FEBE error ratio average PLCP FEBE RAT CUR PLCP FEBE error ratio current PLCP FEBE ES PLCP FEBE errored seconds PLCP FEBE EFS PLCP FEBE percent errored free seconds PLCP LOF PLCP loss of frame alarm PLCP Yellow alarm LPCL LOF SEC PLCP loss
160. ference FETCh DM 00 lt 053 0538 gt result FETCh DMOD lt DS3 DS3B gt result This command retrieves DS3 measurement results from the DS3 error alarm overhead and frequency sensor including pulse mask and from the DS3 BPY jitter and voltage sensor For dual DS3 applications the level 2 node DS3 retrieves measurements from the DS3 A sensor DS3B retrieves measurements from the DS3 B sensor For both commands the result selections are the same The following table lists the applicable parameters FETCh DM OD lt DS3 DS3B gt lt DS3 result Parameter Retrieved result Signal PEAKV DS3 peak voltage RXFREQ DS3 frequency DBDSX DS3 signal level in dBdsx Status SIGNAL DS3 Signal status CBITFRAME DS3 C bit frame detect status M 13FRAM E 053 13 frame detect status PATTERN DS3 pattern detection status IDLE DS3 Idle status IDLE_SEC DS3 Idle status seconds XBIT DS3 X bit status X1 X2 Current binary value of the DS3 X1 or X2 bit OBITS DS3 O bits binary value Alarms LOS DS3 Loss of Signal alarm LOS SEC 053105 Seconds count LOF DS3 LOF alarm LOF_SEC DS3 LOF seconds 6 20 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh DM OD lt DS3 DS3B gt lt 053 result continued FETCh Command Reference FETCh DM OD lt DS3 DS3B gt result
161. first screen shows bytes 1 32 and the second shows bytes 33 64 DS3FEACControl The DS3FEAC Control screen provides access to DS3 FEAC bits This section describes several screen features previously not documented See DS3 FEAC Channel Parameters in Chapter 7 of the user manual for information about this screen When the Continuous Alarm Status field is set to ON the test set continuously transmits the FEAC code specified in the Alarm Status field When the field is set to off the FEAC bitis set to the value 0 or 1 specified in the DS3 C Bit Control screen Row 1 C3 program bit The FEAC Burst and Burst of fields are used to transmit a Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156 MTS Host Softw are Version 6 50 Release Notes New DS3FEAC SCPI Commands A 18 FEAC code several times in a row The code burst is sent when the ACTION INJECT key is pressed When the burst sequence is complete the FEAC setting returns to its previous value FEAC Burst specifies the code to send Burst of specifies how many times to send it When Burst is set to Loopback Activate or Loopback Deactivate the test set sends loopback codes loop up or loop down to the line specified in Loopback Line as follows The loopback code is sent the number of times specified by Burst of The value of Loopback Line is sent the number
162. for the VT multiframe phase indicator 10 For OC 12 only Retrieves the received 64 byte 0 byte string 11 Returns a 64 character ASCII string for the path trace signal Each character represents one byte Bytes without an ASCII equivalent are not displayed K1 K2 Decimal value for the APS channel 21 22 Decimal value for the synchronization status STS 1 1 and growth bytes 23 24 25 Decimal value for the growth bytes 6 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STS 1 Path Measurements FETCh Command Reference FETCh DM OD STST result These commands retrieve STS 1 Path overhead measurement results from the DS3Drop output of the matrix switch before DS3 desynchronization Additional Path measurements can be retrieved using the STS1 PATH commands see FETCh DMOD STS1 PATH results page 6 43 The following table lists the applicable parameters and the retrieved results FETCh DM OD STST path result Parameter Retrieved result AIS P STS 1 Path alarm indication signal alarm formerly FETC DM 00 5 51 AIS AIS P SEC STS 1 Path alarm indication signal alarm seconds formerly FETC DM OD STS1 PATH 15 SEC RDI P STS 1 Path remote defect indication alarm formerly FETC DM OD STS 1 YELLOW RDI P SEC STS 1 Path remote defect indication alarm seconds formerly FETC DM OD STS1 YELLOW SEC
163. formerly S OUR DM ALARM LFERF AIS P Path alarm indication signal formerly S OUR DM ALARM PAIS RDI P Line remote defect indication formerly S OUR DM ALARM PYEL LOP P Path loss of pointer STSN LOS Loss of signal STSN LOF Loss of framing Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com VT1 5 Alarms DS3 Alarms 051 Alarms SOURce Command Reference SOURce DM ALARM alarm type gt lt On Off gt SOURce DM ALARM VT alarm type ON OFF gt Alarm Type Description AIS_V VT alarm indication signal This alarm is injected on all three STS 1s leaving the matrix switch To inject this alarm selectively see SOURce DM EINJ ect STS3 STSIPATH source status page 12 41 Formerly S OUR DM ALARM VT PAIS RDI V VT remote defect indication This alarm is inserted simultaneously on both the DS3 mapped and VT mapped STS 1s and any fan outs in the matrix switch Itis notseton STS 1 through data Formerly SOUR DM ALARM VT PYEL VT PLM Payload Label M ismatch alarm Set simultaneously on both the DS3 mapped and VT mapped 5 5 15 and any fan outs in the matrix switch It is not set on STS 1through data VT UNEQ Path Unequipped alarm is simultaneously on both the DS3 mapped and VT mapped STS 1s and any fan outs in the matrix switch It is not set on STS 1through data LOP_V VT loss of pointer SOURce D
164. gt lt insert channel This route command configures the channel to be inserted on a multiplexer RST default 1 for all sources Example ROUT MUX INS DS0 2 nserts the signal from the DSO Tx selector onto channel 2 of the DSO The following table lists the parameters to use with this command ROUTe M UX INS lt mux gt lt insert channel Parameters Mux Channel Description DSO 1 24 Inserts the output of 050 Tx selector into the selected channel of the 050 M ux M 13 1 28 Inserts the output from the DS31 Ins selector on the selected channel of the M 13 M ux VT15 1 4 Inserts the output of the VT Ins selector on the selected channel of the VT15 M ux The VT15 M ux generates a VT Group signal containing 4 DS1 signals VTGRP 1 7 Inserts the output of the VT15 M ux on the selected channel VT group position of the VTGrp M ux The VTGrp M ux generates an STS1 signal containing seven VT group signals STS12 1 4 Inserts the output from the 5753 M ux on the selected STS 3 position of the STS12 M ux Also executing the SCPI query command ROUTe MUX INS DS0 DS31 VTGRP VT15 STS12 returns the channel inserted on the multiplexer 10 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M UX OTH mux payload ROUTe MUX OTH muxo payload This ROUTe command configures the r
165. has been added to query DS3 FFM status FETCh DMOD DS3 FFM The test set has been modified to detect DS1 yellow alarm when transmit data pattern is set to AIS The SCPI command used to inject errors has been improved Previously the software required the error inject command to be issued twice before the test set responded This has been corrected The error injection command format is as follows SOURce DM EINJect lt payload gt error rate Where the parameter for rate is CONTINUOUS Host software version 6 60 is a software maintenance release for the HP 156MTS and 31XE test sets Agilent recommends you install this software in your test set Host version 6 60 supports these test sets E4480A 156MTS SONET T Carrier Test Set Software Release Notes Host Softw are Version 6 60 Release Notes E4487A 31XE SONET Electrical Test Set Requirement HosettSefiteraines Versio ms 605Re E must upgrade the test set s software with boot code version 6 2 In the past you had to send your 156MTS or 31XE test set back to HP to have new boot code software installed Starting with boot code version 6 2 you can install the software yourself See the Boot code Software Versi on 6 2 Release Notes for installation instructions Enhancements Host version 6 60 includes the following enhancements Path trace string J 1 and J 2 byte and section trace string J 0 byte display and editing featu
166. hat in many cases you can enter just a few commands to perform a test or make a measurement After you become familiar with SCPI commands see Front Pana Emulation Usi ng SCPI page 4 1 which lists the 5 commands you use after a reset command to duplicate any selectable front panel setups Using the System The SYST REM command places the test set in SCP mode without Remote Command altering its current configuration You can configure the test set using the front panel controls and then use SYST REM to put the unit in SCPI mode Next you must place the test set in test mode run the test and retrieve measurements over the SCPI connection 3 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Running a Test Running a Test This section describes a sample SCPI test The example shows the sequence of SCPI commands to enter if you want to transmit a test signal at OC3 and OC12 with all the STS 1s containing DS3 patterns and then receive and measure the DS3 which is dropped from the SONET signal by the multiplexer under test Each section of the test has a brief overview and an explanation for each SCPI command Starting the Test If you want to gather measurements or test results in the status registers you should first issue the 5 commands that set up the appropriate signal paths see Command Sequence page 3 2 Then you use the INITia
167. hat was last stored SENSe AU STORE SENSe AU ITESTDURMODE TIMER Use this SENSe AU TESTDURMODE TIMER command in SCPI mode to set test mode duration SENSe AU TESTDURMODE TIMER SENSe AU TIMERDURHOURS 00 99 Use this SENSe AU TESTDURHOURS 1 command in SCPI mode to set test duration to one hour SENSe AU TESTDURHOURS 1 SENSe AU TIMERDURMINUTES 00 59 Use this SENSe AU TESTDURMINUTES 22 command in SCPI mode to set test duration to 22 minutes SENSe AU TESTDURMINUTES 22 SENSe AU TIMERDURSECONDS 00 597 Use this SENSe AU TESTDURSECONDS 15 command in SCPI mode to set test duration to 15 seconds SENSe AU TESTDURSECONDS 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM ATM DM UX mapping SENSe DM ATMDMUX mapping Use this SENSe command to set the DMUX mapping before you try to retrieve ATM measurement results See the ATM FETCh commands on page 6 4 If you do not have the ATM option installed on your instrument the instrument returns a value of 1 after you enter this command Note Do not use this command if you are also using a SOUR DM DATAn ATM command RST default STS3C Example SENS DM ATMDMUX 53 Sets PLCP based ATM mapping on the DS3 signal Note When you set the mapping with this command th
168. he STS 3c data pattern REI P SINGLE 1 4 through 1 8 OFF Injects Path remote event indication alarms using the STS 3c or STS 12c G1 byte formerly S OUR DM EINJ STS3C FEBE 12 41 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM EINJ ect STS 12 OH bit gt lt rate gt SOURCe DM EINJ ect STS12 OH bit gt lt rate gt This SOURce command injects errors into the OC 12 signal RST default Rate OFF E xample SOUR DM EINJ STS12 BIT CONTINUOUS Add a question mark and e Injects B1 byte bit errors continuously on the OC 12 signal omit the parameters to query the unit forthe current values For example SOUR DM The following table lists the parameters to use with this command EINJ STS12 SOURce DM EINJ ect STS12 overhead bit error rate Overhead Bit Description BIT Forces an inversion of the least significant bit of B 1 B2 BIT Forces an inversion of the least significant bit of B 2 A1 BIT Inverts the least significant bit of the A1 framing byte Rate Each overhead bit above can be set to either of the following CONTINUOUS Activates continuous injection of the overhead bit error OFF Deactivates injection of the overhead bit error 12 42 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg co
169. he test Notice the green RUN LED turn off on the test set SYST PRES Takes the test set out of HP IB mode and returns local control 16 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent DS1 and SONET Transmission Testing U sing C The following example shows how to complete this test using SCPI commands within a C program DS1and SONET Transmission Testing Using C AKKA IIA This function shows how to transmit a test signal at OC3 or OC12 with all 57515 containing 053 patterns KAA KKK KKK KKK OTR TRA ER RR TR TAR ATR TOR TORT AT AR TR TAA RR RAR ART AT include lt stdio h gt include lt stdlib h gt include lt string h gt define GPIB WRITE ERROR 1 define READ ERROR 2 lefine SYSTEM QUERY CM D SYST ERR External Functions Note the following are vendor specific GPIB 1 0 functions The functions are generic Therefore the parameters and or function name may not match the functions provided by specific vendors Function open Purpose This function establishes a session with the desired interface or deice and returns a session identifier The session identifier should only be passed as a parameter to other vendor specific GPIB functions Return 0 if Success or error code extern int iopen char add
170. hnology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD OPTions FETCh DMOD OPTions This command returns the 8 byte configuration code in the same format that is displayed on the system software configuration screen The configuration code consists of a 24 character ASCII string with 8 bites of hexadecimal data each separated by a space and null terminated Example OPTions Retrieved data will typically reflect the following format 07 2D 05 FF FD D8FE 6 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD VT15 result FETCh DMOD VT15 result This command retrieves VT 1 5 measurement results The following table lists the applicable parameters and the retrieved results FETCh DM OD VT15 lt VT1 5 result Parameter Retrieved result Alarms AIS V VT path AIS alarm events formerly FETC DM OD VT15 AIS AIS V SEC VT path AIS alarm seconds formerly FETC DM OD VT15 AIS SEC LOP V VT loss of pointer alarm formerly FETC DM OD VT15 LOPNTR LOP V SEC VT loss of pointer alarm seconds formerly FETC DM OD VT15 LOPNTR SEC RDI VT path remote defect indication alarm formerly FETC DM OD VT15 YELLOW RDI SEC VT path remote defect indication alarm seconds formerly FETC DM OD VT15
171. ilobits Add a question mark and omit the parameter to query the unit for the current value For example SENS DM PROG1 The block size can be set from 2K through 8K 11 14 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM J ITTer RATE operating rate SENSe DM J ITTer RATE operati ng rate This SENSe command lets you select the jitter measurement rate RST default Highest installed rate n ENS DM JITT RATE DS1 Example This sets the jitter measurement rate to DS1 The following table lists the parameters to use with this command 5 jJ ITTer operating rate Parameters Parameter Description DS1 DS1 jitter measurement El E1 jitter measurement DS3 DS3 jitter measurement STS1 STS 1 jitter measurement Also executing the SCPI query command SENSe DM JITTer RATE returns the rate jitter measurement SENSe DM JITTer WB THRESH threshold This SENSe command sets the wide band jitter hit threshold RST default 5 0 ENS DM JITT WB THRESH 3 Example This sets the hit threshold to 3 0 Where the threshold can be a number from 0 through 6 9 Also executing the SCPI query command SENSe DM JITTer WB THRESHold returns the wide band threshold jitter measurement 11 15 Artisan Technology Group Quality Instru
172. is noted in the example in the following format fread bus xxx Where xxx indicate the expected result When you see the read bus notation you should select the HP IB String option under the Enter menu to view the results If you are running a program the output may be saved to a file or printed on the controller s screen Note For RS 232 applications the controller does not have to read the bus since the response to a query is transmitted immediately by the test set over the RS 232 connection Wait Command The minimum command execution time is 250 milliseconds one quarter second Some commands may require a wait command to allow for test set processing time or to accumulate results When a wait command is required it is noted in an example in the following format wait xS Where xS indicates the number of seconds S to wait before continuing Program The program comments explain each command or a group of Comments commands SCPI program commands are listed in the example table next to each command C program comments begin with a and end with a These comments provide you with additional information about the commands or applications 16 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload Test a DS3 Signal with DS1 Payload This example shows how to transmit a test signal containing
173. isan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Read DS3 bit error average ratio status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS3 bit error current ratio status GPIBSendCommand instld FETC DM OD DS3 if status 0 ProcessErrors status return Read DS3 bit error current ratio status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS3 severely error seconds status GPIBSendComma if status 0 d instid FETC DM OD DS3 SES ProcessErrors status return Read DS3 bit error seconds status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return End Test status GPIBSendCommand instid AB ORT if status 0 ProcessErrors status return 16 38 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Take test set out of HP
174. l The Auto Setup feature was also enhanced by the addition of a data pattern scan capability along with the framing scan function Now the operator can choose a channel in the low level tributary menu perform a frame scan or a data scan sequence A 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 7 Release Notes The Auto Setup function was changed to force the test set to search for signals in descending order from the highest optical rates OC3 down to the slower electrical rates STS1 Additional Auto Setup features and improvements include A frame that scan can now be performed at each of the DS E 1 and VT Auto Setup menu screens The scan can be aborted by pressing the MENU key once The operator can then choose to rescan pick a channel or go back to the main menu Trouble Scan Trouble Scan performance has been improved reducing total Improvements scan time from 4 5 to 1 0 seconds An ability to filter errors and alarms issued to the front panel has been added through the use of the screen selector fields SCPI Command Nine new 5 commands have been added to return errors and Improvements alarms by payload category For example FETCh TRBL DSO DS1 DS2 DS3 DS3B E1 SONET This manual has been updated to indicate that the host software supports a SCP comman
175. l delay results 6 9 checking the mode 12 54 command structure 1 2 commands query commands 1 7 sending multiple commands 1 6 syntax 1 5 common commands _ 5 2 5 3 definition 1 3 configuring port settings 2 6 connection interface specifying 2 7 connection requirements 2 2 RS 232 2 2 conventions v creating programs 16 2 16 40 D datalink insert 10 15 demux control 10 3 discrete parameters 1 4 drop amp insert test modes 4 16 050 demux 10 3 error injection 12 32 mux 10 7 payload 12 24 results 6 13 selecting for fractional 1 12 51 selectors 10 10 signaling bits 12 55 DS1 alarms 12 6 blocksize 11 14 demux 10 3 ESF FDL message 12 29 frame format 11 11 12 52 line code 11 6 12 23 loop codes 12 30 12 33 LOP OOF holdoff 11 8 mode 12 54 mux 10 7 pattern 11 7 12 25 rx signal level 8 3 selectors 10 10 signal results 6 15 termination 8 6 tx signal level 9 3 txtiming 12 20 user pattern 12 61 DS1 error injection 12 33 Index 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Index DS1 results alarms 6 15 biterrors 6 14 block errors 6 15 BPVs 6 16 CRC 6 16 ESF datalink 6 14 frame errors 6 17 jitter 6 18 status 6 15 DS1 El mode 12 54 DS2 error injection 12 34 results 6 19 6 26 052 X bit 12 56 DS3 alarms 12 6 PLCP results 6 11 demux 10 3 frame format 11 13 12 53 mux 10 7 overhead bits 12 56 patter
176. lder test sets may require a hardware upgrade to support some features Please contact the factory New ATM Host software version 6 41 combined with ATM version 3 40 Features adds new ATM test capabilities Option URZ is required for ATM ATM Data is a payload selection for the Data field in OC 3c 053 Selection 051 and El signals This replaces the ATM selections for the Payload field on the test setup screen DS3 051 and E1 signals can be dropped from higher rate signals When Data is set to ATM the ATM Setup selection is enabled on the Control Screens menu The Data selection does not apply for STS 12c and STS 1 ATM testing These modes are selected by setting Payload to ATM on the Test Setup screen ATM Setup Menu An ATM Setup menu has been added to select the ATM test mode Selecting ATM Setup from the Control Screens menu calls this menu which allows the selection of standard VPI VCI scan transfer delay inter arrival time or cell capture modes Selecting an ATM mode automatically activates the appropriate ATM setup screens and corresponding ATM results screens Use with older To take full advantage of the new ATM features in the 6 41 3 40 ATM hardware release older test sets may require a hardware upgrade performed at the factory Please consult the factory for more information Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www arti
177. llowing query command to see the SCPI revision level installed in your test set SYSTem VERSion 14 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem PRESet Usethe following command to take the test set out of HP IB mode and restore the set to normal front panel operation SYSTem PRESet 14 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem OPTionS SYSTem OPTionS This query command retrieves the test set s software configuration code The configuration code is a 24 character ASCII string with 8 bytes of hexadecimal data each separated by a space and NULL terminated Example SYSTem OPTS Retrieves the information in the Config Code field of the System Software Configuration screen see your test set manual for more information about the screen Following is an example of a typical display 01 01 00 FF FE D1 FF F7 14 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem Command Reference SYSTem SCPI SYSTem SCPI In Local Mode Use following command to select communications interface connection that must be specified as part of this command as example IEEE 488 1 or 2 Refer to page 17 2 for the SCPI Interface information and
178. lls the string with 00 HEX fills the string with incremental hex values from 42 to 7D ASCII characters B to followed by a carriage return 0 00 and line feed 0x0A For example byte 115 set to 42 byte 2to 43 and so on up to byte 64 which is 7D ASCII fills the string with the text 156M TS Test Set Serial No A 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156 MTS Host Softw are Version 6 50 Release Notes nnnnnn where nnnnnn is the serial number of the test set The string is followed by a carriage return 0 00 and line feed 0x0A The remaining bytes are set to 00 Results Display in sets the display mode for the path trace byte and section trace byte values below This field has two options ASCII the default displays values in ASCII Hex amp ASCII displays values in hex and ASCII STS Path Trace Byte J 1 Values and OC 12 Section Trace Byte J 0 Values Screens These screens display the 64 byte message carried in the path trace J 1 or section trace J 0 bytes The message begins at the first non zero byte following a NULL 0x00 carriage return 0x0D or line feed 0x0A byte The Results Display in field above controls how the message is displayed When set to ASCII only characters in the range 20 through 7E hex are shown When set to Hex amp ASCII the message takes up two screens the
179. lt is 100 FGND BURST PERIOD Sets the foreground channel burst period x x can be 0 0 0 1 0 2 0 3 9 7 98 9 9 seconds RST default is 0 1 FGND SINGLE BURST none Indicates the RST default for each source Enable a foreground channel single burst by the ATM layer generator Note Before you use this command you must set the ATM generator foreground channel distribution to single by using this command SOUR DM STM gen fgnd distrib single 12 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen foreground parameter gt lt setting gt continued Foreground Parameter Setting Description FGND_DATA 15 Sets the foreground channel payload data to all ones 0 S Sets the foreground channel payload data to all zeros 32BIT Sets the foreground channel payload to programmable 2 15 1 Sets the foreground channel payload data to 215 1 PRBS 2 15 1INV pseudo random bit sequence 2 20 1 Sets the foreground channel payload to 220 1 PRBS 2 20 1INV IN V indicates inverted PRBS 2 23 1 Sets the foreground channel payload data to 2 3 1 5 2 23 1INV 1010 Sets the foreground channel payload data to 1010 1100 Sets the foreground channel payload data to1100 LIVE Live traffic no pattern FGND HDR GFC X a the foreg
180. m SOURce Command Reference SOUR DM EINJ STS1xxx PNTR lt rate gt SOUR DM EINJ STS1 xxx PNTR ADJ rate Pointer adjustments are injected simultaneously on the STS 1s exiting the STS 1 matrix switch at the Path BER H pointer and Error Insertion element see Transmit Programmi ng Di agram page 18 5 Pointer adjustments do not affect drop or pass channels RST default Rate OFF Positive Pointer Positive pointer adjustments are injected as follows Adjustments SOURCe DM EINJect STS1 POS PNTR ADJ rate Where rate can be any value listed in the table on the next page Negative Pointer Negative pointer adjustments are introduced as follows Adjustments SOURCe DM EINJect STS1 NEG PNTR ADJ rate Where rate can be any value listed in the table on the next page STS lPointer New 575 1 pointer New Data Flag events are created as follows Data F lag SOURce DM EINJect STS1 NDF_PNTR_ADJ SINGLE Only one NDF event can be injected at a time INIT Selection Running the INIT preconditions the system for pointer adjustments Rate 12 43 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference Pointer Adjustment rates Pointer Adjustment rates The value for rate indicates the repetition frequency of the pointer adjustments and may be set as described in the following table SOURce DM EIN
181. mand SENSe DM MSKPOL returns the mask polarity setting 11 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM M SKTOL mask tolerance SENSe DM MSKTOL mask tolerance This SENSe command sets the adjustment to the pulse mask tolerance RST Default spec SENS DM MSKTOL 3PC Example This adjusts the mask tolerance by 3 percent The mask tolerance can be set to SPEC no adjustment 3PC 3 percent or 6PC 6 percent Also executing the SCPI query command SENSe DM MSKTOL returns the mask tolerance setting SENSe DM MSK lt start stop gt This SENSe command starts or stops a pulse mask test RST Default pulse mask test not active SENS DM MSK START Example This begins the pulse mask test The pulse mask test can be activated START or halted STOP using this command Also executing the SCPI query command SENSe DM MSK returns the mask start stop switch 11 18 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 12 SOURceLOCAL LOCK UNLOCK gt 12 4 SOURce DM ALARM alarm type gt lt On Off gt 12 5 SSOURCeDM ATMMUX mapping 12 8 SOURce DM ATMGEN lt ATM param gt lt setting gt 12 9 SOURceDM CLOCK n timing source 12 20 SOURce DM DATAn pattern 12 21 12 24 SSOURCeDM DA
182. mentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference 5 J ITTer HB THRESH threshold SENSe DM JITTer HB THRESH threshold This SENSe command sets the high band jitter hit threshold RST default 0 5 Example SENS DM JITT HB THRESH 1 This sets the hit threshold to 1 Where the threshold can be a number from 0 through 1 9 Also executing the SCPI query command SENSe DM JITTer HB THRESHold returns the high band threshold jitter measurement 11 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM MSKSEL pulse mask SENSe DM MSKSEL pulse mask This SENSe command sets the pulse mask RST Default none Example SENS DM MSKSEL 1 102 This selects the T1 104 DS3 pulse mask The pulse mask be set to NONE 6 703 G 703 T1 102 11 102 T1 404 T1 404 or TRA99 TR NWT 000499 Also executing the SCPI query command SENSe DM MSKSEL returns the pulse mask setting SENSe DM MSKPOL pulse polarity This SENSe command selects the pulse polarity to be acquired RST Default POS Example SENS DM MSKPOL POS NEG This selects both positive and negative pulses to be acquired The polarity can be setto POS positive NEG negative or POS NEG both polarities Also executing the SCPI query com
183. ments A1 A2 results screen 16 Corrected A1 A2 SEFS detection for OC3 and STS 17 Added the SCPI command SENSe DM DATA3 BITER to display DS3 error bits Also 5 command SENSe DM DATA3 BITER_OFF inhibits error display 18 Upon entering SCPI mode all display results get set to off and must be reenabled 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes Task Cak C diee ee 9 50 T55MT S HAES Flt 6 8 R le ase 156MTS SONET Maintenance Test Set E448UA Release Overview SCPI Command Fixes and Additions A 4 This new version of the 156MTS SONET Maintenance Test Set software incorporates several significant improvements For each new query command shown below the SCPI HPIB User s Manual documentation has been updated to incorporate a question mark The question mark has been added to the command to query the test set for its current parameter values 1 Two 5 commands have been added to return the 053 and 051 frame type settings The commands are SOURCe DM FRAMe TYPE1 Returns 051 frame setting SOURce DM FRAMe TYPE3 Returns 053 frame setting A new SCPI command has been added to return the VT 1 5 mode setting either asynchronous or byte synchrono
184. mmand SOURce DM ATMM UX mapping Mapping Description 051 Sets the to DS1ATM mapping El Sets the ATM M ux forE1 ATM mapping DS3 Sets the ATM M ux to DS3 PLCP based mapping DS3 HEC Sets the ATM Muxto DS3 HEC based mapping 5 51 Sets the M ux for 575 1 mapping STS3c Sets the ATM Mux to STS 3c mapping Also executing the SCPI query command SOURce DM ATMMUX returns the setting of the ATM physical layer mapping Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SSOURCe DM ATMGEN ATM param sdti ng This SOURce command sets the Layer Generator Before you use this command the ATM Mux must be set to the appropriate mapping see the SOUR DM ATMMUX command on page 12 8 Example SOUR DM ATMgen fgnd distrib continuous Setsthe foreground channel distribution to continuous The tables on the following pages list the parameters to use with the SOUR DM ATMgen command General ATM Setup SOURce DM ATM gen lt ATM parameter gt lt setting gt ATM Parameter Setting Description TST MODE STND Sets the ATM test mode to standard XVER Sets the ATM test mode to cell transfer delay INTER Sets the test mode to cell inter arrival time CELL SCRAM ON OFF Sets cell scrambinge on or off FGND BW STEP 10 Sets the f
185. mp Cannsott olacdo bot t vfi bmalo oonneobre Cunnsoth PC Standard Cable DB 25p to 8 T Cannsott any ect at dh male Cunnsnth Stevadeid Serial Cable 2 lt Null mudein Um DEBp b DE26 Adapter Pinunt 00 25 m DP 3 adapierifnesded Vyerider c Serial Cable Piiput DB 255 DB 258 DB 25 DB Ba RS 232 cable and interface infomation 2 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Configuring the Port Settings Configuring the Port Settings After you connectthe test set to the controller you must configure the test set for the port you are using To enter port settings on the test set follow these steps 1 Make sure your test instrument is powered on and the Main Menu is shown on the display To return to the Main Menu press the MENU up key several times MODEL 156 MAIM 2 UseFIELD to selectthe Setup System Parameters item and press MENU down The Setup System Parameters menu is displayed 2 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Configuring the Port Settings 3 UseFIELD to select Administrative Setups and press MENU down Administrative Setups 4 f you are using an GPIB connection enter information in the following fields on the Administrative Setup screen
186. mples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued Drop the first receive STS 1 to the VT1 5 demux status GPIBSendCommand instid ROUT MATR VT15DROP STS 1 if status 0 ProcessErrors status return Direct the DS1 dropped from the VT1 5 to DS1 error measurement status 5 instld ROUT SEL DS1 RX VT15 if status 0 ProcessErrors status return Start the tests status GPIBSendCommand instld INIT if status 0 ProcessErrors status return Request a SONET signal status status GPIBSendCommand instid FETC DM OD STS1 SIGNAL if status 0 ProcessErrors status return Read STS1 Signal status status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request STS1 Loss of Pointer alarm indication status GPIBSendCommand instid ETC DM OD STS1 LOPNTR if status 0 ProcessErrors status return 16 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued Read STS1 Loss of Pointer alarm status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return
187. n 11 9 12 26 pulse mask 11 17 11 18 rx signal level 8 4 selectors 10 11 tx signal level 9 4 txtiming 12 20 user pattern 12 61 12 62 DS3 error injection 12 35 DS3 results alarms 6 20 biterrors 6 21 BPVs 6 21 C P bit errors 6 22 frame errors 6 23 jitter 6 24 signal 6 20 status 6 20 alarms 12 7 blocksize 11 14 frame format 12 52 mode 12 54 rx signal level 8 6 selectors 10 11 termination 8 6 Elerrorinjection 12 36 E1 results alarms 6 27 bit errors 6 28 block errors 6 30 BPVs 6 28 frame CRC errors 6 29 jitter 6 30 signal 6 27 slips 6 30 status 6 27 error codes 15 3 error injection ATM 12 17 DSO 12 32 DS1 12 33 DS2 12 34 DS3 12 35 1 12 36 STS 1 12 38 STS 12c 12 41 STS 3c 12 41 1 5 12 37 ESF FDL message 12 29 F FDL message 12 29 1 channels 12 51 FETCh commands 6 1 6 48 FFCVs DS3 6 23 format of responses 1 8 front panel query commands 1 7 front panel operation 2 11 channels 12 51 G GPIB HP IB Interface 2 2 GPIB address 2 7 H HEC error results 6 6 HP IB interface connection procedure 2 3 running atest 3 4 3 6 HP IB mode accessing 2 9 exiting 2 10 3 6 HP IB standard 17 2 HP IB Tools 2 8 IEEE 488 2 standard 17 2 inhibit errors 11 10 INITiate command 7 3 INPut commands 8 1 interface connection testing 2 8 J JOtrace 6 36 Index 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www a
188. n register see Using Status Registers page 3 10 Use the following command to return and clear the value in the Operation Event register STATus OPERation EVENt STATus OPERation CONDition Usethe following command to retrieve the value of the Operation Condition register STATus OPERation CONDition STATus OPE Ration E NABle value Use the following command to set the Operation Event Enable register STATus OPERation ENABle value Where value is a decimal integer representing the desired 16 bit mask STATus OPE Ration E NABle Use the following command to return the decimal value of the 16 bit mask STATus OPERation ENABle Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus Command Reference STATus QUEStionable EVENt SSTATus QUEStionable E VE Nt The SCPI standard requires the following two commands for reading the Questionable Event register and its corresponding Questionable Condition register In addition a Questionable Event Enable register can be set and cleared see Using Status Registers page 3 10 Use the following command to return and clear the value in the Questionable E vent register STATus QUEStionable EVENt SSTATus QUEStionable CONDition Usethe following command to retrieve the value of the Questionable Condition register STATus QUEStionable
189. n which the unit found an Improvements STS1 OC1 with an STS 1 ATM payload but reported This mapping is supported for OC3C amp DS3 transport only 1 An inability of the Auto Setup function to detect E1 mapping on a single STS in OC3 OC3 DS3 E 1 mode has been fixed 2 A key was added to the Auto Setup MENU on the DS1 map screen to allow an escape from Auto Setup 3 Additional code was added to set STS drop amp insert fields for the 0C12 0C12 053 amp OC3 0C3 053 modes The Auto Setup function has been enhanced for modes OC12 amp 5751 and a VT1 5A B payload The new software adds a new menu layer After VT structured 5751 is chosen the test set scans and displays 28 051 channels In terminal mode the unit operator can then pick a DS1 channel to betested The insert fields for the STS1 VT group amp VT position have been modified to match the drops and now supports VT group and 1 to 28 counting modes An enhanced Auto Setup capability was added for modes that support DS3 DS1 amp E1 payloads The new software adds a new menu layer Now after choosing 053 structured 5 51 the test set displays 28 051 21 E1 channels respectively In terminal mode the operator can pick a DSI E 1 channel to test The insert fields were also modified to match the drops A tributary frame scan function was added This function allows the test set to scan each DS1 channel to identify the framing of each 051 or E1 channe
190. nd instid FETC DM OD DS1 5 if status 0 t ProcessErrors status return Read DS1 severely error seconds status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return 16 20 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued End Test status GPIBSendCommand instid AB ORT if status 0 ProcessErrors status return Take test set out of HP IB mode status GPIBSendCommand instld SYST PRES if status 0 ProcessErrors status return Function GPIBSendCommand Purpose This function writes SCP commands to the system and verifies the command is acceptable by the system Return 0 if Success or error code Static int GPIBSendCommand int instld char command char system result 5 SYST ERROR query buffer int status GPIB 1 0 and system status send msg string to instrument and verify GPIB status send command to instrument status iwrite instld command strlen command if status 0 return GPIB WRITE ERROR send SYSTEM ERROR QUERY command in order to verify valid commands status iwrite instld SYSTEM QUERY CMD strlen SYSTEM QUERY if status 0
191. nd see SENSeDM ATMDMUX mappi ng page 11 3 Selected VP VC The following table lists the selected cell stream measurements Results available for this command FETCh DM OD ATM selected VP VC result Parameter Retrieved result SEL BW HZ AVG Selected VP VC received bandwidth frequency Hz average SEL BW PCT Selected VP VC received bandwidth percentage average SEL BW HZ CUR Selected VP VC received bandwidth frequency Hz current SEL BW PCT CUR Selected VP VC received bandwidth percentage current SEL CELL CNT Selected VP VC cell count SEL CELL SEC AVG Selected VP VC cells per second average SEL CELL SEC CUR Selected VP VC cells per second current SCNR Selected cell not received alarm SCNR SEC Selected cell not received alarm seconds 6 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD ATM result Total Cell Stream following table lists the total cell stream measurements available Results for this command FETCh DM OD ATM total cell stream result Parameter Retrieved result TOT BW HZ AVG Total active bandwidth frequency Hz average TOT BW PCT AVG Total active bandwidth percentage average TOT BW HZ CUR Total active bandwidth frequency Hz current TOT BW PCT CUR Totalactive bandwidth percentage current HCS ERR
192. nstld SYSTEM QUERY strlen SYSTEM QUERY if status 0 return _ WRITE ERROR Read system error result from instrument status iread instld system result 5 if status 0 return GPIB READ ERROR convert system result into integer for error code use as return value status atoi system result return status Function GPIBReadResult Purpose This function reads results from the system via GPIB interface Return 0 if Success or error code static int GPIBReadResult int instld char result unsigned int cnt int status GPIB 1 0 and system status Read system error result from instrument status iread instld result cnt if status 0 return GPIB_READ ERROR return status 16 30 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued Function ProcessErrors Purpose This is a generic function that process GPIB command or 1 0 errors Return void static void ProcessErrors int error code Generic routines to process GPIB Command 1 errors 16 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmi
193. nt error_code 16 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Test VT1 5 Signals C Program Listing for Testing VT1 5 Signals Using SCPI Commands continued Main Program Note This example will exit the program when error occurs void main int instid session identifier int status GPIB 1 0 and system status char result 50 result from instrument establish session between GPIB interface and instrument Status HPIB 29 amp instld if status 0 ProcessErrors status return Initialize the instrument status GPIBSendCommand 5 if status 0 ProcessErrors status return Set the first transmit STS 1 to VT1 5 mapping status GPIBSendCommand instld ROUT M ATR STS 1 VT15 if status 0 ProcessErrors status return Set the second transmit STS 1 to VT1 5 mapping status GPIBSendCommand instld ROUT M ATR STS 2 VT15 if status 0 ProcessErrors status return Set the third transmit STS 1 to VT1 5 mapping status GPIBSendCommand instid ROUT M ATR STS 3 VT15 if status 0 ProcessErrors status return 16 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Exa
194. nter 15 and 05 for the pattern bits Note This command overrides the SOUR DM DATA command 12 61 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference 500 PROG32 PATTERN pattern SOURce DM PROG32 PATTERN pattern This SOURce command configures the STS 12c user programmable pattern Each digit of the eight digit hexadecimal value can be set from 0 through F The binary equivalent of the hex value forms the 32 bit pattern when the SOURce DM DATA5 PROG32 command is used RST default 12345678 Example SOUR DM PROG3 PATTERN 1234CDEF Transmits the repeating user defined pattern 00010010001101001100110111101111 12 62 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM VTI15 sync mode 50 15 sync mode This SOURce command selects the VT mode either asynchronous or byte synchronous RST default ASYNC Example SOURce DM VT15 bsync Setsthe VT1 5 mode to byte synchronous The sync mode can be set to either of the following ASYNC Asynchronous VT1 5 mode BSYNC Byte synchronous VT1 5 mode Also executing the query command SOURce DM VT15 returns VT1 5 mode setting in either asynchronous or byte synchronous 12 63 Artisan Technology Group Quality Instrumentation
195. nter errors CONTINUOUS OFF FEBE SINGLE 1E 2 through 1E 8 OFF VT1 5 Far end block errors 12 37 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark and omit the parameters to query the unit for the current values For example SOUR DM EINJ 5 51 2 SOURce Command Reference SOUR DM STS1 lt n gt err type rate SOUR DM EINJ STS1 lt n gt err type rate This command injects STS 1 errors The error type and rate are selectable For STS 3 signals the individual STS 1 can be identified for path BER and pointer error injection SONET errors and alarms listed below are injected on the outgoing STS 1 electrical signal and at the same time when appropriate on the active optical transmit signal whether it be OC 1 OC 3 or OC 12 RST default Rate OFF SOUR DM EINJ STS1 1 BPV SINGLE njects a single BPV error in the first STS 1 of an STS 3 signal The STS 1 parameter can be entered as follows 5 51 Errors are injected on all STS 1transmit paths STS1 n Where n be 1 2 or 3 Errors are injected on the specified STS 1 of an STS 3 signal This applies for path BER and pointer errors only The following table lists the error type and rate parameters SOURce DM EINJ ect STS1 lt n gt error type gt lt rate gt ErrorType Applicable Rates Description BPV
196. ntg com FETCh Command Reference FETCh DM OD VT15 result FETCh DM OD VT15 lt VT15 result continued Parameter Retrieved result Remote Event REI V VT remote event indication REI count Indication formerly FETC DM OD VT15 FEBE formerly FEBE REI V ARATIO VT REI average error ratio formerly FETC DM OD VT15 FEBE ARATIO REI V CRATIO VT REI current error ratio formerly FETC DM OD VT15 FEBE CRATIO REI V ES VT REI errored seconds formerly FETC DM OD VT15 ES REI V SES VT REI severely err sec formerly FETC DM OD VT15 FEBE SES REI V UAS VT REI unavailable seconds formerly FETC DM OD VT15 FEBE UAS REI V EFS VT REI error free seconds formerly FETC DM OD VT15 EFS REI V PC EFS VT REI percentage of error free seconds formerly FETC DM OD VT15 PC EFS 6 34 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STS 1 Electrical Measurements FETCh Command Reference FETCh DM OD STST result FETCh DMOD STS1 result These commands retrieve STS 1 electrical measurement results from the STS1 Rx selector The following table lists the applicable parameters and the retrieved results FETCh DM 00 5751 STS 1electrical result Parameter Retrieved result PEAKV STS 1 peak voltage BPV STS 1 bipolar violation count BPV ARATIO STS 1 BP
197. o make measurements retrieve data and query the status of an instrument SCPI commands are hierarchical in that a command root nodeoften has several additional node levels that complete the command There are ten groups or root nodes of SCPI commands for controlling CERJAC test sets FETCh Retrieve test results values from the output queue INITiate Clear the status registers start a test and begin accumulating results in the status registers ABORt Stop a test and freeze the final results 1NPut Control the characteristics of the input ports on the test set OUTPut Control the characteristics of the output ports on the test set ROUTe Set up signal paths in the test instrument SENSe Configure the receive functions of the test set SOURce Configure the transmitter functions of the instrument STATus Retrieve values from the various SCPI registers SYSTem Retrieve error codes software version and exit SCPI mode STORE configurations Common Commands A subset of the SCPI commands are the common commands Common commands begin with an asterisk and are used to manage macros status registers synchronization and data storage The common command you will use most often is the RST reset command RST activates SCPI mode and automatically sets all parameters to their default settings See Chapter 5 Common SCPI Commands Reference for a list of supported 5 common commands 1 3 Artisan
198. ol to the Test Set 3 6 Timed Test Duration in SCPI Mode 3 7 Path and Section Trace Strings 3 8 Programming A Test Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Planning the Test Planning the Test Before you begin carefully consider your application What rates will you be testing What subrates will you be testing Which channels will mapped to and from the multiplexers and demultiplexers It may help to make notes about your desired configuration before programming the test set Command The sequence in which you program the test set can affect the outcome Sequence of the test Follow this general sequence for best results 1 Program the highest signal rates first and then work your way down As you set up your program remember that the minimum command execution time is 250 milliseconds one quarter second through the lower rates For example if you are testing 051 signals carried on an 575 1 first configure the STS 1 signal do the DS3 signal next and finally configure the DS1 signal Configure the matrix switch first using the ROUTe MATRix commands Configure the signal path higher rates first using ROUTe SELect commands Select the channels to demultiplex using the ROUTe DMUX commands Select the channels to be inserted using the ROUTe MUX commands For DS1 or E1 signals set the test mode using the SOURce DM M OD
199. olations errored seconds count Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Response Fields Field 1 Field 2 Field 3 Field 4 Field 5 Field 6 Field 7 Field 8 Example Summary 1 Response FETCh Command Reference Summary 1Field Descriptions Block Errors Summary_1 Field Descriptions Block Errors The FETCH DMOD DS1 SUMMARY 1 1 SUMMARY 1 commands return a data record that consists of eight fields The fields are as follows Running bit error count The number of bit errors Running block error count The number of block errors counted Current loss of pattern alarm status Loss of pattern LOP alarm status Boolean Recent change of LOP alarm status Indicates whether the LOP alarm condition changed in the most recent 250 ms period Boolean Current DS1 loss of frame alarm status Loss of frame LOF alarm status Boolean Recent change of LOF alarm status Indicates whether the LOF alarm condition changed in the most recent 250 ms period Boolean Recent COFA occurrence Indicates whether a change of frame alignment COFA occurred in the most recent 250 ms period Boolean Cycle 250 ms counter Displays a count from 0 through 15 that is incremented every 250 ms When the value reaches 15 it wraps back to 0 A value of 1 indicates that the counter is not valid 33 42 0 0 0 0 0 12 Where e 33 33 bit errors we
200. ology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Timed Test Duration in SCPI M ode Timed Test Duration in SCPI Mode Release 7 0 Software and higher supports time limited test duration setting under SCPI mode Use of this feature is accomplished usingthe commands listed in the following table Timed Test Duration Command Table SCPI Command Command Description RST Access SCPI mode and set parameters to default settings SE NS AU ITESTDURMODE TIMER Put the test set in Timed Test duration mode SENS AU TIMERDURHOURS 1 Set test duration for 1 hour SE NS AU TTIMERDURMINS 22 22 minutes and SENS AU TTIMERDURSECS 15 15 seconds INIT Start running the test Turn on run indicators on test set Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Path and Section Trace Strings Path and Section Trace Strings Host version 6 60 lets you display and edit the 1 and J 2 path trace strings and the J 0 section trace string New fields have been added to the J 1 amp J2 Path Trace Control and 0 Section Trace Control screens The Fill on ACTION or Fill on INJ ECT and Format fields define the transmit trace string to transmit when you press the ACTION INJECT button see the table below Results Display in sets the display mode for the path trace byte and
201. on mark and omit the second parameter to query the unit for the current value For example SOUR DM OH C2 SOURce Command Reference SOURce DM 0H overhead byte gt lt value gt SOURce DM OH overhead byte value This SOURce command lets you control the SONET overhead RST default 0 zero or ASCII Null SOUR DM OH C2 1 Sets the C2 byte to the binary equivalent of 1 00000001 The following table lists the parameters to use with this command For each byte except 1 0 see table enter the decimal equivalent for the desired 8 bit value 0 255 Some bytes in the table are listed in groups by function However you can only set one byte at a time SOURce DM 0H SONET overhead byte gt lt value gt OH Byte Description C2 Path signal label 01 02 03 Section DCC D4 D5 D12 Line DCC E1 E2 Local E1 or express E2 orderwire F1 F2 Section user channel F1 and path user channel F2 61 Path status byte Hl 155 Field set bit 5 of the H1 byte Set bit 5 to 1 to indicate SDH signal H4 VT multiframe phase indicator JOorj1 Enter an ASCII string as many as 64 characters long for the Path J 1 or Section J 0 OC 12 only trace Each character is one byte K1 K2 APS channel Note 21 22 Synchronization status STS 1 1 and growth bytes Also see fill selections on format table on pagel2 59 23 24 25 Growth bytes 12 57 Artis
202. oreground channel bandwidth step size to 1096 with background AALs Note You must use this command along with the SOUR DM ATM gen FGND BW xxx see the next parameter description in this table 2 Sets the foreground channel bandwidth step size to 2 with no background AALs Note You must use this command along with the SOUR DM ATM gen FGND BW xxx see the next parameter description in this table TRAFFIC SHAPING OFF BASIC Enables or disables ATM traffic shaping Indicates the RST default for each source Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt ATM Foreground Channel Setup SOURce DM ATM gen foreground parameter gt lt setting gt Foreground Parameter Setting Description FGND BW XXX Sets the foreground channel percent bandwidth control If you entered the SOUR DM ATM gen fgnd bw step 10 command xxx can be 0 10 20 30 80 90 100 If you entered the SOUR DM ATM gen fgnd bw step 2 command xxx can be 0 2 4 6 8 10 94 98 100 For STS 12c ATM the xxx can be 0 10 15 90 95 100 LINE RATE STS1 DS3HEC Sets the foreground bandwidth to a nominal line rate E1TS0 Note that error code 221is returned if your selected line 1 507516 051 rate cannot be supported by the physical setup 64K
203. put Source Internal Ext 050 DST EVETI Ext 95232 Source 050 FI El E2 DS1 Thru Data from receive diagram DS3 DS3 BPV Err Bipolar Insert Transmit DS1 E1 BPV Error Insert DS1 E1 Bipolar Transmit 18 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming Diagrams 18 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix A softwareRelease Notes 156MTS HOST CODE V7 00 Release Notes 2 156MTS Host Software Version 6 8 Release Notes 1 156MTS Host Software Version 6 7 Release Notes 10 156 MTS Host Software Version 6 60 Release Notes A 13 156 MTS Host Software Version 6 50 Release Notes 16 Host Software Version 6 41 and Software Version 3 40 Release Notes 21 Software Release Notes A 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS HOST CODE V7 00 Release Notes To GEERF Xen i Fixes 1 10 11 mn 1 N 1 14 w Added Terminal mode OC12 OC12 STS1 ATM Expanded Auto Setup to include SDH OC3 OC3 STS1 ATM and 0C12 0C12 5 51 detection Store Recall Feature added to 5 Mode ATM VPI VCI Scan Capability added to SCPI Mode
204. quence number CRC parity error Note You must set the ATM gen foreground channel type to 11 using SOUR DM ATM gen fgnd type AALI PYLD SINGLE none Injects a single payload bit error PYLD 10E 3 OFF ON Sets payload bit error injection at the rate of 10E 3 off or on PYLD 10E 6 OFF ON Sets payload bit error injection at the rate of 10E 6 off or on PYLD 10 OFF ON STS 12c ATM only Injects a payload bit error ata rate of 10E n where n is 2 through 9 MISINSERT PERIOD X X Defines the cell misinsert period Each x can be set from 0 through 9 Default is 0 1 MISINSERT_DATA 15 05 Sets the misinsert cell payload to all ones all zeros the 32BIT user programmed 32 bit misinsert pattern MISINSERT PATT32 XXXXXXXX The 32 bit user programmed misinsert pattern Each x can be set from 0 through hex Default is ABCDEFOL MISINSERT CELL SINGLE none Inserts a single misinserted cell as defined by the MISINSERT commands above MISINSERT CELL PERIODIC OFF Injects misinserted cells periodically Indicates the RST default for each source 12 18 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM CLOCK n timing source SOURce DM CLOCK n ti mi ng source SOURCE lt 1 2 3 This SOURce command sets the source for the transmit timing STS N DS3 or DS1
205. r SOUR DM ATM M UX 053 command 12 26 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DATA4 pattern SOURce DM DATAA pattern This SOURce command sets the STS 3c data pattern RST default 2 15 1 Example SOUR DM DATA4 2 20 11NV Add a question mark to Sets the STS 3c data pattern for an inverted 220 1 PRBS query the unit for the current value For example SOUR Paes The following table lists the patterns to use with this command SOURce DM DATA4 pattern Parameters Pattern Description 2 15 215 1 PRBS pseudo random bit sequence 2 20 1 220 1 PRBS 2723 1 23 1 PRBS 2 15 1INV Inverted 215 1 PRBS 2 20 1INV Inverted 2 1 PRBS 2 23 1INV Inverted 2 3 1 PRBS ONES All ones pattern ZEROS All zeros pattern LIVE Live traffic no pattern ATM ATM traffic Do not use this command if you are using the ROUT MATRIX STS3C ATM or SOUR DM ATM M UX STS3C command 12 27 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Add a question mark to query the unit for the current value For example SOUR DM DATA52 SOURce Command Reference SOURce DM DATAS pattern SOURce DM DATA5 pattern This SOURce command sets the STS 12c payload pattern RST default 2 15
206. r case For example FETCh where FETC is the abbreviated version and FETCH is the long version The SCPI command interpreter in the test set is not case sensitive but you must enter either the long or the abbreviated version of a command not a combination You can enter the SYSTem ERRor command only as SYST ERR or SYSTEM ERROR Parameters Parameters that apply to a command are shown in angle brackets lt gt For example FETC DMOD ATM results where results represents the parameter associated with the command Multiple parameters are separated by a comma If multiple parameter choices are listed in the brackets they are separated by a vertical bar For example SOUR DM ALARM alarm type ON OF F gt When you enter a SCPI command do not type the angle brackets or the vertical bar Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Introduction Introduction This Agilent CERJ AC SCPI HP IB Programmer s Manual Part Number 09 0600 0005 consists of 18 Chapters organized to best present programming information to you in the SCPI Standard Command for Programmable Instruments command language to control the CERJ AC 156 5 test set The SCPI commands allow you to program and monitor the test set through an RS 232 or HP IB interface remote connection Besides acting as a SCPI interface the RS 232 interface provides an alternate remote control
207. r of decimal digits A decimal point is sent as part of the string Quantities using this format include calculated percentages such as Error Free Seconds Exponential quantities are returned in NR3 format which consists of apositive or negative sign followed by a variable number of decimal digits followed by the letter E to indicate Exponent power of 10 followed by a positive or negative sign for the exponent e and finally a variable number of decimal digits for the exponent Quantities returned in this format include calculated bit error ratios A test set can also return ASCII string messages These include for example APS state messages derived from the K1 K2 overhead bytes 1 8 Connection Requirements 2 2 Connection Requirements 2 2 Connection Requirements 2 2 Connection Requirements 2 2 Testing the Connection 2 8 Local Test Set Control in SCPI Mode 2 11 Local Mode Store Recall Command Feature 2 12 Getting Started 2 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Connection Requirements Connection Requirements You can connect a test set to a controller using either an GPIB HP IB interface or an RS 232 interface Requirements for AnGPIB interface card installed in your PC There are several GPIB GPIB HP IB IEEE 488 1 interface cards available from Hewlett Packard including the HP 82340A 82341B and 82335B
208. rameters 1 4 U UHR option supported test sets iv user pattern DS1 12 61 DS3 12 61 12 62 V VT alarms 12 6 selectors 10 13 VT1 5 demux 10 3 error injection 12 37 measurements 6 32 10 7 X bit state 12 56 Index 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com rtisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Manual Part Number E4480 9001 Version 4 2 Printed in USA May 2000 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 4 rtisan tisan Technology Group is your source for quality Femoog Ge new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment EQUIPMENT DEMOS HUNDREDS OF InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com 7 information on price quotations drivers technical LEASING MONTHLY specifications manuals and
209. re detected e 2 Two 051 block errors were detected 0 TheLOP alarm is off e 0 TheLOP alarm did not change status in the 250 ms 0 TheLOF alarm is off e 0 TheLOF alarm did not change status in the 250 ms e 0 TheCOFA did not occur in the last 250 ms 12 Thecurrent value of the cyclic 250 ms counter Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh TRBLSCAN FETCh TRBLSCAN This command retrieves Trouble Scan results from the test set Note that Trouble Scan must first be activated using the SENS DM DATA TRBL On command see SENSeDM DATA TRBLscan lt ON OFF gt page 11 8 Example FETCh TRBLSCAN Retrieves whatever results would have been shown on the test set Trouble Scan display A typical example might look similar to the following 053 LOS HIS DS3 OOF HIS DS3 BIT 12 Refer to your test set s manual indicating that the DS3 LOS and OOF alarms are in their history for more information on how state and that 12 DS3 bit errors were detected Trouble Scan works Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DMOD ATM result FETCh DMOD ATM result This command retrieves ATM measurement results Make sure you have set the ATM DMUX to the appropriate mapping before using this comma
210. res Performance improvements SCPI Commands Host version 6 60 introduces several new SCPI commands also look up command descriptions in this manual SYSTem OPTionS FETCh DMON OPTionS FETCh DMOD DS3 CBIT row cbit FETCh DMOD STS3C RXFREQ FETCh DMOD STS12C RXFREQ Use the following new SCPI command to retrieve DS1 ones density alarm violations FETCh DMOD DS1 ONESDEN Installation You can install the new host software see 10 after you install the boot code software version 6 2 on your test set Install only software with a higher version number than the software already in your test set The distribution diskette includes the appropriate software for your test set 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes Host Softw are Version 6 60 Release Notes For more information call Telecomms Networks Test Division TNTD at 800 923 7522 Path and Host version 6 60 lets you display and edit the J 1 and J 2 Section Trace path trace strings and the J 0 section trace string See Chapters Strings 4 of this manual for information about the screens New fields have been added to the J1 amp J 2 Path Trace Control and J 0 Section Trace Control screens The Fill on ACTION or Fill on INJ ECT and Format fields define the transmit trace string to transmit when you press the ACTION INJECT button
211. ress int ld Function iwrite Purpose This is a vendor specific function that writes SCPI commands to the system via GPIB interface Return 0 if Success or error code i extern int iwrite int id char data unsigned int datalen Function iread Purpose This is a vendor specific function that reads results from the system via GPIB interface Return 0 if Success or error code extern int iread int id char buffer unsigned int bufsize Local Functions static int GPIBSendCommand int instld char command static int GPIBReadResult int instld char result unsigned int cnt static void ProcessErrors int error code 16 34 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Main Program Note This example will exit the program when error occurs void main int instld session identifier int status GPIB 1 0 and system status char result 50 result from instrument establish session between GPIB interface and instrument status iopen HPIB 29 amp instld if status 0 ProcessErrors status return Initialize the instrument status GPIBSendCommand instid RST if status 0 ProcessErrors status return
212. returns the input filter settings for STS1 basic synchronous transport signal level1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Example INPut Command Reference INPut FILTer E1 signal level 1 signal leva gt This command sets the receive level filter for the E1 input RST default DSX INPut FILTer E1 DSX Sets the E1 receive port to the cross connect level This parameter can be set to either DSX cross connect level or MONITOR monitor level Also executing the SCPI query command INPut FILTer E1 returns the input filter settings for E1 CCITT digital signal INPut IMPedance Query Command This SCPI query command returns the settings of DS1 input impedance termi nati on mode This command sets the termination mode for the DS1 E1 input port RST default TERM INPut TYPE BRIDGE e Sets the termination mode for the front panel DS1 receive port to bridge This parameter can be set to either TERM terminate or BRIDGE bridged Also executing the SCPI query command INPut TYPE returns the input settings of the DS1 E1 port imput termination Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut FILTer DS1 signal level 9 3 OUTPut FILTer DS3 signal level 9 4 O
213. round channel header GFC to 0 through F ex RST default is 0 FGND HDR VPI XX Sets the foreground channel header VPI to 00 FF hex RST default is 01 FGND HDR VCI XXXX Sets the foreground channel header VCI to 0000 FFFF hex RST default is 0001 FGND HDR PT X Sets the foreground channel header PT to 0 through 7 RST default is 0 FGND HDR CLP 0 Sets the foreground channel header CLP to 0 1 Sets the foreground channel header CLP to 1 Indicates the RST default for each source 12 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM ATM GEN ATM param gt lt setting gt SOURce DM ATM gen foreground parameter gt lt setting gt continued Foreground Parameter Setting Description BIT_PATT32 XXXXXXXX Sets the 32 bit pattern foreground cell payload pattern to 00000000 through FFFFFFFF hex RST default is 12345678 FGND_OAM_FLOW F4 Sets the foreground OAM flow to F4 VPs for Sets the foreground OAM flow to F5 VCs FA amp F5 Sets the foreground OAM flow to both F4 and F5 FGND OAM ALARM AIS Sets the generated OAM alarm function to AIS RDI Sets the generated OAM alarm function to RDI AIS amp RDI Sets the generated OAM alarm function to both AIS amp RDI FGND OAM TYPE SEG Sets the foreground OAM payload type to segment END Sets the foreground OAM payload type to end to
214. rtisantg com Index jitter DS1 6 18 DS3 6 24 El 6 30 measurement select 11 15 thresholds 11 15 11 16 L LBO DS1 9 3 linecode 12 23 LOCAL key 12 4 local operation 2 11 loop codes DS1 12 30 12 33 M manual conventions v matrix switch control 10 4 mode 12 54 monitor test modes 4 14 multiple commands sending 1 6 mux control 10 7 10 8 numeric parameters 1 4 numeric response types 1 8 0 OAM results 6 9 OC 12 JOtrace 6 36 other channels 10 8 OUTPut commands 9 1 9 6 9 6 9 6 9 6 P Path measurements 6 37 6 39 port configuration 2 6 programming diagrams 18 1 18 5 protocollayers 17 3 HP B 17 4 488 1 17 4 488 2 17 4 SCPI 17 4 pulse mask 11 17 11 18 Q Query Commands 1 7 query commands 1 7 10 2 11 3 12 2 12 3 Note when using front panel 1 7 R receive programming diagram 18 4 responses ASCII string 1 8 description 1 8 numeric response types 1 8 retrieving results description 1 7 ROUTe commands 10 1 10 15 ROUTe MATRix commands 10 4 10 6 ROUTe SELect commands 10 10 10 15 RS 232 connection procedure 2 4 RS 232 Interface 2 2 RS 232 selector 10 15 RST command 3 3 5 2 see also SYST REM 5 SCPI command syntax 1 2 common commands 1 3 5 2 5 3 connection interface 17 5 creating programs 16 2 16 40 description 17 2 root nodes 1 3 sending message overview 17 6 sending multiple command 1 6 selectors DSO
215. s Artisan Technology Group SENSe Command Reference SENSe DM DATA3 lt B gt pattern SENSe DM DATA3 lt B gt pattern This command sets the data pattern for the DS3 error alarm overhead and frequency measure sensor The pattern selection is used to compare to the receive pattern for bit errors LOP and so forth For dual DS3 applications the level 2 node DATA3 sets the pattern for the DS3 A sensor DATA3B sets the pattern for the DS3 B sensor For both commands the pattern selections are the same RST default 2 15 1 SENS DM DATA3 IDLE Setsthe DS3transmit pattern to idle The following table lists the parameters to use with this command SENSe DM DATA3 pattern Parameters Parameter Description AIS Alarm Indication Signal BITERR ON Enable Display of DS3 bit errors BITERR OFF Disable Display of DS3 bit errors PROG User Programmable pattern Note If you select this pattern the user programmable pattern 1 as configured from the front panel is used QRSS Quasi random signal 2 23 203 1 PRBS pseudo random bit sequence 2 23 1INV IN V inverts the PRBS 2 20 1 220 1 PRBS 2 20 1INV 2 15 215 1 PRBS 2 15 1INV 11 9 Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM DATA IERRor lt ON OFF gt SENSe DM DATA IERRor lt ON OFF gt This SENSe command Inhibit Errors
216. santg com Software Release Notes Host Softw are Version 6 41 and ATM Software Version 3 40 Release Notes Other New Features Auto Setup Enhancements SCPI Commands Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Other features in the 6 41 3 40 release include Enhanced E1detection Improved demo when test set is looped back on itself Animated activity indicator during Auto Setup test The following SCPI commands have been added to support the Data selections SOUR DM DATA1 lt gt SOUR DM DATA3 ATM HEC gt SOUR DM DATA4 lt gt Symbols Index RST reset command 1 3 A ABORt command 7 alarm injection 12 5 alarms DS1 12 6 DS3 12 6 1 12 7 VT 12 6 alarms STS N 12 5 applicability ASCII string response ATM AAL 1 results 6 8 as payload 12 25 12 26 12 27 background setup bit errors 6 7 4 1 8 12 16 cell delay results 6 9 foreground setup 12 11 general setup 12 9 HEC error results idle setup 12 15 6 6 measurement sensor 11 5 OAM results 6 9 PLCP results 6 11 rx channel setup 12 15 selected VP VC results 6 5 STS 3c results 6 10 total cell stream results 6 6 tx mapping 12 8 ATM error injection 12 17 block errors summary fields 6 3 block parameters 1 5 block size 11 14 boolean parameters 1 5 bridge mode 8 6 C cel
217. se value you want to set to O or 1 Example SOURCe DM DS3 FEAC CBIT 1 3 0 Assigns the value 0 to the C3 bit in row 1 the FEAC bit SOURce DM DS3 FEAC CONT ALM STAT ON OFF This command controls whether the test set sends FEAC codes continuously ON or not off The SOURce DM DS3 FEAC ALM_STAT command specifies the FEAC code to send When off the FEAC bit is set by the DS3 C Bit Control screen Row 1 C3 program bit Example SOURCe DM DS3 FEAC CONT ALM STAT ON Configures the test set to continuously send the specified FEAC code 12 46 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM DS3 FEAC BURST SETTING setting SOURce DM DS3 FEAC BURST SETTING seti ng This command selects the type of FEAC codeto transmit when you press the test set s ACTION INJ ECT key or issue the command SOURce DM DS3 FEAC ACTION The SOURce DM DS3 FEAC BURST_SIZE command specifies how many times the FEAC code is sent The following table lists command parameters SOURce DM DS3 FEAC BURST SETTING setting Setting Code Transmitted NONE No codes transmitted ACTIVATE Loop up code for SOURce DM DS3 FEAC LOOPBACK LINE DEACTIVATE Loop down code for SOURce DM DS3 FEAC LOOPBACK LINE ALM STAT FEAC code specified by SOURce DM DS3 FEAC CONT_ALM_ STAT Exampl
218. section trace byte values below This field has two options ASCII the default displays values in ASCII Hex amp ASCII displays values in hex and ASCII Format for Fill on Action inject button Selections Fill on Action 2 Byte 16 Byte 64 Byte NULL 0x00 in all bytes 0x00 in all bytes 0x00 in all bytes HEX 0x01 in all bytes 0x41 Ox4F with CRC7 0x41 to Ox7F ASCII A to DEL followed by a copied 4 times carriage return 0 00 amp line feed 0x04 ASCII 0x41 in all bytes serial number Agilent Technologies 156M TS Test Set with CRC7 copied 4 Serial No nnnnnn followed by carriage times return 0x0D and line feed 0x04 USER First byte copied CalculateandinsertCRC7 No action to all 64 bytes of first 16 bytes copy first 16 bytes 4 times Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Recreating Front Panel Setups 4 2 Terminal Testing Modes 4 3 Monitor Testing Modes 4 14 Drop and Insert Testing Modes 4 16 Front PanelEmulation Using SCPI 4 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Recreating Front Panel Setups Recreating F ront Panel Setups Although the 5 command set provides more robust in depth control of the AC test set for the programmer you can
219. ssion Testing Simultaneous Independent DS1 and SONET Transmission Testing This example shows how to transmit a test signal at OC 3 or OC 12 depending on the reset default with all STS 1s containing DS3 patterns Receive the signal and drop and measure the DS3 in the first STS 1 Simultaneously run an independent 051 test using the bipolar DS1 transmit and receive ports U sing SCPI The following example shows how to complete this test using SCPI Commands commands issued in HP IB mode DS1and SONET Transmission Testing Using 5 Commands SCPI Command Description RST Accesses HP IB mode and sets the parameters to their defaults ROUT SEL DS3 TX SOURCE Selects the internal DS3 pattern generator for the DS3 transmit payload ROUT SEL DS1 RX BIPOLAR Directs the DS1 bipolar receive port to the 051 measurement circuits INIT Starts the test Notice the green RUN LED on the test set FETC DMOD STS1 SIGNAL Requests the SONET signal status NOTE A response of 1 for each ofthe status indicators tells you that the receive signal is present and the dropped DS3 and DS1 signals have the expected framing types A response of 0 for the STS 1 Loss Of Pointer alarm indicates that the STS 1 pointer is valid no alarm condition fread bus gt STS 1 signal status Sends the signal status to the output queue FETC DMOD STS1 LOPNTR Requests an STS 1 Loss of Pointer alarm indication
220. stld FETC DM OD DS3 M 13FRAM E if status 0 ProcessErrors status return Read DS3 M 13 frame detect status status GPIBReadResult instld result 50 if status 0 ProcessErrors status return 16 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Simultaneous Independent 051 and SONET Transmission Testing DS1and SONET Transmission Testing Using C continued Request a DS1 SF frame detect status status GPIBSendCommand instid ETC DM OD DS1 SFSYNC J if status 0 ProcessErrors status return Read a DS1SF frame detect status status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Inject DS3 errors status GPIBSendCommand instld S OUR DM EINJ DS3 data 1E 3 if status 0 ProcessErrors status return wait 1 second request DS3 bit error count status GPIBSendCommand instld FETC DM OD DS3 BIT if status 0 ProcessErrors status return Read DS3 bit error count status GPIBReadResult instld result 50 if status 0 ProcessErrors status return Request DS3 bit error average ratio status GPIBSendCommand instld FETC DM OD DS3 BIT_ARATIO if status 0 ProcessErrors status return 16 37 Art
221. string to transmit when you press the ACTION INJECT button see the table below Results Display in sets the display mode for the path trace byte and section trace byte values below This field has two options ASCII the default displays values in ASCII e Hex amp ASCII displays values in hex and ASCII Format for Fill on Action inject button Selections Fill on Action 1 Byte 16 B yte 64 B yte NULL 0x00 in all bytes 0x00 in all bytes 0x00 in all bytes HEX 0x01 in all bytes 0x41 Ox4F with CRC7 0x41 to Ox7F ASCII A to DEL followed by a copied 4 times carriage return 0 00 amp line feed 0x04 ASCII 0x41 in all bytes serial number Agilent Technologies 156M TS Test Set with CRC7 copied 4 Serial No nnnnnn followed by carriage times return 0x0D and line feed 0x04 USER First byte copied CalculateandinsertCRC7 No action to all 64 bytes of first 16 bytes copy first 16 bytes 4 times 12 59 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce DM 0H REGEN PASS REGEN SOURce DM OH REGEN PASSIREGEN This command affects the framing of the DS1 dropped from the VT1 5 available for byte synchronous VT modes only RST default pass Example SOUR DM OH FRM REGEN REGEN Add a question mark
222. t lt rate gt 57512 error type gt lt rate gt FEAC CBIT row cbit 0 1 CONT ALM STAT ON OFF BURST SETTING setting LOOPBACK LINE dine BURST SIZE size ALM STAT alarm ACTION These commands can also be used as query commands by adding a question mark after the level 2 node and omitting the second parameter The test set will return the currently programmed value for that parame ter For example the command SOUR DM OH DS2_XBIT would return the current state of the transmit 052 X bit either 1 or 0 12 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOURce Command Structure continued Rootnode Level 1node Level2node Level3 node Level 4node Parameters SOURce DM FRAM e TYPE signal frame format SCRAMBLE ON OFF M ODe mode NX 64K 56K bit byte value PROGn PATTERN user pattern bits f These commands can also be used as query commands by adding a question mark after the level 2 node and omitting the second parameter The test set will return the currently programmed value for that parame ter For example the command SOUR DM OH 52 xBIT Would return the current state of the transmit DS2 X bit either 1 or 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SO
223. t rate gt Parameters Error Type Applicable Rates Description C1 SINGLE The DS2 C1 bits are errored at the 1 2 through 1E 9 selected rate BURST OFF C2 SINGLE The DS2 C2 bits are errored atthe 1E 2 through 1E 9 selected rate BURST OFF C3 SINGLE The DS2 C3 bits are errored atthe 1E 2through 1E 9 selected rate BURST OFF C ALL SINGLE Errors at the selected rate are 1E 2 through 1E 9 injected into any or all of the DS2 BURST C bits OFF 12 34 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Command Reference SOUR DM EINJ DS3 B err type gt lt rate gt SOUR DM EINJ DS3 lt B gt err type rate This SOURce command inserts errors on the DS3 signal For dual 053 applications the level 3 node DS3 inserts errors on DS3 A DS3B inserts errors on DS3 B For both commands error types and rates are the same RST default Rate OFF Example SOUR DM EINJ DS3 DATA BURST Add a question mark and njects a data error into the DS3 signal when triggered by a high omit the parameters to query level at the rear panel BURST ERR IN jack the unit for the current value For example SOUR DM EINJ DS3B FRAME SINGLE Injects single frame error on DS3 B DS3 The following table lists the parameters to use with this command SOURce DM EINJ ect DS3 error type lt rate gt and SO
224. tation Guaranteed 888 88 SOURCE www artisantg com Contents xiv Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Commands at a Glance 1 2 RootNodes 1 3 Common Commands 1 3 Entering Commands 1 4 Using Query Commands to Retrieve Results 1 7 FormatofResponses 1 8 SCPI Basics 1 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Basics SCPI Commands ata Glance SCPI Commands at a Glance Each SCPI command consists of a root node one or more lower level nodes followed by applicable parameters see figure ROUTe MUX OTHer VT15 same Root node Level 1 node Level 2 node Single space between nodes and parameters Parameter Comma between multiple parameters Parameter The test set uses this structure to interpret the command Generally each root and lower level node is proceeded by a colon This helps the instrument correctly parse the command s component parts For example you can enter the following command INPUT FILTER DS3 DSX3 The root node is INPUT the level 1 node is FILTER the level 2 node is DS3 and the associated parameter is DSX3 1 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Basics Root Nodes Root Nodes SCPI commands are used t
225. te command to start running the test Starting a Test SCPI Command Description RST Access SCPI mode and set the parameters to their default settings ROUT SELDS3 TX SOURCE Selects the internal 053 pattern generator for the DS3 transmit payloads ROUT SELDS1 RX BIPOLAR Directs DS1 bipolar receive port to the DS1 measurement circuits INIT Starts running the test Turns on the green RUN LED on the test set Note Remember that the minimum execution time for each SCP command is 250 milliseconds one quarter second Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Programming A Test Running a Test Requesting Signal After you start a test you can request the accumulated signal status Status from the various SCPI status registers Requesting Signal Status SCPI Command Description FETC DM OD DS3 SIGNAL Request the DS3 signal status FETC DM OD DS3 M13FRAME Request DS3 13 frame detect status FETC DM OD DS3 PATTERN Request DS3 pattern sync status If you receive a response of 1 for each of the status indicators the receive signal is present and the dropped DS3 signal has the expected framing type A response of 0 for the STS 1 Loss Of Pointer alarm indicates that the STS 1 pointer is valid no alarm condition Injecting Errors Now you can inject some errors in the signal and request the error count from the status
226. tes the 5 interface See RST page 5 2 The SYST REM command puts test set in stop mode if necessary and activates the SCPI interface However the test set s configuration is not altered See SYSTem REMote page 14 3 To use the 5 the test set must be in a front panel operating mode 2 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Testing the Connection When the set is in SCPI mode the instrument s display shows the following Now you can begin entering SCPI commands from the controller See Chapter 3 for an introduction to entering SCPI commands or refer Chapters 5 through 14 if you are familiar with using SCPI commands For information controlling the test set s display see Local Test Set Control in SCPI Mode page 2 11 8 To exit from GPIB mode type SYST PRES in the Data field and click OK 2 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Getting Started Local Test Set Control in SCPI Mode Local Test Set Control in SCPI Mode While the test set is in SCPI mode only a few front panel controls are operational You can however view measurements and choose what information is shown on the display Note When the test set is in SCPI mode most front panel controls are inoperative Setup operations must be done using SCPI commands from the controller
227. th CV average BER CV ES 575 1 Path CV errored seconds CV SES STS 1Path CV severely errored seconds CV UAS STS 1Path CV unavailable seconds CV EFS STS 1 Path CV error free seconds CV PC EFS STS 1Path CV percentage error free seconds 6 43 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD STSTI LIN E result FETCh DMOD STS1 LINE result These commands retrieve STS N Line overhead measurements The signal from which the measurement is retrieved depends on the test set and ROUTe MATRix commands see STS N Measurement ve Signal Sdection page 6 46 Additional Line overhead results be retrieved using some STS1 commands see 575 1 Line Measurements page 6 39 The following table lists the parameters and the retrieved results FETCh DMOD STS1 LINE STS N line overhead result Parameter Retrieved result APS BDG CHAN APS bridge channel APS BYTE FAIL SEC APS Byte fail seconds APS MODE APS mode APS REQUEST CHAN APS request channel APS STATE APS state APS STATE CHNG SEC APS state change seconds APS TYPE APS type CV Line code violation CV count CV ARATIO Line CV average BER CV ES Line CV errored seconds CV SES Line CV severely errored seconds CV EFS Line CV error free seconds CV PC EFS Line CV percentage error free
228. that reads results from the system via GPIB interface Return 0 if Success or error code extern int iread int id char buffer unsigned int bufsize Local Functions Static int GPIBSendCommand int instld char command static int GPIBReadResult int instld char result unsigned int cnt static void ProcessErrors int error code 16 25 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testing a DS3 Dropped from a SONET Signal Testing a Dropped DS3 Signal Using C Commands continued Main Program Note This example will exit the program when error occurs f void main int instld session identifier int status GPIB 1 0 and system status char result 50 result from instrument establish session between GPIB interface and instrument Status 29 amp instld if status 0 ProcessErrors status return Initialize the instrument status GPIBSendCommand 5 if status 0 ProcessErrors status return selects the internal pattern generator for the DS3 payload status GPIBSendCommand instld ROUT SEL 053 TX SOURCE if status 0 ProcessErrors status return select the DS3 Rx selector to take its signal from the bipolar DS3 port status GPIBSendCommand instld ROUT
229. that these commands return B amp C 1 4882 syntax to use to send data between devices The way the devices format and interpret data The registers that should exist inside an instrumentfor the purpose of recording its internal state The commands to use to do common tasks D HP IB The physical connection between devices IEEE 488 1 electrical connection between devices IPIS How a byte of data is transmitted How devices are instructed to talk and listed 17 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com About SCPI Interface Connections Interface Connections The CERJAC test sets accept SCPI commands through the HP IB or RS 232 port When you connect an instrument to a controller you can use an HP IP interface card and an HP IB cable or an RS 232 serial cable and a terminal or terminal emulation package HP IB Interface CERJ AC Test Set HP IB Controller HP IB Interface HP IB a parallel interface can be used to connect or many SCPI instruments to a controller To use this interface your controller must also have an HP IB interface for example an HP IB interface card installed in a PC An HP IP interface cable is then used to connect the instrument to the controller If you want to connect multiple test sets to a controller connect one instrument to the controller and daisy chain th
230. the test you want to run DS1 or E1 You must set the DS1 E1 mode before you set any of the other DS1 or E1 parameters RST default DS1 SOUR DM MODE El Sets the DS1 E1 mode to E1 The following table lists the framing types to use with this command SOURce DM MODE lt DS1 E1 mode Source Description DS1 DS1 mode 0516050 DS1 with DSO subrate FT1 Fractional T1 mode El E1 2 048 M bs 1 amp 5 E1 with TS subrate FE1 Fractional E1 mode 12 54 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Example Example Add a question mark and omit the second parameter to query the unit for the current value For example SOUR DM OH FEBE SOURce Command Reference SOURce DM NX 64K 56K SOURce DM NX 64K 56K This SOURce command sets the DSO base rate to either 64 kHz or 56 kHz Use a question mark without the parameter to query the test set for the current setting RST default 64K SOUR DM NX 56K Sets the DSO base rate to 56 kilohertz SSOURCe DM OH DSO si gnali ng bi t value This SOURce command lets you control the signaling bits for a DSO signal RST default 0 SOUR DM OH SIGA 0 Sets signaling bit A bits to zero The following table lists the parameters to use with this command SOURce DM 0H lt 050 signaling bit gt lt value gt
231. tisan Technology Group Quality Instrumentation 6 29 Guaranteed 888 88 SOURCE www artisantg com FETCh Command Reference FETCh DM OD E1 result FETCh DM OD E1 E1 result continued Parameter Retrieved result Framing CRC CAS FRM ES CAS frame errored seconds Slips FRM SLIP Number of E1 frame Slips FRM SLIP SEC Number of E1 frame slip seconds BIT SLIP Number of E1 bit slips Block Errors BLOCK Number of block errors counted BIT BES Number of bursterror seconds UAS Number of Cable TV unavailable seconds SEE Number of Severe Error Events SUMMARY 1 An eight field data record see pg 6 30 J itter JITTER CUR PTOP H E1high band current p to p jitter JITTER MAX PTOP H E1 high band max p to p jitter JITTER POS PEAK H E1high band positive peak jitter JITTER NEG PEAK H E1high band negative peak jitter JITTER MASK PC H E1 high band max jitter mask JITTER HITS H E1 high band jitter hits count JITTER HITS SEC H E1 high band jitter hits time JITTER CUR PTOP W E1 wide band current p to p jitter JITTER MAX PTOP W E1 wide band max p to p jitter JITTER POS PEAK W E1 wide band positive peak jitter JITTER NEG PEAK W E1wide band negative peak jitter JITTER MASK PC W E1wide band max jitter mask JITTER HITS W E1 wide band jitter hits count JITTER HITS SEC W E1 wide band jitter hits time 6 30 Artisan Tec
232. ttern Description XXXXXX Xxxxxx is the user programmable bits sequence Each X can be either a binary 1 or 0 The code is transmitted in the format Oxxxxxx0 11111111 ONES Setthe FDL message to all ones IDLE Sets the FDL message to idle 12 29 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Add a question mark to query the unit for the current value For example SOUR DM LPUP_CODE Example Example SOURce Command Reference 500 lt 511 gt value SOURce DM lt DS1 loopback gt value These SOURce commands configure the DS1 loopback codes To transmit the loop codes after you have configured them use SOUR DM EINJ DS1 LOOPUP or LOOPDN see page 12 34 RST defaults See table SOUR DM LPUP CODE PROG Sets the loop up code type to user programmed in band codes SOUR DM LPUP PROG TX 111000 Setsthe user programmable in band loop up code to 111000 The following table lists the parameters to use for these commands SOURce DM lt DS1 loopback gt value Loopback Value Description LP FRM OVR ON OFF This command turns on off the framing overwrite Note for in band only Default is OFF LPUP CODE These commands selectthe loop code type Default is LINE An error code 221 will return if code is not set properly LPDN CODE Note LPUP zloop up LPDN zloop
233. turn GPIB READ ERROR return status Function Purpose This is a generic function that process GPIB command or 1 0 errors Return void static void ProcessErrors int error_code Generic routines to process GPIB Command or 1 0 errors 16 12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Using SCPI Commands SCPI Programming Examples Test VT1 5 Signals Test VT 1 5 Signals This example shows how to transmit atest signal containing VT1 5 mapped DS1 signals The transmit and receive signal rate is the RST default OC 12 OC 3 STS 1 depending on test set configuration Receive the signal drop out the first STS 1 from it drop the first VT1 5 with its DS1 payload Then request testing results using this configuration The following example shows how to complete this test using SCPI commands issued in HP IB mode Test VT1 5 Signals Using SCPI Commands SCPI Command Description RST Accesses HP IB mode and sets the parameters to their default settings ROUT MATR STS 1 VT15 Sets the firsttransmit STS 1to VT1 5 mapping ROUT MATR STS 2 VT15 Sets the second transmit STS 1to VT1 5 mapping ROUT MATR STS 3 VT15 Sets the third transmit STS 1to VT1 5 mapping ROUT MATR VT15DROP STS 1 Drops the first receive STS 1 to the VT1 5 demultiplexing circuitry ROUT SE
234. u control the VT15Drop VT15 053 Ext output of the matrix switch STSIDROP STS 1 STS 2 STS Lets you control the STS1Drop VT15 053 Ext output of the matrix switch Note You can use these commands as query commands by adding a question mark and omitting the Input parameter The unit will return the current value For example ROUTe MATRix STS 1 would retrieve the current input assigned to the STS 1 1 output Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M ATRix output input Matrix Input The following table describes the input parameters to use with the Descriptions ROUT MATR command ROUTe M ATRix Input Parameters Input Description 575 Selects the 575 1 input 5 5 2 Selects the 575 2 input 5 3 Selects the 575 3 input VT15 Selects the internally generated VT1 5 payload mapped onto an STS 1 DS3 Selects the internally generated DS3 payload mapped onto an STS 1 EXT External Selects the output of the STS1 Rx selector ATM Selects the internally generated ATM payload CLRCH Clear channel Selects the internally generated non channelized STS 3c signal Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe M UX INS lt mux gt lt insert channel ROUTe MUX INS lt mux
235. uests a DS1 SF frame detect status fread bus gt DS1 SF frame detect status Sends the detect status to the output queue SOUR DM EINJ DS1 DATA 1E 3 Injects DS1 errors wait 15 Waits 1 second to allow errors to accumulate 16 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload 13 Mapped DS3 DS1 Payload Using SCPI Commands continued SCPI Command Description FETC DMOD DS1 bit Requests the DS1 bit error count fread bus DS1 bit error count Sends the error bit count to the output queue FETC DMOD DS1 bit aratio Requests a DS1 bit error average ratio fead bus DS1 bit error average ratio Sends the ratio to the output queue FETC DMOD DS1 bit cratio Requests DS1 bit error current ratio fread bus DS1 bit error current ratio Sends the ratio to the output queue FETC DMOD DS1 bit es Requests the number of DS1 bit errored seconds fread bus DS1 bit errored seconds Sends the number of bit errored seconds to the output queue FETC DMOD DS1 bit ses Requests the number of DS1 severely errored seconds fread bus DS1 severely errored seconds Sends the number of DS1 severely errored seconds to the output queue ABOR Ends the test Notice the green RUN LED turn off on the test set SYST PRES Takes the test set out of HP IB mode and returns control to
236. unctions SENSe Command Structure Root node Level 1node Level 2 node Level 3 node Parameter SENSe STORE query TESTDURM ODE TIM ER TESTDURHOURS TESTDURM INUTES TESTDURSECONDS 11 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe Command Structure Root node Level 1node Level 2 node Level 3 node Parameter SENSe DM ATM DM UXt mapping CODET dine code DATA on off TRBLscant lt on off gt 1 gt DATA3 pattern DATA3B pattern DS3B LEDS share FRAMe TYPET format format TYPE3B format PROGI BLOCK SIZE lt size gt J ITTer RATE ate WB THRESH threshold HB THRESH threshold M SKSELT pulse mask M SKPOL pulse polarity MSKTOL mask tolerance MSKt start stop 1 commands can also be used as query commands by adding a question mark after the level 2 node and omitting the second parameter The test set will return the currently programmed value for that parameter 11 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe AU STORE SSENSe AU STORE Usethis SENSE AU STORE command in SCPI mode to quary the posi tion number t
237. us The command syntax is SOURCe DM VT15 Five new SCPI commands have been added to return the input filter settings as follows INput FILTer DS1 INput FILTer DS3 INput FILTer DS3B INput FILTer STS1 INput FILTer El1 A following SCPI command has been added to return the setting of the DS1 E 1 input port termination INput TYPE Three new SCPI commands have been added to return the setting of the transmit port output OUTPut FILTer DS1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Software Release Notes 156M TS Host Softw are Version 6 8 Release Notes 10 11 12 13 OUTPut FILTer DS3 OUTPut FILTer STS1 Four new SCPI commands have been added to return the ON or OFF setting of the transmit outputs OUTPut STATe1 Returns state of the DS1 output OUTPut STATe2 Returns state of the 5751 output OUTPut STATe3 Returns state of the 053 output OUTPut STATe4 Returns state of the optical output A new SCPI command returns the identity of the channel to be dropped from a demultiplexer ROUTe DMUX DSO DS31 VTGRP VT15 STS12 A SCPI command has been added to return the identity of the channel inserted in a multiplexer ROUTe MUX INS DSO M13 VT15 VTGRP STS12 A new SCPI command returns the setting of the remaining channels in the multiplexer ROUTe MUX OTH DSO M13 VT15 VTGRP STS12 A SCPI
238. use the SCPI command set to duplicate any setup configured using the instrument s front panel controls The following sections list some selected front panel test setups and the corresponding 5 commands you can use to emulate them Each example begins with the RST command to reset the test set to its factory defaults From this state the examples will configure the test set for the indicated setup You may need to do further programming to meet the specific needs of your application As you program be sure to follow the proper command sequence see Command Sequence page 3 2 4 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front PanelEmulation Using SCPI Terminal Testing Modes Terminal Testing Modes SCPI Commands to Emulate Terminal Testing Modes Transmit Rate Receive Rate Payload SCPI Command Sequence 0C 12 0 12 STS 12c RST ROUT SEL STS 12C CLRCH ROUT SEL STS12PYLD STS 12C 0C 12 0C 12 STS 3c RST ROUT M ATR STS3C CLRCH 0 12 0 12 053 RST ROUT SEL 053 TX SOURCE 0 12 0 12 DS3 1 RST 0C 12 0 12 VT DS1 RST ROUT M ATR STS23 VT15 ROUT M ATR STS22 VT15 ROUT M ATR 5 5 1 15 ROUT M ATR DS3DROP STS 1 ROUT M VTI5DROP STS 1 ROUT SEL DS1 RX VT15 0C 12 0 12 STS 1 ATM RST ROUT SEL STS1 TX ATM SOUR DM ATM MUX STS1 0C 12 0C 12 STS 12c W ATM RST ROUT SEL STS12C ATM ROUT SEL STS12PYL
239. using a keywords instead of numbers For example INTernal and EXTernal 1 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Separating Commands and Parameters SCPI Basics Entering Commands Types of Parameters continued Parameter Types Description Boolean A single binary condition that is either true of false For example 1 and 0 String Any setof ASCII characters enclosed in single or double quotes For example 10101010 or DQUOTE 10101010 Block Used to transfer large quantities of related data You send blocks as definite length blocks numeric numeric gt or indefinite length blocks 0 The following table lists the separators to use between commands and parameter SCPI Command Separators To Separate Use Example A root node from a lower Colon SOURce DM level node A node from another node SOURce DM DATA Multiple commands entered in a program message Semicolon IN PutFILTer DS3 3 5 0UTPut FILTer DS 3 7 2 A parameter from a Space SENSe DM FRAMe TYPE esf command Multiple parameters Comma ROUT M ATR STS VT15 1 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Basics Entering Commands Sending Multiple You can send multiple commands in the same command string The Commands in a commands exec
240. ute one at a time but this method saves time when you Command String are entering many 5 commands To separate the commands use a semicolon Here s an example of a command string that contains more than one command ROUT SEL DS3 Tx Source INIT FETC DMON DS3 signal When the test set receives this command string it executes the three commands separately and returns the appropriate value in response to the FETCh command The number of commands you can enter in a single string is limited by the number of characters you can enter in the command line provided by the HP IB interface or the terminal emulation package you are using Note You cannot use the RST command when Stringing multiple SCPI commands together The RST command resets the unit to the factory default values Any commands earlier in the string would be undone any commands later in the string would be lost 1 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Basics Using Query Commands to Retrieve Results Using Query Commands to Retrieve Results A subset of the SCPI commands known as Query commands informs the instrument to prepare information to be transmitted back to the system controller Query commands all end with a question mark The question mark comes after the last keyword in the command and before the first parameter For example FETCh DMOD VT15 pntr value
241. vert the PRBS 2 9 1 2 9 1INV 2 6 1 2 6 1IN V ONES ZEROS ALT X All ones all zeros or alternating ones and zeros 1IN8 2IN8 3IN 24 One in eight pattern and so forth 550CTET The 55 octet or Daly pattern 11 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SENSe Command Reference SENSe DM DATA1 HOLDOFF lt interval gt SENSe DM DATA1 HOLDOFF lt interval gt This SENSe command sets the programmable interval for DS1 LOP and OOF hold off RST default 0 0 Example SENSe DM DATA1 HOLDOFF 2 0 Sets the programmable interval T to two seconds The following table lists the parameters to use with this command SENSe DM DATA1 HOLDOFF interval Parameters Parameter Description 0 0 0 seconds 0 5 0 5 seconds L0 15 L5 15 seconds 2 0 2 seconds 25 2 5 seconds 3 0 3 seconds 35 3 5 seconds 40 4 seconds 45 4 5 seconds 11 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Add a question mark and omit the parameter to query the unit forthe current value For example SENS DM DATA3 Example NOTE This SENSe command also sets up the DS3 internal source Except for BITERR_ON and BITERR OFF DS3 A only and can therefore be used interchangeably with the corresponding SSOURce command
242. via GPIB interface Return 0 if Success or error code extern int iwrite int id char data unsigned int datalen Function Purpose This is a vendor specific function that reads results from the system via GPIB interface Return 0 if Success or error code extern int iread int id char buffer unsigned int bufsize Local Functions static int GPIBSendCommand int instld char command static int GPIBReadResult int instld char result unsigned int cnt static void ProcessErrors int error code J Main Program 16 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing M 13 Format DS3 DS1 Payload continued Note This example will exit the program when error occurs void main int instld session identifier int status GPIB 1 0 and system status char result 50 result from instrument establish session between GPIB interface and instrument status iopen HPIB 29 amp instld if status 0 ProcessErrors status return Initialize the instrument status GPIBSendCommand instid RST if status 0 ProcessErrors status return Start the test status GPIBSendCommand instld INIT if status 0 ProcessErrors status
243. via GPIB interface Return 0 if Success or error code static int GPIBReadResult int instld char result unsigned int cnt int status GPIB 1 0 and system status Read system error result from instrument status iread instld result cnt if status 0 return GPIB READ ERROR return status Function ProcessErrors Purpose This is a generic function that process GPIB command or 1 0 errors Return void static void ProcessErrors int error_code Generic routines to process GPIB Command or 1 0 errors 16 40 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 1 SCPI Interface 17 2 Interface Connections 17 5 Sending SCPI Messages 17 6 About SCPI 17 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Controller refers to a PC or terminal that is connected to a test instrument IE E E 488 2 and SCPI HP IP Standard Note About SCPI The SCPI Interface The SCPI Interface Standard Commands for Programmable Instruments SCPI is a command language used to control electronic test and measurement instruments SCPI commands are sent from a controller to an instrument to configure the instrument perform tests and gather data The functions available from the instrument s front panel controls are available using SCPI In addition
244. xx PNTR ADJ rate 12 43 Pointer Adjustment rates 12 44 SOURce DM DS3 FEAC CBIT row cbit 0 1 12 46 SOURCe DM DS3 FEAC CONT ALM STAT ON OFF gt 12 46 SOURCe DM DS3 FEAC BURST SETTING setting 12 47 SOURCe DM DS3 FEAC LOOPBACK LINE line 12 48 SOURCe DM DS3 FEAC BURST SIZE size 12 49 SOURce DM DS3 FEAC ALM STAT alarm 12 50 SSOURCe DM DS3 FEAC ACTION 12 51 SOURce DM FT1 FE1 channels 12 51 SOURce DM F RAMe TYPE1 frame format 12 52 SOURce DM FRAMe TYPE3 framingtype 12 53 SOURce DM MODE 12 54 SOURce DM MODE DSI Elmode 12 54 SOURce DM NX 64K 56K 12 55 SOURce DM OH DSO signaling bit value 12 55 SOURCe DM OH lt DS3 overhead bit value 12 56 SOURce DM OH overhead byte gt lt value gt 12 57 SOURCe DM OH VT OH byte value 12 58 Fill Action Reference 12 59 SOURCe DM OH FRM_REGEN lt PASS REGEN gt 12 60 SOURce DM SCRAMBLE ON gt 12 60 SSOURCe DM PROGIPATTERN pattern 12 61 SOURce DM PROG3 PATTERN pattern 12 61 SOURce DM PROG32 PATTERN lt pattern gt 12 62 SOURce DM VT15 sync mode 12 63 xi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Contents 13 STATus Command Reference 13 1 STATus OPERation EVENt 13 3 STATus OPERation CONDition 13 3 STATus OPE Ration ENABle value 13 3 STATus OPERation ENABle 13 3 STATus QUE
245. y Instrumentation Guaranteed 888 88 SOURCE www artisantg com 10 ROUTe DMUX lt demux gt lt drop channel 10 3 ROUTe MATRix output input 10 4 ROUTe MUX INS lt mux gt lt insert channel 10 7 ROUTe MUX OTH lt mux gt lt payload gt 10 8 ROUTe SE Lect lt selector gt lt input source 10 10 ROUTe Command Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference The ROUTe commands set up signal paths in the test instrument ROUTe Command Structure Root node Level 1node Level 2 node Parameters ROUTe DM UXt demux drop channel MATRiX output input 1N S mux insert channel 0THert mux payload 5 signal lt source clock gt These commands also be used as query commands by adding a question mark after the level 2node and omitting the second parameter The test set will return the currently programmed value for that parameter 10 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ROUTe Command Reference ROUTe DM UX lt demux gt lt drop channel ROUTe DMUX lt gt lt channd gt This command selects the channel to be dropped from demultiplexer RST default 1for all sources Example 1 ROUT DMUX VIGRP 2 ROUT DMUX VT15
246. yload continued Read DS1 bit error current ratio status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request DS1 bit error seconds status GPIBSendCommand instid ETC DM OD DS1 5 if status 0 t ProcessErrors status return Read DS1 severely error seconds status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return Request DS1 severely error seconds status GPIBSendCommand instld FETC DM OD DS1 SES if status 0 ProcessErrors status return Read DS1 bit error seconds status GPIBReadResult instld result 50 J if status 0 ProcessErrors status return End Test status GPIBSendCommand instid AB ORT if status 0 ProcessErrors status return 16 10 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Programming Examples Testa DS3 Signal with DS1Payload C Program listing for Testing M 13 Format DS3 DS1 Payload continued Take test set out of HP IB mode status GPIBSendCommand instld SYST PRES if status 0 ProcessErrors status return Function GPIBSendCommand Purpose This function writes SCP commands to the system and verifies the command is acceptable by the system Return 0 if Suc
Download Pdf Manuals
Related Search
Related Contents
MANUAL DE INSTRUCCIONES Manual de Instalación MANUALE TECNICO ESP AÑOL - Cabrinha carrosserie et garniture section bt table des matieres PCnet™ Family - Janich & Klass Manual do usuário - Epson America, Inc. "取扱説明書" Copyright © All rights reserved.
Failed to retrieve file