Anritsu Bit Master MP1026B Programming Manual
Anritsu Bit Master MP1026B Programming Manual

Anritsu Bit Master MP1026B Programming Manual

Eye pattern analyzer
Table of Contents

Advertisement

Quick Links

Programming Manual
Bit Master
MP1026B Eye Pattern Analyzer

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Bit Master MP1026B and is the answer not in the manual?

Questions and answers

Summary of Contents for Anritsu Bit Master MP1026B

  • Page 1 Programming Manual Bit Master MP1026B Eye Pattern Analyzer...
  • Page 3 Programming Manual Bit Master MP1026B Eye Pattern Analyzer Anritsu Company P/N: 10580-00218 490 Jarvis Drive Revision: B Morgan Hill, CA 95037-2809 Printed: January 2010 Copyright 2010 Anritsu Company...
  • Page 4 Anritsu is not liable for consequential damages. LIMITATION OF WARRANTY The foregoing warranty does not apply to Anritsu connectors that have failed due to normal wear. Also, the warranty does not apply to defects resulting from improper or inadequate maintenance by the Buyer, unauthorized modification or misuse, or operation outside of the environmental specifications of the product.
  • Page 5 EULA. d. Termination. Without prejudice to any other rights, Anritsu may terminate this EULA if you fail to comply with the terms and conditions of this EULA. In such event, you must destroy all copies of the SOFTWARE PRODUCT.
  • Page 7 This product and its manuals may require an Export License or approval by the government of the product country of origin for re-export from your country. Before you export this product or any of its manuals, please contact Anritsu Company to confirm whether or not these items are export-controlled.
  • Page 9 Some or all of the following five symbols may or may not be used on all Anritsu equipment. In addition, there may be other labels attached to products that are not shown in the diagrams in this manual.
  • Page 10 For Safety Warning Always refer to the operation manual when working near locations at which the alert mark, shown on the left, is attached. If the operation, etc., is performed without heeding the advice in the operation manual, there is a risk of personal injury.
  • Page 11 Warning Laser radiation may be present at fiber-optic cable connectors and ports. This laser radiation could present a severe ocular hazard from either direct viewing or by diffuse reflection. Do not view the emitted laser radiation directly or indirectly because permanent blindness may result. MP1026B 10580-00218 B...
  • Page 12 10580-00218 B MP1026B...
  • Page 13: Table Of Contents

    Table of Contents Chapter 1—General Programming Information About this Programming Manual ..........1-1 References .
  • Page 14 Chapter 2—Programming Commands Bit Master Specific Commands ..........2-1 All Markers Off .
  • Page 15 CRU Loop Bandwidth ........... . 2-17 Display Mode.
  • Page 16 Fetch Histogram Time Peak to Peak Value........2-38 Fetch Histogram Time Standard Deviation .
  • Page 17: Chapter 1-General Programming Information

    Information About this Programming Manual This manual contains descriptions of the remote commands that are available for the Anritsu line of Master™ products. While it does reference the equivalent front-panel interface for each command, it does not provide a complete front panel reference. Please refer to the appropriate product User Guide or Operations Manual for that information.
  • Page 18: Command Tree

    Programming Overview General Programming Information Command Tree SCPI commands are organized in a “tree” structure. The base of the tree is called the “root”. The “branches” are the functional subsystems. Each “branch” can have subbranches. The final node is called the “leaf”. The entire sequence of branches, plus the leaf, make up the command.
  • Page 19: Parameters

    General Programming Information Programming Overview Parameters The command and its parameters are separated by a space. Parameters may be specified with optional units, depending on the command. For example, :SENS:TIME:CLKR 10 GHZ sets the input clock rate to 10 GHz. Multiple parameters are separated by a comma (“,”).
  • Page 20: Notational Conventions

    Programming Overview General Programming Information Notational Conventions This document uses several notational conventions. They are listed in the following table. Commands are formatted to differentiate them from text :COMMands:WILL:LOOK:LIKE:THIS descriptions. The query form of the command is followed by a “?” :COMMand:QUERies:LOOK:LIKE:THIS? Front panel key sequences use this formatting: Front panel key presses are formatted to differentiate...
  • Page 21: Remote Commands

    This command returns the following information in <string> format separated by commas: manufacturer name (“Anritsu”), model number/options, serial number, firmware package number. Note that the model number and options are separated by a “/”, and each additional option is separated by a “/”.
  • Page 22 Remote Commands General Programming Information 10580-00218 B MP1026B...
  • Page 23: Chapter 2-Programming Commands

    Chapter 2 — Programming Commands Bit Master Specific Commands The Bit Master must have a clock present and must have the correct clock settings before making any measurements or retrieving any data. Otherwise, any data that is retrieved from the Bit Master Note may not be valid or may not have the correct format, and messages that are sent to the Bit Master take longer to process.
  • Page 24: Y Marker

    Bit Master Specific Commands Programming Commands Y Marker :CALCulate:MARKer:CH1|2:Y1|2 ON|OFF|1|0 :CALCulate:MARKer:CH1|2:Y1|2? Enables or disables Y1 or Y2 marker of active channel. The query returns current status of Y marker. Enable marker ON/1: OFF/0: Disable marker Factory Preset / *RST: Front Panel Access: Marker, Y1/Y2 See Also: :CONFigure:MEASure:CHANnel 1|2...
  • Page 25: Y Marker Location

    Programming Commands Bit Master Specific Commands Y Marker Location :CALCulate:MARKer:LOCation:CH1|2:Y1|2 <amplitude> :CALCulate:MARKer:LOCation:CH1|2:Y1|2? Sets Y1 or Y2 marker value. It turns the marker ON if marker status is OFF. The query returns current Y marker value. “Marker Off” is returned if queried marker is disabled. The marker location uses mV for Electrical channel and µW for Optical channel.
  • Page 26: Mask Margin Target Failed Samples

    Bit Master Specific Commands Programming Commands Mask Margin Target Failed Samples :CALCulate:MASK:MARGin:TARGet <number> :CALCulate:MASK:MARGin:TARGet? Sets the target failed samples for the mask margin test. The query returns the current target failed samples. Factory Preset / *RST: Range: 1 to 1 000 000 000 000 000 Front Panel Access: Measurement, Mask Test, Target Failed Samples See Also:...
  • Page 27: Channel Math

    Programming Commands Bit Master Specific Commands The following commands are used to manipulate channel math: Channel Math :CALCulate:MATH ON|OFF|1|0 :CALCulate:MATH? Turns channel math on or off. The query returns the current status of channel math. Factory Preset / *RST: Range: ON (1), OFF (0) Front Panel Access: Shift-5 (Trace), Math...
  • Page 28: Channel Math Division

    Bit Master Specific Commands Programming Commands Channel Math Division :CALCulate:MATH:DIVision <amplitude> :CALCulate:MATH:DIVision? Sets the y-axis scale division for channel math. The query returns the current channel math y-axis scale division. Please note that channel math must be on in order to set the channel math scale division. Factory Preset / *RST: 125.00 mV Default Unit:...
  • Page 29: Calibrate Amplitude

    Programming Commands Bit Master Specific Commands :CALibration Subsystem This subsystem controls the system calibration. Calibrate Amplitude :CALibrate:AMPLitude Initiates an amplitude calibration for both Channel 1 and Channel 2. The calibration could take more than 30 seconds. The calibration result is returned after the command is completed. Front Panel Access: Shift-2 (calibrate), Calibrate Amplitude Calibrate Conversion Gain (V/W)
  • Page 30: Calibrate System Conversion Gain (V/W)

    Bit Master Specific Commands Programming Commands Calibrate System Conversion Gain (V/W) :CALibrate:CGain:SYSTem <number> :CALibrate:CGain:SYSTem? Sets the system conversion gain value of the O/E module. The query returns the current value for system conversion gain. Factory Preset / *RST: Range: 1 to 9999 Front Panel Access: Amplitude, O/E Configuration, Sys Conv Gain (V/W) Calibrate Pick-Off Tee...
  • Page 31: Calibrate Er Correction Factor

    Programming Commands Bit Master Specific Commands Calibrate ER Correction Factor :CALibrate:ERCorrection:FACTor <number> :CALibrate:ERCorrection:FACTor? Sets the ER correction factor for the O/E module. This setting overrides the default correction factor associated with the filter selection. The query returns the current value of ER correction. Factory Preset / *RST: Range: 0 to 100...
  • Page 32: Offset

    Bit Master Specific Commands Programming Commands X Offset :DISPlay:WINDow:X[:SCALe]:OFFSets <number> :DISPlay:WINDow:X[:SCALe]:OFFSets? Sets the amount of horizontal (time) shift that is applied to the display. The units of the shift are either UI or picoseconds (ps) depending upon the instrument setting (specified by :DISPlay:WINDow:X:[:SCALe]:UNIT UI|PS).
  • Page 33: Y Scale

    Programming Commands Bit Master Specific Commands Y Scale :DISPlay:WINDow:Y[:SCALe]:DIVision:CH1|2? <amplitude> :DISPlay:WINDow:Y[:SCALe]:DIVision:CH1|2? Sets value of Y-axis scale for Channel 1 or Channel 2. The query returns current Y-axis scale. The unit that must follow the amplitude value depends on the current setting of the active channel (specified by [:SENSe]:INPut:CH1|2 ELECtrical|OPTical|OFF).
  • Page 34: Query Available Modes

    Bit Master Specific Commands Programming Commands :INSTrument Subsystem One instrument may contain many logical instruments (“modes”). This subsystem controls the selection of the current instrument mode. Query Available Modes :INSTrument:CATalog:FULL? Returns a comma-separated list of available modes. Mode names are enclosed in double quotes (“ ”). Immediately following the string name is the application number.
  • Page 35: Transfer Data

    Programming Commands Bit Master Specific Commands :MMEMory Subsystem The Mass MEMory subsystem contains functions that provide access to the instrument setup and data storage. Transfer Data :MMEMory:DATA? <file name> Transfers the data stored in the given file from the instrument to the controlling program. Data is transferred in the form of <header><block>.
  • Page 36: Recall Setup

    Bit Master Specific Commands Programming Commands Recall Setup :MMEMory:LOAD:STATe <integer>, <file name> Loads the current setup from the file specified by <file name>. <file name> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should include the extension “.stp”.
  • Page 37: Copy To Destination

    Programming Commands Bit Master Specific Commands Copy to Destination :MMEMory:MSIS:DESTination INTernal|CFLash|USB :MMEMory:MSIS:DESTination? Sets the destination to where measurements and setups in the current storage location are copied. Setting the location to INTernal results in copying the files that are stored at the current storage location to the internal memory when the command :MMEMory:MSIS:COPY is sent.
  • Page 38: Save Screen As Jpeg

    Bit Master Specific Commands Programming Commands Save Screen as JPEG :MMEMory:STORe:JPEG <file name> Saves the current screen measurement as a JPEG file, which is specified by <file name> with the extension .jpg to the current storage location. <file name> should be enclosed in either single quotes (‘ ’) or double quotes (“ ”) and should not contain a file extension.
  • Page 39: Average Power Unit

    Programming Commands Bit Master Specific Commands [:SENSe] Subsystem The commands in this subsystem relate to device-specific parameters, not signal-oriented parameters. Average Power Unit [:SENSe]:AVEPower:UNIT mW|dBm [:SENSe]:AVEPower:UNIT? Sets the unit type for the average power reading in the amplitude measurement. This setting does not affect the eye pattern scale units.
  • Page 40: Accumulation Limit

    Bit Master Specific Commands Programming Commands [:SENSe]:ACCUmulation Subsystem Commands in this subsystem relate to the setup of parameters related to the sampling and accumulation of data. Accumulation Limit [:SENSe]:ACCUmulation:LIMit TIME|SAMPle, <number> [:SENSe]:ACCUmulation:LIMit? Sets limit type and number of the limit for Limited Accumulation. The query returns current accumulation limit type and its value.
  • Page 41: Accumulation Type

    Programming Commands Bit Master Specific Commands Accumulation Type [:SENSe]:ACCUmulation:TYPe NONe|INFinite|LIMited [:SENSe]:ACCUmulation:TYPe? Sets accumulation type to one of three below: NONe: data are not accumulated on the screen but are refreshed with every new set of samples. INFinite: Data are accumulated infinitely on the screen. LIMited: Data are accumulated on the screen until a limit is reached.
  • Page 42: Histogram Y Marker

    Bit Master Specific Commands Programming Commands Histogram Y Marker [:SENSe]:HISTogram:Y1|2 <amplitude> [:SENSe]:HISTogram:Y1|2? Sets the position of the first or second vertical side of the histogram window. The query returns marker value. The marker location uses mV for Electrical channel and µW for Optical channel.
  • Page 43: Clock Recovery

    Programming Commands Bit Master Specific Commands Clock Recovery [:SENSe]:INPut:CLKRecovery OFF|LESS27|98 [:SENSe]:INPut:CLKRecovery? Turns clock recovery on and selects the clock recovery band. The query returns current setting for clock recovery. clock recovery off OFF: LESS27: clock recovery on and set to <2.7 GHz band clock recovery on and set to >9.8 GHz band Factory Preset / *RST: Front Panel Access:...
  • Page 44: Acquire Clock Rate

    Bit Master Specific Commands Programming Commands [:SENSe]:TIME Subsystem Commands in this subsystem relate to the setup of parameters related to the time axis. Acquire Clock Rate [:SENSe]:TIME:ACQClock? Initiates the acquisition of the input clock rate and sets the Clock Rate parameter to this new detected value. The query returns the new Clock Rate parameter value.
  • Page 45: Divide Ratio

    Programming Commands Bit Master Specific Commands Divide Ratio [:SENSe]:TIME:DIVRatio <integer>, DATR|CLKR [:SENSe]:TIME:DIVRatio? Sets integer value of the clock divide ratio (Clock Rate = Data Rate / Divide Ratio). When the divide ratio is changed, either the data rate or clock rate must change, as identified by the following parameter: DATR: Recalculate data rate based on new divide ratio and existing clock rate.
  • Page 46: File Lists Sort Method

    Bit Master Specific Commands Programming Commands :SYSTem:FILe Subsystem This subsystem provides commands that modify how file lists should be displayed on the instrument. They do not modify the way in which data is returned to the controller. File Lists Sort Method :SYSTem:FILe:SORT:METHod NAME|TYPE|DATE :SYSTem:FILe:SORT:METHod? Sets the file lists sort method.
  • Page 47: Trace Data Prepare

    Programming Commands Bit Master Specific Commands :TRACe Subsystem This subsystem contains commands that are related to the transfer of trace data to and from the instrument. Trace Data Prepare :TRACe[:DATA]:PREPare CH1|CH2|BOTH Sets the instrument into a special mode that is required for the Trace Data Query command. In this mode, the data on the screen are not updated, and the Bit Master is optimized for downloading trace data via the Trace Data Query command :TRACe[:DATA]:CHANnel1|2|s?.
  • Page 48 Bit Master Specific Commands Programming Commands The following example code shows how to use trace data query command. :SENSe:OPTion:MAX:SAMPles:NUMber 4093 //Select Number of Samples (delay 100 ms) //Add 100 ms delay :CONFigure:MEASure:CHANnel 2 //Set CH2 as active channel :SENSe:INPut:CH2 ELEC //Set CH2 as electrical :SENSe:INPut:CH1 OFF // Turn CH1 off...
  • Page 49: Trace Data End

    Programming Commands Bit Master Specific Commands Trace Data End :TRACe[:DATA]:END Disables the special mode set by :TRACe[:DATA]:PREPare. After executing this command, the instrument goes back to normal mode with normal screen updates. This command should be sent after the trace data query commands have been sent and executed and after no more data queries are required.
  • Page 50 Bit Master Specific Commands Programming Commands Parameter Name Description Pulse pattern length PATTERN_LEN Channel 1 Status CHANNEL_1 Scale of Channel 1 SCALE_1 Offset of Channel 1 OFFSET_1 Attenuation of Channel 1 ATTENUATION_1 Channel 2 Status CHANNEL_2 Scale of Channel 2 SCALE_2 Offset of Channel 2 OFFSET_2...
  • Page 51 Programming Commands Bit Master Specific Commands Parameter Name Description Signal Noise Ratio Average Power AVERAGE_POWER Extinction Ratio EXTINCTION_RATIO Peak to peak jitter JITTER_P_P RMS jitter JITTER_RMS Rise time RISE_TIME Fall time FALL_TIME Eye width EYE_WIDTH Duty cycle distortion Mean MEAN Standard deviation STD_DEV Time peak to peak...
  • Page 52 Bit Master Specific Commands Programming Commands Parameter Name Description For Internal Use Only CFDR1 For Internal Use Only CFDR2 For Internal Use Only CFDR3 For Internal Use Only CFDR4 For Internal Use Only CFDR5 For Internal Use Only OFFSET_1_ACTUAL For Internal Use Only OFFSET_2_ACTUAL For Internal Use Only OFFSET_1_ACTUAL_BACKUP...
  • Page 53: Configure Histogram Axis

    Programming Commands Bit Master Specific Commands :CONFigure Subsystem This set of commands prepares the Bit Master for the selected measurement. It disables any currently-enabled measurements and activates the specified measurement. Depending on the setup, Bit Master may start taking measurements after these configuration setting commands. CONFigure commands may affect the value of any other setting in the instrument.
  • Page 54: Configure Measurement Type

    Bit Master Specific Commands Programming Commands Configure Measurement Type :CONFigure:MEASure:TYPe AMPLitude|TIME|HISTogram|MASK|OFF :CONFigure:MEASure:TYPe? Sets measurement type to be performed. The query returns current measurement type. AMPLitude: Sets measurement type to Amplitude. Sets display mode to Eye Pattern. One Level, Zero Level, Eye Amplitude, Eye Height, Crossing, SNR, Average Power and Extinction Ratio are updated after a :MEASure:AMPLitue command execution.
  • Page 55: Fetch Amplitude Measurement Result

    Programming Commands Bit Master Specific Commands :FETCh:AMPLitude Subsystem This set of commands returns the most recent measurement data of the active measurement. These commands are used for repeating query measurement data following a :MEASure command or a :CONFigure command (if the Bit Master is setup to continuously take measurements). They will not switch to another measurement.
  • Page 56: Fetch Extinction Ratio

    Bit Master Specific Commands Programming Commands Fetch Extinction Ratio :FETCh:AMPLitude:EXTRatio? Returns the most recent extinction ratio that measures the ratio of the average power levels for the logic High to the logic Low of an optical waveform. This measurement is available only for an optical channel. Default Units: Front Panel Access: Measurement, Amplitude...
  • Page 57: Fetch Zero Level

    Programming Commands Bit Master Specific Commands Fetch Zero Level :FETCh:AMPLitude:LEVel:ZERO? Returns the most recent zero-level value that is the mean value of the bottom histogram distribution of an eye pattern. Default Units: Current amplitude units Front Panel Access: Measurement, Amplitude See Also: :MEASure:AMPLitude? Fetch SNR...
  • Page 58: Fetch Histogram Time Measurement Result

    Bit Master Specific Commands Programming Commands Fetch Histogram Time Measurement Result :FETCh:HISTogram:TIME:MEASurement? Returns the most recent time histogram measurement results. Data are returned as 4 comma-separated values: mean, std dev, peak-to-peak, and hits. Default Units: Front Panel Access: Measurement, Histogram, Time See Also: :MEASure:HISTogram:TIME? Fetch Histogram Amplitude Measurement Result...
  • Page 59: Fetch Histogram Amplitude Peak To Peak Value

    Programming Commands Bit Master Specific Commands Fetch Histogram Amplitude Peak to Peak Value :FETCh:HISTogram:AMPLitude:PPeak? Returns the most recent measurement result of the amplitude peak-to-peak value of the samples inside the histogram window. Default Units: Current amplitude units Front Panel Access: Measurement, Histogram, Amplitude See Also: :MEASure:HISTogram:AMPLitude?
  • Page 60: Fetch Histogram Time Peak To Peak Value

    Bit Master Specific Commands Programming Commands Fetch Histogram Time Peak to Peak Value :FETCh:HISTogram:TIME:PPeak? Returns the most recent measurement result of the time peak-to-peak value of the samples inside the histogram window. Default Units: Front Panel Access: Measurement, Histogram, Time See Also: :MEASure:HISTogram:TIME? Fetch Histogram Time Standard Deviation...
  • Page 61: Fetch Failed Samples

    Programming Commands Bit Master Specific Commands Fetch Failed Samples :FETCh:MASK:SAMPles:FAILed? Returns the most recent failed samples for the mask measurement. Front Panel Access: Measurement, Mask See Also: :MEASure:MASK? Fetch Total Samples :FETCh:MASK:SAMPles:TOTal? Returns the most recent total samples for the mask measurement. Front Panel Access: Measurement, Mask See Also:...
  • Page 62: Fetch Duty Cycle Distortion

    Bit Master Specific Commands Programming Commands Fetch Duty Cycle Distortion :FETCh:TIME:DCD? Returns the most recent Duty Cycle Distortion result as a percentage. Default Units: Front Panel Access: Measurement, Time See Also: :MEASure:TIME? Fetch Eye Width :FETCh:TIME:EYEWidth? Returns the most recent the eye width result of the current measurement. Default Units: Front Panel Access: Measurement, Time...
  • Page 63: Fetch Jitter Rms

    Programming Commands Bit Master Specific Commands Fetch Jitter RMS :FETCh:TIME:JITTer:RMS? Returns the most recent RMS jitter result of the current measurement. Default Units: Front Panel Access: Measurement, Time See Also: :MEASure:TIME? :MEASure Subsystem These commands take the instrument from its current state and enable the specified measurement. They correct any parameters that are invalid given the new measurement state such that a valid measurement can take place.
  • Page 64: Time Measurement

    Bit Master Specific Commands Programming Commands Time Measurement :MEASure:TIME? Sets the active measurement to Time. Sets display mode to Eye. Triggers a new time measurement and returns the results as 6 comma-separated values: Jitter p-p, Jitter RMS, Rise Time, Fall Time, EYE Width, and DCD. If the measurement is set to OFF, then more time may be required to receive the results.
  • Page 65: Mask Measurement

    Programming Commands Bit Master Specific Commands Mask Measurement :MEASure:MASK? Sets the active measurement to MASK. Triggers a new mask measurement and returns the results as 2 comma-separated values: Total Samples, Failed Samples. Results also can be queried by :FETCh:MASK:MEASUREMENT?. To query specific data, refer to command :FETCh:MASK:SAMPLES:xxxx?.
  • Page 66: Examples

    Examples Programming Commands Examples C/C++ This example is run on the command line. It sends the *IDN? query to the instrument and prints the response to the console. // IdnExample.cpp : Microsoft Visual Studio-Generated Example //Based on Example 2-1 in the NI-VISA User Manual //Usage : IdnExample "TCPIP::xxx.xxx.xxx.xxx::inst0::INSTR"...
  • Page 67 Programming Commands Examples /* Store the address. */ pAddress = argv[1]; /* Begin by initializing the system*/ status = viOpenDefaultRM(&defaultRM); if (status < VI_SUCCESS) /* Error Initializing VISA...exiting*/ printf("Can't initialize VISA\n"); return -1; /* Open communication with TCP/IP device at xxx.xxx.xxx.xxx*/ /* NOTE: For simplicity, we will not show error checking*/ /* TODO: Add error handling.
  • Page 68 Examples Programming Commands Visual Basic This function can be called in a Visual Basic program. It sends the *IDN? query to the instrument and returns the byte count and the ASCII response string. Rem This example is based on Example 2-1 from the NI-VISA User Manual. Public Sub IdnMain(ByVal address As String, ByRef byteCount As String, ByRef returnBytes As String) Const BUFFER_SIZE = 200...
  • Page 69 Programming Commands Examples byteCount = retCount returnBytes = Left(buffer, retCount) Rem Close down the system Rem TODO: Add error handling. stat = viClose(sesn) stat = viClose(dfltRM) End Sub MP1026B 10580-00218 B 2-47...
  • Page 70: Master Programming Manual Revision History

    Master Programming Manual Revision History Programming Commands Master Programming Manual Revision History Document Part Number: 10580-00218 Date Revision Change Description AUG /2008 Initial release, firmware V1.25 NOV 2009 Firmware V1.29 2-48 10580-00218 B MP1026B...

Table of Contents