Microwave frequency counter, assembly level (115 pages)
Summary of Contents for Keysight Technologies VXI bus 75000 C Series
Page 1
75000 Series C User Manual Keysight E1420B Universal Counter...
Page 3
WITHOUT NOTICE, IN FUTURE EDI- without prior agreement and written con- www.keysight.com/find/E1420B TIONS. FURTHER, TO THE MAXIMUM sent from Keysight Technologies, Inc. as EXTENT PERMITTED BY APPLICABLE (product-specific information and sup- governed by United States and interna- LAW, KEYSIGHT DISCLAIMS ALL WAR- port, software and documentation tional copyright laws.
Page 4
If necessary, return instrument chassis and cover must be safe operating conditions, modules the product to a Keysight Technologies connected to an electrical ground to should not be operated beyond the full Sales and Service Office for service and minimize shock hazard.
Page 5
Safety Symbols A CAUTION denotes a hazard. It calls attention to an operating pro- cedure or practice, that, if not cor- rectly performed or adhered to could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated condi- tions are fully understood and met.
Keysight E1420B Universal Counter User Manual E1420B Introduction Keysight 75000 SERIES C DOCUMENTATION Suggested Sequence for Using the Manuals 1 Keysight E1405 Command Module User's Manual. Contains information on the logical addressing conventions used to create instruments that are programmed using Standardized Commands for Programmable Instruments (SCPI).
E1420B Introduction How To Use This Manual VXIbus System Specifications. Hewlett-Packard part number E1400-90006.The VMEbus Specification.Available from: VMEbus International Trade Association; 10229 N. Scottsdale Road, Suite E; Scottsdale, AZ 85253; U.S.A. How To Use This Manual Manual Overview This manual shows how to operate, configure, and program the E1420B Universal Counter.
Keysight E1420B Universal Counter User Manual Getting Started Chapter Guide This chapter provides an overview of the E1420B Universal Counter, a simplified block diagram, and a hands-on tour of some basic functions. Also present are two simplified SCPI measurement program examples with measurement results and information about options, service, and support.
Getting Started Overall Description of the E1420B Overall Description of the E1420B The E1420B is a fully programmable VXIbus universal counter with up to three input measurement channels. The frequency range is dc to 200/100 MHz for channels 1/2 respectively, and up to 2.5 GHz for the optional channel 3. The counter is a message-based device that uses Standardized Commands for Programmable Instruments (SCPI) to program commands and measurement responses.
Getting Started E1420B Quick Installation/Setup E1420B Quick Installation/Setup This section provides you with information to get your E1420B Universal Counter up and running as soon as possible. This ''hands-on" tour covers the following: inspection, configuration, installation, and functional verification. Inspection Inspect the shipping carton for damage before unpacking your E1420B.
E1420B Quick Installation/Setup Getting Started Hardware Setup Install the Keysight E1420B with the following steps and refer to Figure 1-2: 1 Ensure that mainframe ac power is OFF before proceeding with this installation procedure. 2 Ensure that the metal shields on each side of the counter are securely attached to the counter before inserting the module into the mainframe.
Getting Started E1420B Quick Installation/Setup Verifying E1420B Operation Figure 1-2 E1420B Mainframe Installation Verify operation of the counter with the following procedure: 1 Power-up the Controller if separate from the VXIbus mainframe. 2 Power-up the VXIbus mainframe and verifY Slot 0 functionality. (The Slot 0 module must be correctly set up, functional, and pass its own Self-test.) 3 Observe that the "Failed"...
E1420B Quick Installation/Setup Getting Started Executing Self-test (*TST?) To execute the Self-test: 1 Connect a 10-MHz reference standard to the Int/Ext Reference BNC on the E1420B front panel. 2 Send the Self-test query command *TST?. The results ofthe test are placed in the output queue indicating whether or not the counter completed Self-test without any detected errors.
Getting Started Making Basic Measurements Making Basic Measurements After you've powered up the counter and successfully passed Self-test, you're ready to make a measurement. Use the information and procedures in this section to quickly make two basic counter measurements: frequency and time interval.
Making Basic Measurements Getting Started Table 1-1 Frequency Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. 20 OUTPUT @E1420B;"*RST" Resets the counter to its default power-on state. 30 OUTPUT @E1420B;"MEAS1: FREQ? 1E3,.01" Configures Input channel 1 for frequency measurement, sets the target frequency to 1 kHz, resolution of at least 0.01 Hz., performs the measurement, then...
Getting Started Making Basic Measurements The actual displayed value may not be exactly "10 MHz" depending upon factors such as timebase accuracy, input signal accuracy, cable length, or specified resolution. Making A Time Interval Measurement Before you begin, make sure you have one signal source available through two separate cables (use a "T"...
Making Basic Measurements Getting Started Table 1-2 Time Interval Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns @El420B to address 70906. Resets the counter to its default power-on 20 OUTPUT @E1420B;"*RST" state. Selects channel 2 event slope to negative edge. 30 OUTPUT @E1420B;"SENS2: EVEN:SLOP NEG"...
Getting Started Making Basic Measurements E1420B Service, Support And Options Service and support is available through your nearest Hewlett-Packard Sales and Support office. Options available for the El420B Universal Counter are listed in Table 1-3. Table 1-3 E1420B Options Description Part Number Extra Operating and Programming Manual (Option 082) E1420-90020...
Keysight E1420B Universal Counter User Manual E1420B Connections, Configuration, and Installation Chapter Guide This chapter briefly explains the counter's front-panel features, and shows how to configure the module hardware for use in a VXIbus mainframe. The chapter contains the following information and sections: Where To Find Important Topics ARM INPUT page 39...
E1420B Connections, Configuration, and Installation Connectors and Indicators Connectors and Indicators The E1420B front panel has four signal connectors (five if Option 030 High Frequency Channel 3 is installed), seven LED indicators, and one adjustment. Front panel signal connectors are discussed first, followed by a short description of the indicators, adjustment, and on-board switches and jumpers.
Connectors and Indicators E1420B Connections, Configuration, and Installation ARM INPUT The Arm Input is used to provide a synchronizing signal to the counter that can start and/or stop the measurement process. Input impedance is 1 M with dc coupling. Input trigger level is programmable between 0V (GND), 1.6 V (TTL), or -1.3 V (ECL).
E1420B Connections, Configuration, and Installation Connectors and Indicators – FAILED: A red Failed LED to indicate a non-recoverable VXIbus error or failed Self-test. – ERROR: A red Error LED to indicate that an error is present in the counter's error queue. VXIbus Connectors Two 96 pin (Pl and P2) connectors serve as the VX.Ibus electrical interface connection.
Page 39
Connectors and Indicators E1420B Connections, Configuration, and Installation Figure 2-3 Front Panel and VXIbus Edge Connectors Keysight E1420B Universal Counter User Guide...
E1420B Connections, Configuration, and Installation Internal Configuration Internal Configuration The following paragraphs provide you with the information needed to configure the counter hardware logical address and bus grantlrequest priority. On-board switch settings and jumpers are explained along with the factory shipped counter addresses and bus grant/request priority level settings.
Page 41
Internal Configuration E1420B Connections, Configuration, and Installation If you need to set the counter's address, use the following procedure: 1 Locate the logical address 8-pin DIP switch bank located on the right side of the counter module. See Figure 2-2 for the switch location and address selection.
E1420B Connections, Configuration, and Installation Internal Configuration Figure 2-4 E1420B Address Switch Location and Selection Bus Grant and Request Configuration Procedure The E1420B message-based communication supports four levels of prioritized bus arbitration (BRO through BR3). The counter is shipped with the highest bus grant/request level setting: BR 3.
Internal Configuration E1420B Connections, Configuration, and Installation Figure 2-5 Bus Grant Jumper Location and Selection System Default Logical Addresses Keysight VX!bus instruments have a set of logical addresses that correspond to instrument type. These are listed in Table 2-1. Instrument factory switch settings will correspond with those listed in the table.
Page 44
E1420B Connections, Configuration, and Installation Internal Configuration Table 2-4 Default Logical Addresses For VXlbus Instrument Type Switch Setting Secondary Address INTERFACES Command modules/Computers Servant interfaces (RS-232, MS-1553) Disk drives ANALOG SENSORS DMMs (Reserved for multiplexers of scanning DMMs) Digitizers (NOs, Oscilloscopes) Counters Power Meters Others (Spectrum analyzers)
Installation and Verification E1420B Connections, Configuration, and Installation Installation and Verification The following paragraphs explain how to install the E1420B counter into the Series C mainframe, ensure proper ventilation, and verify initial operation. Cooling Considerations The E1420B counter automatically receives the correct ventilation when used with an HP 75000 Series C mainframe.
Page 46
E1420B Connections, Configuration, and Installation Installation and Verification Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual Using The E14208 CHAPTER GUIDE This chapter provides examples showing how to use the E1420B Universal Counter. The examples give you some familiarity with Standardized Commands for Programmable Instruments (SCPI) and with all of the counter measurement functions.
Using The E14208 Programming the E1420B Programming the E1420B The primary command language of the E1420B is SCPI (Similar to Test and Measurement Systems Language- TMSL). SCPI commands are sent from an instrument controller via word-serial protocol over the VXIbus. Two common ways to send SCPI command strings are: via a VXIbus embedded instrument controller module or by VXIbus to GP-IB modules that connect to external instrument controllers.
Programming the E1420B Using The E14208 Series 200/300 HP BASIC Use the OUTPUT statement to send commands to the counter and the ENTER statement to read data from the counter. The destination specified in the OUTPUT statement is the instrument GP-IB address. The GP-IB address identifies the different instruments in the mainframe.
Using The E14208 Initialization State Initialization State The E1420B Initialization State is the configuration that the counter acquires on power-up or at Reset. Table 3-2 summarizes this initialization state. The default expected value and resolution for the CONFigure and MEASure subsystems is the same as for the SENSe subsystem.
Initialization State Using The E14208 Changing Default Parameters You can change the initialization state defaults by using the SCPI MEASure, CONFigure, and SENSe keyword commands. Refer to chapter 4, section "Making Measurements With MEASure, CONFigure, and SENSe" and chapter 5, "Dictionary Command Reference"...
Using The E14208 Measurement Task Tutorials Measurement Task Tutorials This section gives examples of each measurement function the counter can perform. Input signal conditioning for each example is itemized. All example programs use an HP Series 200/300 computer with HP BASIC. The program code appears on the left of the page with comments on the right.
Measurement Task Tutorials Using The E14208 – See chapter 5, STATus subsystem, for information on overflow indication. Example: Making A Frequency Measurement This example uses the counter to measure two different signal sources and exercises the frequency measurement capability of Input channels 1 and 2. Before making any signal connections, you should enter the example program to ensure that it is syntactically correct (error free) on your instrument controller.
Using The E14208 Measurement Task Tutorials Frequency Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. Resets the counter to its default state. Sets channel 1 input impedance to 20 OUTPUT @E1420B;"*RST" 50 Ohms and coupling to dc. - Sets channel 2 input impedance 30 OUTPUT @E1420B;"INP1:IMP SO;COUP DC"...
Measurement Task Tutorials Using The E14208 Period Measurement The following summarizes the PERiod function: – Average Period can be measured on channel1, 2, or 3. – Measurement range is 5 nsec to 1000 sec for CH 1 and 10 nsec to 1000 sec for CH 2.
Using The E14208 Measurement Task Tutorials Period Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. 20 OUTPUT @E1420B;"*RST" Resets the counter to its default state. Sets CH 1 input coupling to dc and 30 OUTPUT @E1420B;"INP1:COUP DC;IMP 1E6"...
Measurement Task Tutorials Using The E14208 – See Chapter 5, STATus subsystem, for more information on overflow indication. Example: Making A Time Interval Measurement This example uses the counter to measure the time interval between the edges of two pulses. Before making any signal connections, you should enter the example program to ensure that it is syntactically correct (error free) on your instrument controller.
Using The E14208 Measurement Task Tutorials Time Interval Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns the counter to address 70906. - Resets counter to its default 20 OUTPUT @E1420B;"*RST" state. - Selects channel 1 event slope to 30 OUTPUT @E1420B;"SENS1:EVEN:SLOP NEG"...
Measurement Task Tutorials Using The E14208 Comments Measurement Time: Time Interval measurement continues until the second edge is detected. Related SCPI Commands: Commands associated with time interval measurements but not discussed in this example are: ABORt, CONFigure, FETCh?, INITiate, READ?, and SENSe. Pulse Width Measurement The following summarizes the pulse width function: –...
Using The E14208 Measurement Task Tutorials Input Signal Conditioning The input signal conditioning for this measurement example is as follows: Event Level: Event level is automatically determined by the counter. Event Slope: Automatically defined by the pulse width function. Attenuation: Default (x1) attenuation is used. Coupling: dc coupling is used.
Measurement Task Tutorials Using The E14208 Comments Measurement Time: Positive and Negative pulse width measurements will continue until the second edge is detected. Related SCPI Commands: Commands associated with pulse width measurements but not discussed in this example are: ABORt, CONFigure, INITiate, SENSe, FETCh?, and READ?.
Using The E14208 Measurement Task Tutorials Impedance: Input impedance is set to 1 M Ratio Measurement Program Example PROGRAM: COMMENTS: 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. 20 OUTPUT @E1420B;"*RST" Resets the counter to its default state. Sets channel 2 input coupling to dc 30 OUTPUT @E1420B;"INP2:COUP DC;IMP 1E6"...
Measurement Task Tutorials Using The E14208 Totalize Measurement The following is a summary of the TOTalize function: – Will totalize events on channel1 or 2. Measurement range is 0 to 10 events, with a maximum input frequency of 100 MHz. –...
Using The E14208 Measurement Task Tutorials Totalize Measurement Program Example COMMENTS: PROGRAM: 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. 20 OUTPUT @E1420B;"*RST" Resets the counter to its default state. 30 OUTPUT @E1420B;"SENS1:EVEN:LEV 1.2" Sets event level for channel 1 to +1.2V.
Page 65
Measurement Task Tutorials Using The E14208 30 ! 40 ! This program illustrates several techniques for totalizing 50 ! events with the E1420B Universal Counter. Configuration of 60 ! Totalize 1, Totalize 1 by 2, and Totalize 2 by 1 is highlighted. 70 ! 80 ! It is presumed that signals of proper frequency and amplitude 90 ! are connected to the counter's Input 1, Input 2 and Arm...
Page 66
Using The E14208 Measurement Task Tutorials 380 ! open, and the final count is read after the gate has closed 390 ! 400 OUTPUT @E1420b; ":CONF:TOT" ! Configure a Totalize 1 measurement 410 OUTPUT @El420b;":SENS:EVEN:SLOP POS" Count positive Ch 1 edges 420 OUTPUT @E1420b;":ARM:STAR:SOUR HOLD"...
Page 67
Measurement Task Tutorials Using The E14208 700 ! should be used to perform that function. 710 ! 720 OUTPUT @E1420b;" CONF:TOT" ! Configure a Totalize 1 measurement 730 OUTPUT @E1420b;":SENS:EVEN:SLOP POS" ! Count positive Ch 1 edges 740 OUTPUT @E1420b;":ARM:STAR:SOUR EXT;SLOP POS" ! Start on positive ! edge of Arm signal 760 OUTPUT @E1420b;":ARM:STOP:SOUR EXT;SLOP NEG"...
Page 68
Using The E14208 Measurement Task Tutorials 1020 OUTPUT @E1420b;":INIT" ! Initiate the measurement 1030 OUTPUT @E1420b;":FETC?" ! Query the result (final count) 1040 ENTER @E1420b;Result$ ! Read the result 1050 PRINT "Totalize 1 by 2[+]: ";Result$;" counts" 1060 ! 1070 ! Measure during the negative polarity of Channel 2 1080 OUTPUT @El420b;":SENSl:TOT:GATE:POL INV"...
Measurement Task Tutorials Using The E14208 Rise/Fall Time Measurement The following summarizes the RTIMe (or FTIMe) function: – •Rise/Fall Time can be measured via channel 1 only. – Channel 2 cannot be used when channel 1 is measuring rise/fall time because the counter channels are routed in COMMon mode.
Using The E14208 Measurement Task Tutorials 10 ASSIGN @E1420B TO 70906 Assigns @E1420B to address 70906. 20 OUTPUT @E1420B;•*RST" Resets the counter to its default state. Sets ch 1 input coupling to ac and input 30 OUTPUT @E1420B;•INP1:COUPAC;IMP 50" impedance to 50 . Configures channel!for rise time measurement, 40 OUTPUT @E1420B;"MEAS1:RTIM? DEF, DEF, 1E-6,1E-9"...
Measurement Task Tutorials Using The E14208 Example: Making A Voltage Measurement This example uses the counter to measure all voltage parameters of the input signal. Before making any signal connections, you should enter the example program to ensure that it is syntactically correct (error free) on your instrument controller.
Using The E14208 Measurement Task Tutorials Voltage Measurement Program Example PROGRAM: COMMENTS: – 10 ASSIGN @E1420B TO 70906 Assigns E1420B to address 70906. 20 OUTPUT @E1420B;"*RST" – Resets the counter to its default state. – Reports the -Ve peak of the input ac 30 OUTPUT @E1420B;"MEAS:MIN?"...
Keysight E1420B Universal Counter User Manual Understanding the E1420B Universal Counter Chapter Guide This chapter provides a comprehensive description of the operating characteristics of the E1420B Universal Counter. All measurement functions are explored with detailed procedures that include SCPI message examples and results interpretation.
Understanding the E1420B Universal Counter Counter Configuration And The Measurement Procedure Counter Configuration And The Measurement Procedure Counter configuration is discussed first followed by a brief summary of measurement procedure recommendations and counter parameters you'll need to consider when writing SCPI program messages. E1420B Configuration The E1420B makes a measurement when configured (set up) by the parameters sent from your SCPI program message.
Counter Configuration And The Measurement Procedure Understanding the E1420B Universal Counter Figure 4-6 Overall SCPI Measurement Flow E1420B Measurement Procedure Your counter measurements may be more successful if you follow these simple guidelines: 1 Assess the kind of signal you want to measure: its amplitude, frequency; is it periodic? This infonnation lets you set the input signal conditioning, trigger level, and which channel(s) to use.
Page 76
Understanding the E1420B Universal Counter Counter Configuration And The Measurement Procedure 5 Set the counter arming if applicable (ensure that the ARM command parameters match the arm input signal source and level). Refer to the Arming The Counter section of this chapter for more detailed information. 6 Set the measurement resolution if desired.
Making Measurements with SCPI Understanding the E1420B Universal Counter Making Measurements with SCPI You can customize measurements for your needs by using SCPI's three different measurement command '"levels" to select and perform a measurement. The E1420B is fully compatible with SCPI Rev. 1990.0. The resulting command capability gives you these performance advantages: –...
Page 78
Understanding the E1420B Universal Counter Making Measurements with SCPI Figure 4-7 SCPI Measurement Capability Keysight E1420B Universal Counter User Guide...
Making Measurements with SCPI Understanding the E1420B Universal Counter The MEASure, CONFigure, and SENSe Commands All E1420B measurement functions can be perfonned using the MEASure command except for TOTalize. All measurements can be configured with the CONFigure and SENSe commands, but at least one additional command must then be used to initiate the measurement.
Understanding the E1420B Universal Counter Making Measurements with SCPI Using CONFigure Use CONFigure when you need to specify a measurement function prior to the READ? or INIT/FETC? commands. You will also need to use CONFigure for TOTalize measurements. (Exact details of SCPI commands, options, and parameters are contained in chapter 5, ''Dictionary Command Reference".) CONFigure only sets up the configuration, and does not perform the measurement.
Making Measurements with SCPI Understanding the E1420B Universal Counter SENS1:FUNCtion "function"where <function> is one of the following: FREQ for frequency measurements along with APERture time PER for period measurements along with APERture time TOT for totalize measurements along with GATE:<options> PWID (or) NWID for ±pulse width measurements TINT for time interval measurements RTIM (or) FTIM for rise/fall time measurements...
Understanding the E1420B Universal Counter Making Measurements with SCPI Using FETCh? FETCh? loads the results of the most recent measurement into the counter's output buffer. You must precede this command with some SCPI measurement configuration program string and the INITiate command in order to get data with the FETCh? command.
Making Measurements with SCPI Understanding the E1420B Universal Counter Frequency/Period Measurements The frequency/period measurement function is specified as FREQ!PER respectively. AU three counter channels (Channel 3 optional) can measure frequency or period. Table A-1 describes the exact specifications for these measurements.
Understanding the E1420B Universal Counter Making Measurements with SCPI Channel 3 Trigger Level The trigger level for input channel 3 is fixed at 0 V nominal. Channel 3 shares the measurement trigger display LED with input channel 2. Gate (APERture) Time The gate time (APERture) range is one millisecond to 99.999 seconds (in 1 millisecond increments) and may be determined by using the APER? query.
Making Measurements with SCPI Understanding the E1420B Universal Counter Input Signal Conditioning Input signal conditioning is set up by using one or more of the SENSe and INPut commands. For low amplitude signals on inputs 1 and 2, the sensitivity may be changed by using the LEVel and HYSTeresis parameters of the SENSe:EVENt command.
Understanding the E1420B Universal Counter Making Measurements with SCPI Measurement Definition and Range The Rise- or Fall-time measurement function automatically configures the counter to perform either rise- or fall-time measurements, via the Input 1 connector, as shown in Figure 4-5. Rise- or Fall-time measurements can be made from 15 nanoseconds to 1 millisecond.
Making Measurements with SCPI Understanding the E1420B Universal Counter Time Interval Measurements The time interval measurement function is specified as TINTerval. Only channels 1 and 2 can measure time interval. Measurement Definition and Range The E1420B can make single-shot and average time interval measurements programmed over a range of 1 nanosecond to 1,000 seconds.
Understanding the E1420B Universal Counter Making Measurements with SCPI If you want to make time-interval measurements between two events on separate input signals, connect the signal with the start event to Input Channell, and the signal with the stop event to Input Channel2. The appropriate input signal conditioning may then be selected.
Page 89
Making Measurements with SCPI Understanding the E1420B Universal Counter Figure 4-12 Time Interval Delay Measurement Keysight E1420B Universal Counter User Guide...
Understanding the E1420B Universal Counter Making Measurements with SCPI Totalize Measurements The totalize measurement function is specified as TOT. Measurement Definition and Range The E1420B totalizes events up to a count of 1012 -1. Input signals are received through input channels 1, 2, or 3.Totalize measures the number of counts (events) received through input channell.
Page 91
Making Measurements with SCPI Understanding the E1420B Universal Counter applications requiring less precise control. For convenience, IMMediate stop arming is aliased to HOLD; both options inhibit the closing of the gate until the :ARM:STOP:IMMediate command is issued. Figure 4-13 Totalize I Measurement When either Totalize 1 by 2 or Totalize 2 by I is selected, the gate is directly controlled by the signal connected to the alternate input channel.
Page 92
Understanding the E1420B Universal Counter Making Measurements with SCPI Figure 4-14 Totalize 1 by 2 Measurement Figure 4-15 Totalize 2 by 1 Measurement Keysight E1420B Universal Counter User Guide...
Making Measurements with SCPI Understanding the E1420B Universal Counter Reading Measurement Results The :FETCh? query should be used to query the totalize measurement result. Issuing this query while acquiring a Totalize 1 by 2 or Totalize 2 by 1 measurement generates a request for the final count. The final count is returned after the measurement gate has closed.
Understanding the E1420B Universal Counter Making Measurements with SCPI Voltage Measurements The voltage measurement function is specified as AC/DC/MINimum/MAXimum. Only channels 1 and 2 can measure voltage. Channel 2 cannot measure 0 Hz (dc). Measurement Definition and Range The E1420B measures input signal ac rms voltage from 0.1V to 5V when x 1 attenuation is used.
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING Input 1 and Input 2 of the E1420B include several programmable input signal conditioning controls. Input 3 has a fixed set of input signal conditioning values. The major elements of the circuitry for each input channel are the amplifier and input trigger blocks.
Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING Input Range Range defines the frequency range over which the input amplifier sensitivity is specified. The range varies with the selected coupling and input impedance. Although the specifications for Input 1 and Input 2 state that the input amplifiers have a range from dc to as high as 200 MHz, the range may vary for different operating modes.
Page 97
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter Figure 4-17 Invalid Input Signal Conditions The dynamic range puts a further restriction on the allowable signal peaks as specified by the signal operating range. For optimum performance, the signal peaks must stay within the signal operating range specification, and the peak- to-peak value must stay within the maximum dynamic range specification, as shown in Figure 4-13.
Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING Figure 4-18 Invalid Input Signal Conditions Input Sensitivity Sensitivity is the lowest amplitude signal at a particular frequency that the counter can measure. The amplifier gain and the voltage difference between the input trigger levels set at a value equal to the midpoint of the input signal.
Page 99
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter Figure 4-19 Acceptable Peak-t Peak Amplitude If the signal peaks do not cross both hysteresis limits, the input signal will not generate a count. For example, if the peak-to-peak amplitude is insufficient, or the trigger level is set above or below the midpoint of the input signal, as shown in Figures 4-15 and 4-16, the counter can not make a measurement.
Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING Where n is the selected channel 1 or 2. Figure 4-21 Trigger Level Set Below Midpoint of Input Signal The sensitivity specification is given in terms of volts rms for applications that involve measuring a sine-wave signal.
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter Figure 4-22 Hysteresis Window and Input Sensitivity Input Coupling Selectable ac or dc coupling is provided for input channels 1 and 2. Ac coupling must be used for signals with dc content exceeding the hysteresis limit of the input trigger.
Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING An input signal with dc content (as shown in a) would not be counted unless ac coupling (as shown in b), was used to remove the dc offset, or the appropriate trigger level was used. Trigger Level Trigger level is the voltage at the center of the hysteresis window.
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter For example, you can change the trigger level or select autotriggering for input channel 2 by using the LEVel option of the SENSe:EVENt commands within the SCPI configuration program message as follows: SENS2:EVEN:LEV (nnn) (to select a specific level) -or- SENS2:EVEN:L.EV:AUTO ON (for automatic triggering)
Understanding the E1420B Universal Counter INPUT SIGNAL CONDITIONING SENS :EVENt:SLOPe POSitive (for a positive slope) -or- SENS :EVENt:SLOPe NEGative (for a negative slope) Figure 4-26 Positive and Negative Trigger Points Input Impedance Each input has a selectable impedance of 1 M or 50 . With 1 Mimpedance, the input is shunted by <30pf.
INPUT SIGNAL CONDITIONING Understanding the E1420B Universal Counter Damage Level Damage level is the maximum input voltage the counter can withstand without danger of permanent input hardware failure. The damage level value varies with input attenuation, impedance, coupling selection, and input waveform. For example, the maximum sine wave input signal must never exceed 5/50 volts rms depending on the attenuation setting in 1M...
Understanding the E1420B Universal Counter Arming the Counter Arming the Counter This section describes the procedures (commands and, if necessary, signal connections) used to take advantage of the counter's arming system. It also explains how to abort a measurement by returning the counter to the Idle state before a measurement has completed, or before an arming sequence has completed.
Arming the Counter Understanding the E1420B Universal Counter Figure 4-28 Counter Arming System Internal Arming Immediate source arming is used for measurements that do not require synchronization with an external signal. All internal arm states are controlled by the arming system commands and the *RST command. The *RST command always puts the counter's arming system in the Idle state.
Understanding the E1420B Universal Counter Arming the Counter If you want the counter to hold-off measurements upon execution of your measurement program messages, the arming system must be in the HOLD anning state. You can place the STOP anning system in the HOLD state by executing the following command string: ARM:STOP:SOUR HOLD BUS suspends arming and measurement triggering until the Group Execute...
Arming the Counter Understanding the E1420B Universal Counter You can use external arming via the front-panel BNC Arm input connector with the following command string: ARM:(STOP or STARt):SOUR EXTernal The front panel external Arm Input signal that you've connected to the counter must be within the following Arm input specifications: Frequency Range 0-20 MHz...
Understanding the E1420B Universal Counter Measurement Resolution Measurement Resolution Resolution is the smallest change in a measurement that can be discerned. The more resolution you desire, the longer the gate time needed to sample the input signal. There are two ways to specify resolution. You can set it directly with the SENSe command by changing the Gate time via APERture, or you can program a particular resolution as a parameter to the MEASure, CONFigure, or SENSe commands.
Measurement Resolution Understanding the E1420B Universal Counter By specifying the resolution in a MEASure or CONFigure command, the counter automatically selects the aperture time required to obtain that resolution. Explicitly selecting an aperture time after a CONFigure command will override the automatic selection of the aperture time.
Understanding the E1420B Universal Counter Output Formats Output Formats The E1420B measurement results are output to the controller in scientific notation as shown in Figure 4-26. The output data contains 21 characters arranged in the following format: Figure 4-31 Numeric Output Format Measurement Data Field The data field consists of a 12-character string as shown in the figure.
Output Formats Understanding the E1420B Universal Counter Min/Max/AC/DC The measurement data field for MINimum, MAXimum, AC and DC differs from the above as follows: 15 Mantissa digits are always returned for Frequency, Period, Ratio, Time interval, Rise Time, Fall Time, Positive Pulse Width, and Negative Pulse Width measurements.
Page 114
Understanding the E1420B Universal Counter Output Formats Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual E1420B Command Reference Chapter Guide This chapter describes the Standard Commands for Programmable Instruments (SCPI commands) and IEEE 488.2 Common (* - ''Star”) commands applicable to the E1420B Universal Counter. This chapter is organized into four sections summarized below.
E1420B Command Reference Command Types Command Types Commands are separated into two types: IEEE 488.2 Common Commands and SCPI Commands. The SCPI commands control instrument measurement/command functions unique to the E1420B Universal Counter. The IEEE 488.2 Common commands control and manage communications protocol/information interchange between the counter and the instrument controller.
Command Types E1420B Command Reference For example, if the command syntax shows MEASure, then MEAS and MEASURE are both acceptable forms. Other forms of MEASure, such as MEASU or MEASUR will generate an error. You may use upper or lower case letters. Therefore, MEASURE, measure, and MeAsUrE are all acceptable.
E1420B Command Reference Command Types Optional Parameters Table 5-4 Parameter Types Type Explanations and Examples Numeric: Accepts all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation: 123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01. Special cases include MIN, MAX, and DEF. MIN selects minimum value available, MAX selects maximum value available, and DEF selects the default or reset value.
Command Types E1420B Command Reference If you send the command without specifying a parameter, the present EVENt:LEVel value is returned. If you send the MIN parameter, the command returns the minimum level available. If you send the MAX parameter, the command returns the maximum level available.
E1420B Command Reference Command Summary Command Summary This section summarizes both the IEEE 488.2 Common and E1420B SCPI (Standardized Commands for Programmable Instruments) commands in tabular format. IEEE 488.2 Common commands appear first followed by SCPI commands for the E1420B Universal Counter. The SCPI command summary also includes information about the SCPI status of the El420B SCPI commands.
E1420B Command Reference IEEE 488.2 Common Commands IEEE 488.2 Common Commands This section describes the IEEE 488.2 Common commands and Queries for the E1420B Universal Counter. Descriptive information about function and operation are included for each command. For complete details of the common commands refer to ANSI/IEEE Standard 488.2 - 1987.
IEEE 488.2 Common Commands E1420B Command Reference Macro definitions also allow you to pass parameters with the macro. Placeholders for parameters appear as a dollar sign (ASCII $, 36 decimal) followed by a single digit in the range 1 to 9 (49-57 decimal). For example: *DMC "EXT_AAM",#243AAM:SOUR EXT;:ARM:STOP:SOUR EXT;:ARM:LEV $1 defines a macro with one parameter.
E1420B Command Reference IEEE 488.2 Common Commands *ESE (Standard Event Status Enable) The Standard Event Status Enable Command sets the Standard Event Status Enable Register bits. The data is defined as <Decimal Numeric Program Data>. The counter rounds this number to an integer. Expressing this number in base 2 (binary) represents values of the individual bits of the Standard Event Status Enable Register.
IEEE 488.2 Common Commands E1420B Command Reference to a counter will tell it to send the macro definition for the macro "TCXO" defined earlier. An attempt to retrieve the contents of an undefined macro returns a zero length block and reports an execution error, -270, "Macro error". *IDN? (Identification Query) The Identification Query causes the counter to send its "identity"...
E1420B Command Reference IEEE 488.2 Common Commands *RST (Reset) This command resets the counter. The Reset command: 1 Sets the counter-dependent functions to a known state, independent of its current state. (Refer to Table 3-2.) 2 Disables macros 3 Aborts all pending operations 4 Forces the counter to forget about any previously received *OPC commands The Reset command does NOT affect: 1 The Output Queue...
IEEE 488.2 Common Commands E1420B Command Reference *SRE? (Service Request Enable Query) The Service Request Enable Query command reads the contents of the Service Request Enable Register. The counter returns the data as an <NRl> (integer), in the range 0 to 63 or 128 to 191, since bit 6 (the RQS bit) cannot be set. *STB? (Status Byte Query) The Status Byte Query command reads the status byte with the Master Summary Status (MSS) bit.
E1420B Command Reference E1420B SCPI COMMANDS E1420B SCPI COMMANDS This section describes the Standard Commands for Programmable Instruments (SCPI commands) for the E1420B Universal Counter. The listings are alphabetical by SCPI root command. ABORt The ABORt command terminates a measurement and places the counter into the idle state.
E1420B SCPI COMMANDS E1420B Command Reference The purpose of the ARM command is to qualify a single event to start or stop a measurement. The ARM subsystem of the E1420B provides: A selectable arming source, A selectable arming slope, A selectable arming trigger level for an external arming signal, A one-time software override of the arm event detection layer.
Page 134
E1420B Command Reference E1420B SCPI COMMANDS Comments – All previously programmed values for :SOURce, :LEVel, and :SLOPe remain in effect after the single-shot exit from the arming subsystem initiated by [:IMMediate] – ARM commands configure the arming subsystem but do not arm the counter.
E1420B SCPI COMMANDS E1420B Command Reference :LEVel ARM:LEVel <numeric value> configures the ARM subsystem to qualify the selected amplitude of a source signal arriving at the front panel ARM connector signal that generates a measurement. Parameter entry is -1.3, +1.6, or 0 volts. Parameters Parameter Name Parameter Type...
E1420B Command Reference E1420B SCPI COMMANDS Parameters Parameter Name Parameter Type Range of Values Default Value slope discrete <POSitive|NEGative> Comments – At *RST, this value is set to POS. – Useful for EXTernal arm source or TTLTrg lines. Example ARM:STOP:SLOPe POS Specify the SLOPe command of the ARM subsystem.
Page 137
E1420B SCPI COMMANDS E1420B Command Reference Parameters Parameter Parameter Range of Default Name Type Values Value source discrete <EXTernal | IMMediate | BUS | HOLD | TTLTrig<n>> Comments – If EXTernal is selected as the first Start/Stop source, then another source such as TTLTrg cannot be selected as the second Start/Stop source.
E1420B Command Reference E1420B SCPI COMMANDS :SOURce? :SOURce? returns BUS, EXT, IMM, HOLD, or TTLT<n>, indicating the current arming source. The quoted string is sent to the output buffer. An example of the use of this query is shown below: ARM:STOP:SOUR HOLD Arming source for Stop arming is suspended.
Page 139
E1420B SCPI COMMANDS E1420B Command Reference *Expected value and resolution parameters are accepted but ignored for AC, DC, MINimum, MAXimum, and TOTalize measurements. Comments – Manually entered expected value: If the optional parameters expected value and resolution are specified, the state of the counter will be changed to obtain the requested resolution.
Page 140
E1420B Command Reference E1420B SCPI COMMANDS The MEASure command is instrument independent and can be used in other instruments to perform similar functions. This command should be used when the portability of instrument syntax is important. CONFigure/READ? is less compatible if the counter re-configuration occurs between the CONFigure and READ? operations.
E1420B SCPI COMMANDS E1420B Command Reference – If x10 attenuation is active, multiply the results by 10 to get the actual voltages. – Type of Signal Measured: Signals must be periodic and symmetrical for the dc voltage function. – Channel 2 cannot make a measurement on a dc input signal. –...
E1420B Command Reference E1420B SCPI COMMANDS – If the entered parameters are out of range, then the counter returns error -209, ''Data clipped to limit".Refer to Chapter 4, Measurement Resolution, for more information regarding numeric entry. Refer to Table 5-4 for instrument settings when using the command with discrete parameters.
Page 143
E1420B SCPI COMMANDS E1420B Command Reference Parameters Parameter Name Parameter Type Range of Values Default Value expected numeric 10E11 to 10E-11 value discrete MIN|MAX|DEF 14 E-7 resolution numeric 4 E-12 to 4000 discrete MIN | MAX | DEF Comments – Channel Selection: Select only one channel at a time. Channels 1, 2, or 3 may be used for ratio measurements and the channel selected is the numerator of the ratio.
E1420B Command Reference E1420B SCPI COMMANDS Table 5-5 Ratio Resolution and Expected Value * The actual gate time may be longer than listed depending on the period on channel 1. N/A = Not Ratio of freq x freq y ...
E1420B SCPI COMMANDS E1420B Command Reference – Automatically routes the channel 1 input to the channel 2 input amplifier (INP:ROUT COMM). All parameter settings for channel 2 are reconfigured with the parameter settings for channel 1. The COMMon input mode cannot be overridden.
E1420B Command Reference E1420B SCPI COMMANDS – If x10 attenuation is active, multiply the results by 10 to get the actual voltage levels. – Expected value and resolution are accepted but ignored. :MINimum CONFigure[1|2][:VOLTage]:MINimum [<expected value>[,<resolution>]] configures the counter to read the minimum value (-Ve Peak) of the input signal ac voltage.
Page 147
E1420B SCPI COMMANDS E1420B Command Reference Entering reference value: The default units of measure for the reference parameter is percent (PCT). However, absolute units V (volts) can also be specified. Selecting percent (PCT) turns the Auto trigger mode ON while choosing V (volts) turns Auto trigger OFF.
Page 148
E1420B Command Reference E1420B SCPI COMMANDS Table 5-6 NWIDth Resolution and Expected Value ** Resolution Expected Value** auto no parm <value> ON if exp. value 10 ms, otherwise OFF noparm <value> 1 ns = ON, ON if exp. value 10 ms and ...
E1420B SCPI COMMANDS E1420B Command Reference :PERiod CONFigure[1|2|3][:VOLTage):PERiod[<expected value>[,<resolution>]] configures the counter for the period average measurement function on channel 1, 2, or 3 (channel 1 is the default). This command does not initiate the measurement process. Parameters Parameter Name Parameter Type Range of Values Default Value...
E1420B Command Reference E1420B SCPI COMMANDS Table 5-7 Period Resolution and Expected Value -EXPECTED VALUE*- auto no param ≥ 1ms, on 1ms, off 1ms, off 100ms, auto If Per. 10 ns, then 400 100ms, on 100ms, off 100ms, off 100ms, auto ms/OFF 800ms, on 800ms, off...
Page 151
E1420B SCPI COMMANDS E1420B Command Reference Parameters Parameter Name Parameter Type Range of Values Default Value reference voltage (V) -10.2375 to +10.2375 volts percent (PCT) 10 to 90 discrete MINimum|MAXimum|DEFault expected value numeric 5 ns to 10ms discrete MIN|MAX|DEF|AUTO resolution numeric 100 ps to 100 ns discrete...
E1420B Command Reference E1420B SCPI COMMANDS CONF:PWID 75,1.5E-6,500E-12 Channel1; Function - Positive Pulse Width with reference set at 75% Auto trigger ON and 100 Gate Average mode ON. READ? Take reading "ENTER" statement Enter value into controller :RTIMe and :RISE:TIME CONFigure[1][:VOLTage]:RTIMe -or- :RISE:TIME [<lower reference>[,<upper reference>[,<expected value>[,<resolution>]])] configures the counter to measure the rise time of the input signal.
Page 153
E1420B SCPI COMMANDS E1420B Command Reference – The counter's input configuration (coupling and impedance for CH2, routing for CH1, and state of auto trigger for both channels), before execution of either the CONF:FTIMe or CONF:RTIMe command, is restored whenever measurement function is changed. However, the absolute trigger levels are not affected.
E1420B Command Reference E1420B SCPI COMMANDS :TINTerval CONFigure[l][:VOLTage]:TINTerval [<expected value>[,<resolution>]] configures the counter to measure the time interval from the signal edge on channel!to the signal edge on channel 2. This command does not initiate the measurement process. Parameters You must send an expected value parameter for resolution to be accepted. Parameter Name Parameter Type Range of Values...
E1420B SCPI COMMANDS E1420B Command Reference :TOTalize CONFigure[l][:VOLTage]:TOTalize configures the counter for the totalize function but does not initiate the measurement procedure. This function allows you to count events on channel 1. Once the measurement is started, the totalize function continues counting until the channel is reconfigured to another function or ABORt or the ARM:STOP:IMM command is received.
E1420B Command Reference E1420B SCPI COMMANDS CONFigure? CONFigure? returns the function with its associated parameters that the specified channel was configured for with the last CONFigure or MEASure command. Syntax: CONFigure[1|2|3]? Parameters: Select one channel for the command (1, 2, or 3). If a channel is not specified, the command acts on channel 1 which is the default.
E1420B SCPI COMMANDS E1420B Command Reference DIAGnostics The DIAGnostic command subsystem provides access to both calibration and test functions via SCPI as options and parameters of the DIAGnostic root command. Most of the command options for this command node require the expertise of qualified service personnel and use of specific test equipment to ensure correct application and results.
E1420B Command Reference E1420B SCPI COMMANDS :CALibrate The DIAGnostics:CALibrate command causes the counter to perform calibrations of key parameters on the input amplifiers. – :CALibrate:OFFSet? -Performs offset calibration on input amplifiers for both channel I and channel 2. Requires grounding the channel being calibrated.
E1420B SCPI COMMANDS E1420B Command Reference Successful completion of BLOCk command tests is indicated by the "PASSED" response. The only exception to this is the COUNtchain node which requires an additional query option. The choices available are: ALL?, CONNector?, MRC?, INTerpolat?, DINTerpolat?, and TIMebase?.
E1420B Command Reference E1420B SCPI COMMANDS UFAil[?] The DIAGnostics:UFAIL <OFF I 0 I ON 11> enables the counter to execute the next diagnostic command in a continuous loop. When turned ON, the next diagnostic is executed continously until halted (Device Clear is received) or until a failure occurs.
E1420B SCPI COMMANDS E1420B Command Reference – If the counter is in ARM:HOLD or BUS mode, an attempted FETCh? returns error -215, "ARM deadlock". Example CONF:FREO 1OE6,1 Function is frequency of channel 1. INIT Makes a measurement. FETC?" Place readings in output buffer. As <function>...
E1420B Command Reference E1420B SCPI COMMANDS – Measurement Result: Use the FETCh? command to transfer a measurement result from the counter's memory to the output buffer. [:IMMediate] INITiate[1|2|3][:1MMediate] causes an immediate exit from the idle state, executes one measurement cycle, and returns to idle upon completion. Comments –...
E1420B SCPI COMMANDS E1420B Command Reference :CONTinuous INITiate[1|2|3]:CONTinuous determines whether the counter makes only one measurement or makes measurements continuously. If CONTinuous is set ON, then measurements will be made as long as arming conditions defined via the ARM command are satisfied. When CONTinuous is set OFF, the counter finishes the current measurement and returns to the idle state.
E1420B SCPI COMMANDS E1420B Command Reference :ATTenuation? INPut:ATTenuation? returns the attenuation for channel or 2 as either 1 or 10. An example of this query is shown below. Example INP1:ATI? Queries the attenuation for channel 1. :COUPling INPut[1 | 2]:COUPling <mode> sets the input coupling to ac or dc. The parameters for "<mode>"...
E1420B Command Reference E1420B SCPI COMMANDS :IMPedance INPut[1 | 2]:IMPedance <value|MINimum|MAXimum|DEFault> sets the input impedance to 50 or 1 M where <value> is a floating point number. Parameters Parameter Name Parameter Type Range of Values Default Value value numeric 40 to 60 and...
E1420B SCPI COMMANDS E1420B Command Reference – Turn-on and *RST Condition: INP:ROUTe SEParate – Rise/fall time measurements are automatically made using ROUTe set to COMMon. Channel 2 settings are the same as channel 1. When the function changes, the previous settings are reinstated. –...
E1420B Command Reference E1420B SCPI COMMANDS MEASure The MEASure command subsystem sets up the counter to perform a specified measurement either automatically-acquired or for a manually-entered expected value, and then performs the measurement. After making the measurement, the data is stored in the output buffer. Syntax: MEASure[1|2|3] [:VOLTage]...
Page 169
E1420B SCPI COMMANDS E1420B Command Reference – If you execute the MEASure command while the counter is in continuous measurement mode (INIT:CONTinuous ON), the INIT:CONTinuous state is turned OFF, and the counter then makes the measurement. – [:VOLTage] is an implied node and may be omitted from the program message.
E1420B Command Reference E1420B SCPI COMMANDS The SENSe subsystem can be used for all measurements. The SENSe:FUNCtion command only configures a channel for a specific function and does not perform the measurement. The state of the counter is not otherwise affected. Use of additional commands (READ?, or INIT/FETC?) to perform the measurement and store the results is required.
MEMORY Subsystem (Option 040) E1420B Command Reference MEMORY Subsystem (Option 040) The MEMory:VME command subsytem controls the storage of counter readings (measurement results data) onto external VME memory cards or any module/card in the cardcage which supports VME addresses between #H200000 - #HDFFFF8.
E1420B Command Reference MEMORY Subsystem (Option 040) Comments – You can specify the Address location in decimal or Hexidecimal (#H..) – MIN sets the address to #H200000 and MAX sets the address to #HDFFFFB. – The address and size are interdependent; setting one may affect the other. –...
MEMORY Subsystem (Option 040) E1420B Command Reference Example Setting the VME memory size :MEM:VME:SIZE 64000 sets memory size to 64 kbytes Comments – Memory size can be specified in decimal or Hexadecimal (#H...). – The MIN parameter sets the memory size to 0 bytes and MAX sets the memory size to 12582912 bytes (#HCOOOOO).
E1420B Command Reference MEMORY Subsystem (Option 040) MEM:VME:ADDR #H250000 Set memory address location to #H250000 MEM:VME:SIZE 64000 Set memory to 64 kBytes. MEM:VME:STAT ON Enable use of external VME memory starting from address 250000H not exceeding 64 kBytes. INIT Place counter in wait-for-arm state; store measurements in local memory as well as external VME memory.
OUTPut E1420B Command Reference OUTPut The Output subsystem controls two signals that can be output from the counter. The internal timebase reference signal can be output via the front panel Int/Ext Reference BNC connector if option 010 is installed. In addition, the counter's internal measurement gate signal (GATE_OUT) can be output to any one of the VXIbus backplane TTLTrg lines (0-7).
E1420B Command Reference OUTPut :ROSCillstor:STATe OUTPut:ROSCillator:STATe specifies whether or not the optional internal timebase is routed to the front panel lnt/Ext Reference BNC as its output. OUTPut:ROSCillator:STATe ON enables this output. OUTPut:ROSCillator:STATe OFF disables this output. :ROSCillator:STATe? The OUTPut:ROSCillator:STATe? query returns the current output status of the reference oscillator source selected and routed to the front panel Int/Ext Reference BNC connector.
READ? E1420B Command Reference READ? The READ? command is used to initiate a measurement and then transfer the measurement result to the output buffer. The READ? command performs the identical function as sending the sequence ABORt, INITiate:IMMediate, FETCh?. Syntax :READ[1|2|3] [:<function>]? Comments –...
E1420B Command Reference SENSe SENSe The SENSe command subsystem can be used to manually configure all available measurements, and/or to enter various measurement parameters. The SENSe command also offers direct manual control of the counter hardware. SENSe enables you to change/verify the following settings: –...
E1420B Command Reference SENSe :AVERage[:STATe]? :AVERage[:STATe?] query returns the AVERage[:STATe] status. :AVERage:COUNt? The :AVERage:COUNt? query returns 100, indicating the current number of averages is 100. There is no command to change this number. :EVENt:LEVei[:ABSOiute} :EVENt:LEVel[:ABSolute] <value|MIN|MAX|DEF> specifies the trigger level for channels 1 and 2.
SENSe E1420B Command Reference :EVENt:LEVei[:ABSOlute]? :EVENt:LEVel[:ABSolute?] query returns the current level setting as one of these numeric values: The user must multiply the results by the attenuation factor (1 or 10) to get the correct trigger levels. – The current trigger level in volts if no parameter is specified. –...
E1420B Command Reference SENSe :EVENt:LEVel:RELative :EVENt:LEVel:RELative specifies the peak-to-peak signal range percentage used to set the LEVel when AUTO is ON. – The *RST and power-up condition is 50%. Parameters Parameter Name Parameter Type Range of Values Default Value 10% to 90% value Example CONF:RTIM...
SENSe E1420B Command Reference :EVENt:SLOPe :EVENt:SLOPe <POSitive INEGative> specifies either the POSitive (rising) or NEGative (falling) edge of the input signal to be used in the measurement. Comments – At turn-on or *RST the slope is positive for all channels. Example SENS2:EVEN:SLOP NEG Sets channel 2 slope to negative.
E1420B Command Reference SENSe :EVENt:HYSTeresis? :EVENt:HYSTeresis? returns the current (MIN, MAX, or DEF) value set by EVENt:HYSTeresis. :FREQuency:APERture :FREQuency:APERture <number I MINimum I MAXimum I DEFault> specifies the aperture time for a frequency measurement. APERture time is the same as measurement gate time and can be calculated from the following formula: Resolution in Hz= 4E-9 x (F/T), where F = frequency, and T = gate or APERture time.
SENSe E1420B Command Reference – The maximum aperture time available if MAX is specified. – The default aperture time if DEF is specified. An example of this query is shown below: SENS:FREQ:APER 256E-03 Aperture time is 256 mS. FREO:APER? MAX Maximum aperture time (99.999 S) is returned.
E1420B Command Reference SENSe – If the range 100 MHz for channel 1 prescaling is enabled and the UPPer value is set to 200 MHz. When prescaling is ON, only frequency, period, and ratio measurements can be made. If the entered value is less than 100 MHz, prescaling is turned OFF and the UPPer value is set to 100E6.
Page 187
SENSe E1420B Command Reference Parameters Parameter Name Parameter Type Range of Values Default Value function discrete "[VOLTage:]AC"I "FREO" "[VOLTage:]DC"I "[VOLTage:)FREQuency"l "[VOLTage:)FREQuency:RATio"l "[VOLTage:]FTIMe"l "[VOLTage:]FALL:TIME"l "[VOLTage:)MAXimum"l "[VOLTage:]MINimum"l "[VOLTage:]NWIDth"l "[VOLTage:]PERiod"l "[VOLTage:]PWIDth"l "[VOLTage:]RTIMe"l "[VOLTage:]RISE:TIME"I "[VOLTage:)TINTerval"l "[VOLTage:]TOTalize" Comments – Channel Number: Select only one channel at a time. –...
E1420B Command Reference SENSe – CONFigure and MEASure versus SENSe: Most measurements can be performed using one of these three subsystems, and each has advantages and disadvantages over the other. The basic difference between the commands is as follows: The CONFigure command can be used for all measurements except gated totalize and time interval delay.
SENSe E1420B Command Reference :FUNC "FREO:RAT' Function is ratio. FUNC? Query counter to return selected function. "ENTER" statement Enter quoted string into controller. :PERiod:APERture :PERiod:APERture determines the gate time used for PERiod measurements. The gate time you program is the minimum value, the actual gate depends on the measured period.
E1420B Command Reference SENSe – If the selected oscillator is not found, error -241, "Hardware missing" is returned. :ROSCillator:SOURce? The :ROSCillator:SOURce? query returns the current source of the counter's timebase. :TINTerval:DELay The :TINTerval:DELay subsystem controls whether time-interval measurement is made with or without a delay time. Refer to chapter 4, ''Time Interval Delay Measurements"...
SENSe E1420B Command Reference :TINTerval:DELay:TIME :TINTerval:DELay:TIME <value I MINimum I MAXimum I DEFault> command determines the delay time for time interval delay measurements. Parameters Parameter Name Parameter Type Range of Values Default Value value numeric 0 to 99.999 S 100mS discrete 1 mS discrete...
E1420B Command Reference SENSe :TOTalize:GATE:STATe :TOTalize:GATE:STATe <OFF I 0 I ON | 1> command enables/disables the TOTalize-by-GATE measurement feature. Selecting ON or 1enables the feature while choosing OFF or 0 disables it. Parameters Parameter Name Parameter Type Range of Values Default Value mode boolean...
SENSe E1420B Command Reference Parameters Parameter Name Parameter Type Range of Values Default Value polarity discrete NORMal <NORMal|INVerted> Comments – The power-up and reset (*RST) value is NORMal. – Before you can change functions after completing a Totalize function (or between each ''Totalize-by-GATE"...
E1420B Command Reference STATus STATus The STATus subsystem lets you examine the status of the counter by monitoring the Operation Status Register and the Questionable Data/Signal Register. Figure 5-1 shows all of the counter's status registers. Syntax: STATus :OPERation :CONDition? :ENABle <value>|<non-decimal numeric>...
Using the Operation Status Register E1420B Command Reference Using the Operation Status Register The 16-bit Operation Status Register monitors counter operations currently being performed. The counter implements bit 6 only and is defined as follows: – Bit 6: has a decimal weight of "64" when the counter is in the wait-for-arm state.
E1420B Command Reference Using the Operation Status Register :OPERation:CONDition? STATus:OPERation:CONDition? returns a decimal-weighted number representing the bits set in the Operation Status Register's condition register. Reading the condition register does not destroy its contents. Comments – This command returns "0" (no bits set) or "64" (bit 6 set). –...
Using the Operation Status Register E1420B Command Reference :OPERation[:EVENt]? STATus:OPERation[:EVENt]? returns a decimal-weighted number representing the bits set in the Operation Status Register's event register. Reading the event register clears its contents. Comments – The :EVENt parameter is optional. Both of the following command statements read the event register.
E1420B Command Reference Using the Operation Status Register :QUEStionable:CONDition? STATus:QUEStionable:CONDition? query is accepted and returns 0 as the condition register is not accessible. :QUEStionable:ENABle STATus:QUEStionable:ENABle <number> sets the enable mask which allows true conditions in the Questionable Data/Signal EVENt Register to be reported in the summary bit (setting Status Byte Register bit 3 true).
Using the Operation Status Register E1420B Command Reference – Information Updated: The EVENt Register latches only low to high events from the CONDition Register. – Output Format: Returns a decimal weighted value from 0 to 32767 indicating which bits are set true. –...
E1420B Command Reference Using the Operation Status Register – Power-on condition: The error queue is empty unless an error occurs during power-up. An example of querying the error queue is shown below: CONF:FRQ 10E6, 1 Enter misspelled FREQuency function (FRO). Front-panel Error LED turns on.
Keysight E1420B Universal Counter User Manual Specifications Instrument specifications are listed in Table A-1. These are the performance standards, or limits against which the instrument may be tested including typical characteristics as additional information for the user. (Only specifications are warranted).
Page 202
Specifications Keysight E1420B Universal Counter User Guide...
Page 203
Specifications Keysight E1420B Universal Counter User Guide...
Page 204
Specifications Keysight E1420B Universal Counter User Guide...
Page 205
Specifications Keysight E1420B Universal Counter User Guide...
Page 206
Specifications Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual Error Messages CODE MESSAGE CAUSE -100 Command error -101 Invalid character Unrecognized character in specified parameter -102 Syntax error Command missing space/comma between parameters -103 Invalid separator Command parameter separated by space not comma -104 Data type error Wrong data type specified in parameter...
Page 208
Error Messages CODE MESSAGE CAUSE -158 String data not allowed String data encountered but not allowed -160 Block data error Entered block data contained a non-specific error -161 Invalid block data Entered block data syntax invalid -168 Block data not allowed Block data encountered but not allowed -170 Expression error...
Page 209
Error Messages CODE MESSAGE CAUSE -224 Illegal parameter value Specified numeric value not allowed -230 Data corrupt or stale New measurement started but not completed since last access -231 Data questionable Measurement accuracy is suspect -240 Hardware error Execution error due to hardware fault -241 Hardware missing Option 010 or 030 not installed...
Page 210
Error Messages Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual Performance Tests Introduction This appendix provides two separate groups of tests designed to check for proper operation of the E1420B VXIbus Universal Counter; functional tests and performance tests. The functional tests provide a quick method of verifying the basic functioning of the counter when its normal operation is in question.
Performance Tests Equipment Required Equipment Required Equipment required for the performance tests is listed in Table C-1, Recommended Test Equipment. Any substitutes to this recommended list are valid only if the substituted equipment satisfies all critical requirements of the recommended model(s) given in the table. Table C-8 E1420B Recommended Test Equipment Equipment Critical Requirements...
Calibration Cycle Performance Tests Calibration Cycle To maintain the E1420B within specified operating limits, the instrument should be checked using the full performance tests at least once each year. This annual time frame may be accelerated as demanded by specific environmental conditions and user needs.
Performance Tests Software Implemented Full Performance Testing Throughout these testing procedures, the "*RST" command is used frequently to reinitialize the counter to its preset default values. Failure to issue the "*RST" command at the specified times (and only at these times) will result in testing errors, since the procedures are written to assume that the default values are present after sending the "*RST"...
Functional Tests Performance Tests Before the E1420B is installed into the VXIbus Mainframe, make certain that the counter is properly configured as specified in Chapter 2 of this manual. Verify that the VXIbus Mainframe meets VXIbus System Specifications, Rev 1.3. These tests only specify the command strings that need to be sent to the counter in word-serial protocol over the VXIbus.
Performance Tests Functional Tests Observe: The result should be "+ 0" , which means "NO ERRORS". Test Record: Mark Pass or Fail on the Functional Test Record, line 1. Here's what was Checked: 1 All LED's lighting indicates that all front panel LED's are operational. 2 The extinguished "Failed"...
Functional Tests Performance Tests Procedure: Use the following steps to conduct the Auto Frequency measurement test. 1 Generate the 10 MHz signal of preliminary procedure Step 5 and give it an offset of +2 dc volts. 2 Connect a 10-MHz timebase standard to the lnt/Ext ref. BNC and configure the counter by sending "SENS:ROSC:SOUR EXT".
Performance Tests Functional Tests Description of Command SCPI Command String Common input mode ON "INP:ROUT COMM" 4 Measure the frequency ratio of Input 1 to Input 2. Description of Command SCPI Command String Measure Frequency Ratio IN1/IN2 "MEAS :FREQ:RAT?" Observe: The ratio measurement should return as l.OOOOOOOOOE+OO and both input trigger lights should be flashing.
Page 219
Functional Tests Performance Tests (where x.x is the trigger level value.) 5 Set the E1420B with the following SCPI commands: Description of Command SCPI Command String Inputs 1,2: 1 Mohm impedance "INPl:IMP 1E6" "INP2:IMP 1E6" Common input mode OFF "INP:ROUT SEP" Observe: The Input 1 trigger LED should be flashing and the Input 2 trigger LED should not be flashing.
Page 220
Performance Tests Functional Tests 14 Use the following SCPI commands to return the E1420B attenuators to x 1 operation: Description of Command SCPI Command String Inputs 1 and 2, Attenuation x1. "INP1:ATT 1" "INP2:ATT 1" 15 Measure the ac nns voltage of the signal through the x 1 attenuator: Description of Command SCPI Command String Measure ac rms voltage;...
Functional Tests Performance Tests Test Record: Mark Pass or Fail on the Functional Test Record Card, line 4. Here's what was checked: All input amplifier relays and associated circuitry. Failure: The circuit blocks that are added to the testing process are the ac/dc relays, the 50/1 Mohm relays, the xl/x10 attenuator relays, and the common/separate relay.
Page 222
Performance Tests Functional Tests 8 The preceeding measurement was triggered to measure the positive portion of the 10 MHz input wavefonn. Now configure the E1420B to measure the negative portion by sending the following SCPI commands: Description of Command SCPI Command String Reinitialze the counter.
Functional Tests Performance Tests Test Record: Mark Pass or Fail on the Functional Test Record, line 5. Here's what was checked: The trigger level and control circuitry in both x 1 and x10 attenuator modes; particularly the slope switch control operation. Failure: If the accuracy of the measurement(s) is slightly out of the specified range, the probable cause is the Input Board and the trigger level circuitry.
Performance Tests Functional Tests Here's what was checked: External Arm input circuitry on the Input Board. Failure: The functional block being tested is the external arm input amplifier circuitry. If this test fails, the likely candidate for replacement is the Input Board. Refer to the trouble shooting procedures found in Chapter 4 of the assembly level service manual for more information.
Functional Tests Performance Tests Failure: Should this test fail, first refer to the TCXO adjustment procedure found in Chapter 3 of the assembly level service manual. Other possible sources of error are the reference oscillator selection circuitry, input amplifier circuitry, and internal count circuitry.
Page 226
Performance Tests Functional Tests Table C-9 Table C-2. E1420B Functional Test Record Card FUNCTIONAL TEST RECORD (Page 1 of 1) E14208 UNIVERSAL COUNTER Test Facility: ____________________________ Report Number:________________________________ Serial Number:__________________________ Ambient Temperature __________________________C Customer:_______________________________ Relative Humidity: _____________________________% Tested By:_______________________________ Line Frequency: _______________________________Hz Date: ___________________________________ Installed Options: (Circle) Notes:__________________________________ -Calibration Test:...
Full Performance Tests Performance Tests Full Performance Tests The following procedures test the electrical performance of the E1420B VXIbus Universal Counter using the specifications in Table A-1 as the performance standards. (Table C-3 reproduces these specifications for your convenience.) The tests included here are more specific and exacting than the preceding functional tests.
Page 228
Performance Tests Full Performance Tests Figure C-33 General Test Setup Keysight E1420B Universal Counter User Guide...
Full Performance Tests Performance Tests The resolution limits specified in the following procedures assume that the test equipment used is calibrated and operating at its performance limits. When this is not the case, problems can occur. For example, noise on an input signal will result in what seems to be an inaccurate measurement.
Full Performance Tests Performance Tests For example: lnput_Signal Measured Meas. Uncer. Test Status 100Hz 98Hz 103Hz 102Hz ±4Hz Passed 100Hz 98Hz 105Hz 102Hz ±4Hz Failed For the E1420B performance tests, random uncertainties were figured using the RSS method, calculated to a confidence interval of 2 sigma {95%}.
Performance Tests Preliminary Procedure Preliminary Procedure Use the following steps to set up the E1420B for full performance testing: 1 Turn off power to the VXIbus Mainframe. 2 Plug E1420B into the VXIbus Mainframe. 3 Turn on power to the VXIbus Mainframe. 4 Connect 10 MHz reference output of the HP 8663 Signal Generator (back panel) to the E1420B Int/Ext Reference BNC input and all valid testing equipment external reference frequency inputs, as shown in Figure C-1.
Input 1/2: Measurement Sensitivity, Range, and Accuracy Tests Performance Tests Equipment Used: HP 3325B Synthesizer/Function Generator HP 8663A Synthesized Signal Generator Input Condition A: 35 mV rms@ 10Hz@ Zin=50 ohm@ dc coupling Procedure A: 1 Use the HP 3325B to generate a 35 mV rms sine wave at a frequency of 10Hz. 2 Connect this signal to Input 1 on the E1420B.
Performance Tests Input 1/2: Measurement Sensitivity, Range, and Accuracy Tests Procedure B: 1 Use the HP 3325B to generate a 35 mV rms sine wave with a dc level of +100 millivolts at a frequency of 100Hz. 2 Connect the signal to Input 2 on the E1420B. 3 Reset the counter by sending the "*RST"...
Input 1/2: Measurement Sensitivity, Range, and Accuracy Tests Performance Tests Description of Command SCPI Command String Route external timebase "SENS:ROSC:SOUR EXT" to E1420B 5 Configure the E1420B to operate on its maximum sensitivity (minimum hysteresis) setting. Description of Command SCPI Command String Maximum input sensitivity "SENS:EVEN:HYST MIN"...
Performance Tests Input 1/2: Measurement Sensitivity, Range, and Accuracy Tests Input Condition E: 10.0 Vp-p@ 20 MHz@ Zin=50 ohm@ dc coupling Procedure E: 1 Set the HP 3325B to generate a 10.0 volt peak-to-peak sinusoidal signal with no dc offset at a frequency of 20 MHz. 2 Connect this signal to Input 1 on the E1420B.
Page 237
Input 1/2: Measurement Sensitivity, Range, and Accuracy Tests Performance Tests 13 Without reinitializing, measure the ratio of Input 1 to Input 2. Description of Command SCPI Command String Set 100 Gate Average OFF "SENS:AVER OFF" Measure Ratio of IN 1/IN 2 "MEAS:FREQ:RAT? DEF,DEF"...
Performance Tests External Arm Range, Sensitivity, and Minimum Start-to-Stop Time Tests External Arm Range, Sensitivity, and Minimum Start-to-Stop Time Tests Description: The external arm input is characterized. Specifications Tested: Referring to the reference numbers of Table C-3, this test verifies: 08- Range 09 - Minimum Start to Stop Time 10- Sensitivity...
External Arm Range, Sensitivity, and Minimum Start-to-Stop Time Tests Performance Tests 8 The E1420B is automatically placed in its "Wait-for-Arm" state (continuous mode). The counter should now operate on a 100 ms gate time (default internal), triggered by the rising edges of the 10 Hz input arm signal. 9 Measure the frequency on Input 1.
Performance Tests Auto Measurement Sensitivity, Range, and Accuracy Tests 9 Measure the frequency on Input 1. Description of Command SCPI Command String Measure Frequency on Input 1 "MEASl:FREQ? DEF,DEF" Verify: The counter measures a frequency of 100 MHz ±1.5 MHz. 10 Record the measurement on the Performance Test Record Card, line 12.
Auto Measurement Sensitivity, Range, and Accuracy Tests Performance Tests Description of Command SCPI Command String Route external timebase "SENS:ROSC:SOUR EXT" to E1420B 5 Measure the rise time of the input signal by issuing the following SCPI command: Description of Command SCPI Command String Measure Rise Time Input 1 "MEAS:RTIM? DEF,DEF"...
Performance Tests (Option 030) Input 3: Sensitivity, Range, and Accuracy Tests (Option 030) Input 3: Sensitivity, Range, and Accuracy Tests Description: The input frequency range and sensitivity of the E1420B Option 030 Input 3 is tested, along with the dynamic range and accuracy of the Input 3 frequency measurement.
Page 243
(Option 030) Input 3: Sensitivity, Range, and Accuracy Tests Performance Tests 11 Measure the frequency on Input 3: Description of Command SCPI Command String Measure Frequency: Input 3 "MEAS3:FREQ? 9E7,DEF" Verify: The E1420B measures a frequency of90.000 000 MHz, ±2Hz. 12 Record the measurement on the Performance Test Record Card, line 18.
Performance Tests Functional Performance Test Records Functional Performance Test Records Table C-11 E1420B Performance Test Record (Page 1 of 2) Keysight E1420B Universal Counter User Guide...
Page 245
Functional Performance Test Records Performance Tests Table C-4 E1420B Performance Test Record (Page 2 of 2) Keysight E1420B Universal Counter User Guide...
Page 246
Performance Tests Functional Performance Test Records Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual Handling Problems Appendix Guide This appendix provides information for handling problems with programming, system interface errors, and hardware. Checking for errors during program development is presented first followed by a checklist for system and hardware integrity.
Handling Problems Monitoring Program Errors Monitoring Program Errors The example program below shows you how to check for errors as you program the counter. The program monitors the counter's Standard Event Status Register for an error condition. If no error occur, the counter operates as programmed. If errors do occur, the counter interrupts the computer and the error codes and messages are read from the counter's error queue.
Page 249
Monitoring Program Errors Handling Problems 3 Monitor the ''Message Available" bit (bit 4) and "Standard Event Status Register" summary bit (bit 5) in the Status Byte Register: Program: Comments: 100 REPEAT 110 Spoil_val = SPOLL(@E1420B) 120 UNTIL BINAND(Spoll_val,48) - Reading a Serial Poll (SPOLL) can 130 IF BIT(Spoll_vai,S) THEN CALL Errmsg occasionally clear the interrupt before the controller can respond.
Handling Problems Verifying System Integrity How the Error Queue Works As counter errors are detected, they are placed in its error queue. The error queue is first-in, first-out. This means that if several error messages are in the queue, each SYST:ERR? query returns the oldest error message, deleting it from the queue.
Verifying System Integrity Handling Problems – A 10-MHz reference signal should be applied to the Int/Ext Reference BNC input of the E1420B. See Appendix C, Power-up SelfTest, for more information. – Syntactically correct Common/SCPI command messages sent to E1420B via BASIC over the GP-IB and VXIbus interface, –...
Page 252
Handling Problems Verifying System Integrity Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual Using Option 040- High Throughput/Shared RAM Introduction This appendix provides information for using Option 040, High Throughput/Shared RAM. The option is briefly explained followed by an example program (HP BASIC) for Frequency measurements. Specific information for the memory subsystem commands is contained in the MEMory Subsystem command reference in chapter 5.
Page 254
Using Option 040- High Throughput/Shared RAM E1420B Shared Ram Description During CONTinuous mode, the OPeration Complete flag is set when the allocated shared RAM runs out (determined by MEM:VME:SIZE). The total number of measurements captured in shared RAM is equal to the set size (MEMory:VME:SIZE<value>...
Page 255
E1420B Shared Ram Description Using Option 040- High Throughput/Shared RAM Figure E-1 VXIbus Shared Memory Model Address Space The programs included at the end of this section are provided "as is". These programs are intended for example only on the use of Share Memory.
Using Option 040- High Throughput/Shared RAM Shared Memory Programming Shared Memory Programming The procedure and programs listed here will make frequency high-throughput burst measurements that utilize shared memory. The programs are in HP BASIC and "C", requiring the same hardware and software described in previous chapters.
Example Programs Using Option 040- High Throughput/Shared RAM Retrieve Data 1 If desired, the data can be read from shared memory to the controller, or can reside in shared memory to be accessed by other instruments on the bus. 2 For command descriptions and sample program examples, refer to the User's Manual for the Command Module being used, for example, the Keysight E1405B.
Page 258
Using Option 040- High Throughput/Shared RAM Example Programs 180 ASSIGN @Speed TO 70900;FORMAT OFF ! open a data transfer path 190 ASSIGN @E1420b TO 70906;EOL CHR$(10) END ! Open a path @E1420B between the 195 ! computer and the counter 200 OUTPUT @E1405b;"*RST"...
Example Programs Using Option 040- High Throughput/Shared RAM 420 OUTPUT @E1405b;"DIAG:UPL?";Addr,800 ! Request the data + header from X 425 ! shared RAM shared RAM 430 ENTER @Speed USING "#,X,K,K";Ndig$;Count$[1;VAL(Ndig$)] 440 ! Extract the data header from the 445 ! measurement block 450 ENTER @Speed;Data(*) ! Transfer measurements to Data array 460 PRINT Data(*) ! Print each measurement from Shared RAM 470 OUTPUT @E1420b;"INIT:CONT OFF"...
Page 260
Using Option 040- High Throughput/Shared RAM Example Programs int ret; vxi_ctl status vxi_control; g_fd = open("/dev/vxilprimary",O_RDWR); if (g fd == -1) perror("open: /dev/vxi/primary failed\n"); exit(-1); vxi control.type = VXI TIMEOUT; vxi=control.arg[O] = o; ret= ioctl(g fd,VXI CONTROL,&vxi control); if (ret == -1)- - - perror("ioctl: open vxi: a\n"...
Page 261
Example Programs Using Option 040- High Throughput/Shared RAM vxi_control.arg[OJ = lad; ret= ioctl(g_fd,VXI_CONTROL,&vxi_control); if (ret == -1) perror("ioctl: open_vxi: d\n"); exit(-1); }vxi_control.type VXI MAP SHARED; vxi_control.arg[OJ Ox200000; vxi_control.arg[1] = 0; I* report error *I I* Specify that all future */ I* read() and write() system *I I* calls should talk to the */ I* servant specified by lad */I* report error *II* map address 200000h to the*/ I* current users memory space •/ I* No offset */...
Page 262
Using Option 040- High Throughput/Shared RAM Example Programs * shared memory measurements can be modified by changing the size * parameter in the command mem:vme:size <size> in shared_mem.h ***************************************************************** *Imain(argc, argv) int argc; char ** argv; char input str[lOOO][lOO]; char in_input(1];int num meas,num meas store; int g_fd;...
Page 263
Example Programs Using Option 040- High Throughput/Shared RAM desired ( 100 maximum)\n"); Iget the input string •I perror("No measurements requested'\n•); I* report error *I else ret= strcpy(input_str, argv(2)); IIf not record the third argument •IUsing Option 040 - High Throughput/Shared RAME-7 num meas = atoi( input_str );...
Page 264
Using Option 040- High Throughput/Shared RAM Example Programs while (num_meas- >0) I* Clear out memory *I *p 0.0; p++;write(g fd,CONF,strlen(CONF)); write(g-fd,APER,strlen(APER)); write(g=fd,ABORT,strlen(ABORT)); write(g_fd,ON_INIT,strlen(ON_INIT));write(g_fd,OPC_Q,strlen(OPC_Q)); I* send a *ope? to the card *I read(g fd,in input,l); printf("%s\n", in_input);write(g_fd,OFF_INIT,strlen(OFF_INIT)); I* read returned value *I I* All 100 readings are done *II* turn init:cont off *I Include File listing: #include...
Page 265
Example Programs Using Option 040- High Throughput/Shared RAM <stdlib.h> <sysltimes.h> <sysltypes.h> <syslstat.h> <fcntl.h> <syslparam.h> #define RETURN •\n• #define ROSC •rosc:sour int" #define OUTP "outp:rosc on" #define CONF •conf:freq d f,def" #define APER "freq:aper n· #define ON !NIT "init:cont on" #define OFF !NIT "init:cont off" #define FETCH Q "fetch?"...
Page 266
Using Option 040- High Throughput/Shared RAM Example Programs Keysight E1420B Universal Counter User Guide...
Keysight E1420B Universal Counter User Manual New Capabilities Introduction This appendix provides the information required to use the following new capabilities: – Phase Measurement – Acquisition Timeout – Input Impedance Default Control – Option Identification Query New SCPI Commands Overview The following new Standard Commands for Programmable Instruments (SCPI) commands have been added to the firmware.
New Capabilities Introduction Option Identification Query Common Command The following standard common command has been added: *OPT? Firmware Version Firmware version 3401 must be installed to access these capabilities. Determining Firmware Version Use the *IDN? query as shown in the following example to determine the firmware version installed in your instrument: OUTPUT @E1420b;...
Phase Measurement New Capabilities Phase Measurement The E1420B derives the relative phase between the Channel 1 and Channel 2 signals from the following two consecutive measurements: 1. The Time Interval 1---:>2 Measurement. 2. The Period 2 Measurement. Figure F-1 shows the definition and timing relationship between these measurements.
New Capabilities SCPI Commands SCPI Commands Syntax The following phase measurement commands have been added: :CONFigure[1][:VOLTage]:PHASe [<expected value>[,<resolution>]] :MEASure[1][:VOLTage]:PHASe? [<expected value>[,<resolution>]] :READ[1][:PHASe]? [:SENSe[1]]:FUNCtion "[VOLTage:]PHASe" The syntax for the phase measurement commands is shown above. While the <expected value> and <resolution> parameters are accepted, they are ignored. Furthermore, the optional numeric suffix of 1 implies a Phase 1 relative to 2 measurement.
Page 271
SCPI Commands New Capabilities Table F-1 Initialized Instrument Settings for a Phase 1 Relative to 2 Measurement Instrument Parameter :CONFigure or :MEASure? :SENSe:FUNCtion Timelnterval Period 2 Time Interval Period 2 Input Routing Separate Separate Separate Separate Channell Channel2 Current Trigger Slope Trigger Slope...
New Capabilities SCPI Commands Query Response The measurement results are formatted as IEEE 488.2 <NR3> values, without a response header. Each value is truncated to the number of significant digits implied by the "LSD Displayed" formula. The value derived from this expression is always rounded down to the next lower decade, thereby yielding at most one extra digit of resolution.
Page 273
SCPI Commands New Capabilities 250 Cmd_addr=9 ! VXI Command Module at address 9 260 El420 addr=4 ! El420B at secondary address = 32/8 270 ASSIGN @El420b TO (Select_code*l0000)+(Cmd_addr*l00)+El420_addr 280 ! Define the I/0 path via El405B 300 ! Reset and initialize the counter 310 CLEAR @El420b ! Clear the output buffer 320 OUTPUT @El420b;"*RST"...
Page 274
New Capabilities SCPI Commands 580 ! to its generic phase measurement configuration by :CONFigure. 590 ! Auto triggering, which was enabled by :CONFigure, is then 600 ! disabled to illustrate how :CONFigure-invoked settings may 610 ! be customized for a particular application. 620 ! 630 OUTPUT @e1420B;...
Page 275
SCPI Commands New Capabilities 890 ! :READ? then initiates an acquisition and queries the result. 900 ! 910 OUTPUT @E1420b;":SENS:FUNC 'PHASe'" ! Select the phase function 920 ! (trigger mode remains 930 ! set to manual levels) 940 OUTPUT @El420b;":SENSl:EVEN:LEV 2.0" ! Set Ch 1 threshold to 2 V; 950 ! (both channels now trigger at a threshold of 2 V) 960 ! 970 OUTPUT @El420b;":SENS:AVER:STAT ON"...
New Capabilities Specifications Specifications The following is a summary of the key performance specifications for the Phase 1 relative to 2 measurement: Range: 0° to 360° Least Significant Digit: (2 ns) 360 Phase Frequency 1.
Page 277
Specifications New Capabilities where, input signal Trigger Error ---------------------------------------------------------------------------------------------- - Input Signal Slew Rate at Trigger Point = RMS noise of the input amplifier (500 V, nominal) input = RMS noise of the signal over a 100 MHz bandwidth signal Trigger Level Timing Error: Trigger level timing error results from a deviation of the actual trigger level from the specified (indicated) level.
Acquisition Timeout New Capabilities Acquisition Timeout The acquisition timeout capability aborts an acquisition whenever its duration exceeds a user-specified limit. This capability prevents an indefinite hang-up that could occur if the input signals are missing or if the instrument is not properly configured.
New Capabilities Acquisition Timeout Register. A service request (SRQ) is generated if bit 3 of the Standard Event Status Enable Register and bit 5 of the Service Request Enable Register are also set. Query Response The Not a Number value of 9.91E+37 is returned as the formatted response to a measurement query.
Acquisition Timeout New Capabilities Figure F-3 Acquisition Timeout Timing Example Acquisition Timeout Programming Example The following program shows how to use the acquisition timeout capability. 10 !***************************************************************** 20 ! 30 ! Program Example: Acquisition Timeout 40 ! 50 ! This program illustrates a simple application of the acquisition 60 ! timeout capability of the E1420B Universal Counter.
Page 282
New Capabilities Acquisition Timeout 130 ! computer via a service request and the "+2100, Acquisition timed 140 ! out" error message. 150 ! 160 ! This program was written in HP BASIC for an HP Series 9000 170 ! computer. 180 ! ***************************************************************** 200 DIM Result$[21] ! Declare string to hold meas.
Page 283
Acquisition Timeout New Capabilities 450 ON INTR Select code GOSUB Device_error ! If SRQ, call Device_error 460 ENABLE INTR Select_code;2 ! Enable program interrupt on SRQ 470 ! 480 ! Configure an averaged frequency measurement 490 OUTPUT @E1420b;":CONF:FREQ DEF,DEF" ! Measure frequency of Ch 1; ! disable auto ranging mode 510 OUTPUT @E1420b;":SENS:AVER:STAT ON"...
New Capabilities Acquisition Timeout 760 ! Subroutine that returns the acquisition timeout status: 770 ! Timed_out = 1, if a timeout occurred; 0, otherwise 780 ! 790 Timed out=0 ! Timeout has not yet occurred! 800 ! 810 ! Examine the contents of the Error Queue for the timeout message 820 ! Note: It is necessary to search for the timeout message since 830 ! other device-specific errors may have been detected.
Acquisition Timeout New Capabilities Accuracy: ±100 J..LS ± (0.5% x Timeout Duration) Because the timeout acquisition performance can be influenced by several external factors, the timeout accuracy is a typical characteristic and not a warranted specification. Keysight E1420B Universal Counter User Guide...
New Capabilities Input Impedance Default Control Input Impedance Default Control This command defines the default impedance setting invoked by the *RST command and at power-up. The parameter of this command evaluates to one of two settings, 50 .Q or 1M.Q for the specified input channel. SCPI Commands Syntax The following input impedance default control commands have been added:...
Input Impedance Default Control New Capabilities Input Impedance Default Control Programming Example The following sequence of commands programs the default impedance settings for Channels 1 and 2 to 1 M: :DIAG:RST:INPl:IMP MAX ! Sets *RST input impedance of !channel 1 to 1 Mohm. :DIAG:RST:INP2:IMP MAX ! Sets *RST input impedance of ! channel 2 to 1 Mohm.
New Capabilities Option Identification Query Option Identification Query The Option Identification Query (*OPT?) queries the instrument to identify any reportable c,ptions that are installed. In the E1420B, the only reportable option is Option 040 (Shared Memory). Common Command Syntax The following common command has been added: *OPT? Query Response The query response is a sequence of ASCII-encoded bytes indicating...
Need help?
Do you have a question about the VXI bus 75000 C Series and is the answer not in the manual?
Questions and answers