background image

IEEE 488.2  Common Command Reference

The following table lists the IEEE 488.2 Common (*) Commands that can be
executed by the HP E1326B and HP E1411B 5

1

2

-Digit Multimeters.

Category

Command

Title

Description

System Data

*IDN?

Identification

Returns the identification string of multimeter.

Internal
Operations

*RST

Reset

Resets the multimeter and associated multiplexers to:

FUNC:VOLT:DC
VOLT:RANG 8 V

RES:RANG 16384 

 

RANGE:AUTO ON
VOLT:RES 7.629 

µ

V

RES:RES 15.6 m

 

APER 16.7 ms | 20 ms 
NPLC 1
RES:COMP OFF
CAL:ZERO:AUTO ON
TRIG:COUN 1
TRIG:DELAY:AUTO ON
TRIG:SOUR IMM
SAMP:COUN 1
SAMP:SOUR IMM 
SAMP:TIM 200 

µ

s

*TST?

Self-Test

Should return 0.  If code 1, 2, 3, or 4 occurs, return
multimeter to Hewlett-Packard for repair.

Synchronization

*OPC

Operation Complete

Operation complete command

*OPC?

Operation Complete Query

Operation complete query

*WAI

Wait to Complete

Wait-to-continue command

Status & Event

*CLS

Clear Status

Clear status command

*ESE

Event Status Enable

Standard event status enable command

*ESE?

Event Status Enable Query

Standard event status enable query

*ESR?

Event Status Register Query

Standard event status register query

*SRE

Service Request Enable

Service request enable command

*SRE?

Service Request Enable Query

Service request enable query

*STB?

Read Status Byte Query

Read status byte query

Bus 
Operation

*TRG

Bus Trigger

When the multimeter is in the wait-for-trigger state and the
trigger source is TRIGger:SOURce  BUS, use *TRG to
trigger the multimeter.

Instrument

*RCL

Recall Instrument State

Recall instrument state command

*SAV

Store Instrument State

Store (save) instrument state command

Macros

*DMC

Define Macro

Define macro command

*EMC

Enable Macro

Enable macro command

*EMC?

Enable Macro Query

Enable macro query

*GMC?

Get Macro Contents Query

Get macro contents query

*LMC?

Learn Macro Query

Learn macro query

*PMC

Purge Macros

Purge all macros command

*RMC

Remove Individual Macro

Remove individual macro command

NOTE: These commands apply to many instruments and are not documented here in detail. See your
command module or controller manual, and the ANSI/IEEE Standard 488.2-1987 for more information.

Chapter 5

Command Reference    186

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

Содержание E1326B

Страница 1: ... underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respective ...

Страница 2: ...al Address Switch 22 VXIbus Interrupt Lines 24 HP E1326B Internal Installation 25 Installing the HP E1411B in a Mainframe 26 The Reference Frequency 27 Input Characteristics 28 Input Terminals 29 Connecting Multiplexers 30 Connecting Input Signals 32 Wiring Considerations 32 Measurement Connections 33 Carrier Cable Assemblies 37 Additional Configurations 39 Selecting VME RAM 39 Disabling Front pan...

Страница 3: ...Sure and CONFigure Commands 76 How to Make Measurements 78 Using MEASure 78 Using CONFigure 78 Data Formats and Destinations 80 Data Formats 80 Reading Destinations 81 Reading Destination Summary 85 Measurement Functions 86 DC Voltage Measurements 86 RMS AC Voltage Measurements 86 Resistance Measurements 87 Temperature Measurements 88 Specifying a Function 90 Multimeter Parameters 91 Range 93 Auto...

Страница 4: ...nce 127 RESistance 128 TEMPerature 129 VOLTage AC 130 VOLTage DC 132 CONFigure 134 DIAGnostic 135 FETS 135 FETS 135 DISPlay 136 MONitor CHANnel 136 MONitor CHANnel 137 MONitor STATe 137 MONitor STATe 138 FETCh 139 FORMat 140 DATA 140 FORMat 141 INITiate 142 IMMediate 142 MEASure 143 FRESistance 144 RESistance 145 TEMPerature 146 VOLTage AC 147 VOLTage DC 148 MEMory 150 VME ADDRess 150 VME ADDRess ...

Страница 5: ...RESistance RANGe AUTO 167 RESistance RANGe AUTO 168 RESistance RESolution 168 RESistance RESolution 169 VOLTage AC RANGe 169 VOLTage AC RANGe 170 VOLTage APERture 171 VOLTage APERture 171 VOLTage DC RANGe 172 VOLTage DC RANGe 173 VOLTage NPLC 173 VOLTage NPLC 174 VOLTage RANGe AUTO 174 VOLTage RANGe AUTO 175 VOLTage RESolution 175 VOLTage RESolution 176 SYSTem 177 CDEScription 177 CTYPe 177 ERRor ...

Страница 6: ...he Command and Parameter Registers 204 The READ Registers 205 The ID Register 205 The Device Type Register 206 The Status Register 206 The Query Response Register 207 The Data Buffer 208 Program Timing and Execution 210 Resetting the Multimeter 210 Configuring the Multimeter 211 Retrieving Measurements 213 Checking for Errors 214 Querying Parameters 215 Using a Multiplexer with the Multimeter 216 ...

Страница 7: ... 262 Command and Parameter Opcodes 262 Register Based Programming Error Codes 264 Multimeter Power On Settings 265 Function and Aperture Change Times 266 VME Interrupts 267 Appendix D Measurement Speed and Accuracy Tradeoffs 269 Index 279 6 Contents HP E1326B E1411B 5 1 2 Digit Multimeter User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 8: ... addition HP does not warrant any damage that oc curs as a result of the Buyer s circuit or any defects that result from Buyer supplied products NO OTHER WARRANTY IS EXPRESSED OR IMPLIED HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Exclusive Remedies THE REMEDIES PROVIDED HEREIN ARE BUYER S SOLE AND EXCLUSIVE REMEDIES HP SHALL NOT BE LIAB...

Страница 9: ... by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have been im paired either ...

Страница 10: ...tions Safety HD 401 IEC 348 CSA 231 UL 1244 EMC EN55011 1991 CISPR11 Group 1 Class A EN50082 1 1991 IEC 801 2 IEC 801 3 IEC 801 4 Tested in a typical configuration in an HP B Size VXI mainframe European contact Your local Hewlett Packard Sales and Service Office or Hewlett Packard GmbH Department HQ TRE Herrenberger Straße 130 D 71034 Böblingen Germany FAX 49 7031 14 3143 December 18 1991 Jim Whit...

Страница 11: ...er Line ENV50141 1993 prEN50082 1 1995 3 Vrms ENV50142 1994 prEN50082 1 1995 1 kV CM 0 5 kV DM IEC1000 4 8 1993 prEN50082 1 1995 3 A m EN61000 4 11 1994 prEN50082 1 1995 30 10 ms 60 100 ms Supplementary Information The product herewith complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC inclusive 93 68 EEC and carries the CE mark accordingly Teste...

Страница 12: ... to understand O O O O O The documentation is clearly written O O O O O Examples are clear and useful O O O O O Illustrations are clear and helpful O O O O O The documentation meets my overall expectations O O O O O Please write any comments or suggestions below be specific cut along this line fold here Your Name Company Name Job Title Address City State Province Country Zip Postal Code Telephone ...

Страница 13: ...12 HP E1326B E1411B 5 1 2 Digit Multimeter User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 14: ...le or with a computer which has HP Compiled SCPI software then it may be programmed using SCPI language This is the method described in Chapters 1 through 5 If the HP E1326B is in a VME mainframe or the E1326B E1411B is in a C size VXI mainframe and no HP Command Module or computer with Compiled SCPI is present then the multimeter must be programmed at the register level Appendix C covers register...

Страница 15: ...measurements using a single command When necessary low level commands are available to set configurations for unique applications Such commands for example allow you to enable autozero or offset compensation or change various analog to digital A D converter parameters Triggering the Multimeter The multimeter s trigger system allows it to be internally or externally triggered The system enables you...

Страница 16: ...vers up an additional slot in the B Size mainframe This prevents another B size card from being installed in the slot directly above the multimeter An internal installation kit discussed in Chapter 2 enables you to install the multimeter internal to the HP 75000 Series B mainframe This saves two externally accessed slots Input Terminals There are four input terminals on the faceplate of the multim...

Страница 17: ...ly addressing the multimeter Also the self test is useful in locating intermittent problems that might occur during operation The command used to execute the self test is TST You can also run the self test by selecting TEST from the multimeter s front panel menu on the HP E1301A mainframe Upon execution the self test resets the multimeter performs the test and returns one of the codes listed in Ta...

Страница 18: ... is reset with the command RST which can be sent from an HP 9000 Series 200 300 computer as OUTPUT 70903 RST The multimeter can also be reset by pressing the green Reset Instr key on the HP E1301A mainframe front panel Note that the multimeter must first be selected from the mainframe menu When resetting the multimeter A front panel reset Reset Instr key on the HP E1301A mainframe returns the mult...

Страница 19: ...n line frequency RESistance APERture 16 7 ms or 20 ms based on line frequency CALibration LFRequency Unchanged factory setting 60 Hz VOLTage NPLC 1 RESistance NPLC 1 RESistance OCOMpensated OFF CALibration ZERO AUTO ON TRIGger COUNt 1 TRIGger DELay AUTO ON TRIGger SOURce IMM SAMPle COUNt 1 SAMPle SOURce IMM 18 Getting Started with the HP E1326B E1411B Multimeter Chapter 1 Artisan Technology Group ...

Страница 20: ... commands Similarly clearing the multimeter from the HP E1301A front panel erases any pending front panel commands if cleared from the HP E1301A front panel the display buffer is cleared If cleared over HP IB the data in the output buffer is erased The Error Queue When an error occurs during operation an error code and corresponding message are stored in the multimeter s error queue If the Series ...

Страница 21: ...ters Example Making a Measurement Stand Alone Multimeter This example uses the MEASure command to make a DC voltage measurement on the terminals connected to the multimeter s faceplate The reading is then entered into the computer and displayed 10 OUTPUT 70903 MEAS VOLT DC 20 ENTER 70903 Rdg 30 PRINT Rdg 40 END Example Making a Measurement Scanning Multimeter This example uses the MEASure command ...

Страница 22: ... isolated from the multimeter chassis the potential between the terminals and the chassis is equal to the value of the input signal Installation Overview As mentioned in the HP VXIbus Systems Installation and Getting Started Guide each plug in module has a row of switches which set the module s logical address Based on this address the system instrument within the HP 75000 Series B mainframe and H...

Страница 23: ...B address of 03 If you have more than one multimeter you must change the logical address to some other multiple of 8 for example 32 40 48 as there can only be one instrument per secondary address Figure 2 1 HP E1326 1411 Logical Address Switch Settings 22 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg co...

Страница 24: ... 2 2 The scanning multimeter can consist of relay multiplexers FET multiplexers or a combination of both See Connecting Multiplexers on page 30 for information on physically connecting the multiplexers to the multimeter Figure 2 2 Setting Successive Logical Addresses to Form an Instrument Chapter 2 Configuring the HP E1326B E1411B Multimeter 23 Artisan Technology Group Quality Instrumentation Guar...

Страница 25: ...shows the location of the jumpers used to select an interrupt line For most applications where the multimeter is installed in an HP 75000 Series B or Series C mainframe the jumpers do not have to be moved Note IRQ OFF is set when the multimeter is installed in systems without a Series B mainframe or HP E1406A command module Interrupt Priority In the HP 75000 Series B and Series C mainframes the VX...

Страница 26: ...the external slots is covered in the Installation and Getting Started Guide Instructions for installing the multimeter internally are included in the installation kit Connecting the HP E1326B Adapter If the HP E1326B multimeter is installed internal to the HP E1300A E1301A mainframe the HP E1326 80005 adapter can be used to provide HI LO COM and HI banana plug terminals for the multimeter When the...

Страница 27: ...0 until the backplane connectors touch Seat the multimeter into the mainframe by pushing in the extraction levers Tighten the top and bottom screws to secure the multimeter to the mainframe To remove the multimeter from the mainframe reverse the procedure Figure 2 5 Installing the HP E1411B Multimeter in a VXIbus Mainframe 26 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology...

Страница 28: ...the device being measured Assume for example the multimeter has a power line frequency of 60 Hz and the device being measured has a line frequency of 400 Hz Normal mode rejection can be achieved by setting the reference frequency to 50 Hz This is done with the command CALibration LFRequency frequency MIN MAX frequency is power line frequency Settings are 50 or 60 MIN sets the minimum power line fr...

Страница 29: ...meter is one where the input impedance between HI and COM is the same as the impedance between LO and COM see Figure 2 6 The only difference between the HI and LO terminals is the polarity Figure 2 6 A Floating Balanced Differential Multimeter 28 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 30: ...ween the multiplexer s High H Low L and Guard terminals to the level specified for the multiplexer For example HP E1343A 44A 250 V dc or 354 V ac peak HP E1345A 47A 120 V dc or 170 V ac peak HP E1351A 14 V dc or ac peak Mixing of multiplexer types reduces all voltage ratings to that of the lowest rated multiplexer For example if an HP E1343A and E1351A are connected to the same multimeter then the...

Страница 31: ...le is used 2 If the scanning multimeter uses FET multiplexers only the analog bus cable and the digital bus cable are used 3 If the scanning multimeter uses a combination of relay and FET multiplexers only the analog bus cable is used Figure 2 8 shows how the analog and digital bus cables are connected Figure 2 8 Connecting the Analog and Digital Bus Cables 30 Configuring the HP E1326B E1411B Mult...

Страница 32: ...ec The digital bus consists of a Voltmeter Complete line an external Trigger line and ground The handshake sequence is described in the following steps and in Figure 2 10 1 When a FET channel is closed a channel closed signal is sent over the Trigger line This triggers the multimeter which in turn makes a measurement 2 When the measurement is finished a voltmeter complete signal is sent from the m...

Страница 33: ...cting the COM Lead To prevent the HI and LO terminals from floating from the COM terminal and causing erratic overload readings the COM terminal must be connected to the signal source If a shielded cable is used connect one end of the cable shield to the LO lead at the signal source and connect the other end of the cable shield to the COM or guard terminal If a shielded cable is not used connect a...

Страница 34: ...6A E1352A E1345A 47A 51A 53A Figure 2 12 Connections for DC and AC Voltage Measurements Chapter 2 Configuring the HP E1326B E1411B Multimeter 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 35: ...ly through the analog bus must be configured as 4 wire measurements E1460A E1346A E1352A E1345A 47A 51A 53A Figure 2 13 Connections for 2 Wire Resistance Measurements Including Thermistors and RTDs 34 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 36: ...A User s Manual E1460A E1345A 47A 51A 53A Figure 2 14 Connections for 4 Wire Resistance Measurements Including Thermistors and RTDs Chapter 2 Configuring the HP E1326B E1411B Multimeter 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 37: ...A 47A 53A E1476A Figure 2 15 Connections for Thermocouples 36 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 38: ...ecting Configuration 2 to E1400 61605 analog bus E1400 61605 analog bus and E1400 61601 digital bus Examples 1 To connect the HP E1411B multimeter to a FET multiplexer in the HP E1403B module adapter configuration 2 the analog and digital bus cables in kit E1400 80001 are required 2 To connect a FET multiplexer in the HP E1403B module adapter configuration 2 to a relay multiplexer in the E1403B ad...

Страница 39: ...e 2 16 Cables for B Size Multiplexers in HP E1403B Adapter 38 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 40: ... the lower 2 Mbytes B size mainframe s system RAM is located in the upper 2 Mbytes VME RAM may not be used for IBASIC program memory The following lists guidelines in selecting a VME card A24 A24 address space D16 16 bits of data at a time 3U A size slot 6U B size slot Disabling Front panel for Stand alone Applications When using the HP E1326B Multimeter as a stand alone instrument the HP E1301A f...

Страница 41: ...Notes 40 Configuring the HP E1326B E1411B Multimeter Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 42: ...cking for Errors Page 66 Synchronizing the Multimeter with a Computer Page 68 Additional Measurement Functions Page 69 Using the Programs The purpose of the chapter is to provide example programs that show you how to operate the multimeter With minor modifications these programs can also be used for many of your applications Programming Language The example programs are shown in the Hewlett Packar...

Страница 43: ...r configurations they set Measurement Functions other than DC Voltage In each of the programs the measurement function specified is DC voltage The function can be changed by changing the MEASure or CONFigure command The different functions available are shown following the last example program Making a Single Measurement This program makes a single DC voltage measurement on the terminals connected...

Страница 44: ...d is used to set a burst of measurements greater than one Up to 16 777 215 measurements can be specified with SAMPle COUNt When INIT follows CONFigure the readings are stored in mainframe memory FETCH retrieves the readings and places them in the output buffer once all measurements are taken Replacing INIT and FETCH with READ returns the readings directly to the output buffer Readings should be st...

Страница 45: ... PRINT Rdgs I 170 NEXT I 180 END Comments The multimeter is triggered when a high to low TTL signal is applied to the External Trigger port CONFigure sets the trigger source to the multimeter s internal trigger The trigger source is changed with the TRIGger SOURce command The sources available are IMM immediate internal trigger EXT external trigger BUS triggered by TRG or HP IB group execute trigg...

Страница 46: ...190 OUTPUT 70903 INIT 200 OUTPUT 70903 FETCH 210 Enter the readings and display selected measurements 220 ENTER 70903 Rdgs 230 PRINT Rdgs 100 Rdgs 200 Rdgs 300 240 END Comments CONFigure sets an aperture time of 16 7 ms or 20 ms depending on the line frequency The VOLTage APERture command is used to set aperture times of 10 µs 100 µs 2 5 ms 16 7 ms 20 ms 267 ms and 320 ms For this program the 100 ...

Страница 47: ...annel List This program scans a channel list one time using the multimeter configuration set by the MEASure command 10 Dimension a computer array to store the readings 20 DIM Rdgs 1 16 30 Clear and reset the multimeter 40 CLEAR 70903 50 OUTPUT 70903 RST 60 Configure the multimeter and make DC voltage measurements on 70 channels 100 through 115 80 OUTPUT 70903 MEAS VOLT DC 100 115 90 Enter and disp...

Страница 48: ... I 160 END Comments For the scanning multimeter CONFigure sets one scan pass through the channel list The TRIGger COUNt command can specify up to 16 777 215 scans The multimeter makes one measurement per channel per scan However multiple measurements per channel per scan can be made when scanning a single channel The number of measurements taken during a single channel scan is set with the SAMPle ...

Страница 49: ...ts one scan pass through the channel list The TRIGger COUNt command can specify up to 16 777 215 scans The delay between scans is the delay between the trigger signal and the first channel in the list There is no programmable delay between subsequent channels in the list The trigger delay set by CONFigure is 0 seconds for the DC voltage function The TRIGger DELay command is used to set delays up t...

Страница 50: ...splay the readings on the computer 130 ENTER 70903 Rdgs 140 FOR I 1 TO 16 150 PRINT Rdgs I 160 NEXT I 170 END Comments The multimeter is triggered when a high to low TTL signal is applied to the External Trigger port CONFigure sets the trigger source to the multimeter s internal trigger The trigger source is changed with the TRIGger SOURce command The sources available are IMM immediate internal t...

Страница 51: ...60 configuration to complete 170 OUTPUT 70903 CONF VOLT DC 7 27 MAX 180 OUTPUT 70903 CAL ZERO AUTO OFF 190 OUTPUT 70903 SAMP COUN 500 200 OUTPUT 70903 SAMP SOUR TIM 210 OUTPUT 70903 SAMP TIM MIN 220 OUTPUT 70903 OPC 230 ENTER 70903 Complete 240 Configure the switchbox so that it receives its triggers over the digital bus 250 Route the signals on the multiplexer channels to the multimeter via the 2...

Страница 52: ...input signals to the multimeter The digital bus is used to carry a multimeter complete signal to the switchbox to trigger the next channel closing Because of the fast rate at which the FET channels close the multimeter is triggered once INIT and then samples continuously SAMP COUN 500 Thus the multimeter ignores the multiplexer channel closed signal on the digital bus Using this configuration the ...

Страница 53: ...eter in the wait for trigger state 160 OUTPUT 70903 CONF VOLT DC 170 OUTPUT 70903 TRIG SOUR TTLT0 180 OUTPUT 70903 TRIG COUN 64 190 OUTPUT 70903 OUTP TTLT1 STAT ON 200 OUTPUT 70903 OPC 210 ENTER 70903 Complete 220 OUTPUT 70903 INIT 230 Configure the switchbox so that it receives its channel advance trigger 240 on TTL trigger line 1 and that it outputs its channel closed pulse on 250 TTL trigger li...

Страница 54: ... with selected TTLTrg trigger bus lines The HP E1460A multiplexer has eight banks of channels with eight channels in each bank Channel numbers are 00 through 07 on bank 0 up to 70 through 77 on bank 7 Since the switchbox consists of only one multiplexer the channel list for scanning 64 channels is 100 177 Additional information on triggering the multimeter is found in Chapters 4 and 5 Information ...

Страница 55: ...ls are scanned 100 times 160 Wait for the configuration to complete 170 OUTPUT 70903 CONF VOLT DC 7 27 MAX 180 OUTPUT 70903 CAL ZERO AUTO OFF 190 OUTPUT 70903 SAMP COUN 1600 200 OUTPUT 70903 SAMP SOUR TIM 210 OUTPUT 70903 SAMP TIM MIN 220 OUTPUT 70903 OPC 230 ENTER 70903 Complete 240 The following commands set the FET multiplexer scanning configuration 250 by writing directly to the multiplexer re...

Страница 56: ...igital bus is used to carry a multimeter complete signal to the multiplexer to trigger the next channel closing Because of the fast rate at which the FET channels close the multimeter is triggered once INIT and then samples continuously SAMP COUN 1600 Thus the multimeter ignores the multiplexer channel closed signal on the digital bus Using this scanning multimeter configuration the multimeter is ...

Страница 57: ...nd set the fastest sample rate Store the 120 readings in mainframe memory 130 OUTPUT 70903 CONF VOLT DC 7 27 MAX 140 OUTPUT 70903 CAL ZERO AUTO OFF 150 OUTPUT 70903 SAMP COUN 500 160 OUTPUT 70903 SAMP SOUR TIM 170 OUTPUT 70903 SAMP TIM MIN 180 OUTPUT 70903 INIT 190 OUTPUT 70903 FETC 200 Enter the readings and display selected measurements 210 ENTER 70903 Rdgs 220 PRINT Rdgs 1 Rdgs 250 Rdgs 500 230...

Страница 58: ...red depends on the amount of memory available Each reading stored will consume four bytes of memory To increase the throughput speed at which measurement data is transferred from the multimeter to the computer by the FETCh command the multimeter s output data format should be set to REAL 64 or REAL 32 see Changing the Data Format on page 58 The 13 kHz reading rate must be reduced to 12 82 kHz when...

Страница 59: ... sample period 140 Store the readings in mainframe memory 150 OUTPUT 70903 FORM REAL 64 160 OUTPUT 70903 CONF VOLT DC 58 1 100 170 OUTPUT 70903 CAL ZERO AUTO OFF 180 OUTPUT 70903 VOLT APER MIN 190 OUTPUT 70903 SAMP COUN 1E3 200 OUTPUT 70903 SAMP SOUR TIM 210 OUTPUT 70903 SAMP TIM MIN 220 OUTPUT 70903 INIT 230 OUTPUT 70903 FETC 240 Enter and display readings 250 ENTER 70903 USING X K K Ndig Count 1...

Страница 60: ...rmation on the Definite Length Arbitrary Block format is located in Chapter 4 The ENTER Dmm Rdgs statement enters the readings into the computer Since a Line Feed LF follows the last reading ENTER 70903 Lf removes the LF character from the multimeter output buffer If the LF character is not removed Error 410 Query Interrupted occurs the next time data is sent to the buffer This third ENTER stateme...

Страница 61: ...led in Borland TurboC and was run on an HP Vectra 25 MHz 386 PC with an HP 82335 HP IB card connected to an HP E1301A mainframe with an HP E1326B multimeter and four HP E1351A FET multiplexers BENCHMK C This is a benchmark program for the E1326B The program scans 50 FET multiplexer channels 40 times and repeats the sequence 4 times The readings are compared to a set of limits after each scan Resul...

Страница 62: ...L ZERO AUTO OFF VOLT APERMIN 47 IOOUTPUTS ADDR FORMAT REAL 32 14 IOOUTPUTS ADDR OPC 5 wait for configuration to complete IOENTER ADDR rdy enter OPC response from multimeter function call to check for multimeter configuration errors check_error scan_mult T1 time NULL get start time program loop which set 4 40 scan measurements for c 0 c 4 c program loop which scans the 50 multiplexer channels 40 ti...

Страница 63: ...nc_tion char into 161 int length 160 IOOUTPUTS ADDR SYST ERR 9 Query error register IOENTERS ADDR into length Enter error message if atoi into 0 Determine if error is present If errors present print and exit while atoi into 0 printf Error s in function s n n into func_tion IOOUTPUTS ADDR SYST ERR 9 IOENTERS ADDR into length exit 1 62 Using the HP E1326B E1411B Multimeter Chapter 3 Artisan Technolo...

Страница 64: ...s on the computer 110 ENTER 70903 Rdgs 120 PRINT Rdgs 130 END Comments MIN sets the minimum best resolution for the range set by autorange MIN also indirectly selects the aperture time for the most accurate measurements The terms MIN and MAX often appear as parameter choices in a command s syntax MIN selects the minimum numeric value for that parameter MAX selects the maximum numeric value for the...

Страница 65: ...OUTPUT 70903 MEM VME ADDR H800000 120 OUTPUT 70903 MEM VME SIZE H100000 130 OUTPUT 70903 MEM VME STAT ON 140 Set the data format to REAL 64 Configure the multimeter to take 200 000 150 readings at its fastest possible rate 160 OUTPUT 70903 FORMAT REAL 64 170 OUTPUT 70903 CONF VOLT DC 58 1 180 OUTPUT 70903 CAL ZERO AUTO OFF 190 OUTPUT 70903 VOLT APER MIN 200 OUTPUT 70903 SAMP COUN 200000 210 OUTPUT...

Страница 66: ... be covered in the manual which came with the card In this program the readings retrieved from shared memory are 64 bit REAL numbers in the IEEE 488 2 1987 Definite Length Arbitrary Block format Page 58 contains an example which describes the Arbitrary Block format and additional format information is located in Chapter 4 When running HP BASIC an array dimension can have no more than 32767 element...

Страница 67: ...andard Event Status 70 register 80 OUTPUT 70903 SRE 32 90 OUTPUT 70903 ESE 60 100 At this point the multimeter is programmed for the intended application 110 OUTPUT 70903 120 OUTPUT 70903 130 Allow the computer time to respond if an error occurs during the 140 multimeter configuration or measurement Process the measurement 150 data if no error occurs 160 WAIT 2 170 ENTER 70903 180 PRINT 190 END 20...

Страница 68: ...mple reading 9 900000E 037 sets the Device Dependent Error bit in the Standard Event Status Register In this program this condition interrupts the computer which then calls the subprogram However an overload does not generate an error message so 0 No Error is displayed The B size VXIbus Mainframe User s Manual contains detailed information on the Status and Standard Event Status Registers Chapter ...

Страница 69: ...3 TRIG DEL 5 140 OUTPUT 70903 INIT 150 OUTPUT 70903 FETC 160 Monitor the message available bit Have the computer perform another 170 function e g display a message until the bit indicating a reading is 180 available is set Enter and display the readings 190 WHILE NOT BIT SPOLL 70903 4 200 DISP WAITING FOR DATA 210 WAIT 1 220 DISP 230 WAIT 1 240 END WHILE 250 ENTER 70903 Rdgs 260 FOR I 1 TO 15 STEP...

Страница 70: ...make multiple reading bursts or multiple burst measurements AC voltage OUTPUT 70903 CONF VOLT AC 4 wire resistance OUTPUT 70903 CONF FRES 4 wire thermistor type 2252 5000 10000 OUTPUT 70903 CONF TEMP FTH type 4 wire RTD type 85 92 OUTPUT 70903 CONF TEMP FRTD type Additional Scanning Multimeter Functions The following statements can be substituted into the program Scanning a Channel List on page 46...

Страница 71: ... channels available are 00 through 07 OUTPUT 70903 CONF FRES channel_list Thermocouple type B E J K N14 N28 R S T OUTPUT 70903 CONF TEMP TC type channel_list 2 wire thermistor type 2252 5000 10000 OUTPUT 70903 CONF TEMP THER type channel_list 4 wire thermistor type 2252 5000 10000 Channels available are 00 through 07 OUTPUT 70903 CONF TEMP FTH type channel_list 2 wire RTD type 85 92 OUTPUT 70903 C...

Страница 72: ...ultimeter set for an aperture of 100µs and achieves a scan rate of 123 sec in the E1300 B size mainframe Whereas Scan_10µs demonstrates the multimeter set for an aperture of 10 µs and achieves a decrease in scanning speed 10 Define I O paths 20 30 ASSIGN Sys TO 70900 40 ASSIGN Dvm TO 70903 50 ASSIGN Sw TO 70916 60 70 Setup for timeouts and errors 80 90 ON TIMEOUT 7 5 GOTO End 100 ON ERROR RECOVER ...

Страница 73: ... 580 OUTPUT Dvm INIT 590 600 Send commands to switch 610 620 OUTPUT Sw OUTP ON 630 OUTPUT Sw TRIG SOUR EXT 640 OUTPUT Sw SCAN MODE VOLT 650 OUTPUT Sw SCAN PORT ABUS 660 OUTPUT Sw SCAN 100 115 670 OUTPUT Sw OPC 680 ENTER Sw A 690 700 Get readings 710 720 Start TIMEDATE 730 OUTPUT Sw INIT 740 OUTPUT Dvm FETCH 750 ENTER Dvm Readings 760 Stop TIMEDATE 765 PRINT Scan Rate with Multimeter Aperture at 10...

Страница 74: ... MODE VOLT 1120 OUTPUT Sw SCAN PORT ABUS 1130 OUTPUT Sw SCAN 100 115 1140 OUTPUT Sw OPC 1150 ENTER Sw A 1160 1170 Get readings 1180 1190 Start TIMEDATE 1200 OUTPUT Sw INIT 1210 OUTPUT Dvm FETCH 1220 ENTER Dvm Readings 1230 Stop TIMEDATE 1240 PRINT Scan Rate with Multimeter Aperture at 10us 16 Stop Start 1250 SUBEND Results of this program are as follows Scan Rate with Multimeter Aperture at 100µs ...

Страница 75: ...Notes 74 Using the HP E1326B E1411B Multimeter Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 76: ...stinations Page 80 Measurement Functions Page 86 Multimeter Parameters Page 91 Triggering the Multimeter Page 101 Saving Multimeter Configurations Page 114 Note Throughout this chapter the HP E1326B E1411B multimeter is referred to as a scanning multimeter or a stand alone multimeter Scanning implies that one or more multiplexers are used with the multimeter and are part of the same instrument i e...

Страница 77: ...ONFigure TEMPerature transducer type channel_list Executing these high level commands is equivalent to setting up the multimeter with the commands shown in Table 4 1 on page 77 Note that specifying a channel list identifies a scanning multimeter No channel list identifies a stand alone multimeter Note If a channel list is the only parameter specified in the MEASure or CONFigure command it must be ...

Страница 78: ...ation RESistance OCOMpensated OFF resistance measurements only Trigger Source TRIGger SOURce IMM trigger signal is always true Measurement is taken when multimeter goes to Trigger State Number of Triggers or Number of Scans TRIGger COUNt 1 number of triggers issued or number of scans through channel list before multimeter returns to Idle State Trigger Delay TRIGger DELay AUTO delays are 0 seconds ...

Страница 79: ...t available with MEASure CONFigure does not make a measurement after setting the configuration Any of the low level commands see Table 4 1 on page 77 can be used to change selected parameters before a measurement is made Assume an application requires the following configuration 4 wire resistance measurements 1861 ohm range Maximum best resolution Measure four multiplexer channels Offset compensat...

Страница 80: ...ow CONFigure as shown below CONF FRES 1861 MAX 100 103 RES OCOM ON TRIG COUN 3 READ CONF FRES 1861 MAX 100 103 RES OCOM ON TRIG COUN 3 INIT Note READ and INIT will make measurements upon execution if TRIG SOUR IMM trigger signal always true remains set If the trigger source is changed following the CONFigure command execution of the READ or INIT commands will place the multimeter in the wait for t...

Страница 81: ...igit block length non zero digit indicates the number of digits representing block length block length indicates the number of 8 bit data bytes which follow The following examples show how to interpret the Arbitrary block header REAL 32 14 4 bytes 1 reading 240 40 bytes 10 readings 44000 4000 bytes 1 000 readings REAL 64 18 8 bytes 1 reading 280 80 bytes 10 readings 48000 8000 bytes 1 000 readings...

Страница 82: ...ng Destination vs Data Format Destination Formats Display ASCII REAL 64 bit REAL 32 bit Output Buffer ASCII REAL 64 bit REAL 32 bit Mainframe Memory VME Memory Card REAL 32 bit Destination Mainframe Display When a measurement is made by entering commands from the HP E1301A mainframe front panel the reading is displayed on the front panel Readings are also displayed when commands are sent from a co...

Страница 83: ...computer 100 ENTER 70903 Ohm_rdgs 110 Display readings on the computer 120 PRINT Ohm_rdgs 130 END The data returned by commands such as MEASure or READ must be entered into the computer before another command is executed Otherwise Error 410 Query Interrupted occurs and the data will be overwritten if data is generated by the next command Destination Mainframe Memory A few words about mainframe mem...

Страница 84: ... memory 7 The memory allocated to the multimeter above the amount required to store 100 readings remains dedicated to that multimeter until RST is executed or until power is cycled Once de allocated the memory is available to any instrument Example Storing Readings in Mainframe Memory To store measurements in mainframe memory execute INIT IMMediate following the CONFigure command or any applicable...

Страница 85: ...ter 130 ENTER 70903 Ohm_rdgs 140 Display readings on computer 150 PRINT Ohm_rdgs 160 END Destination Shared Memory Multimeter measurements can also be stored in memory shared by the VXIbus system VME Memory Card The commands used to specify the memory location and direct the readings to shared memory are MEMory VME ADDRess address MEMory VME SIZE bytes MEMory VME STATe mode Chapter 3 contains an e...

Страница 86: ...dition to selecting a destination you may want to determine beforehand the number of readings that can be saved in the B size mainframe RAM Consider the following when determining the number of readings that can be saved Select your System Instrument Send DIAG RDIS CRE MAX Divide the number returned by four 4 this determines the approximate number of readings that can be saved You can also determi...

Страница 87: ...ally appears in the MEASure and CONFigure commands as MEAS VOLT DC CONF VOLT DC RMS AC Voltage Measurements The multimeter can measure RMS AC voltages up to 450 Vpeak 170 Vpeak with multiplexers 15 Vpeak with FET multiplexers at frequencies from 20 Hz to 10 kHz Measurement resolution down to approximately 30 nV is achieved with the appropriate range and aperture or integration time settings The AC...

Страница 88: ... selecting a higher range since less current is applied However measurement resolution is also decreased Table 4 4 Current Source Values Range Current 256 Ω 2048 Ω 16384 Ω 131072 Ω 1048576 Ω 488 mA 488 µA 61 µA 61 µA 7 6 µA Two Wire vs Four Wire Measurements The multimeter uses separate sense and source terminals when making resistance measurements The sense terminals measure sense the input signa...

Страница 89: ...This function appears in the MEASure and CONFigure commands as MEAS FRES channel_list CONF FRES channel_list Channel Pairs Four wire measurements with multiplexers use channel pairs Channel pairs on the HP E1345A 16 channel multiplexer for example are channels 00 and 08 01 and 09 02 and 10 07 and 15 The lower channel in the channel pair 00 01 02 is the sense channel The higher channel 08 09 10 is ...

Страница 90: ...ONFigure commands as MEAS TEMP TC type channel_list CONF TEMP TC type channel_list You can also measure the temperature of the reference thermistor on the HP E1344A E1347A E1353A or E1476A multiplexers as shown below MEAS TEMP THER 5000 nn93 where nn is the multiplexer card number RTD Measurements The RTD types supported are 85 alpha 0 00385 and 92 alpha 0 00392 RTD measurements can be made in eit...

Страница 91: ...surement parameter in the MEASure and CONFigure commands MEASure measurement range AUTO DEF MIN MAX resolution DEF MIN MAX channel_list CONFigure measurement range AUTO DEF MIN MAX resolution DEF MIN MAX channel_list When using the stand alone multimeter the low level command FUNCtion function can be used to change the measurement function without causing a complete reconfiguration of the multimet...

Страница 92: ...easurement are set to either their reset or last programmed values The triggering parameters remain as set by CONFigure Multimeter Parameters Many of the parameters set by MEASure CONFigure and low level commands configure the multimeter s analog to digital A D converter and other portions of its measurement circuitry These parameters include range resolution aperture and integration time autozero...

Страница 93: ...ure MEASure Resolution Range Percent Overrange 232 Ω 1861 Ω 14894 Ω 119156 Ω 1048576 Ω 10 10 10 10 10 15 625 mΩ 125 mΩ 1 Ω 8 Ω 64 Ω 7 812 mΩ 62 5 mΩ 0 5 Ω 4 Ω 32 Ω 0 976 mΩ 7 812 mΩ 62 5 mΩ 0 5 Ω 4 Ω 244 µΩ 1 95 mΩ 15 6 mΩ 125 mΩ 1 Ω 244 µΩ 1 95 mΩ 15 6 mΩ 125 mΩ 1 Ω 61 µΩ 488 µΩ 3 9 mΩ 31 2 mΩ 250 mΩ 61 µΩ 488 µΩ 3 9 mΩ 31 2 mΩ 250 mΩ 2 Wire 4 Wire Resistance Using RANGe Resolution Range Percent ...

Страница 94: ...that range The commands used to specify a range are MEASure measurement range AUTO DEF MIN MAX resolution DEF MIN MAX channel_list CONFigure measurement range AUTO DEF MIN MAX resolution DEF MIN MAX channel_list VOLTage RANGe range MIN MAX RESistance RANGe range MIN MAX VOLTage AC RANGe range MIN MAX where range measurement range from Table 4 5 AUTO sets autorange DEF sets autorange MIN sets the m...

Страница 95: ... to simplify thermocouple thermistor and RTD measurements Setting Autorange Autorange is set when AUTO DEF or no range parameter is specified in the MEASure or CONFigure command Autorange is also enabled and disabled with the low level commands VOLTage RANGe AUTO mode RESistance RANGe AUTO mode where mode ON turns autorange on or OFF turns autorange off Querying the Range The measurement range is ...

Страница 96: ...ill appear in the measurements When setting a resolution consider the following 1 Specify a resolution only when making measurements on a fixed range Otherwise the resolution will be changed to correspond to the range selected during autorange 2 Resolution affects the reading rate The better the resolution the lower the reading rate 3 Setting the resolution also sets the aperture time and integrat...

Страница 97: ... RESolution resolution MIN MAX where resolution value from Table 4 5 on page 92 for the corresponding range DEF defaults the resolution This sets 1 PLC of integration time MIN sets the smallest resolution number in the table best resolution for the specified range MAX sets the largest resolution number in the table worst resolution for the specified range Note When autoranging MIN or MAX are the o...

Страница 98: ... noise that needs to be rejected Therefore the effective common mode rejection for DC and resistance measurements is as follows 110 db 60 db 170 db when the voltmeter aperture is set for one power line cycle PLC When setting an aperture or integration time consider the following 1 Normal mode rejection of 50 Hz or 60 Hz noise is only achieved with aperture times 16 7 ms 60 Hz 20 ms 50 Hz or with i...

Страница 99: ... of PLCs from Table 4 5 on page 92 MIN sets an aperture time of 10 ms fixed ranges only This setting offers no NMR however the reading rate is increased MIN sets 0 0005 PLC This setting offers no NMR however the reading rate is increased This setting is only available for measurements on a fixed range MAX sets an aperture time of 267 ms or 320 ms depending on the power line frequency This setting ...

Страница 100: ...nt accuracy 3 Autozero does not occur following a range change whether it is on or off 4 When on an autozero will occur when changing the measurement function to or from AC voltage 5 Since autozero shorts the input internally only the internal DC offset to the A D is measured Enabling Autozero The MEASure and CONFigure commands turn the autozero function on The command used to turn autozero on and...

Страница 101: ...ion allows you to make the most accurate 2 wire and 4 wire resistance measurements however measurement speed is decreased 2 Offset compensation can be used on any measurement range however on the highest range the induced voltage is likely to be much greater than the offset voltage Thus the offset voltage s affect on measurement accuracy is negligible 3 The external circuit remains connected thus ...

Страница 102: ...returns to the idle state once the measurement completes If the multimeter is programmed for multiple measurements per trigger or is programmed is to receive multiple triggers those conditions must be satisfied before it returns to the idle state Additionally the multimeter s trigger system consists of two loops the trigger count loop and the sample count loop The sample count loop is the faster o...

Страница 103: ...Figure 4 1 The Multimeter Trigger System 102 Understanding the HP E1326B E1411B Multimeter Chapter 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 104: ...ltiplexer switchbox multiplexers at a different secondary HP IB address TRIGger SOURce EXT must be selected in order to trigger the multimeter with the Channel Closed External Trigger line on the digital bus HOLD suspends triggering Once set the multimeter can only be triggered with the TRIGger IMMediate command IMMediate an internal trigger signal is always present Placing the multimeter in the w...

Страница 105: ... number MIN MAX where number number of triggers received before the multimeter returns to the idle state or the number of scans through the channel list The minimum number is 1 the maximum number is 16 777 215 MEASure and CONFigure set TRIGger COUNt 1 MIN sets 1 trigger before returning to the idle state or 1 scan through the channel list MAX sets 16 777 215 triggers before returning to the idle s...

Страница 106: ...e multimeter scans the channel list five times making a total of 25 measurements The multimeter is internally triggered as the trigger source is not changed from that set by CONFigure TRIG SOUR IMM 10 Configure the scanning multimeter for DC voltage measurements on 20 multiplexer channels 100 through 104 Make 5 scans through the channel list 30 Place the multimeter in the wait for trigger state 40...

Страница 107: ...gnal and the measurement The range for period is 0 to 16 7772150 seconds MIN sets the minimum trigger delay of 0 seconds for DC voltage and resistance measurements Sets a delay of 0 5 seconds for AC voltage measurements MAX sets the maximum trigger delay of 16 7772150 seconds mode ON delay is 0 seconds for the DC voltage and resistance measurements 0 5 seconds for the AC voltage measurements To re...

Страница 108: ...h the channel list 30 Make a scan every 10 seconds 40 CONF VOLT DC 100 104 50 TRIG COUN 5 60 TRIG DEL 10 70 READ Querying the Trigger Delay The trigger delay setting is queried with the TRIGger DELay and TRIGger DELay MIN MAX commands See Chapter 5 for additional information Chapter 4 Understanding the HP E1326B E1411B Multimeter 107 Artisan Technology Group Quality Instrumentation Guaranteed 888 ...

Страница 109: ...emory occurs indicating that many samples measurements cannot be stored in memory However READ can be executed to return the readings to the output buffer The following program segment shows the context in which SAMPle COUNt is used Example Setting Sample Count In this segment 10 DC voltage measurements are taken when a single external trigger is received 10 Configure the stand alone multimeter fo...

Страница 110: ...M TIMer the sample period is set with the SAMPle TIMer command The period settings are period period between measurements sample rate The period range is 76 ms to 65 534 ms MIN sets the sample period to 76 ms MAX sets the sample period to 65 534 ms The sample period must be longer than the aperture time Table 4 6 on page 110 shows the minimum sample period for each available aperture time setting ...

Страница 111: ...nship to the aperture time 10 Configure the stand alone multimeter for DC voltage measurements on 20 the 7 27 V range Turn off autozero Set the aperture time to allow a 30 sample period of 5 ms Make a burst of 5 readings sampled every 5 ms 40 Place the multimeter in the wait for trigger state and take the readings 50 CONF VOLT DC 7 27 60 CAL ZERO AUTO OFF 70 VOLT APER 0 0025 80 SAMP COUN 5 90 SAMP...

Страница 112: ...M placing the multimeter in the wait for trigger state causes the measurements to be taken and sent to the output buffer Again the measurements overwrite any data in the buffer INIT specified implicitly CONF VOLT DC 100 104 VOLT APER 267E 3 READ This segment shows that the multimeter is configured with the CONFigure command and is externally triggered with TRIG SOUR EXT INIT puts the multimeter in...

Страница 113: ...voltage measurements 20 Suspend triggering and set 10 measurements to be taken when the single 30 trigger is received 40 CONF VOLT DC 50 TRIG SOUR HOLD 60 SAMP COUN 10 70 Place the multimeter in the wait for trigger state and issue a single trigger 80 Fetch the readings from memory 90 INIT 100 TRIG 110 FETCH Aborting a Measurement When the multimeter is in the wait for trigger state it can be retu...

Страница 114: ...igger state Aborting the measurement causes the subsequent single trigger TRIG to be ignored 10 Configure the scanning multimeter for DC voltage measurements on 20 channels 100 through 104 Suspend triggering Place the multimeter in 30 the wait for trigger state 40 CONF VOLT DC 100 104 50 TRIG SOUR HOLD 60 INIT 70 Abort the measurement before the trigger is received 80 ABORt 90 TRIG 100 FETCH Note ...

Страница 115: ... Sample timer Because channel lists are not included only stand alone multimeter configurations are saved A configuration is identified by a number from 0 to 9 The configuration s remains in memory until power is cycled How to Save and Recall a Configuration Multimeter configurations are saved and recalled with the commands SAV register RCL register where register is a number from 0 to 9 The follo...

Страница 116: ...asurements 20 on the 7 27 V range Set an aperture time of 267 ms 30 CONF VOLT DC 7 27 40 VOLT APER 267E 3 50 Issue 10 triggers 10 measurements before returning to the idle state 60 Set a one second delay between the trigger and the measurement 70 TRIG COUN 10 80 TRIG DEL 1 90 Save the configuration in register 0 100 SAV 0 110 Reset the multimeter to its power on configuration 120 RST 130 Recall th...

Страница 117: ...Notes 116 Understanding the HP E1326B E1411B Multimeter Chapter 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 118: ...ameters The command keyword is separated from the first parameter by a space character Some examples of common commands are shown below RST ESR 32 STB SCPI Command Format The SCPI commands perform functions such as making measurements querying instrument states or retrieving data A command subsystem structure is a hierarchical structure that usually consists of a top level or root command one or m...

Страница 119: ... Therefore MEASURE measure and MeAsUrE are all acceptable Implied Commands Implied commands are those which appear in square brackets in the command syntax Note that the brackets are not part of the command and are not sent to the instrument Suppose you send a second level command but do not send the preceding implied command In this case the instrument assumes you intend to use the implied comman...

Страница 120: ...ter the instrument chooses a default value For example consider the TRIGger COUNt MIN MAX command If you send the command without specifying a MINimum or MAXimum parameter the present TRIGger COUNt value is returned If you send the MIN parameter the command returns the minimum trigger count available If you send the MAX parameter the command returns the maximum trigger count available Be sure to p...

Страница 121: ...sing CONFigure MEASure Resolution Range Percent Overrange 232 Ω 1861 Ω 14894 Ω 119156 Ω 1048576 Ω 10 10 10 10 10 15 625 mΩ 125 mΩ 1 Ω 8 Ω 64 Ω 7 812 mΩ 62 5 mΩ 0 5 Ω 4 Ω 32 Ω 0 976 mΩ 7 812 mΩ 62 5 mΩ 0 5 Ω 4 Ω 244 µΩ 1 95 mΩ 15 6 mΩ 125 mΩ 1 Ω 244 µΩ 1 95 mΩ 15 6 mΩ 125 mΩ 1 Ω 61 µΩ 488 µΩ 3 9 mΩ 31 2 mΩ 250 mΩ 61 µΩ 488 µΩ 3 9 mΩ 31 2 mΩ 250 mΩ 2 Wire 4 Wire Resistance Using RANGe Resolution Ran...

Страница 122: ...nts SCPI for the HP E1326B and HP E1411B 51 2 Digit Multimeters Commands are listed alphabetically by subsystem and also within each subsystem Chapter 5 HP E1326B E1411B Multimeter Command Reference 121 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 123: ...g TRIGger IMMediate are ignored and the Trigger ignored error is generated When the trigger system is initiated from the HP IB interface execute the HP IB CLEAR command or press the HP E1301A front panel Clear Instr or Reset Instr key to return to the idle state When the trigger system is initiated from the HP E1301A front panel execute RST over the HP IB interface or press the HP E1301A front pan...

Страница 124: ...ng is stored in non volatile mainframe memory and is changed only when CAL LFR is executed For a line frequency of 400 Hz the 50 Hz reference frequency is used however since 50 Hz is a subharmonic of 400 Hz it provides normal mode rejection of power line related noise RST Condition The selected line reference frequency remains unchanged since it is stored in non volatile mainframe memory Example S...

Страница 125: ...time required per reading When autozero is OFF the multimeter makes one zero measurement and subtracts this from all subsequent measurements A new zero measurement is made whenever the function is changed Notice that the mode parameters OFF and ONCE have the same effect An autozero measurement is not made following a range change whether autozero is ON or OFF Autozero cannot be used when a 10 µs a...

Страница 126: ...UTO OFF Disable autozero CAL ZERO AUTO Query multimeter to return autozero mode 0 enter statement Enter value into computer 125 Command Reference Chapter 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 127: ...time VOLTage APERture RESistance APERture 16 7 ms 60 Hz or 20 ms 50 Hz or based on specified resolution VOLTage NPLC RESistance NPLC 1 PLC or based on specified resolution CALibration ZERO AUTO ON autozero is performed after every measurement RESistance OCOMpensated OFF applies to resistance measurements only TRIGger SOURce TRIGger COUNt TRIGger DELay IMM trigger signal is always true 1 AUTO DC vo...

Страница 128: ...the best resolution the smallest value from Table 5 1 for the selected range MAX selects the worst resolution the largest value from Table 5 1 for the selected range The channel list is of the form ccnn ccnn ccnn or ccnn ccnn where cc card number and nn channel number 105 is channel 05 of card number 1 for example Four wire resistance measurements use channel pairs For example on the HP E1345A mul...

Страница 129: ...nge of Values Default Units range numeric 232 Ω 1861 Ω 14894 Ω 119156 Ω 1048576 Ω AUTO DEF MIN MAX ohms resolution numeric resolution see Table 5 1 DEF MIN MAX ohms channel_list numeric Refer to the multiplexer user s manual for a list of channels available none Comments To select a standard measurement range specify range as the input signal s maximum expected resistance The multimeter then selec...

Страница 130: ... Function 2 wire ohms range selected 1861 Ω MAX resolution 125 mΩ specify channel list TRIG COUN 3 Scan channel list 3 times take 4 readings per trigger INIT Place multimeter in wait for trigger state store readings in mainframe memory trigger source is IMMediate by default FETC Place readings in output buffer enter statement Enter readings into computer TEMPerature CONFigure TEMPerature transduce...

Страница 131: ...385 392 0 00392 are also accepted for the type parameter Thermistor types are 2252 5000 and 10000 Use thermistors that match the Omega 440xx series temperature response curves Related Commands FETCh INITiate READ Example Making Thermocouple Measurements CONF TEMP TC J 100 107 Measure J type thermocouples scan the 8 channels once trigger source is IMMediate by default READ Place multimeter in wait ...

Страница 132: ...ard number 1 for example To select autorange specify AUTO or DEF for range or do not specify a value for the parameter In the autorange mode the multimeter samples the input signal before each measurement and selects the appropriate range To specify a MIN or MAX resolution while autoranging you must specify CONF VOLT AC AUTO or CONF VOLT AC DEF you cannot omit the range parameter This prevents the...

Страница 133: ...d DEFault options for the range parameter have the same effect enable autorange The DEF option for the resolution parameter defaults the integration time to 1 PLC The MIN and MAX parameters select the minimum or maximum values for range and resolution For range MIN 0 113 V MAX 300 V For resolution MIN selects the best resolution the smallest value from Table 5 1 for the selected range MAX selects ...

Страница 134: ...CONF VOLT 0 825 MAX 100 103 Function DC voltage range selected 0 91 V MAX resolution 61 035 µV specify channel list TRIG COUN 3 Scan channel list 3 times take 4 readings per trigger INIT Place multimeter in wait for trigger state store readings in mainframe memory trigger source is IMMediate by default FETC Place readings in output buffer enter statement Enter readings into computer 133 Command Re...

Страница 135: ...t the range or resolution for temperature measurements CONFigure returns TEMP followed by the specified transducer and type For example TEMP FRTD 385 TEMP THER 2252 If you specify AUTO DEF MIN or MAX for the range or resolution parameters in CONFigure or MEASure the CONFigure command returns the selected value Related Commands CONFigure MEASure Example Querying the Multimeter Configuration dimensi...

Страница 136: ...tiplexers is not used Instead all switching of channels is done using backplane control When the digital bus is used to communicate with FET multiplexers a scan list is downloaded to the FET multiplexer and then the digital bus routes the Voltmeter Complete signal from the voltmeter to the FET multiplexer The falling edge on the Voltmeter Complete signal causes the FET multiplexer to advance to th...

Страница 137: ...e channel parameter to specify a single multiplexer channel within the scanning multimeter The channel list is of the form ccnn where cc card number and nn channel number 105 is channel 05 of card number 1 for example Use AUTO in place of channel to display measurements from the most recent channel to receive a CONFigure or MEASure command The channel number and measurement are updated as the scan...

Страница 138: ...enables or disables the monitor mode Parameters Parameter Name Parameter Type Range of Values Default Units mode boolean OFF 0 ON 1 none Comments The STATe parameter is optional therefore either of the following command statements is valid DISP MON STAT ON or DISP MON ON You can substitute decimal values for the OFF 0 and ON 1 parameters When the monitor mode is ON the status of the multiplexer ch...

Страница 139: ...you attempt to execute the command from the mainframe s front panel The STATe parameter is optional therefore either of the following command statements is valid DISP MON STAT or DISP MON Example Querying the Monitor Mode DISP MON CHAN 101 Select channel 101 for monitor mode DISP MON ON Enable monitor mode DISP MON Query monitor mode enter statement Enter value into computer Chapter 5 Command Refe...

Страница 140: ...usy until you begin removing readings from the output buffer using your computer s enter statement This command causes the stored readings in the mainframe RAM to be retrieved and sent over the HP IB bus Readings are not output until all readings are taken and stored in RAM Readings can be received and placed into RAM at any reading rate up to 13K The maximum number of readings is limited by the a...

Страница 141: ...ch reading is 15 bytes REAL reading lengths are 32 and 64 bits The readings are transferred in the IEEE 488 2 1987 Definite Length Arbitrary Block format The readings are preceded by an Arbitrary Block header which consists of non zero digit block length non zero digit indicates the number of digits representing block length and block length indicates the number of 8 bit data bytes which follow th...

Страница 142: ...e following to the output buffer ASC 7 seven significant digits REAL 32 REAL 32 format REAL 64 REAL 64 format 141 Command Reference Chapter 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 143: ...rement in progress Each multimeter module is allocated enough mainframe memory to store 100 readings Each reading stored is four bytes long Since readings are stored in a four byte format INITiate is faster than sending readings directly to the output buffer using the READ command If more than 100 readings are requested and memory is available the mainframe allocates additional memory to the multi...

Страница 144: ...PLC RESistance NPLC 1 PLC or based on specified resolution CALibration ZERO AUTO ON autozero is performed after every measurement RESistance OCOMpensated OFF applies to resistance measurements only TRIGger SOURce TRIGger COUNt TRIGger DELay IMM trigger signal is always true 1 AUTO DC volts resistance 0 s AC volts 0 5 s SAMPle COUNt SAMPle SOURce 1 IMM Subsystem Syntax MEASure FRESistance range res...

Страница 145: ...ion the smallest value from Table 5 1 for the selected range MAX selects the worst resolution the largest value from Table 5 1 for the selected range The channel list is of the form ccnn ccnn ccnn or ccnn ccnn where cc card number and nn channel number 105 is channel 05 of card number 1 for example Four wire resistance measurements use channel pairs For example on the HP E1345A multiplexer channel...

Страница 146: ...lect a standard measurement range specify range as the input signal s maximum expected resistance The multimeter then selects the correct range The AUTO and DEFault options for the range parameter have the same effect enable autorange The DEF option for the resolution parameter defaults the integration time to 1 PLC The MIN and MAX parameters select the minimum or maximum values for range and reso...

Страница 147: ...ucers can be measured using the multimeter Thermocouples Thermistors 2 wire or 4 wire measurement RTDs 2 wire or 4 wire measurement Two wire temperature measurements can only be made using the scanning multimeter a channel list is required Parameters Parameter Name Parameter Type Range of Values Default Units transducer discrete TCouple THERmistor FTHermistor RTD FRTD none type discrete numeric nu...

Страница 148: ...readings into computer VOLTage AC MEASure VOLTage AC range resolution channel_list selects the AC coupled RMS voltage function and allows you to specify the range and resolution If you specify a channel list those multiplexer channels are scanned For a complete listing of range and resolution values available see Table 5 1 on page 120 Parameters Parameter Name Parameter Type Range of Values Defaul...

Страница 149: ...g The fastest aperture time available when autoranging is 100 µs In order to specify an aperture time of 10 µs you must select a fixed range Example Making AC Voltage Measurements MEAS VOLT AC 0 54 MAX 100 Function AC volts range selected 0 63 V MAX resolution 61 035 µV specify single channel trigger source is IMMediate by default enter statement Enter reading into computer VOLTage DC MEASure VOLT...

Страница 150: ...where cc card number and nn channel number 105 is channel 05 of card number 1 for example To select autorange specify AUTO or DEF for range or do not specify a value for the parameter In the autorange mode the multimeter samples the input signal before each measurement and selects the appropriate range To specify a MIN or MAX resolution while autoranging you must specify MEAS VOLT DC AUTO or MEAS ...

Страница 151: ...s Default Units address numeric 2097152 14680060 H200000 HDFFFFC none Comments You can specify the address location in decimal or hexadecimal H MIN sets the address to 2097152 H200000 MAX sets the address to 14680060 HDFFFFC to store one reading The VME address specified is based on the memory card configuration Refer to the memory card manual for configuration information RST Condition MEM VME AD...

Страница 152: ...tes MAXimum sets the memory size to 12582912 HC00000 bytes The memory address MEM VME ADDR plus memory size MEM VME SIZE must not exceed 14680064 HE00000 Since each reading requires 4 bytes of memory the sample count multiplied by the trigger count must be less than or equal to MEM VME SIZE 4 RST Condition MEM VME SIZE 0 Example Setting the VME Memory Size MEM VME SIZE 100000 Set memory size to 10...

Страница 153: ...E H100000 Set memory size to 100 kBytes MEM VME STAT ON Direct readings to memory card CONF VOLT DC 58 1 Configure the multimeter SAMP COUN 10000 Set a burst of 10 000 readings INIT Place multimeter in wait for trigger state store readings on memory card trigger source is IMMediate by default VME STATe MEMory VME STATe returns a number to show whether use of the external VME memory card is enabled...

Страница 154: ...r When enabled ON the OUTPut command also routes voltmeter complete to the specified trigger line on connector P2 When disabled OFF voltmeter complete is routed only to the multimeter s front panel connector The multimeter generates the voltmeter complete signal after it has sampled the input for each reading The length of time this low going TTL signal is true low depends on the aperture time and...

Страница 155: ...er complete signal is enabled or disabled 1 ON 0 OFF The number is sent to the output buffer Example Querying Voltmeter Complete Destination OUTP TTLT7 ON Route signal to trigger line 7 OUTP TTLT7 Query multimeter to return trigger line mode enter statement Enter value into computer Chapter 5 Command Reference 154 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisa...

Страница 156: ...d by commas and EOI is sent only with the last byte The output buffer capacity is 128 bytes When the buffer fills the multimeter remains busy until you begin removing readings from the buffer Readings are placed directly in the output buffer therefore mainframe RAM is not allocated for the readings You may want to use this mode of operation when readings need to be taken at a continuous rate The r...

Страница 157: ...ake measurements send readings to output buffer trigger source is IMMediate by default enter statement Enter readings into computer Chapter 5 Command Reference 156 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 158: ...e of Values Default Units number numeric 1 16 777 215 MIN MAX none Comments MINimum sets 1 reading per trigger MAXimum sets 16 777 215 readings per trigger If MAX or 16 777 215 is specified for number an Out of memory error is generated to show that memory is exceeded However you can execute READ to return the readings to the output buffer CONFigure and MEASure set the sample count to 1 RST Condit...

Страница 159: ... SOURce SAMPle SOURce source selects the pacing source for the sample period when SAMPle COUNt is greater than 1 The sources available are IMM initiate reading whenever multimeter is not busy TIMer specify sample period using the SAMPle TIMer command Parameters Parameter Name Parameter Type Range of Values Default Units source discrete IMM TIMer none Comments CONFigure and MEASure set the sample s...

Страница 160: ...to 76 µs MAX sets the time to 65 534 ms When using SAMP TIM the first measurement occurs without the specified period However you can insert a time interval before the first measurement using the TRIGger DELay command To achieve specific sample periods the aperture time must be set accordingly see the SENSe subsystem The following table shows the minimum sample period for each available aperture t...

Страница 161: ... computer TIMer SAMPle TIMer MIN MAX returns one of the following numbers to the output buffer The present sample period 76 µs through 65 534 ms if MINimum or MAXimum is not specified The minimum sample period available 76 µs if MIN is specified The maximum sample period available 65 534 ms if MAX is specified Example Querying the Sample Period SAMP SOUR TIM Sample source is SAMPle TIMer command S...

Страница 162: ...ntegration Time Autozero Offset Compensation Subsystem Syntax SENSe FUNCtion function FUNCtion RESistance APERture time APERture MIN MAX NPLC number NPLC MIN MAX OCOMpensated mode OCOMpensated RANGe AUTO mode RANGe AUTO RANGe range RANGe MIN MAX RESolution resolution RESolution MIN MAX VOLTage AC RANGe range AC RANGe MIN MAX APERture time APERture MIN MAX DC RANGe range DC RANGe MIN MAX NPLC numbe...

Страница 163: ...C VOLT DC Example Changing Measurement Function CONF VOLT DC Function DC voltage stand alone multimeter FUNC FRES Change function to 4 wire resistance READ Place multimeter in wait for trigger state and make measurement send reading to output buffer enter statement Enter reading into computer FUNCtion SENSe FUNCtion returns one of the following quoted strings to the output buffer FRES VOLT AC or V...

Страница 164: ...ime of 16 7 ms 60 Hz line frequency sets an integration time of 1 PLC The corresponding resolution depends on the function and range you select The RES APER command overrides the results of previously executed RESistance NPLC and RESistance RESolution commands the last command executed has priority The greater the aperture time the greater the normal mode rejection and the lower the reading rate F...

Страница 165: ...0005 0 005 0 125 1 16 MIN MAX PLCs Comments MINimum selects 0 0005 PLCs MAXimum selects 16 PLCs Setting the integration time in power line cycles PLCs also sets the aperture time and the resolution For example 16 PLCs 60 Hz line frequency sets an aperture time of 267 ms The corresponding resolution depends on the function and range you select The RES NPLC command overrides the results of previousl...

Страница 166: ...e boolean OFF 0 ON 1 none Comments You can substitute decimal values for the OFF 0 and ON 1 parameters You can use offset compensation for 2 wire or 4 wire resistance measurements on any measurement range With offset compensation enabled the multimeter measures the offset voltage before each resistance measurement and subtracts it from the following reading This prevents the offset voltage from af...

Страница 167: ...mum range available 1048576 Ω You must select a range using RESistance RANGe before specifying resolution Also in order to specify an aperture time of 10 µs you must select a fixed range Specifying a fixed range disables the autorange mode set by the RES RANG AUTO command The RES RANG command overrides the range setting from a previous CONFigure command on the same function The multimeter uses the...

Страница 168: ...ESistance RANGe AUTO mode enables or disables the autorange function for resistance measurements Parameters Parameter Name Parameter Type Range of Values Default Units mode boolean OFF 0 ON 1 none Comments You can substitute decimal values for the OFF 0 and ON 1 parameters When autoranging is ON the multimeter samples the input before each measurement and selects the appropriate range If you expli...

Страница 169: ...able 5 1 for the selected range You must select a range using RESistance RANGe before specifying resolution Also only specify a resolution when making measurements on a fixed range Otherwise the resolution will change to correspond with the range selected during autoranging If autoranging is required set the resolution using the MIN or MAX parameters or select a specific aperture time using RESist...

Страница 170: ...e returned The resolution with the smallest value the best resolution for the selected range if MIN is specified The resolution with the largest value the worst resolution for the selected range if MAX is specified Example Querying the Resolution RES RES 2 44E 04 Set resolution to 244 µΩ RES RES Query multimeter to return the present resolution enter statement Enter value into computer VOLTage AC ...

Страница 171: ...00 103 Function AC volts range selected 0 63 V MAX resolution 61 035 µV specify channel list VOLT AC RANG 0 5 Range selected 0 7 V MAX resolution 61 035 µV READ Place multimeter in wait for trigger state and make measurement send readings to the output buffer enter statement Enter readings into computer VOLTage AC RANGe SENSe VOLTage AC RANGe MIN MAX returns one of the following numbers to the out...

Страница 172: ...s on the function and range you select The VOLT APER command overrides the results of previously executed VOLTage NPLC and VOLTage RESolution commands the last command executed has priority The greater the aperture time the greater the normal mode rejection and the lower the reading rate For a 50 Hz line frequency only the 20 ms and 320 ms settings provide normal mode rejection of power line relat...

Страница 173: ...ange available with the VOLTage DC RANGe command 0 125 V MAX selects the maximum DC voltage range available 300 V You must select a range using VOLTage DC RANGe before specifying resolution Also in order to specify an aperture time of 10 µs you must select a fixed range Specifying a fixed range disables the autorange mode set by the VOLT RANG AUTO command The VOLT DC RANG command overrides the ran...

Страница 174: ...elect 1 V range VOLT DC RANG Query multimeter to return the present range enter statement Enter value into computer VOLTage NPLC SENSe VOLTage NPLC number sets the integration time in power line cycles PLCs Values are rounded up to the nearest number of PLCs shown in the following table Parameters Parameter Name Parameter Type Range of Values Default Units number numeric 0 0005 0 005 0 125 1 16 MI...

Страница 175: ...ntegration time is 16 PLCs VOLT NPLC Query multimeter to return integration time enter statement Enter value into computer VOLTage RANGe AUTO SENSe VOLTage RANGe AUTO mode enables or disables the autorange function for voltage measurements Parameters Parameter Name Parameter Type Range of Values Default Units mode boolean OFF 0 ON 1 none Comments You can substitute decimal values for the OFF 0 and...

Страница 176: ...eric resolution see Table 5 1 MIN MAX volts Comments MINimum selects the best resolution the smallest value from Table 5 1 for the selected range MAXimum selects the worst resolution the largest value from Table 5 1 for the selected range You must select a range using VOLTage RANGe before specifying resolution Also only specify a resolution when making measurements on a fixed range Otherwise the r...

Страница 177: ...eter in wait for trigger state and make measurements send readings to output buffer enter statement Enter readings into computer VOLTage RESolution SENSe VOLTage RESolution MIN MAX returns one of the following numbers to the output buffer The present resolution selected if MIN or MAX is not specified Only the resolution values available on ranges set by the RANGe command are returned The resolutio...

Страница 178: ...460A No Card Parameters Parameter Name Parameter Type Range of Values Default Units card_number numeric 1 99 none The card number relates only to the multiplexer modules within the scanning multimeter The multiplexer with the lowest logical address is always card number 1 The multiplexer with the next successive logical address is card number 2 and so on Example Reading Description of Card 1 SYST ...

Страница 179: ...When an error is generated by the multimeter it stores an error number and corresponding message in the error queue One error is removed from the error queue each time the SYSTem ERRor command is executed The errors are cleared in a first in first out order This means that if several errors are waiting in the queue each SYSTem ERRor query returns the oldest not the most recent error That error is ...

Страница 180: ...lt Units number numeric 1 16 777 215 MIN MAX none Comments MIN selects 1 trigger stand alone multimeter or 1 scan through the channel list scanning multimeter MAX selects 16 777 215 triggers or scans through the channel list If MAX or 16 777 215 is specified for the number parameter an Out of memory error occurs to show that this generates too many readings to store in memory However you can use t...

Страница 181: ...multimeter front panel TRIG COUN 10 Multimeter will accept 10 external triggers one measurement is taken with each trigger READ Place multimeter in wait for trigger state make measurement when external trigger is received send readings to output buffer enter statement Enter readings into computer COUNt TRIGger COUNt MIN MAX returns one of the following numbers to the output buffer The present trig...

Страница 182: ... AUTO is turned OFF You can set a delay between measurements in a burst using the SAMPle TIMer command RST Condition DC volts resistance 0 seconds AC volts 0 5 seconds Example Setting the Trigger Delay TRIG DEL 2 Wait 2 seconds between trigger and start of scan DELay TRIGger DELay MIN MAX returns one of the following numbers to the output buffer The present trigger delay 0 through 16 777215 second...

Страница 183: ...ing multimeter the trigger delay is inserted between the trigger and the first channel in each scan If a trigger delay is specified using the TRIGger DELay period command TRIG DEL AUTO is turned OFF You can set a delay between measurements in a burst using the SAMPle TIMer command RST Condition TRIG DEL AUTO ON Example Disabling Automatic Trigger Delay TRIG DEL AUTO OFF Disable automatic trigger d...

Страница 184: ...ering INIT Place multimeter in wait for trigger state store reading in memory when trigger is received TRIG Trigger the multimeter FETC Place reading in output buffer enter statement Enter reading into computer SOURce TRIGger SOURce source configures the trigger system to respond to the specified source The following sources are available BUS Group Execute Trigger GET bus command or TRG common com...

Страница 185: ...the multimeter to the idle state All subsequent single triggers sent using TRIGger IMMediate are ignored and the Trigger ignored error is generated The CONFigure and MEASure command subsystems automatically set the trigger source to TRIG SOUR IMM The READ command cannot be used if the trigger source is TRIG SOUR BUS or TRIG SOUR HOLD Related Commands ABORt INITiate TRIGger IMMediate RST Condition ...

Страница 186: ...xternal BNC on multimeter front panel TRIG SOUR Query multimeter to return trigger source setting enter statement Enter quoted string into computer 185 Command Reference Chapter 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 187: ...Query Standard event status enable query ESR Event Status Register Query Standard event status register query SRE Service Request Enable Service request enable command SRE Service Request Enable Query Service request enable query STB Read Status Byte Query Read status byte query Bus Operation TRG Bus Trigger When the multimeter is in the wait for trigger state and the trigger source is TRIGger SOU...

Страница 188: ...able disable monitor mode Query monitor mode FETCh Place stored readings in output buffer FORMat DATA type length Select output data format and length FORMat Query format INITiate IMMediate Place multimeter in wait for trigger state MEASure FRESistance range resolution channel_list RESistance range resolution channel_list TEMPerature transducer type channel_list VOLTage AC range resolution channel...

Страница 189: ... Query aperture integration time Set integration time in PLCs Query integration time Enable disable offset compensation Query offset compensation mode Select range Query range Enable disable autorange function Query autorange mode Specify resolution Query resolution Select measurement range Query range Set aperture integration time in seconds Query aperture integration time Select range Query rang...

Страница 190: ...n 50Hz Power line cycles NPLCs Normal mode 50 Hz rejection 60Hz Power line cycles NPLCs Normal mode 60 Hz rejection 400Hz Power line cycles NPLCs Normal mode 400 Hz rejection 150 dB 16 84 dB 0 dB 128 84 dB 150 dB 0 dB 16 84 dB 0 dB 150 dB 1 60 dB 0 dB 8 84 dB 150 dB 0 dB 1 60 dB 0 dB 150 dB 0 dB 0 dB 1 60 dB 150 dB 0 dB 0 dB 0 dB 150 dB 0 dB 0 dB 0dB AC Voltage DC to 400 Hz Common mode rejection 1...

Страница 191: ...08 5 0 µV 008 5 0 µV 008 10 µV 05 30 µV 05 60 µV 1 V 008 10 µV 008 15 µV 008 15 µV 05 100 µV 05 200 µV 8 V 005 50 µV 005 50 µV 005 80 µV 05 750 µV 05 1 5 mV 64 V 01 1 0 mV 01 1 0 mV 01 1 0 mV 05 5 0 mV 05 20 mV 300 V 01 5 0 mV 01 5 0 mV 01 5 0 mV 05 30 mV 05 80 mV Accuracy conditions for table below Autozero on one hour warmup Within 90 days and 5 C of calibration temperature module calibrated at ...

Страница 192: ...mV 025 1 mV 025 1 0 mV 065 5 0 mV 110 20 mV 300 V 025 5 0 mV 025 5 mV 025 5 0 mV 065 30 mV 110 80 mV Temperature Coefficient of reading C Autozero Off Offset Error volts Range Temperature Coefficient 10 µs Aperture Range Additional Offset Error 125 mV 0 003 0 013 125 mV 10 µV 1 V 0 001 0 01 1 V 10 µV 8 V 0 001 0 01 8 V 10 µV 64 V 0 001 0 01 64 V 1 mV 300 V 0 001 0 01 300 V 1 mV Conditions 0 C to c...

Страница 193: ...20 ms 2 5 ms 100 µs 10 µs 256 Ω 06 mΩ 0 25 mΩ 1 0 mΩ 8 0 mΩ 15 mΩ 2 kΩ 5 mΩ 2 0 mΩ 8 0 mΩ 60 mΩ 125 mΩ 16 kΩ 4 0 mΩ 15 mΩ 60 mΩ 500 mΩ 1 0 Ω 131 kΩ 30 0 mΩ 125 mΩ 500 mΩ 4 0 Ω 8 0 Ω 1 MΩ 25 mΩ 1 0 Ω 4 0 Ω 30 Ω 64 Ω Accuracy Conditions for table below Autozero on one hour warmup Within 24 hours and 1 C of calibration temperature module calibrated at 18 C to 28 C 24 Hour Accuracy vs Aperture of read...

Страница 194: ... Aperture of reading ohms Range 267 320 ms 16 7 20 ms 2 5 ms 100 µs 10 µs 256 Ω 05 10 mΩ 05 10 mΩ 05 10 mΩ 085 50 mΩ 135 50 mΩ 2 kΩ 04 20 mΩ 04 20 mΩ 04 20 mΩ 075 150 mΩ 115 200 mΩ 16 kΩ 04 200 mΩ 04 200 mΩ 04 200 mΩ 075 1 Ω 115 2 Ω 131 kΩ 04 1 Ω 04 1 Ω 04 1 Ω 075 8 Ω 115 16 Ω 1 MΩ 04 10 Ω 04 10 Ω 04 10 Ω 075 60 Ω 115 120 Ω Temperature Coefficient of reading C Autozero Off Offset Error ohms Range ...

Страница 195: ... on 1 hr warmup Within 24 hours and 1 C of calibration temperature module calibrated at 18 C to 28 C Sine wave inputs 10 full scale DC component 10 AC component 24 Hour Accuracy vs Aperture of reading volts Range Frequency 267 320 ms all other apertures 87 5 mV 20 50 Hz 50 Hz 1 kHz 1 5 kHz 5 10 kHz 2 200 µV 5 200 µV 5 200 µV 3 200 µV N A 5 200 µV 5 200 µV 3 200 µV 700 mV 20 50 Hz 50 Hz 1 kHz 1 5 k...

Страница 196: ...10 of full scale DC component 10 of AC component 1 Year Accuracy vs Aperture of reading volts Temp Coefficient of reading C Range Frequency 267 320 ms all other apertures Range Frequency Temp Coefficient 87 5 mV 20 50 Hz 50 Hz 1 kHz 1 5 kHz 5 10 kHz 2 195 200 µV 695 200 µV 695 200 µV 3 195 200 µV N A 695 200 µV 695 200 µV 3 195 200 µV 87 5 mV 20 50 Hz 50 Hz 1 kHz 1 5 kHz 5 10 kHz 0 035 0 035 0 035...

Страница 197: ...nt IPM A 0 20 0 55 Dyanmic module current IDM A 0 01 0 01 Typical Reading Storage Watts Slot 8 5 E1411B 4 2 E1326B HP 75000 Number of Mainframe Readings Cooling Slot 0 14 mm H2O 0 71 liter sec E1411B Series B with 0 07 mm H2O 0 35 liter sec E1326B standard memory 50 000 Humidity 65 0 to 40 C Series B with Operating Temperature 0 to 55 C 512 kB memory HP E1300 01A Opt 010 100 000 Storage Temperatur...

Страница 198: ... K rather than 5 KOHM 138 Suffix not allowed Parameter suffix is specified when one is not allowed 141 Invalid character data The parameter type specified is not allowed e g MEAS TEMP TC O O is not a choice 178 Expression data not allowed A parameter other than the channel list is enclosed in parentheses 211 Trigger ignored Trigger occurred while the multimeter is in the idle state or a trigger oc...

Страница 199: ...a not able to finish executing due to a multimeter configuration error 430 Query deadlocked Command execution cannot continue since the mainframe s command input 1000 Out of memory Not enough memory to store the number of measurements requested 2000 Invalid card number There is no multiplexer which corresponds to the card number specified in the channel list 2001 Invalid channel number The channel...

Страница 200: ...and module is not required This appendix contains the information you need for register based programming The contents include Register Addressing Page 199 Register Descriptions Page 203 Program Timing and Execution Page 210 Register Triggering Page 217 Programming Examples Page 220 Useful Tables Page 262 Register Addressing Register addresses for register based devices are located in the upper 25...

Страница 201: ...re C 1 the multimeter s base address is computed as C00016 LADDR 64 16 or 49 152 LADDR 64 where C00016 49 152 is the starting location of the register addresses LADDR is the multimeter s logical address and 64 is the number of address bytes per VXI device For example the multimeter s factory set logical address is 24 If this address is not changed the multimeter will have a base address of C00016 ...

Страница 202: ...ace is inside the command module or mainframe Figure C 2 the multimeter s base address is computed as 1FC00016 LADDR 64 16 or 2 080 768 LADDR 64 where 1FC00016 2 080 768 is the starting location of the VXI A16 addresses LADDR is the multimeter s logical address and 64 is the number of address bytes per register based device Again the multimeter s factory set logical address is 24 If this address i...

Страница 203: ...HP IB to E1300A E1301A Mainframe or E1406A Command Module VXI READ logical_address offset VXI WRITE logical_address offset data DIAG PEEK Base_addr offset width DIAG POKE Base_addr offset width data module logical address setting LADDR offset register offset Figure C 2 Base_addr 1FC00016 LADDR 64 16 or 2 080 768 LADDR 64 offset register offset Figure C 2 V 382 Embedded Computer C Size system READI...

Страница 204: ... The multimeter drives the SYSFAIL line during a self test and the line remains asserted if the self test fails If the multimeter fails its power on self test the Resource Manager de asserts SYSFAIL and resets the multimeter to take the device off line If a self test fails during register based programming you must write a 1 to bit 1 to de assert SYSFAIL and then reset the multimeter to take it of...

Страница 205: ...ments The statements set the multimeter function command opcode 4 to DC voltage parameter opcode 0 Write command iwpoke unsigned short base_addr_dmm 0x08 4 Write parameter iwpoke unsigned short base_addr_dmm 0x0A 0 When the command and parameter are received the multimeter processor checks for the proper syntax and range If an error is found the NOERR bit in the Status Register is cleared 0 and op...

Страница 206: ...imeter is a register based device Addressing Mode Bits 13 and 12 indicate the addressing mode 0 0 A16 A24 address mode 0 1 A16 A32 address mode 1 0 RESERVED 1 1 A16 address mode The HP E1326B E1411B multimeter uses the A16 address mode Manufacturer ID Bits 11 through 0 identify the manufacturer of the device Hewlett Packard s ID number is 4095 which corresponds to bits 11 0 being set to 1 Given th...

Страница 207: ...1 See Status Bit Precedence on page 207 for more information NOERR A zero 0 in bit 6 indicates a programming error has occurred Bit 6 is set to one 1 when the next command opcode is received The error code however is stored until it is read from the Query Response Register or until it is overwritten by another error MULTIMETER COMPLETE A one 1 in bit 5 indicates the analog to digital conversion is...

Страница 208: ...ameter is being processed When Bit 7 is zero 0 bits 6 5 4 and 1 are invalid This allows the multimeter time to set those bits to the correct states based on the conditions they represent The Query Response Register When the multimeter is queried as to its configuration that is function range aperture time or when an error code is requested the reply is sent to the Query Response Register Address 1...

Страница 209: ...n the sample rate is too fast for the specified aperture time This also clears the NOERR bit in the Status Register rrr range code power of 8 multiplier for reading dd multimeter measurement in 2 s complement binary Readings are returned as two 16 bit words with the upper word returned first Thus for each reading the data buffer must be read twice The Programming Examples section contains examples...

Страница 210: ...FFFFF00 where range is the multimeter s voltage or resistance range and 0x7FFFFF00 is the full scale reading for the given range in hexadecimal The Programming Examples section contains examples for converting four byte readings Two Byte Readings 1 After the two byte reading is retrieved from the Data Register the reading is shifted one bit to the right to remove the error bit Note that this bit i...

Страница 211: ...re C 3 Comments The registers used are Control Register base 0416 Status Register base 0416 Writing a 1 to bit 1 prevents the multimeter from asserting the SYSFAIL line when the multimeter is reset If SYSFAIL is enabled when a reset occurs the multimeter is taken off line by the system Resource Manager Writing a 1 to bits 1 and 0 keeps SYSFAIL disabled and resets the multimeter This condition must...

Страница 212: ...accomplished as indicated by the flowchart in Figure C 4 Comments The registers used are Status Register base 0416 Command Register base 0816 Parameter Register base 0A16 Status Register bit 0 is monitored to determine when a command and parameters can be written to the Command and Parameter Registers Status Register bit 7 is monitored to determine when the multimeter has finished processing the c...

Страница 213: ...Figure C 4 Configuring the Multimeter 212 HP E1326B E1411B Multimeter Register Based Programming Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 214: ...read two times for each reading The first time the buffer is read the upper 16 bits are retrieved The second time the buffer is read the lower 16 bits are retrieved In the two byte reading mode 10 µs aperture time the Data Buffer is read one time for each reading The process is repeated until all readings have been read from the buffer Figure C 5 Retrieving Measurements Appendix C HP E1326B E1411B...

Страница 215: ...inished Bit 6 is monitored to determine when a configuration error has occurred Once an error is detected the error code is written to the Query Response Register with the Send Error command opcode 15 Status Register bit 1 is monitored to determine when the error code can be read from the Query Response Register Figure C 6 Checking for Errors 214 HP E1326B E1411B Multimeter Register Based Programm...

Страница 216: ...it 7 is monitored to determine when a query opcode command can be written to the Command Register Status bit 1 is monitored to determine when the response to the query is in the Query Response Register Figure C 7 Querying Multimeter Parameters Appendix C HP E1326B E1411B Multimeter Register Based Programming 215 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisant...

Страница 217: ...sumes the multimeter is already configured Multimeter status bit 5 is monitored to determine when the analog to digital A D conversion is in progress and thus when to advance the channel This enables each channel to be measured before the readings are read from the buffer The channel can also be advanced by monitoring bit 4 Data Ready However before measuring the next channel readings from the pre...

Страница 218: ...imeter to the Triggered state The measurement that is taken is appended to the other readings in the buffer When the Trigger Source is Immediate Trigger Arm moves the multimeter directly to the Triggered State The measurement overwrites any data currently in the data buffer The multimeter returns to the Wait for trigger state once the number of measurements equals the specified sample count The mu...

Страница 219: ...a waiting period not shown is usually inserted between each burst scan trigger Trigger Immediate This allows each measurement in the burst or on the channel to complete before the next trigger is issued The period is determined by the number of readings and the aperture time For burst measurements the waiting period enables all bursts to occur before the readings are read from the data buffer Stat...

Страница 220: ...s The first measurement of each burst occurs when the trigger signal Trigger Immediate is received Subsequent measurements in the burst occur when Control Register bit 2 is cleared 0 and then set to one 1 Figure C 11 Control Register Sampling Appendix C HP E1326B E1411B Multimeter Register Based Programming 219 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg...

Страница 221: ...ing the following system configurations HP BASIC WS Programs Mainframe HP 75000 Series C HP E1401A Controller HP V 382 HP E1499B w HP E1481A drivers and E1481L License to Use Programming Language HP BASIC WS Multimeter HP E1411B Logical address 24 Multiplexer HP E1460A Logical address 25 C Language Programs Mainframe HP 75000 Series C HP E1401A Controller HP RADI EPC7 486 Embedded Controller w Sta...

Страница 222: ...one BIT Status 7 AND Rdy 160 Indardy BIT Status 4 AND Done 170 Qryrdy BIT Status 1 AND Done 180 Noerr NOT NOT BIT Status 6 AND Done 190 Pass_fail BIT Status 2 200 SUBEND 210 This subprogram resets the multimeter by disabling the SYSFAIL bit 220 then writing a 1 to Control Register bit 0 and then writing a 0 to 230 Control Register bit 0 Once the reset completes SYSFAIL is re enabled 240 SUB Mm_rst...

Страница 223: ...base_addr This function resets the multimeter by disabling the Control register SYSFAIL bit bit 1 and then by writing a 1 to bit 0 and then by writing a 0 to bit 0 After the reset the SYSFAIL bit is re enabled iwpoke unsigned short base_addr 0x04 2 disable SYSFAIL iwpoke unsigned short base_addr 0x04 3 iwpoke unsigned short base_addr 0x04 3 bit must be set for 2 us iwpoke unsigned short base_addr ...

Страница 224: ... variable 30 CONTROL 16 25 2 40 COM Base_addr 50 Base_addr DVAL C600 16 60 Call the subprogram which reads the ID register 70 CALL Id_read 80 END 90 This subprogram reads the ID register and displays the result in hexadecimal 100 SUB Id_read 110 COM Base_addr 120 Register READIO 16 Base_addr 0 130 Hex IVAL Register 16 140 PRINT Hex 150 SUBEND Appendix C HP E1326B E1411B Multimeter Register Based P...

Страница 225: ... 25 2 40 COM Base_addr 50 Base_addr DVAL C600 16 60 Call the subprogram which reads the Device Type register 70 CALL Dt_read 80 END 90 This subprogram reads the Device type register and displays the result 100 in hexadecimal 110 SUB Dt_read 120 COM Base_addr 130 Register READIO 16 Base_addr 2 140 Hex IVAL Register 16 150 PRINT Hex 160 SUBEND 224 HP E1326B E1411B Multimeter Register Based Programmi...

Страница 226: ...d the ID and Device Type registers read_registers base_addr close session iclose e1411b void read_registers char base_addr This function reads the multimeter s ID and Device Type registers unsigned short id_reg dt_reg clear the user screen clrscr read the E1411B ID and Device Type registers id_reg iwpeek unsigned short base_addr 0x00 dt_reg iwpeek unsigned short base_addr 0x02 printf ID register 0...

Страница 227: ...UB Read_status Status Rdy Done Indardy Qryrdy Noerr Pass_fail 150 COM Base_addr 160 Status READIO 16 Base_addr 4 170 Rdy BIT Status 0 180 Done BIT Status 7 AND Rdy 190 Indardy BIT Status 4 AND Done 200 Qryrdy BIT Status 1 AND Done 210 Noerr NOT NOT BIT Status 6 AND Done 220 Pass_fail BIT Status 2 230 SUBEND 240 This subprogram calls Read_status to check status bit 0 to determine 250 when a command...

Страница 228: ...30 WRITEIO 16 Base_addr 10 2 440 CALL Wait_not_bsy 450 WRITEIO 16 Base_addr 8 5 460 CALL Qry_ready 470 Register READIO 16 Base_addr 8 480 Rslt BINAND Register 255 490 PRINT Rslt 500 SUBEND Appendix C HP E1326B E1411B Multimeter Register Based Programming 227 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 229: ... 0x83 0x83 Function prototypes void set_function char base_addr void main void char base_addr clear the user screen clrscr create and open a device session INST e1411b e1411b iopen vxi 24 map the E1411B registers into user memory space base_addr imap e1411b I_MAP_VXIDEV 0 1 NULL function call to set the multimeter function set_function base_addr close session iclose e1411b void set_function char b...

Страница 230: ...ster wait for ready bit 1 while READY iwpoke unsigned short base_addr 0x0A 2 while DONE write measurement function query to command register wait for qryrdy bit 1 iwpoke unsigned short base_addr 0x08 5 while QRYRDY query iwpeek unsigned short base_addr 0x08 printf Query register contents x query 0xFF Appendix C HP E1326B E1411B Multimeter Register Based Programming 229 Artisan Technology Group Qua...

Страница 231: ...ryrdy Noerr Pass_fail 150 COM Base_addr 160 Status READIO 16 Base_addr 4 170 Rdy BIT Status 0 180 Done BIT Status 7 AND Rdy 190 Indardy BIT Status 4 AND Done 200 Qryrdy BIT Status 1 AND Done 210 Noerr NOT NOT BIT Status 6 AND Done 220 Pass_fail BIT Status 2 230 SUBEND 240 This subprogram calls Read_status to check status bit 0 to determine 250 when a parameter can be sent 260 SUB Wait_not_bsy 270 ...

Страница 232: ...CALL Read_status Status Rdy Done Indardy Qryrdy Noerr Pass_fail 510 IF Noerr THEN Ok 520 WRITEIO 16 Base_addr 8 15 530 CALL Qry_ready 540 Errcode READIO 16 Base_addr 8 550 Errcode BINAND Errcode 255 560 PRINT Error Code Errcode 570 Ok SUBEND 580 This subprogram generates an error by specifying a parameter opcode of 7 590 for the function parameter This is a parameter out of range 600 SUB Error_gen...

Страница 233: ...C1 Function prototypes void cause_error char base_addr void check_for_error char base_addr void main void char base_addr clear the user screen clrscr create and open a device session INST e1411b e1411b iopen vxi 24 map the E1411B registers into user memory space base_addr imap e1411b I_MAP_VXIDEV 0 1 NULL function call to cause a multimeter error cause_error base_addr close session iclose e1411b v...

Страница 234: ...ction which reads the error if an error has occurred if NOERR check_for_error base_addr void check_for_error char base_addr unsigned short error_code variable for error code from the query response register write send error to command register wait for qryrdy bit 1 iwpoke unsigned short base_addr 0x08 15 while QRYRDY error_code iwpeek unsigned short base_addr 0x08 printf Error code x error_code 0x...

Страница 235: ...as 0 1 170 Set the autozero mode OFF 180 CALL Peek_meas 8 1 190 Set the offset compensation mode OFF 200 CALL Peek_meas 36 0 210 Configure multimeter trigger system 220 Set the trigger source HOLD 230 CALL Peek_meas 6 2 240 Set the trigger count number of bursts 5 250 CALL Peek_meas 39 0 0 5 260 Set the trigger delay 0s 270 CALL Peek_meas 23 0 0 0 280 Set the sample count number of readings burst ...

Страница 236: ...gress or has finished The following subprogram reads 550 the Status register and is called by other subprograms to determine when 560 an action can be performed 570 SUB Read_status Status Rdy Done Indardy Qryrdy Noerr Pass_fail 580 Read_status 590 COM Base_addr Aper Func Rng 600 Status READIO 16 Base_addr 4 610 Rdy BIT Status 0 620 Done BIT Status 7 AND Rdy 630 Indardy BIT Status 4 AND Done 640 Qr...

Страница 237: ...D Errcode 255 970 PRINT Error Code Errcode 980 STOP 990 Ok SUBEND 1000 This subprogram calls Read_status to determine when an error code or 1010 a response to an instrument query is in the Query Response register 1020 status bit 1 1030 SUB Qry_ready 1040 Qry_ready 1050 COM Base_addr Aper Func Rng 1060 REPEAT 1070 CALL Read_status Status Rdy Done Indardy Qryrdy Noerr Pass_fail 1080 UNTIL Qryrdy 109...

Страница 238: ..._addr 10 Parm2 1380 END IF 1390 IF NPAR 3 THEN 1400 CALL Wait_not_bsy 1410 WRITEIO 16 Base_addr 10 Parm3 1420 END IF 1430 IF Cmd 0 THEN Aper Parm1 1440 IF Cmd 2 THEN Rng Parm1 1450 IF Cmd 4 THEN Func Parm1 1460 CALL Wait_done 1470 CALL Err_chk Noerr 1480 SUBEND 1490 This subprogram retrieves the reading s from the multimeter s data 1500 buffer and converts it to the appropriate quantity i e voltag...

Страница 239: ...NEXT I 1830 PRINT Readings 1840 SUBEND 1850 This subprogram resets the multimeter by disabling the SYSFAIL bit 1860 then writing a 1 to Control register bit 0 and then writing a 0 to 1870 Control register bit 0 Once the reset completes SYSFAIL is re enabled 1880 SUB Mm_reset 1890 Mm_reset 1900 COM Base_addr Aper Func Rng 1910 WRITEIO 16 Base_addr 4 2 1920 WRITEIO 16 Base_addr 4 3 1930 WRITEIO 16 B...

Страница 240: ... char base_addr_dmm int command int parameter void set_sample_period char base_addr_dmm int command unsigned short parameter void set_dmm_counts char base_addr_dmm int command long parameter void no_dmm_parameters char base_addr_dmm int command void trigger_dmm char base_addr_dmm void check_for_error char base_addr_dmm void reset_mm char base_addr_dmm int aper rng func global variables to contain ...

Страница 241: ...gure_dmm base_addr_dmm 7 0 sample source IMMEDIATE set_sample_period base_addr_dmm 10 76 sample rate set when source is TIMER set_dmm_counts base_addr_dmm 39 5 trigger count 5 set_dmm_counts base_addr_dmm 23 0 trigger delay 0 set_dmm_counts base_addr_dmm 38 5 sample count 5 configure_dmm base_addr_dmm 12 1 arm the multimeter trigger the multimeter trigger_dmm base_addr_dmm close the device session...

Страница 242: ...eriod char base_addr_dmm int command unsigned short parameter this function sets the multimeter sample period parameter variables unsigned short parm1 0 parm2 0 convert parameter sample period to two bytes parm1 parameter 8 upper byte parm2 parameter 0xFF lower byte write command to command register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x08 command write upper by...

Страница 243: ...ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x08 command write upper byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm1 write middle byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm2 write lower byte to parameter register wait for mm ready bit 1 while READY iwpoke ...

Страница 244: ...byte 0 2 byte reading variable long dmm_4byte 0 temp_4byte 0 4 byte reading variable float range reading voltage range and resistance range tables float volt_range 5 0 125 1 0 8 0 64 0 300 0 float ohm_range 5 256 0 2048 0 16384 0 131000 0 1048000 0 for i 0 i 25 i loop for 5 bursts of 5 readings no_dmm_parameters base_addr_dmm 13 trigger the multimeter while DATARDY if aper 6 aperture time is NOT 1...

Страница 245: ... table range_code dmm_4byte 24 7 if func 2 range ohm_range range_code else range volt_range range_code compute and print reading dmm_4byte dmm_4byte 8 reading range dmm_4byte 0x7FFFFF00 printf n 5E reading else aperture time is 10 us 2 byte readings dmm_2byte short iwpeek unsigned short base_addr_dmm 0x0C check for reading overrange if dmm_2byte 0x1 printf nReading Overrange else remove error bit ...

Страница 246: ...LURE exit program void reset_mm char base_addr_dmm This function resets the multimeter by disabling the Control register SYSFAIL bit bit 1 and then by writing a 1 to bit 0 and then by writing a 0 to bit 0 After the reset the SYSFAIL bit is re enabled iwpoke unsigned short base_addr_dmm 0x04 2 disable SYSFAIL iwpoke unsigned short base_addr_dmm 0x04 3 iwpoke unsigned short base_addr_dmm 0x04 3 bit ...

Страница 247: ...LL Mux_reset 160 Configure the multimeter s A D converter 170 Set the function DCV 180 CALL Peek_meas 4 0 190 Set the range Autorange 200 CALL Peek_meas 2 5 210 Set the aperture time 16 7 ms 220 CALL Peek_meas 0 1 230 Set the autozero mode to detect bit 5 ON 240 CALL Peek_meas 8 0 250 Set the offset compensation mode OFF 260 CALL Peek_meas 36 0 270 Configure multimeter trigger system 280 Set the t...

Страница 248: ... Status register and is called by 580 other subprograms to determine when a particular action can be performed 590 SUB Read_status Status Rdy Done Indardy Qryrdy Noerr Mmcomp Pass_fail 600 Read_status 610 COM I Base_addr Base_addrm Aper Func Rng Nchan Chan_closed 620 Status READIO 16 Base_addr 4 630 Rdy BIT Status 0 640 Mmcomp BIT Status 5 650 Done BIT Status 7 AND Rdy 660 Indardy BIT Status 4 AND...

Страница 249: ...RITEIO 16 Base_addr 8 15 990 CALL Qry_ready 1000 Errcode READIO 16 Base_addr 8 1010 Errcode BINAND Errcode 255 1020 PRINT Error Code Errcode 1030 STOP 1040 Ok SUBEND 1050 This subprogram calls Read_status to determine when an error code or 1060 a response to an instrument query is in the Query Response register 1070 status bit 1 1080 SUB Qry_ready 1090 Qry_ready 1100 COM I Base_addr Base_addrm Ape...

Страница 250: ...e closed 1380 or opened and to determine when a channel has finished closing or 1390 opening 1400 SUB Mux_status 1410 Mux_status 1420 COM I Base_addr Base_addrm Aper Func Rng Nchan Chan_closed 1430 M_status READIO 16 Base_addrm 4 1440 Chan_closed BIT M_status 7 1450 SUBEND 1460 This subprogram closes the multiplexer channels 1470 SUB Close_chan 1480 Close_chan 1490 COM I Base_addr Base_addrm Aper ...

Страница 251: ...PTIONAL INTEGER Parm1 Parm2 Parm3 1730 Peek_meas 1740 COM I Base_addr Base_addrm Aper Func Rng Nchan Chan_closed 1750 CALL Wait_not_bsy 1760 WRITEIO 16 Base_addr 8 Cmd 1770 IF NPAR 1 THEN 1780 CALL Wait_not_bsy 1790 WRITEIO 16 Base_addr 10 Parm1 1800 END IF 1810 IF NPAR 2 THEN 1820 CALL Wait_not_bsy 1830 WRITEIO 16 Base_addr 10 Parm2 1840 END IF 1850 IF NPAR 3 THEN 1860 CALL Wait_not_bsy 1870 WRIT...

Страница 252: ... Header 7 2130 ELSE 2140 Upper_word READIO 16 Base_addr 12 2150 CALL Data_ready 2160 Lower_word READIO 16 Base_addr 12 2170 Header SHIFT Upper_word 8 2180 Count 65536 BINAND Upper_word 255 2 SHIFT Lower_word 1 2190 Exp BINAND Header 7 2200 IF Count 8388608 THEN 2210 Count Count 16777216 8388608 2220 ELSE 2230 Count Count 8388608 2240 END IF 2250 END IF 2260 IF Func 2 THEN 2270 Readings R Count 256...

Страница 253: ...y Qryrdy Noerr Mmcomp Pass_fail 2450 UNTIL Pass_fail 2460 WRITEIO 16 Base_addr 4 0 2470 SUBEND 2480 This subprogram opens all multiplexer channels and then closes the bank 2490 99 relay on the HP E1460A multiplexer 2500 SUB Mux_reset 2510 Mux_reset 2520 COM I Base_addr Base_addrm Aper Func Rng Nchan Chan_closed 2530 WRITEIO 16 Base_addrm 32 0 2540 REPEAT 2550 CALL Mux_status 2560 UNTIL Chan_closed...

Страница 254: ...Y iwpeek unsigned short base_addr_dmm 0x04 0x83 0x83 define NOERR iwpeek unsigned short base_addr_dmm 0x04 0xC1 0xC1 define PASS_FAIL iwpeek unsigned short base_addr_dmm 0X04 0x04 Function prototypes void configure_dmm char base_addr_dmm int command int parameter void set_sample_period char base_addr_dmm int command unsigned short parameter void set_dmm_counts char base_addr_dmm int command long p...

Страница 255: ...meter opcode or value configure_dmm base_addr_dmm 4 0 function DCV configure_dmm base_addr_dmm 2 2 range 8V configure_dmm base_addr_dmm 0 6 aperture time 10 us configure_dmm base_addr_dmm 8 1 autozero off configure_dmm base_addr_dmm 36 0 offset compensation off trigger system configure_dmm base_addr_dmm 6 2 trigger source HOLD configure_dmm base_addr_dmm 7 1 sample source TIMER set_sample_period b...

Страница 256: ...wpoke unsigned short base_addr_dmm 0x08 command write parameter to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parameter save aperture time range and function for reading conversion if command 0 aper parameter else if command 2 rng parameter else if command 4 func parameter while DONE wait until mm is done before sending the next command and para...

Страница 257: ... 0x08 command write upper byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm1 write lower byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm2 while DONE wait until mm is done before sending the next command and parameters if NOERR check_for_error base_addr_dmm check for configuration...

Страница 258: ...eter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm1 write middle byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm2 write lower byte to parameter register wait for mm ready bit 1 while READY iwpoke unsigned short base_addr_dmm 0x0A parm3 while DONE wait until mm is done before sending the next c...

Страница 259: ..._fet 0x06 0 Download the scan list channels 0 through 4 configure for DC voltage measurements iwpoke unsigned short base_addr_fet 0x0A 0x6000 iwpoke unsigned short base_addr_fet 0x0A 0x6001 iwpoke unsigned short base_addr_fet 0x0A 0x6002 iwpoke unsigned short base_addr_fet 0x0A 0x6003 iwpoke unsigned short base_addr_fet 0x0A 0x6004 set up multiplexer scanning set direct control of scan list iwpoke...

Страница 260: ... is NOT 10 us 4 byte readings get upper word of reading from the data register shift the word 16 bits to the left temp_4byte long iwpeek unsigned short base_addr_dmm 0x0C dmm_4byte temp_4byte 16 while DATARDY wait for lower word of reading get lower word of reading from the data register add the word to the reading upper word in the variable dmm_4byte ensure upper word of temp_4byte is 00h temp_4b...

Страница 261: ..._dmm 0x0C check for reading overrange if dmm_2byte 0x1 printf nReading Overrange else remove error bit from reading dmm_2byte dmm_2byte 1 get range code from rng variable get range from the appropriate range table if func 2 range ohm_range rng resistance ranges else range volt_range rng voltage ranges compute and print reading reading range dmm_2byte 0x3FFF printf n 5E reading Continued on Next Pa...

Страница 262: ..._addr_dmm 0x04 2 disable SYSFAIL iwpoke unsigned short base_addr_dmm 0x04 3 iwpoke unsigned short base_addr_dmm 0x04 3 set bit for 2us iwpoke unsigned short base_addr_dmm 0x04 3 iwpoke unsigned short base_addr_dmm 0x04 2 turn off reset while PASS_FAIL wait for the reset to complete iwpoke unsigned short base_addr_dmm 0x04 0 enable SYSFAIL void reset_fet char base_addr_fet This function resets the ...

Страница 263: ...arameter opcode Range 02 00 01 02 03 04 05 125 mV 256 Ω 1V 2 048 kΩ 8V 16 384 kΩ 64V 131 kΩ 300V 1 048 MΩ Autorange 03 parameter opcode Aperture Time 00 00 01 02 03 04 05 06 267 ms 16 7 ms 320 ms 20 ms 2 5 ms 100 µs 10 µs 01 parameter opcode Autozero 08 00 01 02 On Off Once 09 parameter opcode Offset Compensation 36 00 01 Off On 37 parameter opcode Trigger Source 06 00 01 02 03 0A Immediate Extern...

Страница 264: ...lue shifted 8 bits to the right 8 lower byte value For two byte parameters upper byte value shifted 8 bits to the right 8 lower byte value 0xFF 2 Reading the Query Response Register two times 16 bit number or three times 24 bit number returns in order the high byte middle byte and low byte 3 A parameter value of 0 sets infinite triggers per trigger arm 4 A parameter value of 0 sets infinite sample...

Страница 265: ...ding overrun The data buffer is full and another measurement is taken This error also occurs when a new command opcode is received while the multimeter is placing a reading in the data buffer Trigger Arm is disabled 0516 The command or parameter received is not allowed in the two byte reading mode 10 µs aperture time 0C16 Command is terminated by another command 0E16 The aperture time is longer th...

Страница 266: ...ure time 16 7 ms 0116 Autozero ON 0016 Offset Compensation OFF 0016 Trigger Source IMMEDIATE 0016 Trigger Count 1 Trigger Delay set by function Sample Count 1 Sample Source IMMEDIATE 0016 Sample Rate 50 ms Trigger Arm OFF 0016 Appendix C HP E1326B E1411B Multimeter Register Based Programming 265 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 267: ... 0 s 100 µs 24 ms 1 0 s 10 µs 23 ms 1 0 s Including offset compensated OHMS Changing the function to ACV automatically sets a 250 ms trigger delay This delay can be changed with the Trigger Delay command Note range changes are approximately 200 µs Reading the Table For example it takes the multimeter 12 ms to change its function from ACV to DCV It takes 23 ms to set the 10 us aperture time for DCV...

Страница 268: ... 4 Interrupt on an error Status Register bit 6 0 3 8 Interrupt on Multimeter Complete Status Register bit 5 1 4 16 Interrupt when data buffer is half full A VME interrupt is enabled by sending the following command opcode and the decimal value of the bit representing the interrupt condition 26 decimal value The interrupt condition enabled is queried with the opcode 34 Appendix C HP E1326B E1411B M...

Страница 269: ...Notes 268 HP E1326B E1411B Multimeter Register Based Programming Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 270: ... transfers to the computer REAL 32 is fastest and is compatible with compiled languages REAL 64 is fast and is compatible with HP BASIC 5 Use macros to minimize command parsing time 6 Set autozeroing to ONCE or OFF 7 Turn auto ranging OFF 8 Decrease aperture time to reach 10 µs aperture time you must be on a fixed range 9 Store the readings in command module RAM instead of sending them directly to...

Страница 271: ...ing the number of command response sessions involves programming the multimeter to pace itself rather than the computer pacing the multimeter The SAMPle TIMer should be used for single channel pacing or for multiple channel scanning with the FET multiplexers see page 58 The SAMPle TIMer will generate an error message if the multimeter cannot keep up For example 10 OUTPUT Dmm CONF VOLT DC VOLT APER...

Страница 272: ...o digit value is 3 or 4 respectively digits is the number of 8 bit data bytes which follow the header 8 bit data byte are the multimeter readings For the PACKed format each reading is two bytes For the REAL 64 format each reading is eight bytes Following the last reading in each block is the line feed LF character The line feed must be read from the buffer to prevent Error 410 Query Interrupted oc...

Страница 273: ...ubroutine is treated as the main line 410 SUB Main 420 COM Sys Dmm Dmm_bin 430 Put application code here 440 Program the DMM to take 10000 readings FAST 450 OUTPUT Dmm CONF VOLT DC VOLT RANGE AUTO OFF CAL ZERO AUTO OFF VOLT APER MIN 460 OUTPUT Dmm SAMP SOUR TIM SAMP TIM 76E 6 SAMP COUNT 10000 470 Take the readings now 480 OUTPUT Dmm INIT OPC 490 ENTER Dmm A 500 Now time taking the 10000 readings o...

Страница 274: ...f this is going to BASIC it would later need to be converted 730 OUTPUT Dmm FORMAT REAL 32 740 It take two integers per reading 750 INTEGER I_readings 1 20000 760 OUTPUT Dmm FETCH 770 Start TIMEDATE 780 Read the header 790 ENTER Dmm USING X K K Ndig Count 1 VAL Ndig 800 Read the data 810 ENTER Dmm_bin I_readings 820 Read the LF 830 ENTER Dmm Lf 840 Stop TIMEDATE 850 PRINT TIME TO READ 10000 READIN...

Страница 275: ... M1 ENTER Dmm Reading This example is doing ASCII transfer Set Autozeroing to ONCE or OFF Autozeroing causes the A D to alternately measure its internal zero and the external signal Autozeroing improves reading accuracy however it reduces reading speed by 1 2 CAL ZERO AUTO ON The zero will be measured before each measurement CAL ZERO AUTO OFF No new zero readings will be made CAL ZERO AUTO ONCE Do...

Страница 276: ... 100 µs 2 5 ms 16 7 ms 20 ms 267 ms and 320 ms The smaller the aperture time the faster the readings are taken The 10 µs aperture time can only be entered if auto ranging is first turned OFF A disadvantage to faster aperture times is that increased noise will be present in the measured values The most common source of noise is from AC power sources The magnitude of noise from AC power sources is c...

Страница 277: ...u use the VOLTage APERture command For example 10 OUTPUT Dmm CONF VOLT DC 100 103 VOLT APER 100e 6 READ 20 ENTER Dmm Dc_readings Temperature Measurements Thermocouple temperature measurements are actually a computation following both a voltage and a resistance measurement Thermistor or RTD temperature measurements are actually a computation following a resistance measurement To change the aperture...

Страница 278: ...be retrieved and sent over the HP IB bus No readings are output until all readings have been taken and stored in RAM This results in a burst then transfer mode of operation This mode of operation has been designed so that readings from the E1326B multimeter can be received and placed into RAM at any reading rate up to 13 kHz The 13 kHz rate is achieved with auto zeroing and auto ranging OFF and th...

Страница 279: ...FORMat command For example FORMat ASCII FORMat REAL 32 FORMat REAL 64 Post Process Strain and Temperature Measurements The temperature and strain measurements are computations done on voltage and resistance measurements The computations are done at the end of each pass through a scan list This computation limits the maximum speed With thermocouple temperature measurements function changing times a...

Страница 280: ...nly 16 Accessing the Registers 202 Adapter A B to C size 37 HP E1326B 25 Address A16 address space 199 base address 200 201 bytes per register based device 201 bytes per VXI device 200 external memory board 150 logical 22 23 200 201 registers 199 201 202 secondary 22 Analog Bus cables 30 31 37 38 connections 31 connections at multimeter 31 port 15 Aperture Time changes 266 changing 270 decreasing ...

Страница 281: ...ng 37 38 shielded 32 shielded twisted pair 32 CALibration Subsystem 123 124 CALibration LFRequency 123 CALibration LFRequency 123 CALibration ZERO AUTO 99 124 CALibration ZERO AUTO 99 124 Carrier Cable Assemblies 37 Certification 7 Changing AC voltage range 170 aperture time 270 data format 58 59 DC voltage range 172 DC voltage resolution 176 function 270 range 166 resolution 169 Channel closing v...

Страница 282: ...0 132 133 used in example programs 42 used in place of MEASure 42 CONFigure and MEASure commands 76 77 equivalent commands 77 used as a single command 14 used in example programs 42 CONFigure FRESistance 127 CONFigure RESistance 128 129 CONFigure TEMPerature 129 CONFigure VOLTage AC 130 CONFigure VOLTage DC 132 133 CONFigure Command 134 Configuring the Multimeter 14 21 40 211 212 Conformity declar...

Страница 283: ... 186 EMC 186 Enabling autorange 167 174 autozero 99 124 274 offset compensation 101 165 trigger delay 182 VME memory card 152 Error checking for 66 67 214 codes 264 codes list of 264 codes reading 230 233 messages 197 198 queue 19 20 178 ESE 186 ESE 186 ESR 186 Example Programs aborting a measurement 113 burst measurements 43 46 changing measurement functions 91 changing the data format 58 59 chan...

Страница 284: ...129 130 146 147 thermistor measurements 35 89 vs two wire measurements 87 Front Panel keyboard disabling 39 resetting from 17 Function change times 266 changing 270 measurement 14 162 specifying 90 Functional Description 14 G Getting Started 13 20 GMC 186 Group Execute Trigger GET 103 122 H High speed Scanning 269 278 example program 253 multiple scans 54 55 How To Make Measurements 78 HP BASIC WS...

Страница 285: ...PLC See also Aperture Time description 97 parameters 91 97 querying 98 165 174 RESistance NPLC 98 164 173 saved in memory 114 setting 98 163 164 171 173 table listing 92 120 VOLTage NPLC 98 173 Interface Card HP IB 60 62 Internal Installation HP E1326B 25 Interrupt lines 24 priority 24 VME list of 267 Introduction to Operation 16 IRQ Jumper Setting 24 J Jumper IRQ 24 L LADDR 22 23 200 201 Language...

Страница 286: ...ls 52 53 single 42 speed tradeoffs 269 278 temperature 88 129 146 276 thermistor 88 276 thermistor resistance 35 89 thermocouple 89 276 two wire resistance 34 88 128 129 145 146 two wire vs four wire 87 using CONFigure commands 78 79 using MEASure commands 78 82 using READ commands 82 using single trigger 112 Memory amount used for readings 14 command module 114 mainframe 82 114 parameters stored ...

Страница 287: ...g Characteristics 15 Operation introduction to 16 Optional SCPI Command Parameters 119 Output Buffer capacity 139 155 measurement storage 139 OUTPut Subsystem 153 154 OUTPut TTLTrgn STATe 153 OUTPut TTLTrgn STATe 154 Overload Indications 81 Overrange 92 120 Overview digital bus 31 installation 21 multimeter 13 P Pacing multiple paced scans 48 source 158 159 Parameter Register 204 Parameters apertu...

Страница 288: ...NGe 93 166 saved in memory 114 setting 93 166 two wire resistance 166 VOLTage AC RANGe 93 VOLTage RANGe 93 RCL 114 186 READ Registers 205 208 data buffer 208 device type 206 224 225 ID 205 223 query response 207 226 233 status 206 READ Command 82 155 278 entering data with 82 Reader comment sheet 11 Reading card description 177 card type 178 destinations 80 85 device type register 224 225 error co...

Страница 289: ...17 from E1301A front panel 17 multimeter 17 210 221 222 Resistance Measurements 87 autorange function 167 converting to 209 current source values 87 four wire 35 88 127 144 166 168 offset compensated ohms 165 output from multimeter 100 range 166 resolution 168 two wire 34 88 128 129 145 146 166 168 two wire vs four wire 87 Resolution AC voltage 175 changing 169 DC voltage 175 description 95 96 fou...

Страница 290: ...n of 13 Secondary HP IB Address 22 Selecting data format 80 measurement function 162 reading destinations 81 85 VME RAM 39 Self test codes 17 example program 16 multimeter 16 Sense channels 88 130 147 terminals 87 SENSe Subsystem 161 176 SENSe FUNCtion 162 SENSe FUNCtion FRESistance 162 SENSe FUNCtion VOLTage AC 162 SENSe FUNCtion VOLTage DC 162 SENSe FUNCtion 162 SENSe RESistance APERture 163 SEN...

Страница 291: ...e Instruments See SCPI Commands Standard Event Status Register device dependent error bit 67 81 monitor for errors 66 Status bit precedence 207 register 206 STB 186 Storing Readings in mainframe memory 83 in memory 83 in shared memory 64 65 on VME memory card 64 65 150 Switchbox HP E1345A configured as 71 73 Switches logical address 22 23 Synchronizing Multimeter with a Computer 68 SYSTem Subsyste...

Страница 292: ...9 146 thermistor measurements 88 vs four wire measurements 87 U Understanding the Multimeter 75 116 Useful Tables 262 command and parameter opcodes 262 263 function and aperture change times 266 multimeter power on settings 265 register error codes 264 VME interrupts 267 Using a PC C language and HP IB card 60 62 CONFigure commands 76 79 HP E1345A configured as a switchbox 71 73 macros 274 MEASure...

Страница 293: ...Notes 292 HP E1326B E1411B 5 1 2 Digit Multimeter User s Manual Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Страница 294: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Отзывы: