background image

Overview of the SCPI Command Structure

SCPI Commands Overview

50

Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006

External Input Commands

Trigger Output Commands

Command (Link to detailed description)

Description

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer][:SOURce]” on 
page 180

Controls the start mode of the Agilent 81250 System.

“:<Handle>:SGENeral:GLOBal:ARM?” on page 181

Returns the actual status of the External Input connector at the 
front of the Central resource.

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:SENSe” on 
page 181

Specifies the input level condition which is used in the GATed | 
STARtsignal | STOPsignal modes.

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:SENSe?” on 
page 181

Returns the actual setting of the input level condition for the gate 
or start/stop signal. 

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:THReshold” 
on page 182

Specifies the threshold of the external input signal which is used 
in the GATed | STARtsignal | STOPsignal modes.

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:THReshold?” 
on page 182

Returns the actual threshold for the external input signal used in 
the gate or start/stop mode.

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:TVOLtage” on 
page 182

Specifies the termination voltage of the external input signal 
which is used in the GATed | STARtsignal | STOPsignal modes.

“:<Handle>:SGENeral:GLOBal:ARM[:SEQuence][:LAYer]:TVOLtage?” 
on page 183

Returns the actual termination voltage for the external input 
signal used in the gate or start/stop mode. 

Command (Link to detailed description)

Description

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:DELay” on page 134

Varies the delay of the trigger output signal.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:DELay?” on page 134

Returns the current delay of the trigger output signal. 

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:MUX” on page 135

Sets the frequency multiplier factor for the individual 
connector.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:MUX?” on page 135

Returns the MUX factor associated with the trigger 
output.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:OUTPut[:STATe]” on page 135

Sets the state of the trigger output of an E4809A 
clock module.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:OUTPut[:STATe]?” on page 136

Returns the state of the trigger output of an E4809A 
clock module.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:VOLTage[:LEVel][:IMMediate]:HIGH” 
on page 136

Sets the high voltage level of the trigger output 
signal.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:VOLTage[:LEVel][:IMMediate]:HIGH?” 
on page 136

Returns the high voltage level of the trigger output 
signal.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:VOLTage[:LEVel][:IMMediate]:LOW” 
on page 137

Sets the low voltage level of the trigger output signal.

“:<Handle>[:CGRoup(*)][:SOURce]:TRIGger:VOLTage[:LEVel][:IMMediate]:LOW?” 
on page 137

Returns the low voltage level of the trigger output 
signal.

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for 81250

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...S1 Agilent 81250 Parallel Bit Error Ratio Tester System Programming Guide and SCPI Reference Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...f a U S Government prime contract or subcontract Software is delivered and licensed as Commercial computer software as defined in DFAR 252 227 7014 June 1995 or as a commercial item as defined in FAR 2 101 a or as Restricted computer software as defined in FAR 52 227 19 June 1987 or any equivalent agency regulation or contract clause Use duplication or disclosure of Software is subject to Agilent ...

Page 4: ...the Command Reference 30 Instrument Commands and Queries Syntax 31 Linking Commands 31 The Command Tree 32 DVT Subsystem and Virtual Instruments 33 Multiple Parameter Access 34 Example Programs 37 Typical SCPI Programming Sequence 38 Example C Program 40 SCPI Commands Overview 43 Generic Administration Commands 44 Virtual Instruments Administration Commands 44 Mass Memory Commands 45 Segment Editi...

Page 5: ...mands 60 Input Parameter Commands 60 Optical Input Commands 62 Output Parameter Commands 63 Optical Output Commands 64 Clock Trigger Output Commands 65 Auxiliary Out Commands 65 Performance Parameter Commands 66 Format Parameter Commands 66 Commands in the DVT Subsystem 67 Example Use of DVT Subsystem Commands 68 Top Level Commands 69 DVT IDN 69 SYSTem Subsystem 70 DVT SYSTem ERRor 70 INSTrument S...

Page 6: ...LIent Subsystem 84 Handle SYSTem CLIent HANDle 84 Handle SYSTem CLIent LOCK 84 Handle SYSTem CLIent BLOCk 85 Handle SYSTem CLIent UNLock 85 CONFiguration Subsystem 86 Handle CONFiguration CGRoups 86 Handle CONFiguration CGRoups MODules 86 Handle CONFiguration CGRoups MODules CONNectors 87 Handle CONFiguration CGRoups MODules CONNectors TYPE 87 Handle CONFiguration STYPes 87 Handle CONFiguration PR...

Page 7: ...07 Handle EDIT SEGMent PATTern ERRor NEXT 108 Handle EDIT SEGMent PATTern ERRor PREVious 108 Handle EDIT SEGMent PATTern FIND FIRSt 109 Handle EDIT SEGMent PATTern FIND NEXT 111 Handle EDIT SEGMent PATTern FIND PREVious 111 Handle EDIT SEGMent PATTern LENGth 112 Handle EDIT SEGMent PATTern WIDTh 112 Handle EDIT SEGMent PATTern MODify COPY 113 Handle EDIT SEGMent PATTern MODify PASTE 113 Handle EDI...

Page 8: ...andle CGRoup MODule FRAMe 127 Handle CGRoup MODule NAME 127 Handle CGRoup MODule CNAMes 128 CGRoup MODule CONNector Subsystem 129 Handle CGRoup MODule CONNector CINFormation 129 Handle CGRoup MODule CONNector TYPE 130 Handle CGRoup MODule CONNector NAME 130 Handle CGRoup MODule CONNector TNAMe 130 Handle CGRoup MODule CONNector CALibration CDELay 131 Handle CGRoup MODule CONNector CALibration CDEL...

Page 9: ... TRIGger TVOLtage 138 Handle CGRoup SOURce TRIGger IMPedance EXTernal 138 Handle CGRoup SOURce TRIGger IMPedance EXTernal 138 Handle CGRoup SOURce TRIGger MODE 139 Handle CGRoup SOURce TRIGger MODE 139 SGENeral Subsystem 140 SGENeral INFormation Subsystem 141 Handle SGENeral INFormation PCLasses 141 SGENeral GLOBal Subsystem 142 Handle SGENeral GLOBal CONNect 142 Handle SGENeral GLOBal CONNect 142...

Page 10: ...EQuence VALue 161 Handle SGENeral GLOBal SEQuence EVENTs 162 Handle SGENeral GLOBal SEQuence EVENTs 164 Handle SGENeral GLOBal SEQuence FORCe 165 Handle SGENeral GLOBal SEQuence LLEVel 165 Handle SGENeral GLOBal SEQuence PCONtrol 166 Handle SGENeral GLOBal SEQuence PCONtrol 166 Handle SGENeral GLOBal SEQuence STATe 166 SGENeral GLOBal SYNChronization Subsystem 167 Handle SGENeral GLOBal SYNChroniz...

Page 11: ...ndle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MULTiplier 176 Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MULTiplier 176 Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk DIVider 176 Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk DIVider 177 Handle SGENeral GLOBal TRIGger SEQuence LAYer RCLock DETect 177 Handle SGENeral GLOBal TRIGger SEQuence LAYer CLock MEASurement 177 Handle S...

Page 12: ...9 PULSe CROSsing 190 PULSe WIDTh 191 PULSe WIDTh 191 PULSe DCYCle 192 PULSe DCYCle 192 PULSe HOLD 193 PULSe HOLD 193 PULSe TRANsition LEADing 194 PULSe TRANsition LEADing 195 PULSe TRANsition TRAiling 195 PULSe TRANsition TRAiling 196 PULSe TRANsition CAConfiguration LEADing 197 PULSe TRANsition CAConfiguration LEADing 198 PULSe TRANsition CAConfiguration TRAiling 199 PULSe TRANsition CAConfigurat...

Page 13: ...Neral GLOBal SYNChronization RMODe 221 Handle SGENeral GLOBal SYNChronization RCH 221 Handle SGENeral GLOBal SYNChronization RCH 222 Handle SGENeral PDATa DMUX STAGe 222 Handle SGENeral PDATa DMUX STAGe 223 Handle SGENeral PDATa DMUX STAGe OUT 223 Handle SGENeral PDATa DMUX STAGe OUT 224 Level Parameter Commands 225 VOLTage LEVel IMMediate HIGH 225 VOLTage LEVel IMMediate HIGH 226 VOLTage LEVel IM...

Page 14: ...ol SOURce 241 DCONtrol SOURce 242 DCONtrol STATe 243 DCONtrol STATe 244 Input Parameter Commands 245 INPut STATe 245 INPut STATe 245 INPut POLarity 246 INPut POLarity 246 INPut TYPE 247 INPut TYPE 248 INPut MODE 248 INPut MODE 249 INPut TVOLtage 250 INPut TVOLtage 250 INPut THReshold 251 INPut THReshold 251 INPut IMPedance INTernal 252 INPut IMPedance INTernal 252 INPut SEQuence LAYer SOURce CLOCk...

Page 15: ... VALue 265 INPut OPTic POWer THReshold VALue 266 INPut OPTic POWer THReshold VALue 266 INPut OPTic WAVelength VALue 266 INPut OPTic WAVelength VALue 267 INPut OPTic MEASure 267 INPut OPTic DLCalibration 267 Output Parameter Commands 268 OUTPut STATe 268 OUTPut STATe 269 OUTPut POLarity 270 OUTPut POLarity 270 OUTPut CSTate 271 OUTPut CSTate 271 OUTPut TVOLtage 272 OUTPut TVOLtage 272 OUTPut IMPeda...

Page 16: ... OUTPut OPTic POWer LOW VALue 288 OUTPut OPTic POWer LOW VALue 289 OUTPut OPTic ERATio VALue 289 OUTPut OPTic ERATio VALue 290 OUTPut OPTic ERATio UNIT VALue 290 OUTPut OPTic ERATio UNIT VALue 291 Clock Output Commands 292 CLOCk SOURce VOLTage LEVel IMMediate HIGH 292 CLOCk SOURce VOLTage LEVel IMMediate HIGH 292 CLOCk SOURce VOLTage LEVel IMMediate LOW 293 CLOCk SOURce VOLTage LEVel IMMediate LOW...

Page 17: ...CDELay 303 SPECies 304 Terminal Administration Commands 305 APPend 305 LIST 305 DELete 306 FETch SSTatus 306 REName 306 NAME 307 TYPE 307 MOVE 307 CALibration CDELay 308 CALibration CDELay 308 Connector Administration Commands 309 REMove 309 TERMinal TO 310 TERMinal TO 311 Error Analysis Commands 312 FETCh ERRor ANY 312 FETCh ECOunt 312 ECOunt RESet 315 Clock Mode Commands 316 SIGNal MODE 316 SIGN...

Page 18: ...324 Vector Width Construct 325 Vector Construct 325 Parameter Construct 326 Concepts 326 Coding 326 Scopes 328 Vector Padding and Clipping 330 Parameter Segments 331 Default Settings 333 Examples 333 Example Memory Type Segment 334 Example PRBS Type Segment 334 Example PRWS Type Segment 335 Example SFI5 Type Segment 335 Example Code 337 Main cpp Application Code Using VXI Plug Play 338 Lib cpp Int...

Page 19: ...Contents 18 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 20: ... String Interface Library The Agilent String Interface Library is a simple library available in C and VisualBasic for sending ASCII commands such as SCPI commands to and querying ASCII strings from the Agilent 81250 Agilent 81250 String Interface Library on page 22 summarizes the major aspects to be considered when implementing programs for local control or for remote control via LAN using the str...

Page 21: ...server using the SCPI language Therefore everything that can be done over the user interface can also be done using the other programming interfaces with of course loss of comfort For detailed information on the Agilent 81250 plug play drivers please refer to the corresponding online help files Tools and Programming Languages Depending on your configuration tools like VEE or LabView and the progra...

Page 22: ...rate on the same system concurrently using different interfaces To avoid undesired interrupts the Agilent 81250 features a locking mechanism allowing each client to gain exclusive access to the system during critical operations The system can either be locked or blocked With a locked system commands from other clients are returned with an error message With a blocked system commands from other cli...

Page 23: ...ram using the Agilent 81250 String Interface library has the following structure Connect to the firmware server Send any SCPI commands or queries Handle errors as necessary Disconnect from the firmware server NOTE It is recommended that you explicitly disconnect from the firmware server at the end of your program Otherwise it may not be possible to connect again See Example Implementations on page...

Page 24: ...s String As Long Description Connects to an Agilent 81250 server This must be the first call when using the Agilent 81250 string interface library Parameters ServerName The machine name or IP address of the machine to which you want to connect If left empty NULL pointer or empty string the local host is connected In general ServerName has the structure host sep port host is the hostname in text my...

Page 25: ...nd is a query the response is returned in this buffer BufferSize Size of the buffer allocated to receive the query result On return the variable holds the actual number of valid bytes in the buffer Return Value Returns 0 on success and a negative number for server problems use GetErrStr_HP81200 on page 25 to get an error message A positive number indicates that the command execution failed Error m...

Page 26: ...ror represented by ErrCode BufferSize Size of the buffer allocated to receive the error message ErrMessage On return the variable holds the actual number of valid characters in the buffer NOTE The parameter Response is a buffer area provided by the caller The caller is responsible for reserving enough memory to hold the response To prevent buffer overruns BufferSize defines the maximum number of b...

Page 27: ...ries the DVT IDN outputs the results and disconnects include stdio h include stdlib h include string h include hp81200 h define BUFF_SIZE 1024 int main int argc char argv int err 0 char buffer BUFF_SIZE int bufSize BUFF_SIZE char host Define host switch argc case 1 host break case 2 host argv 1 default host argv 1 strncat host 2 strncat host argv 2 strlen argv 2 break Connect to host err Connect_H...

Page 28: ...cts to the entered server sends SCPI commands and outputs the results Sub myHP81200 hp81200 bas has to be imported into your project Dim err As Long Dim buffer As String 256 Dim bufSize As Long Dim Cmd As String Dim ServerName As String Request a server ServerName InputBox Enter server name Connect to Server err VB_CONNECT_HP81200 ServerName If the server is not available output the error If err 0...

Page 29: ...vbCrLf buffer End If Loop Disconnect before closing err VB_DISCONNECT_HP81200 End Sub Command Line Interface The Agilent 81250 user interface features a Command Line window Command Line in the Go menu that allows you to enter SCPI commands and displays query results In this window you can store and replay sequences of commands This is very useful when implementing control programs because you can ...

Page 30: ...ograms on page 37 SCPI Commands Overview on page 43 provides application oriented access to the available SCPI commands The individual commands are described in more detail in Commands in the DVT Subsystem on page 67 and Commands in DSR Application Subsystems on page 77 NOTE In this programming reference it is assumed that you have a basic knowledge of the SCPI language For an introduction to SCPI...

Page 31: ...ands are grouped into higher level branches until they meet at the root of the command tree To obtain a particular command the full path to it must be specified This path is constructed by appending keywords to the path as the command tree is descended Keywords are separated by colons A typical example is DVT INST LIST Conventions Used in the Command Reference The following conventions are used wh...

Page 32: ...numeric_suffix Queries are denoted by a command header with an appended question mark instrument command short form mnemonic numeric suffix long form mnemonic numeric_suffix Linking Commands It is possible to link multiple device commands To link multiple device commands use a semicolon and a colon between the commands Because the Agilent 81250 System allows to configure the available hardware res...

Page 33: ...250 SCPI command interface consists of a tree of commands The branches and sub branches of this tree are referred to as subsystems Each subsystem contains a group of related commands At the root of the command tree there are two types of branches subsystems the DVT subsystem always available virtual instrument subsystems identified by the handle associated to the instrument Both are described in D...

Page 34: ...he DSR application Digital Stimulus and Response Future releases might provide more applications for example BERT Bit Error ratio Test Virtual instruments can be controlled as if they were separate instruments Each virtual instrument is identified by a handle As shown in the following picture this handle forms the root for a new branch subsystem in the command tree The commands available within th...

Page 35: ... pins ports groups of DUT input or output pins with identical or similar properties such as a data bus connectors input or output connectors of a frontend So for example if you have a data bus consisting of several terminals you can group them together in a port and then set their timing parameters with only one command This is shown in the following figure CGR MOD CONN SGEN PDAT SGEN PDAT TERM SG...

Page 36: ...ch 2006 35 Typical 43 2Gbit Analyzer Commands The following figure shows some typical commands and their corresponding elements for a 43 2Gbit data analyzer system in the Agilent 81250 user interface CGR MOD CONN SGEN PDAT SGEN PDAT TERM Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 37: ...ws some typical commands and their corresponding elements for a 43 2Gbit data generator system in the Agilent 81250 user interface Data ports and pulse ports These figures also show how you can distinguish between data ports PDATa and pulse ports PPULse on command level CGR MOD CONN SGEN PDAT SGEN PDAT TERM Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 38: ...ommands and for error handling commands Example For example to set the delay for all terminals in a port for example pins in a data bus you can either address each terminal individually using SGENeral PDATa TERMinal PULSe DELay or set the delay for the complete port using SGENeral PDATa PULSe DELay Both commands are described in PULSe DELay on page 185 Example Programs Two example programs are dis...

Page 39: ...nce 7 Run test 8 Destroy instrument NOTE Always make sure that you destroy the handle at the end of your program Here is a little example program showing some of these steps DVT INST RES LIST DSR Ask what DSR instruments are pre configured in the System see d 81200 cfg dvtsys txt file Returns DSRA DSRB Create a handle better ask for a handle give TEST as a suggestion for the handle DVT INST HAND C...

Page 40: ... 2 _TEST SGEN CONN PDAT1 TERM1 TO 0102001 set pulse width of terminal 1 T1 _TEST SGEN PDAT1 TERM1 PULS WIDT 20e 9 set delay of T1 _TEST SGEN PDAT1 TERM1 PULS DEL 5e 9 set leading edge of T1 _TEST SGEN PDAT1 TERM1 PULS TRANS 1e 9 set high level of T1 High level has to be higher than the actual low level _TEST SGEN PDAT1 TERM1 VOLT HIGH 3 set low level of T1 _TEST SGEN PDAT1 TERM1 VOLT LOW 1 set loa...

Page 41: ...irectory C Program Files Agilent Agilent 81200 samples ecap The lib cpp Interface Class Library The file lib cpp defines the HP 81200 class which is an interface class to the Agilent 81250 system The class itself uses the Agilent 81250 String Interface Library on page 22 For a complete listing refer to Lib cpp Interface Class Library Code on page 351 The class provides the following public methods...

Page 42: ...Exit method to release the handle and to disconnect from the system The doIt Procedure The code for the doIt procedure is part of the file main cpp It prepares and executes all SCPI commands required for this example For a complete listing refer to Main cpp Application Code on page 356 These are the most important steps performed by the doIt procedure Stops and resets the system Analyzes the syste...

Page 43: ...the file walk64 txt Sets the period Sets up a sequence that uses the imported segment First the number of available loop levels is determined depending on the clock module used The highest loop level is used to set up an infinite loop The imported segment is used as data for the sequence The start of the sequencer is used to generate a trigger signal at the trigger output Sets measurement mode to ...

Page 44: ...age 49 External Input Commands on page 50 Trigger Output Commands on page 50 Port Administration Commands on page 51 Terminal Administration Commands on page 52 Connector Administration Commands on page 52 Clockgroup Administration Commands on page 53 Sequence Commands on page 53 Synchronization Commands on page 54 Analyzer Commands on page 55 Level Parameter Commands on page 55 Amplitude Offset C...

Page 45: ...roy on page 73 Destroys the handle for a virtual instrument and frees all resources Command Link to detailed description Description Handle IDN on page 78 Returns the device identity Handle OPC on page 78 The query returns when all modules report that they are ready Handle SYSTem ERRor on page 79 Returns the first entry of the error queue Handle SYSTem CINFormation on page 80 Returns the configura...

Page 46: ...on page 82 Starts a system wide selftest The results of this test are stored in the message queue Handle MODule SREVisions on page 82 Checks the actual BIOS Software revisions against the expected revision located in the firmware Handle SYSTem MQUeue READ on page 83 Returns the first item contained in the message queue Handle SYSTem MQUeue LENGth on page 83 Returns the length of the message queue ...

Page 47: ...100 Deletes the specified segment Handle EDIT SEGMent EXISts on page 101 Checks whether the specified segment name is located in the Agilent 81250 System s database Handle EDIT SEGMent RPATh on page 102 Returns the absolute path for one segment Handle EDIT SEGMent PATTern CODing on page 107 Returns the segments coding Handle EDIT SEGMent PATTern CODing on page 106 Sets a segment s coding Handle ED...

Page 48: ...traces or vectors from a segment Handle EDIT SEGMent PATTern MODify CONVerse on page 118 Changes the current coding for the segment and converts exist ing data in the segment according to the specified mapping Handle EDIT SEGMent PATTern MODify SERialize on page 119 Serializes a parallel data stream Handle EDIT SEGMent PATTern MODify DESerialize on page 120 Deserializes a serial data stream Handle...

Page 49: ...cy of the Agilent 81250 System Handle SGENeral GLOBal FREQuency on page 145 Returns the frequency of the Agilent 81250 System Handle SGENeral GLOBal MUX on page 146 Defines the global settings for the Segment Resolution Handle SGENeral GLOBal MUX on page 146 Returns the current MUX factor Segment Resolution Handle SGENeral GLOBal DOFFset on page 143 Specifies an offset value to the fixed delay for...

Page 50: ...nce LAYer CLOCk VALue on page 175 Measures and returns the supplied external clock at the clock input of the E4805B or E4808A central module Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MEASure ment DIRect on page 175 Measures the external clock and sets the corresponding mode Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MULTiplier on page 176 Sets the clock multiplier Handle SGENera...

Page 51: ...nal STOPsignal modes Handle SGENeral GLOBal ARM SEQuence LAYer TVOLtage on page 183 Returns the actual termination voltage for the external input signal used in the gate or start stop mode Command Link to detailed description Description Handle CGRoup SOURce TRIGger DELay on page 134 Varies the delay of the trigger output signal Handle CGRoup SOURce TRIGger DELay on page 134 Returns the current de...

Page 52: ...ed quoted string list APPend on page 300 Creates and appends a new port to the list of ports LIST on page 301 Returns a comma separated list of port names ATYPes on page 301 Returns a comma separated list of available predefined port TYPes DELete on page 301 Deletes the port specified by the suffix of PPULse REName on page 302 Renames the port specified by the suffix of PPULse NAME on page 302 Ret...

Page 53: ...ption Description Handle CGRoup MODule CONNector CINFormation on page 129 Returns the connector configuration information Handle CGRoup MODule CONNector TYPE on page 130 Returns the product number of the frontend to which the connector belongs Handle CGRoup MODule CONNector NAME on page 130 Returns the name of this connector Handle CGRoup MODule CONNector TNAMe on page 130 Returns the Terminal NAM...

Page 54: ...ion on page 124 Returns the clock group configuration information Handle CGRoup MCLock SOURce VALue on page 125 Controls which of the clock modules generates the master clock Handle CGRoup MCLock SOURce VALue on page 125 Returns the state of the clock module specified Handle CGRoup MODule CINFormation on page 126 Returns the module configuration information Handle CGRoup MODule TYPE on page 127 Re...

Page 55: ...pted during synchronization Handle SGENeral GLOBal SYNChronization BERThreshold on page 169 Returns the currently set bit error ratio threshold Handle SGENeral GLOBal SYNChronization SMODe on page 169 Specifies how the synchronization of the analyzers is achieved Handle SGENeral GLOBal SYNChronization SMODe on page 170 Returns the currently set synchronization mode Handle SGENeral GLOBal SYNChroni...

Page 56: ...ge 315 Resets the received bit counter and the failed bit counter to zero Handle SGENeral GLOBal FETCh ERRor ANY on page 144 Reports whether there has been found any error FETCh ERRor ANY on page 312 Returns whether there has been found any error for the specified port or terminal Command Link to detailed description Description OUTPut TVOLtage on page 272 Sets the external termination voltage OUT...

Page 57: ...ation mode is available SENSe VOLTage RANGe on page 233 Selects the allowed input voltage range SENSe VOLTage RANGe on page 233 Returns the allowed input voltage range Command Link to detailed description Description Command Link to detailed description Description CALibration VOLTage OCFactor on page 235 Sets the offset correction factor of the port terminal or connector CALibration VOLTage OCFac...

Page 58: ...on page 193 Returns the hold parameter valid for the specified port terminal connector PULSe TRANsition LEADing on page 194 Sets the leading edge value for the specified port terminal connector PULSe TRANsition LEADing on page 195 Returns the leading edge value for the specified port terminal connector PULSe TRANsition TRAiling on page 195 Sets the trailing edge value for the specified port termin...

Page 59: ...ay OUTPut DELay SWEep on page 211 Returns the value for the additional delay OUTPut DELay SWEep MODe on page 211 Sets the delay correction or the delay calibration mode OUTPut DELay SWEep MODe on page 212 Returns the current mode for the delay OUTPut DELay SWEep PROM on page 213 The delay values of a MUX module are stored in the module s EEPROM They are independent of the loaded setting This comma...

Page 60: ...rrent state of the DeMUX rewiring Handle SGENeral GLOBal SYNChronization RMODe on page 220 Sets the modes of DeMUX rewiring Handle SGENeral GLOBal SYNChronization RMODe on page 221 Returns the current mode of DeMUX rewiring Handle SGENeral GLOBal SYNChronization RCH on page 221 Switches the rewire verify mode on and off Handle SGENeral GLOBal SYNChronization RCH on page 222 Returns the current rew...

Page 61: ... Description DCONtrol DEViation on page 239 Returns the current maximum delay control deviation in seconds DCONtrol SENSitivity on page 240 Sets the delay control sensitivity of the external delay control modulation signal DCONtrol SENSitivity on page 240 Returns the delay control sensitivity of the external delay control modulation signal DCONtrol SOURce on page 241 Sets the delay control source ...

Page 62: ... the specified port terminal connector INPut TYPE on page 247 Selects how the E4835A E4863A and E4865A differential input frontends are sampled INPut TYPE on page 248 Returns the operation mode of the E4835A E4863A and E4865A differential input frontend INPut MODE on page 248 Selects between single ended termination and differential termination mode INPut MODE on page 249 Returns the termination m...

Page 63: ...ription INPut OPTic STATe VALue on page 264 Sets the state of the optical channel s INPut OPTic STATe VALue on page 264 Queries the state of the optical channel s INPut OPTic POWer UNIT VALue on page 265 Sets the unit for the 0 1 decision threshold of the selected optical input connector port or terminal INPut OPTic POWer UNIT VALue on page 265 Queries the unit for the 0 1 decision threshold of th...

Page 64: ... connector to either normal or inverted OUTPut POLarity on page 270 Returns the output polarity of the specified port terminal connector OUTPut IMPedance EXTernal on page 273 Sets the external termination impedance the real load impedance of the DUT OUTPut IMPedance EXTernal on page 273 Returns the currently set value for the termination load impedance OUTPut TCONfig on page 274 Selects the termin...

Page 65: ...d optical output connector port or terminal OUTPut OPTic POWer MAMPlitude VALue on page 286 Sets the modulation of the selected optical output connector port or terminal OUTPut OPTic POWer MAMPlitude VALue on page 287 Queries the modulation amplitude of the selected optical output connector port or terminal OUTPut OPTic POWer HIGH VALue on page 287 Sets the high power of the selected optical outpu...

Page 66: ...294 Returns the delay of the trigger output of the clock module CLOCk OUTPut IMPedance EXTernal on page 294 Sets the external impedance of the trigger output of the clock module CLOCk OUTPut IMPedance EXTernal on page 294 Returns the external impedance of the trigger output of the clock module CLOCk OUTPut DIMPedance EXTernal on page 295 Sets the external differential impedance of the trigger outp...

Page 67: ...al and connector level Command Link to detailed description Description SIGNal MODE on page 316 Sets the performance mode for the clock signal not available for all clock modules SIGNal MODE on page 317 Returns the performance mode for the clock signal not available for all clock modules Command Link to detailed description Description FORMat on page 318 Controls the output connectors data format ...

Page 68: ...in this subsystem provide basic administration features This reference starts with an introductory example and then lists the available commands and subsystems DVT Top level command DVT IDN SYSTem Subsystem INSTrument Subsystem INSTrument HANDle Subsystem MMEMory Subsystem Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 69: ...nts Returns DSR1 query to get a handle for the virtual instrument _TEST is a suggestion DVT INST HAND CRE _TEST DSR DSR1 The suggested handle is accepted Returns _TEST DVT INST HAND LIST Lists the handles in use Returns DVT _TEST _TEST IDN Queries for the virtual instrument identification Returns Agilent Technologies E4875A 0 0 DVT instrument handle destroy _TEST destroy the handle _TEST do not fo...

Page 70: ...N DVT IDN Command DVT IDN Syntax DVT IDN Description Identifies the device The response consists of the following four fields fields are separated by commas Manufacturer Model Number Serial Number returns 0 if not available Firmware Revision returns 0 if not available Example dvt idn might return Agilent Technologies Agilent 81200 0 0 Artisan Technology Group Quality Instrumentation Guaranteed 888...

Page 71: ... DVT SYSTem ERRor DVT SYSTem ERRor Command DVT SYSTem ERRor Syntax DVT SYSTem ERRor Description The query returns the first entry of the error queue and removes it from the queue As long as the command does not return 0 No error there are further errors in the queue Example dvt syst err might return 0 No error Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg ...

Page 72: ...IST Description The LIST query returns a comma separated list of character response data items containing the names of all applications Example DVT INST LIST might return DSR DVT INSTrument RESource LIST Syntax DVT INSTrument RESource LIST Application Parameters quoted string The name of the desired application The response is a comma separated list of character response data items Description The...

Page 73: ...ing DVT INST LIST Resource The name of the hardware resource with which the new virtual instrument should be associated Available resources may be listed using DVT INST RES LIST Description Creates a new virtual instrument Return A Character Response Data element containing the name of the new handle is returned Handle will be used if possible If Handle is illegal for any reason a legal and unique...

Page 74: ...strument handles The list will always contain the handle DVT Example DVT INST HAND LIST might return DVT _TEST DVT INSTrument HANDle DESTroy Syntax DVT INSTrument HANDle DESTroy Handle Parameters Handle The handle of the virtual instrument to be destroyed Destroys a handle created by CREate and frees all associated resources Example DVT INST HAND DEST _TEST Artisan Technology Group Quality Instrum...

Page 75: ...ters NDELay No delay export setting without cable delay parameters ODELay Only delay export only cable delay parameters Description The system generates a file with the described setting The optional parameter filters the cable delay parameters Example DVT MMEM SETT EXP _TEST c ParBERT_Exchange withdel txt YDEL DVT MMEMory SETTing EXPort Syntax DVT MMEMory SETTing EXPort Handle YDELay NDELay ODELa...

Page 76: ...The handle of the virtual instrument for which the setting is supposed to be used Filename The name of a file that contains a series of SCPI commands describing the setting Expression A set of commands in form of an expression The commands have to be listed without the Handle subnode TIP Use the DVT MMEMory SETTing EXPort command to see the necessary format Description This command makes it possib...

Page 77: ...n the DVT Subsystem MMEMory Subsystem 76 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 78: ...em on page 67 For basic information on the command syntax and the command tree please refer to Overview of the SCPI Command Structure on page 29 Each command and query entry has at least some of the following items Full command syntax Brief description Parameters Return value Possible error conditions Cross references to related commands Short example showing context in which the command is used i...

Page 79: ...ber Serial Number returns 0 if not available Firmware Revision returns 0 if not available Example _test IDN might return Agilent Technologies E4875A 0 Rev 1 01 Handle OPC Syntax Handle OPC Return Value The query returns when all modules report that they are ready Data is not available at the outputs immediately after an SGEN GLOB INIT CONT ON command is sent because of the pipelined system archite...

Page 80: ...n off the internal error check system Handle SYSTem ERRor Syntax Handle SYSTem ERRor Return Value When errors are detected they are placed in a queue This command returns the first entry of the error queue to the user Example _test SYST ERR might return for example 0 No error or another example 300 Device specific error 2001 Terminal suffix out of range Artisan Technology Group Quality Instrumenta...

Page 81: ...ents in the following syntax The optional syntax elements only appear if DETailed is selected Example _test SYST CINF SHOR could return for example reformatted only for readability E4805B 660 E4861A 2640 E4863A 2640 ANALYZER E4862A 2640 GENERATOR E4861A 2640 E4863A 2640 ANALYZER E4862A 2640 GENERATOR ModuleInfo ProductNr SpeedClass SerNr IDNr ConnInfo ConnInfo ConnInfo ProductNr SpeedClass Type Se...

Page 82: ...ters The first parameter CGR is the clock group the module belongs to the second parameter MOD is the number of the module itself Example For a SHORt message 1 3 1 4 E4861A Passed E4861A Ver 1 92 E4863 E4862 No error For a DETailed message 1 1 1 2 E4805B Failed AGILENT TECHNOLOGIES E4805B 01 Module Software Version 1 81 Boot Loader Version 1 00 330 Self test failed Frequency generation PLL test fa...

Page 83: ...SHORt Generates a less detailed message Handle MODule SREVisions Syntax Handle MODule SREVisions DETailed SHORt Description This command checks the actual BIOS Software REVisions against the expected revision located in the firmware The results of this test are located in the message queue The message queue can be read with the command SYST MQU Parameters The format of the messages can be specifie...

Page 84: ... each module NOTE The READ option has no effect Handle SYSTem MQUeue LENGth Syntax Handle SYSTem MQUeue LENGth Return Value Returns the number of messages in the message queue Handle SYSTem PON STATus Syntax Handle SYSTem PON STATus DETailed SHORt Description Moves the messages that are generated by the modules at system start up into the message queue This command does not start a new selftest Th...

Page 85: ...ent using the BLOCK command any access by another client will simply wait until the system is unlocked thus blocking the client No error code is returned Handle SYSTem CLIent HANDle Syntax Handle SYSTem CLIent HANDle Return Value This query returns the name of the client that has currently locked the server An empty string is returned if the server is not locked Example _test SYST CLI might return...

Page 86: ...n until the instrument is unlocked thus blocking the sender No error message is returned The usage of this command should be restricted to short accesses NOTE A blocked virtual instrument can only be locked by calling SYSTem CLIent LOCk Example _test SYST CLI BLOC Handle SYSTem CLIent UNLock Syntax Handle SYSTem CLIent UNLock Description This command is used to unlock or free the virtual instrumen...

Page 87: ...le clock groups The specifier is ignored Related Commands CGRoup Subsystem on page 123 Example _test CONF CGR might return 1 Handle CONFiguration CGRoups MODules Syntax Handle CONFiguration CGRoups MODules Return Value Returns the number of modules contained in the specified clock group The specifier for modules is ignored Related Commands CGRoup Subsystem on page 123 Example _test CONF CGR1 MOD m...

Page 88: ...MOD2 CONN might return 4 Handle CONFiguration CGRoups MODules CONNectors TYPE Syntax Handle CONFiguration CGRoups MODules CONNectors TYPE Return Value Returns the type of the specified connector Related Commands CGRoup Subsystem on page 123 Example _test CONF CGR1 MOD2 CONN1 TYPE might return ANALYZER Handle CONFiguration STYPes Syntax Handle CONFiguration STYPes Return Value Returns a list of sch...

Page 89: ...ROF PARAM1 10d 10 TEXT 10u 10f Handle CONFiguration PROFile VALue Syntax Handle CONFiguration PROFile VALue ParameterName Parameters ParameterName Name of parameter to be queried Return Value Returns the value of ParameterName Example _test CONF PROF PARAM1 might return 10d 10 TEXT 10u 10f Handle CONFiguration PROFile REMove Syntax Handle CONFiguration PROFile REMove ParameterName Parameters Param...

Page 90: ...ing Reference March 2006 89 Handle CONFiguration PROFile LIST Syntax Handle CONFiguration PROFile LIST Description Lists the parameters contained in the profile Return Value None Example _test CONF PROF LIST might return PARAM1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 91: ...meters Absolute Path Path of directory to be checked using as path separator Return Value Returns a comma separated list of the files in the specified directory If Absolute Path is an empty string the root is listed On Windows NT the root is a virtual point below the drives In other words all drives are listed If Absolute Path does not point to a valid directory an error is returned and the respon...

Page 92: ...ponse consist of an expression containing 5 comma separated values like object type mtime size attribute db class Returns the object type of drive C empty string or 0 means not applicable Example _test MMEM INF C might return DRIVE 0 0 object type type of the object quoted string mtime modification time numerical value size size of object in bytes numerical value attributes attributes of the objec...

Page 93: ...e on page 321 Optional second parameter ON or OFF ON is the default It means that if the specified file already exists it will be overwritten replaced with the new segment properties and data pattern Optional third parameter SettingName If a setting name is specified the new or updated segments will be added as local segments to the specified setting If the setting name is omitted then the segment...

Page 94: ...l second parameter Syntax 2 AnalyzerSegmentName Specifies a special segment Analyzer Capture p or Analyzer ErrMem p where p is the port number of an output port Optional third parameter SegmentName Specifies a special segment Absolute paths are allowed LocalSegments segm GlobalSegments segm where segm corresponds to valid segments stored in the database under those nodes The path names Segments se...

Page 95: ...the contents of the first found segment s vector definition see Segment Import and Export Language on page 321 If the SettingName and the SegmentName are omitted all segments are addressed in the global segment pool If either SettingName or SegmentName is specified a specific local segment is addressed Example _test MMEMory SEGM GET TEST1 PAYLOAD might return Vector definition for PAYLOAD see Segm...

Page 96: ...No delay load setting without cable delay parameters ODELay Only delay load only cable delay parameters Description The command is used to load the current setting or a specified setting into the Agilent 81250 System s database Example _test MMEM SETT LOAD TEST1 Handle MMEMory SETTing SAVE Syntax Handle MMEMory SETTing SAVE SettingName Parameters SettingName If not specified the changes are saved ...

Page 97: ...validate the new setting it has to be saved or saved as a into the Agilent 81250 System s database Return Value None Example _test MMEM SETT NEW Handle MMEMory SETTing DELete Syntax Handle MMEMory SETTing DELete SettingName Parameters SettingName Setting to be deleted Description The command is used to delete the specified setting from the Agilent 81250 System s database Return Value None Example ...

Page 98: ...e output or input connector Therefore the width of a vector corresponds to the number of traces in the current hardware configuration One state is the information stored in one cell Every vector has as many states as traces in width is the segment The valid states depend on the coding for the segment For two bit codings up to four states are valid For one bit codings two different states exist The...

Page 99: ...ogramming tasks and limits your time investment in coding Handle EDIT SEGMent OPEN Syntax Handle EDIT SEGMent OPEN SegmentName Parameters SegmentName The name of a segment that is stored in the Agilent 81250 System s database Description Opens the specified segment For input and output ports If the segment name is prefixed with GlobalSegments the global pool is searched if the segment name is pref...

Page 100: ...EGM OPEN PAYLOAD might return the following segment inspector index number 3 As an example the following command would save this segment under a new name _test EDIT SEGM3 SAVE PAYLOAD2 Handle EDIT SEGMent SAVE Syntax Handle EDIT SEGMent SAVE SegmentName Parameters SegmentName Optional quoted string of the segment name with the target location for the new segment The new segment can either be locat...

Page 101: ... Handle EDIT SEGMent CREate Syntax Handle EDIT SEGMent CREate SegmentName SegmType Parameters SegmentName The name of a new segment to be created SegmType Type of the segment to be created MEMory PRBS PRWS SFI5 The suffix of SEGMent is ignored Description Creates a new segment The inspector number returned can then be used to refer to this segment After being created the segment is open and can be...

Page 102: ...entName The name of a segment Inspector number of the segment Description Queries the existence of a segment The segment might be an analyzer or a database segment Relative paths are only allowed for database segment For other segments the path must be absolute When a relative path is given the LocalSegments pool is examined first If the segment is not found there the GlobalSegments pool is examin...

Page 103: ...e of the segment In this case all suffixes provided will be ignored The name of the segment might be either an absolute or a relative path name Of course if an absolute path name is provided the returned value will correspond to this argument When a relative path is given the LocalSegments pool will be examined first If the segment is not found there the GlobalSegments pool will be examined before...

Page 104: ...m Data stream to be set in the segment hexadecimal string Inspector number of the segment Description Sets data in a bounded rectangle in the segment New data can only be set for database segments Attempting to set new data in an analyzer segment will cause an error The input data stream stream is a string of hexadecimal characters The length of this string must be at least as many hexadecimal cha...

Page 105: ...ce followed by the data corresponding to the next trace and so on Data for every trace is packed in an exact number of bytes For example if 5 vectors for every trace have been queried and the coding is 2 bits long 10 bits will be needed for every trace data For these 10 bits 2 bytes are needed and the empty 6 bits will be returned as 0s After that the 2 bytes for the next trace will appear in the ...

Page 106: ...raw data is presented as ASCII characters Return Value Returns the data stream corresponding to the region specified in the input Example _test EDIT SEGM3 PATT DATA 0 0 3 2 HEX might return the following segment data A040A0E0 _test EDIT SEGM3 PATT DATA 0 0 3 2 BIN might return the following segment data 9000000004 à The following figure shows how the hex characters correspond to the segment data a...

Page 107: ... for more information New codings can only be set for database segments Attempting to set a new coding in an analyzer segment will cause an error The only valid codings are 01 and 0 x1 also 0 X1 is accepted 01 results in a 1 bit coding for two states low and high 0 x1 results in a 2 bit coding for three states The order of the characters 0 x1 is particularly important as it implies the underlying ...

Page 108: ...ATTern ERRor FIRSt VECT TRAC NORMal RVS Parameters NORMal RVS Defines the direction of the search Default is NORMal NORMal The search is started at trace 0 vector 0 and progresses in the incrementing trace incrementing vector direction RVS The search is started at trace n 1 vector 0 and progresses in the decrementing trace incrementing vector direction Return Value t v Returns the coordinates trac...

Page 109: ...e See Handle EDIT SEGMent PATTern ERRor FIRSt on page 107 Example _TEST SEGM1 PATT ERR NEXT 2 4 VECT NORM might return 2 7 Handle EDIT SEGMent PATTern ERRor PREVious Syntax Handle EDIT SEGMent PATTern ERRor PREVious trace vector VECT TRAC NORMal RVS Parameters As in the ERRor FIRSt function with the following additions trace Trace where the search starts vector Vector where the search starts Retur...

Page 110: ...Defines if the data sequence is searched for in traces or vectors NORMal RVS Defines if the direction of the search Default is NORMal NORMal The search is started at trace 0 vector 0 and progresses in the incrementing trace incrementing vector direction RVS The search is started at trace n 1 vector 0 and progresses in the decrementing trace incrementing vector direction Return Value d v Returns th...

Page 111: ...position d Octal sequence trace position 3 d Hexadecimal sequence trace position 4 d Example _test EDIT SEGM1 PATT FIND FIRS 0101b TRAC _test EDIT SEGM1 PATT FIND FIRS 013h TRAC _test EDIT SEGM1 PATT FIND FIRS 037o TRAC might return 1 0 1 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 Hexadecimal sequence 1 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 Binary sequence Digit indices 1 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 Octal sequence 0...

Page 112: ...point 4 vector Defines the vector where the search starts Return Value See Handle EDIT SEGMent PATTern FIND FIRSt on page 109 Handle EDIT SEGMent PATTern FIND PREVious Syntax Handle EDIT SEGMent PATTern FIND Prev digit vector data VECT TRAC NORMal RVS Parameters As in the FIND FIRSt function with the following additions digit Defines the starting trace point of the search Binary sequence digit tra...

Page 113: ...vectors of the segment Example _test EDIT SEGM3 PATT LENG might return the following number of vectors of the specified segment 80 Handle EDIT SEGMent PATTern WIDTh Syntax Handle EDIT SEGMent PATTern WIDTh Parameters Inspector number of the segment Return Value Returns the numbers of traces of a segment Example _test EDIT SEGM3 PATT WIDT might return the following number of traces of the specified...

Page 114: ...opy 0 2 10 15 Handle EDIT SEGMent PATTern MODify PASTE Syntax Handle EDIT SEGMent PATTern MODify PASTE StartTrace StartVector Parameters StartTrace Number of start trace StartVector Number of start vector Inspector number of the segment Description Pastes the data currently stored in the clipboard to the specified segment If the number of vectors or traces from the initial state defined by the sta...

Page 115: ...nspector number of the segment Description Sets the bounded area of the segment with the same state value State is an unsigned integer used to index the segment s coding for getting the new state to be used For example in coding 0 x1 the value of State might be an integer from 0 to 3 If a bigger integer is provided the highest bits will be ignored and the least significant bits will be used to ind...

Page 116: ...Number of end vector Inspector number of the segment Description Inverts the state information in the bounded area This command is only allowed in single bit codings Attempting to execute this command in multi bit codings causes an error Attempting to invert data in a region in an analyzer segment causes an error For example for the coding 01 after this command execution all 0 s will be changed in...

Page 117: ...er of start trace StartVector Number of start vector EndTrace Number of end trace EndVector Number of end vector VECTor TRACe Axis on which the mirror command will be performed Inspector number of the segment Description Flips the specified block about horizontal VECTor or vertical axis TRACe Attempting to flip data in one region in an analyzer segment will cause an error Example _test EDIT SEGM3 ...

Page 118: ...ew traces or vectors added The new vectors or traces will be initialized to 0 Attempting to insert new data in an analyzer segment will cause an error Example _TEST EDIT SEGM3 PATT MOD INS 2 VECT AFT 3 Handle EDIT SEGMent PATTern MODify DELete Syntax Handle EDIT SEGMent PATTern MODify DELete Start VECTor TRACe HowMany Parameters Start Number of start trace or vector VECTor TRACe What to delete tra...

Page 119: ... to the specified mapping The coding can be either 01 binary or 0x1 binary with don t care The mapping depends on the coding and corresponds with the desired new values Attempting to convert data from an analyzer segment will cause an error Examples The following examples illustrate how the command works To change a 01 coded segment to 0x1 coded where 0 0 1 x EDIT SEGM1 PATT MOD CONV 0x1 0x To inv...

Page 120: ...s the default RVS Data is serialized in the reverse order from most significant bit to least significant bit Description Serializes a parallel data stream The optional direction parameter specifies the order in which the traces are to be considered The following figure shows the differences between NORMal and ReVerSe serializing Example _test EDIT SEGM1 PATT MOD SER RVS a b c d e f g h i j k l d b...

Page 121: ...al data stream As shown below width and phase determine how the serial data stream is deserialized to the parallel data stream Example _test EDIT SEGM1 PATT MOD DES 4 1 Handle EDIT SEGMent PARAmeter LENGth Syntax Handle EDIT SEGMent PARAmeter LENGth Parameters Inspector number of the segment Return Value Returns the length of the list of parameters available for this segment The length of the list...

Page 122: ...meters see Predefined Parameter Names on page 331 Example _test EDIT SEGM3 PARA LIST might return _Type Handle EDIT SEGMent PARAmeter VALue Syntax Handle EDIT SEGMent PARAmeter VALue ParamName Parameters ParamName Name of the parameter For the list of parameters see Predefined Parameter Names on page 331 Inspector number of the segment Return Value Returns the value for a specified parameter from ...

Page 123: ...DIT SEGM3 PARA _Type PRBS Handle EDIT SEGMent PARAmeter REMove Syntax Handle EDIT SEGMent PARAmeter REMove ParamName Parameters ParamName Name of the parameter For the list of parameters see Predefined Parameter Names on page 331 Inspector number of the segment Description Removes a parameter from the list of parameters in the segment Executing this command on analyzer segments causes an error Exa...

Page 124: ...nt inspector index number MEMory PRBS PRWS SFI5 Example _test EDIT SEGM3 TYPE might return the following segment type MEM CGRoup Subsystem Handle CGRoup This subsystem allows to control system parameters on clock group level The following subsystems are available CGRoup MCLock Subsystem on page 125 CGRoup MODule Subsystem on page 126 CGRoup MODule CONNector Subsystem on page 129 CGRoup SOURce TRIG...

Page 125: ...matted here only for readability E4805B 660 E4861A 2640 E4863A 2640 ANALYZER E4862A 2640 GENERATOR E4861A 2640 E4863A 2640 ANALYZER E4862A 2640 GENERATOR ClockGrpInfo ModuleInfo ModuleInfo ModuleInfo ProductNr SpeedClass SerNr IDNr ConnInfo ConnInfo ConnInfo ProductNr SpeedClass Type SerNr IDNr ConnNr ProductNr for example E4838A SpeedClass for example 660 Type ANALYZER GENERATOR SerNr serial numb...

Page 126: ... one as the master clock generator Handle CGRoup MCLock SOURce VALue Syntax Handle CGRoup MCLock SOURce VALue ON OFF Description Because it is possible to have more than one clock module in the Agilent 81250 System this command controls which of the clock modules generates the master clock Example _test CGR1 MCL SOUR ON Handle CGRoup MCLock SOURce VALue Syntax Handle CGRoup MCLock SOURce VALue Ret...

Page 127: ...ents only appear if DETailed is selected Example _test MOD2 CINF DET might return for example formatted here only for readability E4861A 2640 DE40701397 DE40701397 0 E4863A 2640 ANALYZER DE40701316 DE40701316 0 S1 E4862A 2640 GENERATOR DE40701738 DE40701738 0 S1 ModuleInfo ProductNr SpeedClass SerNr IDNr ConnInfo ConnInfo ConnInfo ProductNr SpeedClass Type SerNr IDNr ConnNr ProductNr for example E...

Page 128: ...Syntax Handle CGRoup MODule SLOT Returns the slot number in which the specified module is located Example _test CGR1 MOD1 SLOT might return 3 Handle CGRoup MODule FRAMe Syntax Handle CGRoup MODule FRAMe Returns the frame number to which the specified module belongs Example _test CGR1 MOD1 FRAMe might return 1 Handle CGRoup MODule NAME Syntax Handle CGRoup MODule NAME Returns the name of the specif...

Page 129: ... quoted list of connector names The connector names are 7 digit quoted strings defined according to connector module and clock group The following syntax is used ggmmccc gg represents the clock group mm represents the module ccc represents the connector Example _test CGR1 MOD1 CNAM might return 0102001 0102002 0102003 0102004 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURC...

Page 130: ...ector CINFormation Syntax Handle CGRoup MODule CONNector CINFormation SHORt DETailed Return Value This query returns the connector configuration information The response is an expression according to the following syntax The optional syntax elements only appear if DETailed is selected Example _test MOD2 CONN1 CINF DET might return for example E4863A 2640 ANALYZER DE40701316 DE40701316 0 S1 Connect...

Page 131: ...f the specified connector as a 7 digit quoted string according to connector module and clock group The following syntax is used ggmmccc gg represents the clock group mm represents the module ccc represents the connector Example _test CGR1 MOD1 CONN1 NAME might return 0102001 The above query returns the name of connector 1 in module 2 of clock group 1 Handle CGRoup MODule CONNector TNAMe Syntax Han...

Page 132: ...et Example _test MOD1 CONN1 CAL CDEL 6 5e 9 Handle CGRoup MODule CONNector CALibration CDELay Syntax Handle CGRoup MODule CONNector CALibration CDELay Return Value Returns the current cable delay for the specified connector of the specified module Example _test MOD1 CONN1 CAL CDEL might return 6 500000E 009 Handle CGRoup MODule CONNector CALibration ZDELay Syntax Handle CGRoup MODule CONNector CAL...

Page 133: ...00E 009 Handle CGRoup MODule CONNector SPECies VALue Syntax Handle CGRoup MODule CONNector SPECies Return Value Returns a comma separated list of the species states that are supported by the connector This can be either ELECtric or OPTic Example _test cgr1 mod1 conn1 spec might return ELEC OPT Handle CGRoup MODule CONNector SPECies STATe Syntax Handle CGRoup MODule CONNector SPECies STATe ELEC OPT...

Page 134: ...ndle CGRoup MODule CONNector SPECies STATe Syntax Handle CGRoup MODule CONNector SPECies STATe Return Value Returns the current species of the connector Possible return values are electrical ELEC or optical OPT Example _test cgr1 mod1 conn1 spec stat might return ELEC Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 135: ...andle CGRoup SOURce TRIGger DELay NRf The delay of the trigger output signal can be varied with this command For frequencies 330 MHz in the range of 0 to 360 ns for frequencies 330 MHz in the range of 0 to 3 3 ns Example _test CGR1 TRIG DEL 2e 9 Handle CGRoup SOURce TRIGger DELay Syntax Handle CGRoup SOURce TRIGger DELay Return Value Returns the current delay of the trigger output signal Example _...

Page 136: ...861A modules only Valid values are 0 0625 1 16 0 125 1 8 0 25 1 4 0 5 1 2 1 2 4 8 16 The range of this parameter depends on the value of the system MUX factor Segment Resolution See Handle SGENeral GLOBal MUX on page 146 Example _test CGR1 TRIG MUX 2 Handle CGRoup SOURce TRIGger MUX Syntax Handle CGRoup SOURce TRIGger MUX Return Value The MUX factor associated with the trigger output Example _test...

Page 137: ...re checks the current condition in the hardware This is required to make sure that the trigger output is really switched on or to check if the protection circuit within the trigger output has turned off the channel to protect it from damage Example _test CGR1 TRIG OUTP FORC might return OFF Handle CGRoup SOURce TRIGger VOLTage LEVel IMMediate HIGH Syntax Handle CGRoup SOURce TRIGger VOLTage LEVel ...

Page 138: ...t signal Example _test CGR1 TRIG VOLT LOW 1 Handle CGRoup SOURce TRIGger VOLTage LEVel IMMediate LOW Syntax Handle CGRoup SOURce TRIGger VOLTage LEVel IMMediate LOW Returns the lower voltage level of the trigger output signal Example _test CGR1 TRIG VOLT LOW might return 1 000000E 000 Handle CGRoup SOURce TRIGger TVOLtage Syntax Handle CGRoup SOURce TRIGger TVOLtage NRf Specifies the termination v...

Page 139: ...le CGRoup SOURce TRIGger IMPedance EXTernal Syntax Handle CGRoup SOURce TRIGger IMPedance EXTernal NRf Description The external termination impedance can be specified by this command Any negative value is interpreted as into open Example _test CGR1 TRIG IMP 500 Handle CGRoup SOURce TRIGger IMPedance EXTernal Syntax Handle CGRoup SOURce TRIGger IMPedance EXTernal Return Value Returns the current pr...

Page 140: ... the source of the trigger output It is possible to derive the source of the trigger signal from the sequencer circuit SEQuencer or from the clock generation circuit CGENeration Example _test CGROUP1 TRIGGER MODE SEQ Handle CGRoup SOURce TRIGger MODE Syntax Handle CGRoup SOURce TRIGger MODE Return Value Returns the actual source used for the trigger signal Example _test CGR1 TRIG MODE might return...

Page 141: ...page 123 The following subsystems are available SGENeral INFormation Subsystem on page 141 SGENeral GLOBal Subsystem on page 142 The SGENeral PDATa and SGENeral PPULse subsystems allow to specify timing level input and output parameters and data formats on port and terminal levels Furthermore port and terminal administration commands are available for pulse and data ports The SGENeral PDATa subsys...

Page 142: ...l INFormation This subsystem provides information about the general scheme Handle SGENeral INFormation PCLasses Syntax Handle SGENeral INFormation PCLasses Return Value Returns the list of implemented port classes in a comma separated quoted string list Example _test SGENeral INFormation PCLasses returns DATA PULSE Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 143: ...inuous Subsystem on page 154 SGENeral GLOBal SYSTem Subsystem on page 155 SGENeral GLOBal SEQuence Subsystem on page 156 SGENeral GLOBal TRIGger Subsystem on page 173 SGENeral GLOBal ARM Subsystem on page 179 Handle SGENeral GLOBal CONNect Syntax Handle SGENeral GLOBal CONNect ON OFF Description Connects or disconnects all enabled connectors of the Agilent 81250 System at the same time Example _te...

Page 144: ...tends were exchanged in a module the system must be autocalibrated after a 30 minute warmup period Delay Auto Calibration must be performed before Zero Adjustment or Cable Adjustment Related Commands CALibration CDELay on page 303 Handle CGRoup MODule CONNector CALibration ZDELay on page 131 Example _test SGEN GLOB CAL SELF DEL Handle SGENeral GLOBal DOFFset Syntax Handle SGENeral GLOBal DOFFset D...

Page 145: ...an error was found in the system This can be used to increase program speed Uploading of memory segments can be completely avoided when it is known that there are no errors at all Example _test SGEN GLOB FETC ERR ANY might return 0 Handle SGENeral GLOBal PERiod Syntax Handle SGENeral GLOBal PERiod Period Parameters Period A numeric value out of the specified range e g 10e 9 Sets the period of the ...

Page 146: ...eral GLOBal FREQuency Frequency Parameters Frequency A numeric value out of the specified range e g 100E6 Sets the frequency of the Agilent 81250 System NOTE The frequency at an individual connector depends on the frequency multiply factor chosen for this connector Example _test SGEN GLOB FREQ 100E6 Handle SGENeral GLOBal FREQuency Syntax Handle SGENeral GLOBal FREQuency Return Value The currently...

Page 147: ...lues for the MUX Segment Resolution are 1 2 4 8 and 16 For E4861A modules valid values are 16 32 and 64 For E4861B modules valid values are 1 2 4 8 16 32 64 and 128 For E4866A and E4867A modules the only valid value is 256 For N4872A N4873A N4874A and N4875A modules valid values are 32 64 128 256 and 512 Different values will be rounded off on to the next valid value Each connector can be set to a...

Page 148: ...requency Multipliers 337 500 675 000 16 2 097 152 1 2 4 1 350 000 32 4 194 304 1 2 1 2 2 700 000 64 8 388 608 1 4 1 2 1 System Clock Frequency Mbit s Segment Resolution bits Memory Depth bits Possible Frequency Multipliers 20 834 to 41 666 1 131 072 1 2 4 8 16 32 64 128 82 333 2 262 144 1 2 1 2 4 8 16 32 64 166 666 4 524 288 1 4 1 2 1 2 4 8 16 32 333 333 8 1 048 576 1 8 1 4 1 2 1 2 4 8 16 666 666 ...

Page 149: ... 1 2 4 8 5 400 128 16 777 216 1 4 1 2 1 2 4 10 800 N4874 75A 7 000 256 33 554 432 1 8 1 4 1 2 1 2 13 500 N4874 75A 7 000 512 67 108 864 1 16 1 8 1 4 1 2 1 Segment Resolution Frequency Multiplier Range FMR a Memory Depthb System Clock Rates 1 bit 1 1 2 4 8 16 128 Kbit 42 1875 MHz 2 bits 2 1 2 1 2 4 8 256 Kbit 84 375 MHz 4 bits 4 1 4 1 2 1 2 4 512 Kbit 168 75 MHz 8 bits 8 1 8 1 4 1 2 1 2 1 Mbit 337 ...

Page 150: ...data stream Because the generated clock signal is undefined it is useless to continue the test You may consider using an external clock UDATa Unlocked DATa only available for the E4869B and N4872A to N4875A modules Indicates that the input clock is not stable enough Any return value other than LOCKed indicates that the internal and external signals are not locked In this case you can do the follow...

Page 151: ...ot synchronize on the incoming data stream Because the generated clock signal is undefined it is useless to continue the test You may consider using an external clock UDATa Unlocked DATa only available for the E4869B and N4872A to N4875A modules If this value is returned the input clock is not stable enough Any return value other than LOCKed indicates that the internal and external signals are not...

Page 152: ...CONFigure Syntax Handle SGENeral GLOBal CONFigure Return Value Returns the last measurement mode setting in a quoted string ECO FAIL ECO ONES ECO ZER ECAP number of stop bits Example _test SGEN GLOB CONF might return ECO FAIL Handle SGENeral GLOBal CONFigure CAPTure Syntax Handle SGENeral GLOBal CONFigure CAPTure Description In the CAPTure measurement mode it is possible to hook up analyzer channe...

Page 153: ...equency multiplier can be queried via CGR MOD CONN MUX The segment resolution can be queried via SGEN GLOB MUX Description In the Error CAPture mode the incoming data stream is compared to a stream of expected data After compare the resulting data stream is held in the internal memory ready to be displayed or to be saved to the database An additional parameter can be specified called StopBits This...

Page 154: ... The frequency multiplier can be queried via CGR MOD CONN MUX The segment resolution can be queried via SGEN GLOB MUX Reset Value After reset the system is in the ECO mode Description Sets the instrument to Compare and CAPture mode In this mode the incoming data stream is compared to a stream of expected data Errors can be handled via event handling for example a deferred branch to the sequence en...

Page 155: ...the instrument system Handle SGENeral GLOBal INITiate CONTinuous Syntax Handle SGENeral GLOBal INITiate CONTinuous ON OFF Parameters ON OFF ON starts the system This command starts stops the system Example _test SGEN GLOB INIT CONT ON Handle SGENeral GLOBal INITiate CONTinuous Syntax Handle SGENeral GLOBal INITiate CONTinuous Return Value The current state of the system Example _test SGEN GLOB INI...

Page 156: ... state of the system The system is started or stopped by the previous command It is also possible that a system is stopped for example by the actual sequence for example if the sequence finishes before a stop was initiated by the user The possible return values are Example _test SGEN GLOB SYST STAT might return PROG FINished The system has finished the sequence to generate HALTed The system is hal...

Page 157: ... queried via the Command Line window The resulting sequence or event expressions can then be integrated into remote programs via cut and paste Hierarchical Expressions Sequences and Events use hierarchical expressions to encode information The Syntax of an hierarchical expression is presented in EBNF notation see ISO 14977 or are quote characters everything enclosed by quotes is treated as is is a...

Page 158: ...l Expression 1 SEQ Block Expression 1 Label Block Expression 1 Loop Expression 1 LOOP 1 2 3 4 5 Trigger Iterations Block Expression 1 Block Expression 2 Simple Expression 2 Sequential Expression 2 Loop Expression 2 Simple Expression 2 BLOCK Trigger Vectors 0 VXI Triggers 2 React Expressions 2 Segment Sequential Expression 2 SEQ Block Expression 2 Label Block Expression 2 Loop Expression 2 LOOP 1 2...

Page 159: ...ximum number of segments Sequential Expression 3 SEQ Block Expression 3 Label Block Expression 3 Loop Expression 3 LOOP 1 2 3 4 5 Trigger Iterations VXI Triggers 2 Block Expression 3 React Expressions 3 React Expressions 2 Sync Expression 3 Sync Expression 3 SYNC Segment Name String PAUSE0 PAUSE1 ACQUIRE PAUSE EXPECTED0 EXPECTED1 PAUSE EXPECTED0 EXPECTED1 DONTCARE PAUSE Label String Trigger 0 1 Ve...

Page 160: ...lution as specified by the SGEN GLOB MUX command The number of vectors must be a multiple of the Segment Resolution value The minimum value depends on the number of looping levels started on that block It must be 1 Number of Looping Levels Started Segment Resolution The sequence will be downloaded with the next SGEN GLOB INIT CONT ON command when one of the following happens The channel add config...

Page 161: ...ED1 PAUSE Input Port Compare and Acquire around Error EXPECTED0 EXPECTED1 DONTCARE and PAUSE Description With this command the data sequence is loaded into the system The sequence expression corresponds to the Sequence Editor of the graphical user interface Example _test SGEN GLOB SEQ 1 0 SEQ BLOCK 0 80 header 0 0 PAUSE 0 0 LOOP5 0 INF BLOCK 0 80 count16up 0 0 count16up 0 0 results in the followin...

Page 162: ...ENeral GLOBal SEQuence VALue Syntax Handle SGENeral GLOBal SEQuence VALue Return Value This query returns the current data sequence of the system Example _test SGEN GLOB SEQ might return 1 0 SEQ BLOCK 0 80 header 0 0 PAUSE 0 0 LOOP5 0 INF BLOCK 0 80 count16up 0 0 count16up 0 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 163: ...vent Expression 3 0 10 Event Expression Event Expression Name Enabled Or Expressions Or Expressions Or Expression Or Expressions Or Expression CMD POD VXI Triggers Errors Name String Enabled 0 1 CMD 1 Bit Mask 1 Bit Mask POD 8 Bit Mask 8 Bit Mask VXI Triggers 2 Bit Mask 2 Bit Mask Errors IGNORE ERROR NOERROR ERROR Number NOERROR Number Bit Mask 0 1 x X Number Digit Digit 0 1 2 3 4 5 6 7 8 9 String...

Page 164: ...in an error event invalid port Therefore the event expression is automatically adjusted to remove this error event Reset Value As reset value all 10 events are disabled 3 0 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNO...

Page 165: ...0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE Description This query returns the events defined by the system The event expression corresponds to the Event Editor of the graphical user interface Example SGEN GLOB SEQ EVEN might return 2 0 0 x xxxxxxxx xx IGNORE 0 x xxxxxxxx xx IGNORE ...

Page 166: ... for the SGEN GLOB INIT CONT ON command Otherwise the SGEN GLOB INIT CONT ON command downloads the sequence as needed and may therefore have different execution times depending on the history of commands that have been sent to the system Example _test SGEN GLOB SEQ FORC Handle SGENeral GLOBal SEQuence LLEVel Syntax Handle SGENeral GLOBal SEQuence LLEVel Return Value Returns the actual number of av...

Page 167: ...e influenced at runtime This may be used for Stop and Go sequence model etc Example SGEN GLOB SEQ PCON 1 Handle SGENeral GLOBal SEQuence PCONtrol Syntax Handle SGENeral GLOBal SEQuence PCONtrol Reset Value 0 Description Returns the state of the program control event line Example SGEN GLOB SEQ PCON might return 1 Handle SGENeral GLOBal SEQuence STATe Syntax Handle SGENeral GLOBal SEQuence STATe Des...

Page 168: ... automatic alignment of incoming and expected data DeMUX rewiring commands The following figure shows the DeMUX rewiring commands in the Agilent 81250 user interface SGEN PDAT DMUX STAG1 SGEN PDAT DMUX STAG1 OUT 16 SGEN GLOB SYNC REW ON SGEN GLOB SYNC REW OFF SGEN GLOB SYNC RMOD AUTO SGEN GLOB SYNC RMOD TRO SGEN GLOB SYNC RMOD TDET SGEN GLOB SYNC RCH ON SGEN GLOB SYNC RCH OFF SGEN GLOB SYNC SMOD B...

Page 169: ...GLOBal SYNChronization BERThreshold Thresh Parameters Thresh Threshold for the bit error ratio to be accepted during synchronization The range is from 1e 4 to 1e 9 The reset value is 1e 6 Note that the time needed for synchronization increases with decreasing bit error ratio threshold To assure that the bit error ratio is lower than the threshold N 1 Thresh bits must be measured N 1 Thresh is used...

Page 170: ...es how the synchronization of the analyzers is achieved Note that this value will only be used if SGEN GLOB SYNC USED returns TRUE BSYNchronization Neither the exact delay nor a delay range is known within which the incoming data will start The data can come at any time after the system is started The actual delay will be determined by automatic bit synchronization This is the reset value DALignme...

Page 171: ...eature When this feature is enabled the synchronizing analyzer channel will first try to synchronize the incoming signal with the currently selected input polarity If this fails it will try to synchronize with the opposite input polarity This feature is only available if all analyzer channels in the system are able to select the input polarity Currently this is only supported by E4832A E4835A fron...

Page 172: ... APS might return TRUE Handle SGENeral GLOBal SYNChronization APAlignment Syntax Handle SGENeral GLOBal SYNChronization APAlignment FALSe TRUE Parameters Specifies whether a phase optimization is done after an automatic bit synchronization TRUE The phase is automatically optimized as specified by the SGEN GLOB SYNC BERT and SGEN GLOB SYNC PACC commands This is the reset value FALSe No automatic ph...

Page 173: ...NChronization PACCuracy accuracy Parameters accuracy Specifies in percent of the data period how accurate the phase optimization is done after a synchronization Note that the time needed to achieve synchronization increases with the accuracy The range is from 0 01 to 0 2 The reset value is 0 2 20 Note that this value will only be used if SGEN GLOB SYNC USED returns TRUE Example SGEN GLOB SYNC PACC...

Page 174: ...tio Tester System User Guide NOTE If the external clock mode is set and the external start mode is selected the external clock must be in a stable state for 100 ms before the external start can take place Example _test SGEN GLOB TRIG EXT5 CDR Clock Data Recovery only available for E4809A INT10 reference internal clock source 10 MHz internal clock reference VXI10 reference internal clock source 10 ...

Page 175: ...OBal TRIGger SEQuence LAYer SOURce CDRList Return Value Returns the list of channels that have CDR Clock Data Recovery capabilities Example _test SGEN GLOB TRIG CDRL might return 0104001 0103001 Handle SGENeral GLOBal TRIGger SEQuence LAYer SOURce CDR Syntax Handle SGENeral GLOBal TRIGger SEQuence LAYer SOURce CDR channel Description Specifies which channel recovers the clock from the data stream ...

Page 176: ...e supplied external clock at the clock reference input of a clock module and returns the value without changing the mode of the machine The external clock can only be measured when the Agilent 81250 has been stopped Example _test SGEN GLOB TRIG SEQ CLOC Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MEASurement DIRect Syntax Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MEASurement DIRe...

Page 177: ... has been stopped Example _test SGEN GLOB TRIG CLOC MULT 10 Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MULTiplier Syntax Handle SGENeral GLOBal TRIGger SEQuence LAYer CLOCk MULTiplier Return Value Returns the current clock multiplication factor This command works only when the Agilent 81250 has been stopped Example _test SGEN GLOB TRIG CLOC MULT might return 10 Handle SGENeral GLOBal TRIG...

Page 178: ...nd measures the external clock reference and sets the corresponding mode automatically The automatically set modes are The E4809A can only use the EXT10 mode The E4805B and E4808A can use all modes Example _test SGEN GLOB TRIG RCL DET Handle SGENeral GLOBal TRIGger SEQuence LAYer CLock MEASurement Syntax Handle SGENeral GLOBal TRIGger SEQuence LAYer CLock MEASurement This command measures the exte...

Page 179: ... SEQuence LAYer TVOLtage TermVoltage Parameters TermVoltage Specifies the termination voltage of the clock ref input The available termination voltage range is 2 10 V to 3 30 V Default is 0 V Example _test SGEN GLOB TRIG TVOL 1 Handle SGENeral GLOBal TRIGger SEQuence LAYer TVOLtage Syntax Handle SGENeral GLOBal TRIGger SEQuence LAYer TVOLtage Return Value Returns the actual setting of the terminat...

Page 180: ... generated immediately as soon as the system is started by the start command SOUR GATEd A pulse stream sequence is generated as soon as the level at the external input connector exceeds the input threshold A sequence can be generated by a positive or a by a negative input signal depending on the parameter set SOUR STARtsignal A pulse stream sequence is generated as soon as a start signal exceeds t...

Page 181: ...Neral GLOBal ARM SEQuence LAYer SOURce Syntax Handle SGENeral GLOBal ARM SEQuence LAYer SOURce IMMediate GATed STARtsignal STOPsignal Description This command controls the start mode of the Agilent 81250 System If IMMediate is selected then the sequence can be started and stopped by the SGEN GLOB INIT CONT ON OFF command or it is possible to press the start or stop button in the graphical user int...

Page 182: ...TOP Stopped by a stop signal Handle SGENeral GLOBal ARM SEQuence LAYer SENSe Syntax Handle SGENeral GLOBal ARM SEQuence LAYer SENSe PLEVel NLEVel This command specifies the input level condition which is used in the GATed STARtsignal STOPsignal modes Example _test SGEN GLOB ARM SENS PLEV Handle SGENeral GLOBal ARM SEQuence LAYer SENSe Syntax Handle SGENeral GLOBal ARM SEQuence LAYer SENSe Returns ...

Page 183: ...ndle SGENeral GLOBal ARM SEQuence LAYer THReshold Syntax Handle SGENeral GLOBal ARM SEQuence LAYer THReshold Returns the threshold for the external input signal used in the gate or start stop mode Example _test SGEN GLOB ARM THR might return 1 000000E 000 Handle SGENeral GLOBal ARM SEQuence LAYer TVOLtage Syntax Handle SGENeral GLOBal ARM SEQuence LAYer TVOLtage NRf This command specifies the term...

Page 184: ...e SGENeral GLOBal ARM SEQuence LAYer TVOLtage Syntax Handle SGENeral GLOBal ARM SEQuence LAYer TVOLtage Returns the actual termination voltage for the external input signal used in the gate or start stop mode Example _test SGEN GLOB ARM TVOL might return 2 000000E 000 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 185: ...ch 2006 Timing Parameter Commands The commands for specifying the timing parameters are available on port terminal and connector level The parameters can be specified separately for pulse and data ports PULSe DELay PULSE DELay CYCLes PULSe DELay TIME Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 186: ... trigger output Valid range for E4832A 0 max 3 μs PERiod Valid range for E4861A E4866A 0 300 ns Valid range for E4861B 0 200 ns Valid range for N4872A N4874A 0 200 ns If this command is used the value is interpreted as a timing value only This sets PULSe DELay CYCLes to zero Otherwise if the delay is specified by PULSe DELay CYCLes and PULSe DELay TIME the corresponding delay is calculated The num...

Page 187: ...Se DELay CYCLes Syntax Handle SGENeral PDATa SOURce PULSe DELay CYCLes Cycles Handle SGENeral PDATa TERMinal SOURce PULSe DELay CYCLes Cycles Handle SGENeral PPULs SOURce PULSe DELay CYCLes Cycles Handle SGENeral PPULs TERMinal SOURce PULSe DELay CYCLes Cycles Handle CGRoup MODule CONNector SOURce PULSe DELay CYCLes Cycles Parameters Cycles One cycle corresponds to the actual period frequency vali...

Page 188: ...Handle SGENeral PDATa TERMinal SOURce PULSe DELay CYCLes Handle SGENeral PPULs SOURce PULSe DELay CYCLes Handle SGENeral PPULs TERMinal SOURce PULSe DELay CYCLes Handle CGRoup MODule CONNector SOURce PULSe DELay CYCLes Return Value Returns the current cycle value of the pulse delay for the specified generator output connector Example _test SGEN PDAT1 PULS DEL CYCL _test SGEN1 PDAT1 TERM1 PULS DEL ...

Page 189: ... is interpreted as a timing value only This sets PULSe DELay TIME to zero Example _test SGEN PDAT1 PULS DEL TIME 0 5 _test SGEN1 PDAT1 TERM1 PULS DEL TIME 0 5 _test SGEN PPUL1 PULS DELAY TIME 0 5 _test CGROUP1 MODULE2 CONNECTOR4 PULS DELAY TIME 0 5 PULSe DELay TIME Syntax Handle SGENeral PDATa SOURce PULSe DELay TIME Handle SGENeral PDATa TERMinal SOURce PULSe DELay TIME Handle SGENeral PPULs SOUR...

Page 190: ...of the signal in percentage of signal amplitude The formula for the cross point is Cross Point 100 VCross VHigh VHigh VLow This parameter is valid only for NRZ format modes Cross point range is subject to change depending on hardware capabilities Valid range for E4862B 25 75 Valid range for N4872A 74A 20 80 NOTE This parameter can also be used for the N4868A 10 8G Booster modules The valid range i...

Page 191: ...OURce PULSe CROSsing Handle CGRoup MODule CONNector SOURce PULSe CROSsing Return Value Returns the current cross point The unit for the cross point is in percentage of signal amplitude The formula for the cross point is Cross Point 100 VCross VHigh VHigh VLow Example _test SGEN PDAT1 PULS CROS _test SGEN PDAT1 TERM1 SOUR PULS CROS _test SGEN PPUL1 PULS CROS _test SGEN PPUL1 TERM1 SOUR PULS CROS _t...

Page 192: ...e _test SGEN PDAT1 PULS WIDT 15e 9 _test SGEN PDAT1 TERM1 SOUR PULS WIDT 10e 9 _test SGEN PPUL1 PULS WIDT 15e 9 _test SGEN PPUL1 TERM1 SOUR PULS WIDT 10e 9 _test MOD2 CONN3 PULS WIDT 20e 9 PULSe WIDTh Syntax Handle SGENeral PDATa SOURce PULSe WIDTh Handle SGENeral PDATa TERMinal SOURce PULSe WIDTh Handle SGENeral PPULse SOURce PULSe WIDTh Handle SGENeral PPULse TERMinal SOURce PULSe WIDTh Handle C...

Page 193: ...100 Example _test SGEN PDAT1 PULS DCYC 25 _test SGEN PDAT1 TERM1 SOUR PULS DCYC 30 _test SGEN PPUL1 PULS DCYC 25 _test SGEN PPUL1 TERM1 SOUR PULS DCYC 30 _test mod2 conn3 pulse DCYCLE 30 PULSe DCYCle Syntax Handle SGENeral PDATa SOURce PULSe DCYCle Handle SGENeral PDATa TERMinal SOURce PULSe DCYCle Handle SGENeral PPULse SOURce PULSe DCYCle Handle SGENeral PPULse TERMinal SOURce PULSe DCYCle Handl...

Page 194: ... SGEN PDAT1 PULS HOLD DCYC _test SGEN PDAT1 TERM1 SOUR PULS HOLD DCYC _test SGEN PPUL1 PULS HOLD DCYC _test SGEN PPUL1 TERM1 SOUR PULS HOLD WIDT _test CGR MOD2 CONN3 SOUR PULS HOLD WIDT PULSe HOLD Syntax Handle SGENeral PDATa SOURce PULSe HOLD Handle SGENeral PDATa TERMinal SOURce PULSe HOLD Handle SGENeral PPULse SOURce PULSe HOLD Handle SGENeral PPULse TERMinal SOURce PULSe HOLD Handle CGRoup MO...

Page 195: ...he valid ranges are E4838A 0 5ns 5 0ns Consider the following restrictions When the specified port terminal connector is operating in NRZ format mode the actual value range is restricted by the selected period frequency Handle SGENeral GLOBal PERiod on page 144 Handle SGENeral GLOBal FREQuency on page 145 MUX on page 201 FORMat on page 318 When the specified port terminal connector is operating in...

Page 196: ... SOUR PULS LEAD _test SGEN PDAT1 PULS TRAN _test SGEN PPUL TERM1 SOUR PULS LEAD _test MOD2 CONN3 PULS TRAN might return 2 000000E 009 PULSe TRANsition TRAiling Syntax Handle SGENeral PDATa SOURce PULSe TRANsition TRAiling TrailingEdge Handle SGENeral PDATa TERMinal SOURce PULSe TRANsition TRAiling TrailingEdge Handle SGENeral PPULse SOURce PULSe TRANsition TRAiling TrailingEdge Handle SGENeral PPU...

Page 197: ...MUX on page 201 FORMat on page 318 Example _test SGEN PDAT1 PULS TRAN TRA 2e 9 _test SGEN PDAT1 TERM1 SOUR PULS TRAN TRA 2e 9 _test SGEN PPUL1 PULS TRAN TRA 2e 9 _test SGEN PPUL1 TERM1 SOUR PULS TRAN TRA 2e 9 _test CGR1 MOD2 CONN3 SOUR PULS TRAN TRA 2e 9 PULSe TRANsition TRAiling Syntax Handle SGENeral PDATa SOURce PULSe TRANsition TRAiling Handle SGENeral PDATa TERMinal SOURce PULSe TRANsition TR...

Page 198: ...Configuration LEADing ChannelAddLeadingEdge Parameters ChannelAddLeadingEdge Additional Leading Edge value NRf Sets the additional leading edge if the Channel Add mode is activated This command is only supported for E4838A frontends in A2 channel add mode see OUTPut CAConfiguration MODE on page 277 The overall range is 0 5 ns to 5 ns Consider the following restrictions When the specified port term...

Page 199: ... PDATa SOURce PULSe TRANsition CAConfiguration LEADing Handle SGENeral PDATa TERMinal SOURce PULSe TRANsition CAConfiguration LEADing Handle SGENeral PPULse SOURce PULSe TRANsition CAConfiguration LEADing Handle SGENeral PPULse TERMinal SOURce PULSe TRANsition CAConfiguration LEADing Handle CGRoup MODule CONNector SOURce PULSe TRANsition CAConfiguration LEADing Return Value Returns the additional ...

Page 200: ...ode is activated This command is only supported for E4838A frontends in A2 channel add mode see OUTPut CAConfiguration MODE on page 277 The overall range is 0 5 ns to 5 ns Consider the following restrictions When the specified port terminal connector is operating in NRZ format mode the actual value range is restricted by the selected period frequency Handle SGENeral GLOBal PERiod on page 144 Handl...

Page 201: ...e TRANsition CAConfiguration TRAiling Handle SGENeral PPULse SOURce PULSe TRANsition CAConfiguration TRAiling Handle SGENeral PPULse TERMinal SOURce PULSe TRANsition CAConfiguration TRAiling Handle CGRoup MODule CONNector SOURce PULSe TRANsition CAConfiguration TRAiling Return Value Returns the additional transition time of an E4838A frontend in A2 channel add mode Example _test SGEN PDAT1 PULS TR...

Page 202: ...re 1 16 16 at every factor of 2 1 16 1 8 etc For the E4861A module this range is expanded to 1 64 64 For the E4861B module this range is expanded to 1 128 128 For the N4872A N4875A modules this range is 1 512 512 The range of this parameter depends on the value of the system MUX factor see Handle SGENeral GLOBal MUX on page 146 Example _test SGEN PDAT1 MUX 4 _test SGEN PPUL1 MUX 4 _test SGEN PPUL1...

Page 203: ...69B Speed Parameters Predefined Frequency X X X X Period Handle SGENeral GLOBal PERiod on page 144 X X X X Frequency Handle SGENeral GLOBal FREQuency on page 145 X X X X Voltage Configuration Amplitude VOLTage AMPLitude on page 206 X X Offset VOLTage OFFSet on page 207 X Offset Enabling VOLTage OFFSet EN ABle on page 208 X External Attenuator OUTPut EATTenuator on page 209 X X Delay Correction and...

Page 204: ...the previous table for command availability Threshold INPut THReshold on page 251 X X Sampling Phase Adjustment INPut DELay SWEep on page 259 X Clock System External Clock Input TRIGger on page 215 X X X X Clock Output Subrate TRIGger MODE on page 216 X X Parameter Group Parameter Command on page Available on E4868A E4868B E4869A E4869B VOLT AMPL OUTP DEL SWE SGEN GLOB PER SGEN GLOB FREQ OUTP EATT...

Page 205: ... 2006 The following figures show the input commands in the ParBERT user interface for a DeMUX module Please note that not all commands are available for all modules See the previous table for command availability SGEN GLOB PER SGEN GLOB FREQ INP OCOM INP THR INP DEL SWE Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 206: ... figure shows the clock system commands in the ParBERT user interface for a MUX module The following figure shows the clock system commands in the ParBERT user interface for a DeMUX module TRIG INT TRIG EXT10G TRIG EXT20G TRIG MODE OUT600M TRIG MODE OUT2P5G TRIG INT TRIG EXT10G TRIG EXT20G Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 207: ...r example for additional stressing of the DUT Related Commands VOLTage OFFSet on page 207 OUTPut EATTenuator on page 209 NOTE Because the output of the E4868A MUX module is AC coupled only the amplitude peak to peak voltage can be specified For the E4868B MUX module an offset can be enabled or disabled Parameters value Voltage value in Volts For valid values see Agilent ParBERT 81250 43G Parallel ...

Page 208: ...tage to be added to the generated signal see the hardware specifications for the range Related Commands VOLTage AMPLitude on page 206 VOLTage OFFSet ENABle on page 208 OUTPut EATTenuator on page 209 Example _test MOD10 CONN VOLT OFFS 0 5 VOLTage OFFSet Syntax Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate OFFSet VALue Return Value Returns the offset voltage offset added to the gener...

Page 209: ...age is checked and recalculated If voltage offset is disabled the offset voltage is ignored Related Commands VOLTage AMPLitude on page 206 VOLTage OFFSet on page 207 OUTPut EATTenuator on page 209 Parameters TRUE Enables voltage offset FALSe Disables voltage offset Example _test MOD10 CONN VOLT OFFS ENAB TRUE VOLTage OFFSet ENABle Syntax Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediat...

Page 210: ...ach the DUT and not the values that reach the attenuator Related Commands VOLTage AMPLitude on page 206 VOLTage OFFSet on page 207 VOLTage OFFSet ENABle on page 208 Parameters value Attenuation value of the external attenuator in dB the range is dependent on the offset voltage Example _test _test MOD10 CONN1 OUTP EATT 20 OUTPut EATTenuator Syntax Handle CGRoup MODule CONNector OUTPut EATTenuator R...

Page 211: ...mmand are added to the start delay see PULSe DELay on page 185 of those generators Parameters sweep The valid values depend on the current delay mode Delay correction mode TCOM 200 ps to 200 ps Delay calibration mode DCAL 2 ns to 2 ns The current mode can be queried with OUTPut DELay SWEep MODe on page 212 Example In delay correction mode set the delay to 3 ps _test MOD10 CONN1 OUTP DEL SWE 3E 12 ...

Page 212: ...ep MODe Syntax Handle CGRoup MODule CONNector OUTPut DELay SWEep MODE TCOM DCAL Description This command is used to switch between the delay correction and delay calibration mode If you receive one of the ParBERT 43G bundles all frontends and MUX DEMUX modules are factory calibrated and ready to use These two modes allows you to add a common delay to all the generator frontends connected to the MU...

Page 213: ...t temperature well above 20 C for instance DCAL Delay CALibration Switches into delay calibration mode This mode lets you recalibrate the delay if the clock module or the E4868A module was removed This mode offers a wider timing range Example _test MODule10 CONNector1 OUTPut DELay SWEeep MODe TCOM or _test MODule10 CONNector1 OUTPut DELay SWEeep MODe DCAL OUTPut DELay SWEep MODe Syntax Handle CGRo...

Page 214: ... the ParBERT controller or the loaded setting If you change the delay values your changes take immediate effect and remain effective until the ParBERT system is switched off They are stored in the module They remain effective even if you terminate and restart the ParBERT user interface But if you restart the ParBERT system the values stored in the EEPROM become effective This command allows you to...

Page 215: ...minals could synchronize All analyzer terminals did synchronize but exhibit an abnormally high BER Some analyzer terminals did synchronize but show a BER close to the synchronization threshold while others did not synchronize at all See also How to Change the Input Parameters of a DEMUX Module in the System User Guide for further details Parameters value New value of offset compensation range 1 co...

Page 216: ...nnected to the SYS CLK input of the MUX module EXT10G The module uses an external signal in the range of 10 8 GHz provided by an external clock generator The external clock must be connected to the Ext Clk input port EXT20G The module uses an external signal in the range of 21 6 GHz provided by an external clock generator Example DRSA MOD10 CONN TRIG INT DRSA MOD10 CONN TRIG EXT10G DRSA MOD10 CONN...

Page 217: ...ector OUT2P5G Provides a signal of up to 2 7 GHz at the subrate clock output connector Example DRSA MOD10 CONN TRIG MODE OUT600M DRSA MOD10 CONN TRIG MODE OUT2P5G TRIGger MODE Syntax Handle CGRoup MODule CONNector TRIGger MODE Return Value Returns the speed of the subrate clock output signal Can be either OUT600M Provides a subrate clock output signal in the range of 675 MHz OUT2P5G Provides a sub...

Page 218: ...ewire Handle SGENeral GLOBal SYNChroniza tion REWire on page 219 Configuration Rewiring Mode Handle SGENeral GLOBal SYNChroniza tion RMODe on page 220 Verification Rewiring Check Handle SGENeral GLOBal SYNChroniza tion RCH on page 221 Multi Stages DEMUX Settings Number of Stages Handle SGENeral PDATa DMUX STAGe on page 222 Number of Outputs Handle SGENeral PDATa DMUX STAGe OUT on page 223 Artisan ...

Page 219: ...e parameter commands in the Agilent 81250 user interface SGEN PDAT DMUX STAG2 SGEN PDAT DMUX STAG1 OUT 2 SGEN PDAT DMUX STAG2 OUT 2 SGEN GLOB SYNC REW ON SGEN GLOB SYNC REW OFF SGEN GLOB SYNC RMOD AUTO SGEN GLOB SYNC RMOD TRO SGEN GLOB SYNC RMOD TDET SGEN GLOB SYNC RCH ON SGEN GLOB SYNC RCH OFF Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 220: ...MUX rewiring can take a lot of time it is recommended to set all other system parameters first For more information on DeMUX rewiring please refer to Automatic Rewiring of Demultiplexer Terminals in the Agilent 81250 Parallel Bit Error Ratio Tester System User Guide Parameters ON OFF Switches DeMUX rewiring on or off Example _test SGEN GLOB SYNC REW ON or _test SGEN GLOB SYNC REW OFF Handle SGENer...

Page 221: ...and if that fails with the terminal roundtrip method TRO Terminal ROundtrip Rewire takes place with the terminal roundtrip TDET Trace DETection Rewire takes place with the trace detection method For more information on DeMUX rewiring modes please refer to DEMUX Rewiring Modes in the Agilent 81250 Parallel Bit Error Ratio Tester System User Guide Example _test SGENeral GLOBal SYNCchronization RMODe...

Page 222: ...undtrip TDET Trace DETection Rewire takes place with the trace detection method Example _test SGENeral GLOBal SYNCchronization RMODe might return AUTO or TRO or TDET Handle SGENeral GLOBal SYNChronization RCH Syntax Handle SGENeral GLOBal SYNChronizat RCHeck ON OFF Parameters ON OFF Switches the rewire verify mode on or off If verify rewiring is switched on the system performs additional inspectio...

Page 223: ...erify rewiring is switched off the system tries to ignore noncritical problems to carry out a measurement Example _test SGEN GLOB SYNC RCH might return ON or OFF Handle SGENeral PDATa DMUX STAGe Syntax Handle SGENeral PDATa DMUX STAGe VALUE Description Specifies the number of stages of the DeMUX module To set this value you need to know the architecture of the demultiplexer Parameters Number of st...

Page 224: ...ght return 3 Handle SGENeral PDATa DMUX STAGe OUT Syntax Handle SGENeral PDATa DMUX STAGe OUTputs VALUE value Description Sets the number of outputs per DeMUX module for a specified stage Parameters Index of the stage value Number of outputs per DeMUX module for a specified stage Example For a demultiplexer with the following architecture _test SGEN PDATA DMUX STAG1 OUT 3 or _test SGEN PDATA DMUX ...

Page 225: ... PDATa DMUX STAGe OUT Syntax Handle SGENeral PDATa DMUX STAGe OUTputs VALUE Description Returns the number of outputs per DeMUX module for a specified stage Return Value Number of outputs per DeMUX module for a specified stage Example _test SGEN PDATA DMUX STAG1 OUT might return 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 226: ...e HIGH HighLevel Handle SGENeral PPULse TERMinal SOURce VOLTage LEVel IMMediate HIGH HighLevel Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate HIGH HighLevel Parameters HighLevel High Level value in Volts Sets the peak of a time varying signal Valid range depends on the frontend used E4838A 2 15 to 4 40 V E4843A 1 75 to 3 10 V These ranges are valid for a termination voltage of 0V 50...

Page 227: ...e SOURce VOLTage LEVel IMMediate HIGH Handle SGENeral PPULse TERMinal SOURce VOLTage LEVel IMMediate HIGH Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate HIGH Return Value Returns the high voltage level of the signal Example _test SGEN PDAT1 VOLT HIGH _test SGEN PDAT1 TERM1 SOUR VOLT LEV IMM HIGH _test SGEN PPUL1 VOLT HIGH _test SGEN PPUL1 TERM1 SOUR VOLT LEV IMM HIGH _test MOD2 CONN...

Page 228: ...CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate LOW LowLevel Parameters LowLevel Low Level value in Volts NRf Sets the low level of the time varying signal Valid range depends on the frontend used E4838A 2 2 to 4 35 V E4843A 2 20 to 2 95 V These ranges are valid for a termination voltage of 0V 50 Ohm With other termination voltages other values can be reached for example PECL Levels Example...

Page 229: ...eral PPULse SOURce VOLTage LEVel IMMediate LOW Handle SGENeral PPULse TERMinal SOURce VOLTage LEVel IMMediate LOW Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate LOW Return Value Returns the low voltage level Example _test SGEN PDAT1 VOLT LOW _test SGEN PDAT1 TERM1 SOUR VOLT LEV IMM LOW _test SGEN PPUL1 VOLT LOW _test SGEN PPUL1 TERM1 SOUR VOLT LEV IMM LOW _test MOD2 CONN4 VOLT LOW m...

Page 230: ... SOURce VOLTage LEVel IMMediate CAConfiguration LOW AdditionalLowLevel Parameters AdditionalLowLevel Additional low level value in Volts NRf Sets the additional low level of the pulse which is available only when the A2 channel add mode is selected for the port terminal connector see OUTPut CAConfiguration MODE on page 277 This command is only supported for E4838A frontends For more details on the...

Page 231: ...AConfiguration LOW Handle SGENeral PPULse TERMinal SOURce VOLTage LEVel IMMediate CAConfiguration LOW Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate CAConfiguration LOW Return Value Returns the additional low level of an E4838A frontend in A2 channel add mode Example _test SGEN PDAT1 VOLT CAC LOW _test SGEN1 PDAT1 TERM1 SOUR VOLT LEV IMM CAC LOW _test SGEN PPUL1 VOLT CAC LOW _test S...

Page 232: ...dules See the System User Guide for detailed information about how to work with the Booster modules Description Defines whether single ended or differential channel operation mode should be used TRUE single ended mode FALSE differential mode Parameter New Value New value used for the SEMode When set to TRUE single ended mode is enabled When set to FALSE differential mode is enabled Example _test C...

Page 233: ...ifferential mode is enabled Example _test CGR1 MOD2 CONN3 SOUR VOLT LEV IMM SEM might return TRUE VOLTage LEVel IMMediate SEMode AVAilable Syntax Handle CGRoup MODule CONNector SOURce VOLTage LEVel IMMediate SEMode AVAilable NOTE This command is only applicable to the N4868A 10 8G Booster modules See the System User Guide for detailed information about how to work with the Booster modules It is a ...

Page 234: ...ows input voltages 1 1 V 2 allows input voltages 0 2 V For N4873A and N4875A frontends the selected value is the upper value of a 2 V range For example 1 5 defines a range of 0 5 1 5 V Example _test SGEN PDAT1 INP RANG 3 _test SGEN PDAT1 TERM1 SENS RANG 5 _test CGROUP1 MODULE2 CONNECTOR4 SENSE VOLTAGE RANGE 3 SENSe VOLTage RANGe Syntax Handle SGENeral PDATa SENSe VOLTage RANGe Handle SGENeral PDAT...

Page 235: ...ing or arriving at the ParBERT are recalculated so that they correspond with the required signals of the DUT The value range for the correction factors is from 0 0 to 1 0 with 1 0 being the default value The values have to be understood as the multiplication factor that is required to calculate the levels at the DUT side from the levels at the ParBERT side A value of 0 0 has the special meaning of...

Page 236: ...Tage OCFactor ocfactor Handle SGENeral PDATa TERMinal CALibration VOLTage OCFactor ocfactor Handle SGENeral PDATa TERMinal CLOCk CALibration VOLTage OCFactor ocfactor Parameters ocfactor Offset correction factor this can be in the range 0 0 1 0 See Amplitude Offset Correction Factor Commands on page 234 for details of this command Example _test SGEN PDAT1 CAL OCF 0 8 CALibration VOLTage OCFactor S...

Page 237: ...tor acfactor Parameters acfactor Amplitude correction factor this can be in the range 0 0 1 0 See Amplitude Offset Correction Factor Commands on page 234 for details of this command Example _test SGEN PDAT1 CAL ACF 0 75 CALibration VOLTage ACFactor Syntax Handle CGRoup MODule CONNector CALibration VOLTage ACFactor Handle CGRoup MODule CONNector CLOCk CALibration VOLTage ACFactor Handle SGENeral PD...

Page 238: ...eters IND LOCK Defines whether the offset and amplitude correction factors are independent IND or locked LOCK See Amplitude Offset Correction Factor Commands on page 234 for details of this command Example _test sgen pdat1 cal hold LOCK CALibration VOLTage HOLD Syntax Handle CGRoup MODule CONNector CALibration VOLTage HOLD Handle CGRoup MODule CONNector CLOCk CALibration VOLTage HOLD Handle SGENer...

Page 239: ...t Correction Factor Commands 238 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Example _test sgen pdat1 cal hold might return LOCK Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 240: ...OURce DCONtrol DEViation Handle SGENeral PDATa TERMinal SOURce DCONtrol DEViation Handle SGENeral PPULse SOURce DCONtrol DEViation Handle SGENeral PPULse TERMinal SOURce DCONtrol DEViation Handle CGRoup MODule CONNector SOURce DCONtrol DEViation Return Value Returns the current maximum delay control deviation in seconds Example _test SGEN PDAT1 DCONT _test SGEN PDAT1 TERM1 SOUR DCONT DEV _test SGE...

Page 241: ...st SGEN PDAT1 DCONT SENS 5 0E 10 _test SGEN PDAT1 TERM1 SOUR DCONT SENS 5 0E 10 _test SGEN PPUL1 DCONT SENS 5 0E 11 _test SGEN PPUL1 TERM1 SOUR DCONT SENS 5 0E 10 _test MODULE2 CONNECTOR3 DCONtrol SENSITIVITY 5 0E 11 DCONtrol SENSitivity Syntax Handle SGENeral PDATa SOURce DCONtrol SENSitivity Handle SGENeral PDATa TERMinal SOURce DCONtrol SENSitivity Handle SGENeral PPULse SOURce DCONtrol SENSiti...

Page 242: ...Lse TERMinal SOURce DCONtrol SOURce NAV EXT Handle CGRoup MODule CONNector SOURce DCONtrol SOURce NAV EXT Parameters NAV EXT Sets the delay control source to either NAV not available or EXT external The E4862B frontends support only EXT All other frontends support only NAV Example _test SGEN PDAT1 DCONT SOUR EXT _test SGEN PDAT1 TERM1 SOUR DCONT SOUR EXT _test SGEN PPUL1 DCONT SOUR EXT _test SGEN ...

Page 243: ...TERMinal SOURce DCONtrol SOURce Handle CGRoup MODule CONNector SOURce DCONtrol SOURce Return Value Returns the current delay control source either NAV not available or EXT external The E4862B frontends support only EXT All other frontends support only NAV Example _test SGEN PDAT1 DCONT SOUR _test SGEN PDAT1 TERM1 SOUR DCONT SOUR _test SGEN PPUL1 DCONT SOUR _test SGEN PPUL1 TERM1 SOUR DCONT SOUR _t...

Page 244: ...ENeral PDATa TERMinal SOURce DCONtrol STATe ON OFF Handle SGENeral PPULse SOURce DCONtrol STATe ON OFF Handle SGENeral PPULse TERMinal SOURce DCONtrol STATe ON OFF Handle CGRoup MODule CONNector SOURce DCONtrol STATe ON OFF Parameters ON OFF Switches the specified external delay control input connector on or off Example _test SGEN PDAT1 DCONT STAT ON _test SGEN PPUL1 TERM1 SOUR DCONT STAT ON _test...

Page 245: ...CONtrol STATe Handle SGENeral PPULse TERMinal SOURce DCONtrol STATe Handle CGRoup MODule CONNector SOURce DCONtrol STATe Return Value Returns the current state of the specified external delay control input connector Example _test SGEN PDAT1 DCONT STAT _test SGEN PDAT1 TERM1 SOUR DCONT STAT _test SGEN PPUL1 DCONT STAT _test SGEN PPUL1 TERM1 SOUR DCONT STAT _test MODULE2 CONNECTOR3 DCONTROL STATE mi...

Page 246: ...PUT ON INPut STATe Syntax Handle SGENeral PDATa INPut STATe NFORce FORCe Handle SGENeral PDATa TERMinal INPut STATe NFORce FORCe Handle CGRoup MODule CONNector INPut STATe NFORce FORCe Description Returns the current status of the specified analyzer input connector Parameters NFORce FORCe Defines how the query is executed NFORce Default value Only the firmware is queried for the current state FORC...

Page 247: ...nal connector to either normal or inverted This command is not available for the E4863A E4865A frontends and E4867A module Example _test SGEN PDAT1 INP POL INV _test SGEN PDAT1 TERM1 INP POL INV _test CGROUP1 MODULE2 CONNECTOR4 INPut POLARITY NORM INPut POLarity Syntax Handle SGENeral PDATa INPut POLarity Handle SGENeral PDATa TERMinal INPut POLarity Handle CGRoup MODule CONNector INPut POLarity R...

Page 248: ...INVerted compares the complement input against a threshold value In NORMal and INVerted operation INPut IMPedance INTernal on page 252 and INPut TVOLtage on page 250 specify the termination of the input In BALanced operation the termination is not used but is checked against absolute limits INPut SERial on page 254 is also ignored in BALanced operation but is checked against absolute limits Exampl...

Page 249: ...ral PDATa INPut MODE DIFF SNOR SCOM Handle SGENeral PDATa TERMinal INPut MODE DIFF SNOR SCOM Handle CGRoup MODule CONNector INPut MODE DIFF SNOR SCOM Parameters DIFF SNOR SCOM Selects between single ended operation and differential operation modes if supported by the frontend DIFF selects differential frontend operation Termination is done according to INPut TCONfig comparator operation is selecte...

Page 250: ...e _test SGEN PDAT1 INP MODE DIFF _test SGEN PDAT1 TERM1 INP MODE SNOR _test CGROUP1 MODULE2 CONNECTOR4 INPut MODE SCOM INPut MODE Syntax Handle SGENeral PDATa INPut MODE Handle SGENeral PDATa TERMinal INPut MODE Handle CGRoup MODule CONNector INPut MODE Return Value Returns the operation mode of an input frontend Example _test SGEN PDAT1 INP MODE _test SGEN PDAT1 TERM1 INP MODE _test CGROUP1 MODUL...

Page 251: ...r The termination voltage range of the available analyzer frontends is 2 1 V to 3 1 V Example _test SGEN PDAT1 INP TVOL 2 _test SGEN1 PDAT1 TERM1 INP TVOL 2 _test CGROUP1 MODULE2 CONNECTOR4 INP TVOL 2 INPut TVOLtage Syntax Handle SGENeral PDATa INPut TVOLtage Handle SGENeral PDATa TERMinal INPut TVOLtage Handle CGRoup MODule CONNector INPut TVOLtage Return Value Returns the current termination vol...

Page 252: ...analyzer input connector Example _test SGEN PDAT1 INPut THR 1 _test SGEN1 PDAT1 TERM1 INPut THR 1 _test CGROUP1 MODULE2 CONNECTOR4 INPut THR 1 INPut THReshold Syntax Handle SGENeral PDATa INPut THReshold Handle SGENeral PDATa TERMinal INPut THReshold Handle CGRoup MODule CONNector INPut THReshold Return Value Returns the current threshold voltage of the specified analyzer input connector Example _...

Page 253: ...t SGEN1 PDAT1 TERM1 INPut IMP 1 _test CGROUP1 MODULE2 CONNECTOR4 INPut IMP 1 INPut IMPedance INTernal Syntax Handle SGENeral PDATa INPut IMPedance INTernal Handle SGENeral PDATa TERMinal INPut IMPedance INTernal Handle CGRoup MODule CONNector INPut IMPedance INTernal Return Value Returns the current internal impedance of the specified analyzer input connector A negative value relates to the HiZ in...

Page 254: ... for an N4873A 75A data module Parameters INTernal CDR Sets the clock source for a module to either normal or CDR feedback mode Examples _test SG PD INP SEQ CLOC CDR _test SG PD TERM INP SEQ CLOC CDR _test CGR1 MOD1 CONN INP SEQ CLOC CDR INPut SEQuence LAYer SOURce CLOCk Syntax Handle SGeneral PData INPut SEQuence LAYer SOURce CLOCk Handle SGeneral PData TERMinal INPut SEQuence LAYer SOURce CLOCk ...

Page 255: ...nput an additional serial resistor is used The specified value is taken into account to calculate the corresponding threshold Example _test SGEN PDAT1 INPut SER 50 _test SGEN1 PDAT1 TERM1 INPut SER 50 _test CGROUP1 MODULE2 CONNECTOR4 INPut SER 50 INPut SERial Syntax Handle SGENeral PDATa INPut SERial Handle SGENeral PDATa TERMinal INPut SERial Handle CGRoup MODule CONNector INPut SERial Return Val...

Page 256: ...se if the delay is specified by INPut DELay CYCLes and INPut DELay TIME the corresponding delay will be calculated The number of cycles is converted into seconds and added to the specified INPut DELay TIME value Example _test SGEN PDAT1 INPut DEL 50e 9 _test SGEN1 PDAT1 TERM1 INPut DEL 50e 9 _test CGROUP1 MODULE2 CONNECTOR4 INPut DEL 50e 9 INPut DELay Syntax Handle SGENeral PDATa INPut DELay Handl...

Page 257: ...pecified INPut DELay TIME value If INPut DELay is used the value will be interpreted as a timing value only Therefore INPut DELay CYCLess is set to zero Example _test SGEN PDAT1 INPut DELAY CYCL 0 5 _test SGEN1 PDAT1 TERM1 INPut DELAY CYCL 0 5 _test CGROUP1 MODULE2 CONNECTOR4 INPut DELAY CYCL 0 5 INPut DELay CYCLes Syntax Handle SGENeral PDATa INPut DELay CYCLes Handle SGENeral PDATa TERMinal INPu...

Page 258: ...iming value only Therefore INPut DELay CYCLes is set to zero Example _test SGEN PDAT1 INPut DELAY TIME 5e 9 _test SGEN1 PDAT1 TERM1 INPut DELAY TIME 5e 9 _test CGROUP1 MODULE2 CONNECTOR4 INPut DELAY TIME 5e 9 INPut DELay TIME Syntax Handle SGENeral PDATa INPut DELay TIME Handle SGENeral PDATa TERMinal INPut DELay TIME Handle CGRoup MODule CONNector INPut DELay TIME Return Value Returns the current...

Page 259: ...rns ACT DELAY Delay Time Delay Cycles Delay Sweep Delay B SYNC Auto Bit Synchronization Not even a delay range is known within which the incoming data will start The data can come at any time after the system is started The actual delay query returns ACT DELAY Delay Time Delay Cycles Delay Sweep Delay B SYNC Note that the actual delay may exceed the returned value by a multiple the period Delay Ti...

Page 260: ...upting the test The delay sweep is available on E4863A and E4865A frontends and on E4835A frontends with a frequency higher than 20 8 MHz and highest possible segment resolution Example _test SGEN PDAT1 INPut DELAY SWE 0 4 _test SGEN PDAT1 TERM1 INPut DELAY SWE 0 1 _test CGROUP1 MODULE2 CONNECTOR4 INPut DELAY SWE 0 75 INPut DELay SWEep Syntax Handle SGENeral PDATa INPut DELay SWEep Handle SGENeral...

Page 261: ...dance INTernal on page 252 and INPut TVOLtage on page 250 DIFFerential selects termination via a resistor against the complement input DIFFerential is only supported for E4835A E4863A and E4865A differential input frontends If DIFFerential is selected the differential termination resistor can be set with INPut DIMPedance on page 261 Description For input frontends two possible termination models a...

Page 262: ...P1 MODULE2 CONNECTOR4 INP TCON might return DIFF INPut DIMPedance Syntax Handle SGENeral PDATa INPut DIMPedance INTernal Impedance Handle SGENeral PDATa TERMinal INPut DIMPedance INTernal Impedance Handle CGRoup MODule CONNector INPut DIMPedance INTernal Impedance Parameters Impedance Sets the impedance between the IN and IN inputs of a frontend when the differential termination model is selected ...

Page 263: ... DIMP _test SGEN PDAT1 TERM1 INP DIMP _test CGROUP1 MODULE2 CONNECTOR4 INPut DIMP might return 100 INPut DISConnect MODE Syntax Handle CGRoup MODule CONNector INPut DISConnect MODE Handle SGENeral PDATa INPut DISConnect MODE Handle SGENeral PDATa TERMinal INPut DISConnect MODE Return Value Returns how the specified connector is to be disconnected when the SGENeral GLOBal CONNect OFF command is exe...

Page 264: ...pecified connector by setting the voltage to 0 when the SGENeral GLOBal CONNect OFF command is executed Example _test CGR1 MOD1 CONN1 INP DISC MODE REL Optical Input Commands The optical input commands are used for ParBERT optical analyzers such as the E4811A The following commands are available STATe Sets returns the state of the O E converter POWer UNIT Sets returns the unit used for the 0 1 dec...

Page 265: ...ndle CGRoup MODule CONNector INPut OPTic STATe VALue NFORce FORCe Handle SGENeral PDATa INPut OPTic STATe VALue NFORce FORCe Handle SGENeral PDATa TERMinal INPut OPTic STATe VALue NFORce FORCe Return Value The state of the optical channel s when in optical mode Parameters NFORce FORCe Defines how the query is executed NFORce Default value Only the firmware is queried for the current state FORCe Wh...

Page 266: ...to Watt The following calculations are used for transformations PowerdBm 10 log PowerWatt 0 001 W PowerdBm 10 log PowerWatt 1 mW PowerWatt 1 mW 10 PowerdBm 10 Examples _test CGR1 MOD1 CONN1 INP OPT POW UNIT VAL WATT _test CGR1 MOD1 CONN1 INP OPT POW UNIT WATT INPut OPTic POWer UNIT VALue Syntax Handle CGRoup MODule CONNector INPut OPTic POWer UNIT VALue Handle SGENeral PDATa INPut OPTic POWer UNIT...

Page 267: ...SGENeral PDATa TERMinal INPut OPTic POWer THReshold VALue Return Value 0 1 decision threshold of the connector port or terminal The unit of the returned value can be queried with INPut OPTic POWer UNIT VALue on page 265 INPut OPTic WAVelength VALue Syntax Handle CGRoup MODule CONNector INPut OPTic WAVelength VALue length Handle SGENeral PDATa INPut OPTic WAVelength VALue length Handle SGENeral PDA...

Page 268: ...special calibration options for different wavelength requirements Example cgr mod3 conn inp opt wav might return 8 50e 7 INPut OPTic MEASure Syntax Handle CGRoup MODule CONNector INPut OPTic MEASure Handle SGENeral PDATa INPut OPTic MEASure Handle SGENeral PDATa TERMinal INPut OPTic MEASure Measures the average signal power and sets this as the 0 1 decision threshold Examples _test CGR1 MOD1 CONN1...

Page 269: ...ts For optical modules see Optical Output Commands on page 280 for the commands OUTPut STATe Syntax Handle SGENeral PDATa OUTPut STATe ON OFF Handle SGENeral PDATa TERMinal OUTPut STATe ON OFF Handle SGENeral PPULse OUTPut STATe ON OFF Handle SGENeral PPULse TERMinal OUTPut STATe ON OFF Handle CGRoup MODule CONNector OUTPut STATe ON OFF Parameters ON OFF Switch the normal connector ON or OFF Contr...

Page 270: ...t value Only the firmware is queried for the current state FORCe When FORCe is entered the firmware checks the current condition in the hardware This is required to make sure that the output is really switched on or to check if the protection circuit within the output has turned off the channel to protect it from damage NOTE The FORCe call is slower than NFORce Return Value Returns the current con...

Page 271: ...t supported for E4863A and E4865A frontends Example _test SGEN PDAT1 OUTP POL NORM _test SGEN PDAT1 TERM1 OUTP POL INV _test SGEN PPUL1 OUTP POL NORM _test SGEN PPUL1 TERM1 OUTP POL NORM _test CGR1 MOD2 CONN4 OUTP POL INV OUTPut POLarity Syntax Handle SGENeral PDATa OUTPut POLarity Handle SGENeral PDATa TERMinal OUTPut POLarity Handle SGENeral PPULse OUTPut POLarity Handle SGENeral PPULse TERMinal...

Page 272: ...ON _test SGEN PDAT1 TERM1 OUTP CSTAT OFF _test SGEN PPUL1 OUTP CST ON _test SGEN PPUL1 TERM1 OUTP CSTAT OFF _test CGR1 MOD2 CONN2 OUTP CSTAT ON OUTPut CSTate Syntax Handle SGENeral PDATa OUTPut CSTate Handle SGENeral PDATa TERMinal OUTPut CSTate Handle SGENeral PPULse OUTPut CSTate Handle SGENeral PPULse TERMinal OUTPut CSTate Handle CGRoup MODule CONNector OUTPut CSTate Return Value Returns the c...

Page 273: ...2 0 to 3 0 volts Example _test SGEN PDAT1 OUTP TVOLT 1 _test SGEN PDAT1 TERM1 OUTP TVOL 2 0 _test SGEN PPUL1 OUTP TVOLT 1 _test SGEN PPUL1 TERM1 OUTP TVOL 2 0 _test CGROUP1 MODULE2 CONNECTOR4 OUTPUT TVOLTAGE 1 OUTPut TVOLtage Syntax Handle SGENeral PDATa OUTPut TVOLtage Handle SGENeral PDATa TERMinal OUTPut TVOLtage Handle SGENeral PPULse OUTPut TVOLtage Handle SGENeral PPULse TERMinal OUTPut TVOL...

Page 274: ...DUT Any negative value is interpreted as into open Example _test SGEN PDAT1 OUTP IMP EXT 500 _test SGEN PDAT1 TERM1 OUTP IMP EXT 70 _test SGEN PPUL1 OUTP IMP EXT 500 _test SGEN PPUL1 TERM1 OUTP IMP EXT 70 _test MOD2 CONN3 OUTP IMP EXT 500 OUTPut IMPedance EXTernal Syntax Handle SGENeral PDATa OUTPut IMPedance EXTernal Handle SGENeral PDATa TERMinal OUTPut IMPedance EXTernal Handle SGENeral PPULse ...

Page 275: ...the reset value If VOLTage is selected the termination resistor and termination voltage can be set with OUTPut IMPedance EXTernal on page 273 and OUTPut TVOLtage on page 272 DIFFerential selects termination via a resistor against the complement output If DIFFerential is selected the differential termination resistor can be set with OUTPut DIMPedance EXTernal on page 276 Description For output fron...

Page 276: ...ON VOLT OUTPut TCONfig Syntax Handle SGENeral PDATa OUTPut TCONfig Handle SGENeral PDATa TERMinal OUTPut TCONfig Handle SGENeral PPULse OUTPut TCONfig Handle SGENeral PPULse TERMinal OUTPut TCONfig Handle CGRoup MODule CONNector OUTPut TCONfig Return Value Returns the termination model for output frontends see OUTPut TCONfig on page 274 Example _test SGEN PDAT1 OUTP TCON _test SGEN PDAT1 TERM1 OUT...

Page 277: ...hms are used for termination Example _test SGEN PDAT OUTP DIMP EXT 100 _test SGEN PDAT1 TERM2 OUTP DIMP EXT 50 _test SGEN PPUL OUTP DIMP EXT 100 _test SGEN PPUL2 TERM3 OUTP DIMP EXT 100 OUTPut DIMPedance EXTernal Syntax SGENeral PDATa OUTPut DIMPedance EXTernal SGENeral PDATa TERMinal OUTPut DIMPedance EXTernal SGENeral PPULse OUTPut DIMPedance EXTernal SGENeral PPULse TERMinal OUTPut DIMPedance E...

Page 278: ...end slot of an E4832A module if output frontends are plugged into this slot and into the one immediately above D4 is a digital add of four channels XOR It can be used on the fourth frontend slot of an E4832A module if the whole module is equipped with output frontends A2 is an analog add available only for E4838A frontends It can be used on the second and fourth frontend slots of an E4832A module ...

Page 279: ... CAC _test SGEN PPUL1 TERM1 OUTP CAC MODE _test cgr1 mod2 conn4 outp cac might return D2 OUTPut DISConnect MODE Syntax Handle CGRoup MODule CONNector OUTPut DISConnect MODE RELay VOLTage Handle SGENeral PDATa OUTPut DISConnect MODE RELay VOLTage Handle SGENeral PDATa TERMinal OUTPut DISConnect MODE RELay VOLTage Handle SGENeral PPULse OUTPut DISConnect MODE RELay VOLTage Handle SGENeral PPULse TER...

Page 280: ...Tage Handle SGENeral PPULse OUTPut DISConnect MODE RELay VOLTage Handle SGENeral PPULse TERMinal OUTPut DISConnect MODE RELay VOLTage Parameters RELay VOLTage Sets how the connector terminal or port is to be disconnected when the SGENeral GLOBal CONNect OFF command is executed RELay Disconnects the specified connector by switching the corresponding relay VOLTage Disconnects the specified connector...

Page 281: ...turns the state of the connector terminal or port POWer UNIT Optical Power Parameters The following parameters are used for the optical power Not shown Extinction ratio High Low There are three possibilities of defining the optical waveform Define the high and low power HIGH_LOW method Define the average power and the modulation amplitude AVER_MAMP method Define the average power and the extinctio...

Page 282: ...e SGENeral PDATa OUTPut OPTic STATe VALue OFF ON Handle SGENeral PPULse OUTPut OPTic STATe VALue OFF ON Handle SGENeral PDATa TERMinal OUTPut OPTic STATe VALue OFF ON Handle SGENeral PPULse TERMinal OUTPut OPTic STATe VALue OFF ON Parameters OFF ON Enables disables the laser on the E O converter The electrical board is enabled disabled automatically if the connector species is set to OPT Examples ...

Page 283: ... NFORce FORCe Return Value The state of the laser on the E O converter Parameters NFORce FORCe Defines how the query is executed NFORce Default value Only the firmware is queried for the current state FORCe When FORCe is entered the firmware checks the current condition in the hardware This is required to make sure that the output is really switched on or to check if the protection circuit within ...

Page 284: ...ow Power The optical parameters can always be queried but only the parameters specified by METHod can be set For example if the METHod is AVER_MAMP only average power and modulation amplitude can be directly set Trying to set high power in this case results in an error Examples _test CGR1 MOD1 CONN1 OUTP OPT METH HIGH_LOW _test CGR1 MOD1 CONN1 OUTP OPT UNIT WATT _test CGR1 MOD1 CONN1 OUTP OPT HIGH...

Page 285: ...o Watt The following calculations are used for transformations PowerdBm 10 log PowerWatt 0 001 W PowerdBm 10 log PowerWatt 1 mW PowerWatt 1 mW 10 PowerdBm 10 Examples _test CGR1 MOD1 CONN1 OUTP OPT POW UNIT VAL WATT _test CGR1 MOD1 CONN1 OUTP OPT POW UNIT WATT OUTPut OPTic POWer UNIT VALue Syntax Handle CGRoup MODule CONNector OUTPut OPTic POWer UNIT VALue Handle SGENeral PDATa OUTPut OPTic POWer ...

Page 286: ...and can also only be used when the OUTPut OPTic METHod command is set appropriately Examples _test CGR1 MOD1 CONN1 OUTP OPT POW METH VAL AVER_ERAT _test CGR1 MOD1 CONN1 OUTP OPT POW UNIT VAL WATT _test CGR1 MOD1 CONN1 OUTP OPT POW AVER VAL 0 501187233627E 3 _test CGR1 MOD1 CONN1 OUTP OPT POW METH AVER_MAMP _test CGR1 MOD1 CONN1 OUTP OPT POW UNIT WATT _test CGR1 MOD1 CONN1 OUTP OPT POW AVER 0 50118...

Page 287: ...ENeral PPULse OUTPut OPTic POWer MAMPlitude VALue mod ampl Handle SGENeral PDATa TERMinal OUTPut OPTic POWer MAMPlitude VALue mod ampl Handle SGENeral PPULse TERMinal OUTPut OPTic POWer MAMPlitude VALue mod ampl Parameters mod ampl Modulation amplitude of the selected connector terminal or port NOTE When setting this parameter the parameter defined by OUTPut OPTic POW UNIT is used This command can...

Page 288: ...AMP VAL might return 1 37802405912 OUTPut OPTic POWer HIGH VALue Syntax Handle CGRoup MODule CONNector OUTPut OPTic POWer HIGH VALue high power Handle SGENeral PDATa OUTPut OPTic POWer HIGH VALue high power Handle SGENeral PPULse OUTPut OPTic POWer HIGH VALue high power Handle SGENeral PDATa TERMinal OUTPut OPTic POWer HIGH VALue high power Handle SGENeral PPULse TERMinal OUTPut OPTic POWer HIGH V...

Page 289: ...turn 0 628620384795 OUTPut OPTic POWer LOW VALue Syntax Handle CGRoup MODule CONNector OUTPut OPTic POWer LOW VALue low power Handle SGENeral PDATa OUTPut OPTic POWer LOW VALue low power Handle SGENeral PPULse OUTPut OPTic POWer LOW VALue low power Handle SGENeral PDATa TERMinal OUTPut OPTic POWer LOW VALue low power Handle SGENeral PPULse TERMinal OUTPut OPTic POWer LOW VALue low power Parameters...

Page 290: ... 8 6286203848 OUTPut OPTic ERATio VALue Syntax Handle CGRoup MODule CONNector OUTPut OPTic ERATio VALue ext ratio Handle SGENeral PDATa OUTPut OPTic ERATio VALue ext ratio Handle SGENeral PPULse OUTPut OPTic ERATio VALue ext ratio Handle SGENeral PDATa TERMinal OUTPut OPTic ERATio VALue ext ratio Handle SGENeral PPULse TERMinal OUTPut OPTic ERATio VALue ext ratio Parameters ext ratio Extinction ra...

Page 291: ... CONN1 OUTP OPT ERAT _test CGR1 MOD1 CONN1 OUTP OPT ERAT VAL might return 8 0E 0 OUTPut OPTic ERATio UNIT VALue Syntax Handle CGRoup MODule CONNector OUTPut OPTic ERATio UNIT VALue NONE DB Handle SGENeral PDATa OUTPut OPTic ERATio UNIT VALue NONE DB Handle SGENeral PPULse OUTPut OPTic ERATio UNIT VALue NONE DB Handle SGENeral PDATa TERMinal OUTPut OPTic ERATio VALue NONE DB Handle SGENeral PPULse ...

Page 292: ...ral PPULse OUTPut OPTic ERATio UNIT VALue Handle SGENeral PDATa TERMinal OUTPut OPTic ERATio UNIT VALue Handle SGENeral PPULse TERMinal OUTPut OPTic ERATio UNIT VALue Return Value Unit used for the extinction ratio of the selected optical connector port or terminal Can be NONE linear value used DB logarithmic value used Example _test CGR1 MOD1 CONN1 OUTP OPT UNIT _test CGR1 MOD1 CONN1 OUTP OPT UNI...

Page 293: ...a CLOCk SOURce VOLTage LEVel IMMediate HIGH NRf Handle SGENeral PDATa TERMinal CLOCk SOURce VOLTage LEVel IMMediate HIGH NRf Parameters NRf The upper voltage level of the N4872 74 s clock output signal Example _test cgr mod2 conn volt high 1 2 CLOCk SOURce VOLTage LEVel IMMediate HIGH Syntax Handle CGRoup MODule CONNector CLOCk SOURce VOLTage LEVel IMMediate HIGH Handle SGENeral PDATa CLOCk SOURce...

Page 294: ...p MODule CONNector CLOCk SOURce VOLTage LEVel IMMediate LOW Handle SGENeral PDATa CLOCk SOURce VOLTage LEVel IMMediate LOW Handle SGENeral PDATa TERMinal CLOCk SOURce VOLTage LEVel IMMediate LOW Return Value Returns the lower voltage level of the N4872 74 s clock output signal Example _test SGEN PDAT CLOC VOLT LOW might return 0 2 CLOCk SOURce PULSe DELay SWEep Syntax Handle CGRoup MODule CONNecto...

Page 295: ...LOCk OUTPut IMPedance EXTernal NRf Handle SGENeral PDATa CLOCk OUTPut IMPedance EXTernal NRf Handle SGENeral PDATa TERMinal CLOCk OUTPut IMPedance EXTernal NRf Parameters NRf The external termination impedance of the N4872 74 s clock output Only 50 0 Ω is supported Example _test SGEN PDAT CLOC OUTP IMP EXT 50 CLOCk OUTPut IMPedance EXTernal Syntax Handle CGRoup MODule CONNector CLOCk OUTPut IMPeda...

Page 296: ...lock output when the differential termination model is selected see CLOCk OUTPut TCONfig on page 296 Usually 100 Ohms are used for termination Example _test CGR MOD2 CONN CLOC OUTP DIMP EXT 100 CLOCk OUTPut DIMPedance EXTernal Syntax Handle CGRoup MODule CONNector CLOCk OUTPut DIMPedance EXTernal Handle SGENeral PDATa CLOCk OUTPut DIMPedance EXTernal Handle SGENeral PDATa TERMinal CLOCk OUTPut DIM...

Page 297: ...d termination voltage can be set with CLOCk OUTPut IMPedance EXTernal on page 294 and CLOCk OUTPut TVOLtage on page 297 DIFFerential selects termination via a resistor against the complement output If DIFFerential is selected the differential termination resistor can be set with CLOCk OUTPut DIMPedance EXTernal on page 295 Description It is necessary to specify how the output signal will be termin...

Page 298: ...the termination module for the N4872 74 s clock output Example _test CGR MOD2 CONN CLOC OUTP TCON might return VOLT CLOCk OUTPut TVOLtage Syntax Handle CGRoup MODule CONNector CLOCk OUTPut TVOLtage NRf Handle SGENeral PDATa CLOCk OUTPut TVOLtage NRf Handle SGENeral PDATa TERMinal CLOCk OUTPut TVOLtage NRf Parameters NRf Sets the external termination voltage of the N4872 74 s clock output default i...

Page 299: ...tput Example _test CGR MOD2 CONN CLOC OUTP TVOL might return 3 0E 0 Auxiliary Out Commands The Auxiliary Out command controls the output at the AUX out of an N4873A 75A module AOUT MONitor Syntax CGRoup MODule CONNector AOUT MONitor DME CLOC SGENeral PDATa AOUT MONitor DME CLOC SGENeral PDATa TERMinal AOUT MONitor DME CLOC Parameters DME CLOC Defines the signal at the AUX output of a N4873A 75A mo...

Page 300: ...up MODule CONNector AOUT MONitor SGENeral PDATa AOUT MONitor SGENeral PDATa TERMinal AOUT MONitor Return Value Returns the signal that at the AUX output of a N4873A 75A module Can be DMEasurement data stream or CLOCk recovered clock Example _test sgen pdat aout might return DME Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 301: ...ed string of the port type either INPUT_PORT or OUTPUT_PORT seen from DUT point of view No of Terminals The integer number of terminals used in the new port NR1 This is an optional parameter Port Name A quoted string of the name used to identify the port This is an optional parameter Species Optional Species of the port Possible values are electrical ELEC or optical OPT All terminals of the port a...

Page 302: ... AddressBus ControlBus ATYPes Syntax Handle SGENeral PDATa ATYPes Handle SGENeral PPULse ATYPes Return Value Returns a comma separated list of available predefined port TYPes The suffix of PDATa or PPULse is ignored Currently there are two types available INPUT_PORT and OUTPUT_PORT only for data ports Example _test sgeneral pdata atypes might return INPUT_PORT OUTPUT_PORT DELete Syntax Handle SGEN...

Page 303: ...n pdat1 ren AddrBus _test sgen pdat list AddrBus _test sgen ppul1 ren AddrBus _test sgen ppul list AddrBus NAME Syntax Handle SGENeral PDATa NAME Handle SGENeral PPULse NAME Return Value Returns the name of the specified port Example _test SGEN PDAT1 NAME _test SGEN PPUL1 NAME might return AddrBus NUMBer Syntax Handle SGENeral PDATa NUMBer Handle SGENeral PPULse NUMBer Return Value Returns the num...

Page 304: ...able Delay Parameters Cable Delay Cable Delay value NRf Sets a cable delay for the specified port to synchronize the signals at the DUT terminals NOTE Delay Auto Calibration must be performed before the cable delay can be set See Handle SGENeral GLOBal CALibration SELF DELay on page 143 Example _test SGEN PDAT1 CAL CDEL 6 5e 9 CALibration CDELay Syntax Handle SGENeral PDATa CALibration CDELay Hand...

Page 305: ...e March 2006 SPECies Syntax Handle SGENeral PDATa SPECies Handle SGENeral PPULse SPECies Return Value Returns the port s species This can be either electrical ELEC or optical OPT Example _test SGEN PDAT1 SPEC _test SGEN PPUL1 SPEC might return ELEC Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 306: ...nd appends a new terminal to a port The terminal name and the position of the new terminal are optional If the specified position is zero the new terminal is placed a the beginning of the list If Position is omitted or greater than the number of terminals the new terminal is appended to the list Otherwise the new terminal is inserted after the specified position Example _test SGEN PDAT1 TERM1 APP ...

Page 307: ...s of the specified terminal SYNCing Indicates that the terminal is syncing SUCCeeded Indicates that synchronization was successful FAILed Indicates that the synchronization failed NAVailable Indicates that the terminal is not available STOP Indicates that the system is not running Example _test SGEN PDAT1 TERM1 FET SST might return SYNC SUCC STOP REName Syntax Handle SGENeral PDATa TERMinal REName...

Page 308: ... name of the specified terminal Example _test SGEN PDAT1 TERM1 NAME _test SGEN PPUL1 TERM1 NAME might return T1 TYPE Syntax Handle SGENeral PDATa TERMinal TYPE Handle SGENeral PPULse TERMinal TYPE Return Value Returns the type of the specified terminal Example _test SGEN PDAT1 TERM1 TYPE might return E4843A MOVE Syntax Handle SGENeral PDATa TERMinal MOVE Distance Handle SGENeral PPULse TERMinal MO...

Page 309: ...ecific port to synchronize the signals at the DUT terminals NOTE Delay Auto Calibration must be performed before the cable delay can be set See Handle SGENeral GLOBal CALibration SELF DELay on page 143 Parameters Cable Delay Cable Delay value NRf Example _test SGEN PDAT1 TERM1 CAL CDEL 6 5e 9 _test SGEN PPUL1 TERM1 CAL CDEL 6 5e 9 CALibration CDELay Syntax Handle SGENeral PDATa TERMinal CALibratio...

Page 310: ... The commands are available for pulse and data ports They build the Handle SGENeral CONNect subsystem REMove Syntax Handle SGENeral CONNect PDATa REMove Handle SGENeral CONNect PDATa TERMinal REMove Handle SGENeral CONNect PPULse REMove Handle SGENeral CONNect PPULse TERMinal REMove Description Disconnects all terminals within the specified port or the specified terminal Example _test sgen conn pd...

Page 311: ... suffix of the terminal are used as a start value Only connectors of the same type can be combined to a port The syntax of the channel list is as follows Syntax Examples 0102004 specifies connector 4 in clock group 1 module 2 0102001 0102004 0103001 specifies connectors 1 to 4 of module 2 and connector 1 of module 3 both in clockgroup 1 Example _test SGEN CONN PDAT1 TERM2 TO 0102001 _test SGEN CON...

Page 312: ...connected to this terminal only when channel addition is used This query returns the channel to which the specified terminal is connected If the terminal is not connected an empty channel list is returned for example The optional parameter ALL returns a more detailed list of connectors if the channel add mode is active Example _test sgen conn pdat1 term2 to all _test sgen conn ppul1 term2 to all m...

Page 313: ...rs at all Example _test SGEN PDAT1 FETC ERR ANY _test SGEN PDAT1 TERM2 FETC ERR ANY might return 0 FETCh ECOunt Syntax Handle SGENeral PDATa FETCh ECOunt TermChannelList PSUM Parameters PSUM Generates an accumulation of the received bits count Accumulated Number of Bits and the error bits count Accumulated Number of Errors for all terminals of the whole port TermChannelList Selects specific termin...

Page 314: ...cumulated Number of Errors for all terminals of the whole port On parameter TermChannelList Comma separated list of tuple exponential float values There are as many tuples as addressed by the TermChannelList The values of the tuple are likewise comma separated The first value of the tuple represents the accumulation of the received bits count Accumulated Number of Bits The second value of the tupl...

Page 315: ...200e 011 1 6075325500000e 008 3 2459149132800e 011 1 7538254400000e 008 3 2502299556800e 011 1 9273679100000e 008 NOTE If you have a finite sequence and are interested in the final result you should query the system state before trying to fetch the error rate results With the command sgen glob syst stat you can check when the system has FINished the sequence generation Then stop the system by sgen...

Page 316: ...ption This command resets the received bit counter and the failed bit counter to zero If the argument is omitted all connected terminals within a port are reset to zero The channel list specifies a list of terminals e g 1 3 5 addresses the terminals 1 2 3 5 and these counters are set to 0 Example _test SGEN PDAT1 ECO RES 1 3 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOUR...

Page 317: ...normal NOTE Executing this command while the system is running causes the system to be restarted Syntax HANDLE CGRoup MODule CONNector DIGital STIMulus SIGNal MODE PULSe CLOCk HANDLE SGENeral PDATa DIGital STIMulus SIGNal MODE PULSe CLOCk HANDLE SGENeral PDATa TERMinal DIGital STIMulus SIGNal MODE PULSe CLOCk HANDLE SGENeral PPULse DIGital STIMulus SIGNal MODE PULSe CLOCk HANDLE SGENeral PPULse TE...

Page 318: ...IGNal MODE HANDLE SGENeral PPULse TERMinal DIGital STIMulus SIGNal MODE Return Value Returns the mode for the clock signal of E4862B data generator frontends either CLOCk or PULSe PULSe Pulse mode normal is used CLOCk Clock mode high performance is used Example _test SGEN PDAT1 DIG SIGN STIM MODE _test SGEN PDAT1 TERM1 DIG STIM SIGN MODE _test SGEN PPUL1 DIG SIGN MODE _test SGEN PPUL1 TERM1 DIG ST...

Page 319: ...ndle SGENeral PPULse TERMinal DIGital STIMulus SIGNal FORMat RZ NRZ R1 Handle CGRoup MODule CONNector DIGital STIMulus SIGNal FORMat RZ NRZ R1 Parameters RZ NRZ R1 Sets the output connector data format to either RZ NRZ or R1 The format of the data out stream can be specified here Setting the Format to RZ or R1 may generate an error that the WIDTh is out of range The E4862A and E4864A frontends and...

Page 320: ...lus SIGNal FORMat Handle SGENeral PPULse TERMinal DIGital STIMulus SIGNal FORMat Handle CGRoup MODule CONNector DIGital STIMulus SIGNal FORMat Return Value Returns the current data format state Example _test SGEN PDAT1 DIG SIGN FORM _test SGEN PDAT1 TERM1 DIG STIM SIGN format _test SGEN PPUL1 DIG SIGN FORM _test SGEN PPUL1 TERM1 DIG STIM SIGN format _test CGROUP1 MODULE2 CONNECTOR4 DIGITAL SIGNAL ...

Page 321: ...lication Subsystems Format Parameter Commands 320 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 322: ...syntax of the segment import and export tool enables you to create data segments in any text editor You can also export segments that have been set up in the graphical user interface to ASCII files and modify these files as required The following details are described The Language Syntax on page 322 Concepts on page 326 Default Settings on page 333 Examples on page 333 Artisan Technology Group Qua...

Page 323: ...low Options contains 1 or more default parameters that may be overridden as necessary There are two scopes for options vector variable scope and pattern scope The options constructs will be described in more detail in Options on page 323 Segment Construct The Segment construct contains segment information A segment is a unit of information acceptable to the Agilent 81250 System and may contain eit...

Page 324: ...efined in the following diagram Options defined within a vector variable scope remain valid for the duration of the vector variable construct However options may also be specified within a segment construct in which case they are valid only for the duration of the segment construct As soon as the segment construct goes out of scope the options valid at the vector variable scope re apply see Scopes...

Page 325: ...d CODING is an ASCII string representing the coding Two state sets are supplied as default D 01 and R 0 x1 see Coding on page 326 StateSet Construct The StateSet construct selects a coding previously defined by the StatePar command The name supplied as an argument indicates which coding should be used where NAME is an ASCII string representing the name of the coding The default state set is D Base...

Page 326: ...necessary number of states If no vector width statement is present then the length of the first supplied vector is used as the width for all subsequent vectors where INTEGER is an integer value between 1 and 1024 Vector Construct The Vector construct specifies the content of connector trace data Vector Data is one or more strings of hex decimal or waveform characters Each string is delimited by a ...

Page 327: ...1 below Concepts This section describes some of the more important concepts of the vector import language Coding In this section the coding mechanism is described in more detail The goal of the Vector Import tool is to be able to load one or more sequences of binary data to the Agilent 81250 System The binary data contains waveforms to be presented to the connectors of a hardware device However th...

Page 328: ...ith 0 the coding assumes increasing order from left to right Each of the waveform characters represents a state To represent three waveform characters two bits are required With two bits there are 4 binary values available The value 01 must be represented by blank because this is not a valid waveform character Therefore the binary values of the states are 0 00 blank 01 x 10 and 1 11 Enough informa...

Page 329: ... vector is 5 states wide vectors 58 this is the vector The decimal value 58 is decoded as a 32 bit unsigned integer 00000000 00000000 00000000 00111010 the 10 rightmost bits being the vector When using hexadecimal and decimal bases decoding still requires a valid state set to know the bit width of each state Scopes Scopes are important to the lifetime of optional variables There are 2 scopes vecto...

Page 330: ...tor variable scope base d is defined This remains the base until the end of the vector variables definition vectorVariablesDefinitions start of vector variable scope base w paraPatternVar name SegA vectors 1101110110101 paraPatternVar name SegB base h start of pattern scope vectors base h is valid f7df until here vector variable scope base w is valid base d base d supersedes base w paraPatternVar ...

Page 331: ...he vector on the left side until it is of the correct length Padding can be useful when the same vector cluster is repeated many times Consider the following example Without Padding statePar B 0 x1 define state set B to have coding 0 x1 stateSet B select state set B base w use waveform characters vectorWidth 8 vector is 8 states wide vectors xxxxxxxx It would be possible to rewrite this code snipp...

Page 332: ...ypes Memory segments PRBS segments PRWS segments SFI 5 segments Predefined Parameter Names For the three segment types the following predefined parameter names and values are valid Predefined Para meter Names Memory Segments PRBS Segments PRWS Segments SFI 5 Segments _Type MEMORY PRBS PRWS SFI5 _Rotating not applicable n a _Polynom n a 2 5 1 2 15 1 a 2 5 1 2 15 1 a 2 7 1 2 11 1 2 15 1 2 23 1 2 31 ...

Page 333: ... a _Number when EXTENDED is selected n a 0 max length of se lected PRxS 0 max length of se lected PRxS n a a PRBS and PRWS both also support 2 23 and 2 31 These polynomials must be PURE because they do not fit into the RAM Predefined Para meter Names Memory Segments PRBS Segments PRWS Segments SFI 5 Segments Parameter Value _Type SFI5 _Rotating _Polynom 2 15 1 _Logic NORMAL or INVERTED _PRxSType P...

Page 334: ...a parameter segment Example Memory Type Segment on page 334 shows a data pattern segment a memory type segment Example PRBS Type Segment on page 334 shows a pure 28 1 PRBS with normal output mode a PRBS segment type Example PRWS Type Segment on page 335 shows a 210 1 PRWS with 10 errors inserted and with inverted output mode Example SFI5 Type Segment on page 335 shows a 215 1 SFI 5 segment Paramet...

Page 335: ...00 1111 0000 1111 0000 1111 0000 1111 0000 parameters Predefined parameter names start with _ _Type MEMORY parameter values are always enclosed in Example PRBS Type Segment vectorVariablesDefinitions paraPatternVar name prw parameters _Type PRWS Predefined parameter names _Rotating start with _ _PRxSType ERRORED parameter values _Polynom 2 10 1 are always _Logic INVERTED enclosed in Artisan Techno...

Page 336: ...rameter values _Polynom 2 8 1 are always _Logic NORMAL enclosed in Example SFI5 Type Segment vectorVariablesDefinitions paraPatternVar name sfi5_example parameters Predefined parameter names start with _ parameter values are always enclosed in _Type SFI5 _FramingBytes 11110110111101100010100000101000 _ExpansionHeader 10101010101010101010100000000000 _Rotating _PRxSType PURE _Logic NORMAL _Polynom ...

Page 337: ...Import and Export Language Examples 336 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 338: ...81200 hlp provided with the plug play functions The following is an example of how to use plug play functions to simplify programming Main cpp Application Code Using VXI Plug Play on page 338 The following provide the complete code for the Example C Program on page 40 Lib cpp Interface Class Library Code on page 351 Main cpp Application Code on page 356 Artisan Technology Group Quality Instrumenta...

Page 339: ...It demonstrates how to connect to a firmware server set up ports and terminals apply levels thresholds import data segment set up a sequence set measurement mode start measurement find out when measurement is done stop measurement get captured data export captured data to a file To simplify code the VXI Plug Play interface is used Any error that occurs is logged to stdout or a file include stdio h...

Page 340: ...e szErrMsg VI_SUCCESS fprintf fp Instrument error FctName s ErrCode undetermined ErrMsg undetermined n szFctName break else if lErrCode 0 fprintf fp Instrument error FctName s ErrCode d ErrMsg s n szFctName lErrCode szErrMsg while lErrCode 0 else Not an instrument error if hp81200_error_message hInstrument lStatus szErrMsg VI_SUCCESS fprintf fp Error FctName s ErrMsg undetermined n szFctName else ...

Page 341: ... system reset system lStatus hp81200_systemStop hInstrument errHandling lStatus hp81200_systemStop lStatus hp81200_settingNew hInstrument errHandling lStatus hp81200_settingNew First we want to generate a list of all analyzers and all generators so that afterwards we can connect to ports Determine number of clock groups ViInt32 lClkGeneratorCount lStatus hp81200_nrOfClockGroups_Q hInstrument lClkG...

Page 342: ...Handling lStatus hp81200_nrOfConnectors_Q Loop over all connectors for ViInt32 co 1 co lConnectorCount co ViChar szConnectorType 16 lStatus hp81200_typeOfConnector_Q hInstrument c m co szConnectorType errHandling lStatus hp81200_typeOfConnector_Q Put in analyzer or generator list sprintf szParam 02d 02d 03d c m co if strcmp szConnectorType ANALYZER 0 Analyzer if strcmp szAnalyzers 0 strcat szAnaly...

Page 343: ...Count 0 lStatus hp81200_portCreation hInstrument DATA OUTPUT_PORT lAnalyzerCount output errHandling lStatus hp81200_portCreation lAnalyzerPortNumber lGeneratorPortNumber 1 sprintf szParam s szAnalyzers lStatus hp81200_terminalConnect hInstrument DATA lAnalyzerPortNumber 1 szParam errHandling lStatus hp81200_terminalConnect Switch on everything apply levels thresholds if lGeneratorPortNumber 0 lSta...

Page 344: ...rwrite mode sprintf szParam s samples segments walk64 txt getenv DVTDSRBASEDIR lStatus hp81200_segmentLoadFromFile hInstrument szParam ON errHandling lStatus hp81200_segmentLoadFromFile Set period hp81200_systemPeriod hInstrument 1E 6 errHandling lStatus hp81200_systemPeriod Assign a sequence that uses imported segment Determine number of loop levels available ViInt32 lLoopLevelCount lStatus hp812...

Page 345: ...rHandling lStatus hp81200_sequence Generate trigger signal from sequence lStatus hp81200_systemTriggerOutSource hInstrument 1 SEQ errHandling lStatus hp81200_systemTriggerOutSource Set measurement mode Compare and acquire about error if lAnalyzerPortNumber 0 lStatus hp81200_analyzerErrorCapture hInstrument 32768 errHandling lStatus hp81200_analyzerErrorCapture Save setting for later use lStatus hp...

Page 346: ...errHandling lStatus hp81200_systemStop Demonstrate how to deal with captured data Export the captured data and the error memory if lAnalyzerPortNumber 0 sprintf szParam Analyzer Capture d lAnalyzerPortNumber ViInt32 lCaptureInspector lStatus hp81200_segmentOpen_Q hInstrument szParam lCaptureInspector errHandling lStatus hp81200_segmentOpen_Q sprintf szParam Analyzer ErrMem d lAnalyzerPortNumber Vi...

Page 347: ...lStatus hp81200_segmentPatternCoding_Q hInstrument lCaptureInspector szPatternCode errHandling lStatus hp81200_PatternCoding_Q Write information we got so far fprintf fp Analyzer d Coding s Width d Length d n lAnalyzerPortNumber szPatternCode lWidth lLength Get some data but assure it does not overflow our small result buffer To make it human readable data is returned as a hex string if lLength 10...

Page 348: ... sample in hex lStatus hp81200_segmentPatternData_Q hInstrument lCaptureInspector 0 0 lWidth 1 lLength 1 lBufferLength lpszPattern errHandling lStatus hp81200_PatternData_Q fprintf fp Analyzer d s n lAnalyzerPortNumber lpszPattern Convert data from Hex format to Binary format NOTE Bits within a trace are from left to right i e first bit is bit 7 then bit 6 and so on for a 1 bit coding Display trac...

Page 349: ...DigitIndex 0 else if lpszPattern lHexDigitIndex A lpszPattern lHexDigitIndex F nHexDigit lpszPattern lHexDigitIndex A 10 else Illegal digit ignore nHexDigit 0 Process each bit vector in hex digit for int v 3 v 0 v if l 4 4 v lLength Ignore padding required for byte alignment break if nHexDigit 1 v Bit is set fprintf fp 1 Set bit has been treated remove it nHexDigit 1 v else Bit is not set fprintf ...

Page 350: ...0_segmentSaveToFile hInstrument c temp prog_sample_capture txt SETTING_NAME prog_sample_capture errHandling lStatus hp81200_segmentSaveToFile lStatus hp81200_segmentSaveToFile hInstrument c temp prog_sample_errmem txt SETTING_NAME prog_sample_errmem errHandling lStatus hp81200_segmentSaveToFile Close the segments lStatus hp81200_segmentClose hInstrument lCaptureInspector errHandling lStatus hp8120...

Page 351: ...1200_init For remote access lStatus hp81200_connect hInstrument fox00099 2203 errHandling lStatus hp81200_connect lStatus hp81200_systemSelect hInstrument szSystemNameHp81200 szApplicationName errHandling lStatus hp81200_systemSelect fprintf fp System s n szSystemNameHp81200 doIt hp81200_close hInstrument Wait so that user can see the results if fp stdout fp stderr printf Press any key to continue...

Page 352: ...ctype h include string h include hp81200 h include lib h init HP81200 HP81200 itsErrorFile 0 itsConnected false strcpy itsHandle strcpy itsResultBuffer make sure we released handle and disconnected from the system HP81200 HP81200 assure that handle is destroyed if strcmp itsHandle 0 void Exit Connect to 81200 server on local machine or theServerName Creates a handle for the system theSystemName Th...

Page 353: ...teErrorLog ret return false create a handle sprintf aCmd dvt inst hand cre s DSR s theHandleSuggestion theSystemName b Call aCmd strcpy itsHandle itsResultBuffer return b Release the handle disconnect from the system bool HP81200 Exit if strcmp itsHandle 0 bool b char aCmd 128 destroy handle sprintf aCmd dvt inst hand dest s itsHandle b Call aCmd if b return b clear remembered handle strcpy itsHan...

Page 354: ...e if theCmd 0 command for local handle sprintf aCmd s s itsHandle theCmd else command for local handle sprintf aCmd s s itsHandle theCmd aResultLen sizeof itsResultBuffer ret Call_HP81200 aCmd itsResultBuffer aResultLen if ret 0 WriteErrorLog ret theCmd return false return true Call 81200 handle is automatically supplied by the class Errors are logged to the logfile In case of an error false is re...

Page 355: ...se if theCmd 0 return itsHandle else return itsHandle write to error log file private method void HP81200 WriteErrorLog int theRet const char theCmd if itsErrorFile 0 char aErrorStr 1024 int aErrorLen sizeof aErrorStr write header for the error if theCmd 0 fprintf itsErrorFile Error for cmd s n theCmd if theRet 0 get and print error message corresponding to the return value GetErrStr_HP81200 theRe...

Page 356: ...eference March 2006 355 aResultLen sizeof aResultBuffer int ret Call_HP81200 aCmd aResultBuffer aResultLen break out of loop if error queue empty if ret 0 aResultBuffer 0 0 break fprintf itsErrorFile t s n aResultBuffer Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 357: ...t up a sequence set measurement mode start measurement find out when measurement is done stop measurement get captured data export captured data to a file to make this code easier to read it is based on a small class HP81200 which is provided in lib c lib h Here the error handling and the handle is hidden Any error that occurs is logged to stdout or file include stdio h include stdlib h include st...

Page 358: ...AnaCnt 0 aGenCnt 0 aAnaPort 0 aGenPort 0 find out how many clock groups we have h Call conf cgr aResult int aCgr sscanf aResult d aCgr loop over all clock groups for int c 1 c aCgr c find out how many modules within this clock group sprintf aCmd conf cgr d mod c h Call aCmd aResult int aMod sscanf aResult d aMod loop over all modules for int m 1 m aMod m find out how many connectors we have sprint...

Page 359: ...AnaCnt 1 else if strcmp aGenerators 0 strcat aGenerators strcat aGenerators aBuf aGenCnt 1 now connect analyzers and generators to one port each if aGenCnt 0 sprintf aCmd sgen pdat app INPUT_PORT d input aGenCnt h Call aCmd aGenPort 1 sprintf aCmd sgen conn pdat d term1 s aGenPort aGenerators h Call aCmd if aAnaCnt 0 sprintf aCmd sgen pdat app OUTPUT_PORT d output aAnaCnt h Call aCmd aAnaPort aGen...

Page 360: ...md sgen pdat d inp thr 1 aAnaPort h Call aCmd import data overwrite mode sprintf aCmd mmem segm load s samples segments walk64 txt getenv DVTDSRBASEDIR h Call aCmd set period h Call sgen glob per 1e 6 assign a sequence that uses imported segment how many loop levels are available h Call sgen glob seq llev aResult int aLoopLevels 0 sscanf aResult d aLoopLevels make infinite loop with trigger using ...

Page 361: ...d acquire around error if aAnaPort 0 h Call sgen glob conf ecap save setting for later use sprintf aCmd mmem sett save s SETTING_NAME h Call aCmd start measurement h Call sgen glob init cont on poll measurement done THIS ONLY WORKS ONLINE for h Call sgen glob syst stat aResult if strncmp aResult FIN 3 0 break stop measurement h Call sgen glob init cont off demonstrate the edit subsystem how to dea...

Page 362: ...segm d patt leng aCapture h Call aCmd aResult int aLength sscanf aResult d aLength get Coding sprintf aCmd edit segm d patt cod aCapture h Call aCmd aResult write information we got so far fprintf fp Analyzer d Coding s Width d Length d n aAnaPort aResult aWidth aLength get some data but assure that we will not overflow our small result buffer to make it human readable we get the data as a hex str...

Page 363: ...Buf aResult 2 size_t aResult 1 0 aBuf aResult 1 0 int aBytes 0 sscanf aBuf d aBytes memcpy aBuf aResult 2 aResult 1 0 size_t aBytes print out the data trace wise each trace begins on a byte boundary bits within a trace are from left to right meaning that first bit is bit 7 than bit 6 and so on for a 1 bit coding for int t 0 t aWidth t fprintf fp Trace d t for int l 0 l aLength l fprintf fp c 0 aBu...

Page 364: ...all aCmd don t forget to close the segments again sprintf aCmd edit segm d clos aCapture h Call aCmd sprintf aCmd edit segm d clos aErrMem h Call aCmd return true int main bool b HP81200 a FILE fp fp fopen c temp sample_4 txt w fp stdout init access to local 81200 firmware server system DSRA Errors are logged to a file which may be stdout b a Init a SYSTEM_NAME1 fp if b fprintf fp System s n SYSTE...

Page 365: ...HandleSuggestion const char theSystemName FILE theErrorFile bool b char aCmd 128 int ret remember error log file itsErrorFile theErrorFile connect to firmware server if already connected do nothing ret Connect_HP81200 theServerName itsConnected ret 0 if itsConnected ret 4 WriteErrorLog ret return false create a handle sprintf aCmd dvt inst hand cre s DSR s theHandleSuggestion theSystemName b Call ...

Page 366: ... the logfile In case of an error false is returned Results from the call are ignored bool HP81200 Call const char theCmd int ret char aCmd 1024 int aResultLen if strcmp GetHandle theCmd dvt 0 already valid command with handle dvt just use it sprintf aCmd s theCmd else if theCmd 0 command for local handle sprintf aCmd s s itsHandle theCmd else command for local handle sprintf aCmd s s itsHandle the...

Page 367: ...har theCmd const char theResult theResult itsResultBuffer return Call theCmd int main bool b HP81200 a FILE fp fp fopen c temp sample_4 txt w fp stdout init access to local 81200 firmware server system DSRA Errors are logged to a file which may be stdout b a Init a SYSTEM_NAME1 fp if b fprintf fp System s n SYSTEM_NAME1 b doIt a fp release handle disconnect from server void a Exit wait so that use...

Page 368: ...r sscanf aResult d aCgr loop over all clock groups for int c 1 c aCgr c find out how many modules within this clock group sprintf aCmd conf cgr d mod c h Call aCmd aResult int aMod sscanf aResult d aMod loop over all modules for int m 1 m aMod m find out how many connectors we have sprintf aCmd conf cgr d mod d conn c m h Call aCmd aResult int aConn sscanf aResult d aConn loop over connectors for ...

Page 369: ...ne port each if aGenCnt 0 sprintf aCmd sgen pdat app INPUT_PORT d input aGenCnt h Call aCmd aGenPort 1 sprintf aCmd sgen conn pdat d term1 s aGenPort aGenerators h Call aCmd if aAnaCnt 0 sprintf aCmd sgen pdat app OUTPUT_PORT d output aAnaCnt h Call aCmd aAnaPort aGenPort 1 sprintf aCmd sgen conn pdat d term1 s aAnaPort aAnalyzers h Call aCmd switch on everything apply levels thresholds if aGenPor...

Page 370: ... aCmd set period h Call sgen glob per 1e 6 assign a sequence that uses imported segment how many loop levels are available h Call sgen glob seq llev aResult int aLoopLevels 0 sscanf aResult d aLoopLevels make infinite loop with trigger using the imported demo segment sprintf aCmd sgen glob seq 1 0 LOOP d 1 INF BLOCK 0 64 aLoopLevels if aGenPort 0 sprintf aCmd s walking64 0 0 aCmd if aAnaPort 0 spr...

Page 371: ...urement done THIS ONLY WORKS ONLINE for h Call sgen glob syst stat aResult if strncmp aResult FIN 3 0 break stop measurement h Call sgen glob init cont off demonstrate the edit subsystem how to deal with captured data export the captured data and the error memory if aAnaPort 0 sprintf aCmd edit segm open Analyzer Capture d aAnaPort h Call aCmd aResult int aCapture sscanf aResult d aCapture sprintf...

Page 372: ...idth aLength get some data but assure that we will not overflow our small result buffer to make it human readable we get the data as a hex string if aLength 10 aLength 10 if aLength 0 sprintf aCmd edit segm d patt data 0 0 d d HEX aCapture aWidth 1 aLength 1 h Call aCmd aResult fprintf fp Analyzer d s n aAnaPort aResult extract the vectors and print as 0 and 1 to fp get vector data as definite len...

Page 373: ...ng for int t 0 t aWidth t fprintf fp Trace d t for int l 0 l aLength l fprintf fp c 0 aBuf t aLength 7 8 l 8 7 l 8 1 fprintf fp n save segments under a different name to the local setting sprintf aCmd edit segm d save LocalSegments prog_sample_capture aCapture h Call aCmd sprintf aCmd edit segm d save LocalSegments prog_sample_errmem aErrMem h Call aCmd export segments we do this now before the se...

Page 374: ... Tester Programming Reference March 2006 373 don t forget to close the segments again sprintf aCmd edit segm d clos aCapture h Call aCmd sprintf aCmd edit segm d clos aErrMem h Call aCmd Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 375: ...e Code Main cpp Application Code 374 Agilent 81250 Parallel Bit Error Ratio Tester Programming Reference March 2006 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 376: ...S1 Copyright Agilent Technologies 2006 Printed in Germany March 2006 5988 4886EN Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 377: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: