HP E1418A Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Convertisseurs vidéo HP E1418A. HP E1418A User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 187
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Contents
HP E1418A 8/16-Ch D/A Converter User Manual
Warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
WARNINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Safety Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Declaration of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Reader Comment Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 1. Module Setup and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Module Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Ordering Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Field Kits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Terminal Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Front Panel Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Setting the Logical Address Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Module Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Installation in a Mainframe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Terminal Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Screw-Type Terminal Module (Standard) . . . . . . . . . . . . . . . . . . . . . . 22
Wiring the Terminal Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Attaching the Terminal Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Removing the Terminal Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Terminal Module Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Option A3E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Option A3H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Option 135 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Terminal Module Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Configuring the Terminal Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
P/J Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
V/I Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Terminal Module Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Voltage and Current Output Connections . . . . . . . . . . . . . . . . . . . . . . 33
Combining Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Connecting an External Trigger Source . . . . . . . . . . . . . . . . . . . . . . . 35
Using the CAL Output Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Initial Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Device Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Module Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Chapter 2. Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Program Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Querying Module Identification and Configuration . . . . . . . . . . . . . . . . . . . . 40
HP E1418A 8/16-Ch D/A Converter User Manual Contents 1
Vue de la page 0
1 2 3 4 5 6 ... 186 187

Résumé du contenu

Page 1 - Contents

ContentsHP E1418A 8/16-Ch D/A Converter User ManualWarranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 2

Notes10 HP E1418A User’s Manual

Page 3

SYSTemThe SYSTem subsystem returns information about the module.Subsystem Syntax SYSTem:ERRor? :VERSion?SYSTem:ERRor?SYSTem:ERRor? returns an error n

Page 4

TESTThe TEST subsystem provides commands used to run individual self-tests and toquery the results of previous self-tests. To run the complete set of

Page 5

TEST:TST[:RESults]?TEST:TST[:RESults]? returns an array showing the result of all self-testsperformed by the *TST? query.Parameters None.Comments • T

Page 6

*TST?*TST? performs all internal self-tests on the module and returns a 16-bit integerindicating the results of the self-test. All circuits on the m

Page 7 - HP E1418A User’s Manual 7

TRIGgerThe TRIGger subsystem controls when and how the outputs are enabled. Other commands, designed for use with the TRIGger subsystem are ABORt and

Page 8 - 8 HP E1418A User’s Manual

TRIGger:SOURceTRIGger:SOURce sets the trigger source for the module.ParametersParameterNameParameterTypeRange ofValuesDefault<source> discrete

Page 9 - HP E1418A User’s Manual 9

IEEE-488.2 Common Command Quick ReferenceThe following table lists the IEEE-488.2 Common (*) Commands that can be executedby the HP E1418A D/A module.

Page 10 - 10 HP E1418A User’s Manual

HP E1418A Command Quick ReferenceThe following table summarizes commands for the HP E1418A.Command DescriptionAPPLyn :CURRent <value | MIN | MAX

Page 11 - BUSINESS REPLY MAIL

Command DescriptionOUTPut:TTLTrgn[:STATe] <OFF | ON>Specifies which VXIbus TTLTRG line is enabled to source aVXIbus trigger when the module is t

Page 12 - 12 HP E1418A User’s Manual

Command DescriptionSTATus :OPERation:CONDition? Returns the contents of the Operation Status ConditionRegister. Reading the register does not affect i

Page 13 - Module Setup and Installation

Reader Comment SheetHP E1418A User’s ManualEdition 2You can help us improve our manuals by sharing your comments and suggestions. In appreciation of

Page 14 - Figure 1-1 shows the module

NotesHP E1418A Command Quick Reference110 HP E1418A SCPI Command Reference Chapter 3

Page 15 - – Ribbon Cable (Option A3H)

Appendix AHP E1418A SpecificationsDC Voltage Range: ±16 VResolution:16 bits (488 µV steps)Monotonic to 2.0 mVAccuracy:±(% of value + volts)After cali

Page 16 - Functional Description

GeneralCharacteristicsSettling Time:300 µS (+full scale to –full scale step, single channel, to accuracy listed previously)Isolation (for isolated cha

Page 17 - – Terminal Module

Appendix BHP E1418A Register-Based ProgrammingThe HP E1418A 8/16 Channel D/A Module is a register-based module. It doesnot support the VXIbus word s

Page 18 - Front Panel Connectors

Addressing the RegistersTo access a specific register for either read or write operations, the addressof the register must be used. The HP E1418A use

Page 19

Note Writing an address to the Logical Address Register is typically performedby the resource manager as a part of dynamic addressing. If the address

Page 20 - Module Installation

A16/A24 Windows By using window addressing, you can control the A24 space registers bymapping them onto the upper 16 of the A16 registers. This allow

Page 21

The Base Address When reading or writing to a module register, a hexadecimal or decimalregister address must be specified. This address consists of a

Page 22 - Terminal Modules

Register Offset The register offset is the register’s location in the block of 64 bytes thatbelong to the module. For example, the module’s Status/Co

Page 23 - Wiring the Terminal Module

Reset and RegistersFollowing power-on or a *RST command, the registers are put into thefollowing states:– The Manufacturer ID and Device ID Registers

Page 24

12 HP E1418A User’s Manual

Page 25 - Attaching the Terminal Module

Register MapsA16/A24 REGISTERSAddress Read Registers Write Registers TypeBase + 0016ID Register Logical Address Register VXIRequiredRegistersBase + 02

Page 26 - Removing the Terminal Module

A24 REGISTERSAddress Read Registers Write Registers TypeBase + 4016Ch 01 Main_DAC Immediate Channel Main DACImmediate Registers(New output valuesappe

Page 27 - Terminal Module Options

Address Read Registers Write Registers TypeBase + 8016Ch 01 Offset_DAC Channel Offset DACRegistersBase + 8216Ch 02 Offset_DAC Base + 8416Ch 03 Offs

Page 28 - Accessories

Address Read Registers Write Registers TypeBase + 10016Ch 01 Voltage Offset_Cal Channel Voltage OffsetCal Storage Registers(non-volatile)Base + 10216

Page 29 - Connectors

Address Read Registers Write Registers TypeBase + 14016Ch 01 Current Offset_Cal Channel Current OffsetCal Storage Registers(non-volatile)Base + 14216

Page 30 - Terminal Module Connectors

Address Read Registers Write Registers TypeBase + 18016Calibration resistor value Calibration Registers(non-volatile)Base + 18216Calibration resistor

Page 31

Register DescriptionsManufacturer IDRegisterThe Manufacturer ID Register is a VXIbus required register. A read of thisregister returns CFFF16 (-12289

Page 32 - Terminals

Device TypeRegisterThe Device Type Register is a VXIbus required register. This registerindicates the module’s configuration as either an 8-channel D

Page 33 - Terminal Module Connections

Passed: A one (1) in this field indicates the module has finished a reset orhas completed module initialization. A zero (0) in this field indicates t

Page 34 - Channels

Calibration ControlRegisterThe Calibration Control Register sets and reports calibration conditions.AddressBase + 0816Bit 15 14 13 12 1110090807060504

Page 35 - External Trigger

Chapter 1Module Setup and InstallationUsing This ChapterThis chapter provides general module information and tasks you mustperform to install and pre

Page 36 - Output Terminals

Cal Mode Sel: Writing a one (1) in this field sets the calibration system tocalibrate voltage. Writing a zero (0) in this field sets the calibration

Page 37 - Initial Operation

Software TriggerRegisterThe Software Trigger Register provides a means to trigger the module whensoftware trigger has been selected as the trigger sou

Page 38 - Identification

Trigger Source: This field selects the trigger source for trigger-enabledchannels.Trigger Source SelectedBits03 02 01 00TTLTRIG0* 0000TTLTRIG1* 0001TT

Page 39 - Programming Examples

Interrupt StatusRegisterThe Interrupt Status Register shows the state of the trigger ignored interruptcondition. The bit is a strobed interrupt sourc

Page 40

Channel ProgramJumper RegisterThe Channel Program Jumper Register returns the state of the P/J jumper oneach channel. Additional information about th

Page 41

Channel TriggerRegisterThe Channel Trigger Register reports the trigger status for each channel.AddressBase + 1816Bit 15 14 13 12 11 10 09 08 07 06 05

Page 42

Channel ModeRegisterThe Channel Mode Register reports or programs the voltage or currentoperating mode for each channel.AddressBase + 1A16Bit 15 14 13

Page 43

Card ControlRegisterThe Card Control Register allows for access to the A24 address space fromthe A16 address space. It also provides access to the no

Page 44

Notes Each incremental value of the A24 Window offsets the window by 32 bytes.Up to 512 bytes of A24 space can be pointed to.A24 Window values 816 thr

Page 45 - APPLy Output

Note The Main_DAC Triggered Registers, together with the Trigger ControlRegister, can be used to provide synchronized output changes on multiplechanne

Page 46

Each output channel is individually configurable to be either an isolatedoutput or a non-isolated output. Channel configuration to isolated ornon-iso

Page 47 - Error Checking

Note A different gain value is required for voltage and current output operation.Undefined Registers The registers from C016 through FE16 are undefine

Page 48

Channel VoltageGain CalibrationRegistersThe Channel Voltage Gain Calibration Registers store voltage gaincalibration constants in non-volatile memory.

Page 49

Channel CurrentOffset CalibrationRegistersThe Channel Current Offset Calibration Registers store current offsetcalibration constants in non-volatile m

Page 50 - SOURce Output

Channel CurrentGain CalibrationRegistersThe Channel Current Gain Calibration Registers store current gaincalibration constants in non-volatile memory.

Page 51

CalibrationResistor ValueRegistersThe Calibration Resistor Value Registers store the value of the resistor usedto calibrate current output. The Calib

Page 52 - Setting the Output Mode

Current CalibrationStatus RegisterThe Current Calibration Status Register provides a non-volatile record ofthe current calibration status for each cha

Page 53 - Controlling the Output Relay

CalibrationIsolation StatusRegisterThe Calibration Isolation Status Register provides a non-volatile record ofthe isolation status of each channel at

Page 54 - Triggering

Calibration CardConfigurationRegisterThe Calibration Card Configuration Register provides a non-volatile recordof the module configuration as either a

Page 55

Module SerialNumber RegistersThe Module Serial Number Registers provides a 10-byte module serialnumber stored in non-volatile memory.AddressBase + 18E

Page 56 - Using *OPC?

699 Reg_offset(20) = 40 ! A_24 Window Register (Channel 5 DAC and CAL).700 Reg_offset(21) = 42 ! A_24 Window Register (Channel 6 DAC and CAL).701 Reg_

Page 57 - Combining Output Channels

Ordering Options The HP E1418A may be ordered from Hewlett-Packard in a variety ofconfigurations. As ordered, the module has the following options:De

Page 58

Appendix CHP E1418A Error MessagesError TypesTable C-2 lists the error messages generated by the HP E1418A 8/16-ChannelD/A Converter Module firmware

Page 59 - Command Types

Error MessagesTable C-2. Error MessagesCode Error Messages Potential Cause(s)–141 Invalid character data An invalid SCPI keyword was used. –211 Trigg

Page 60 - SCPI Command Format

Code Error Messages Potential Cause(s)+3008 Invalid Calibration State An invalid sequence of calibration commands was received. For example, a CALn:CO

Page 61 - Parameters

Notes153 HP E1418A Error Messages Appendix C

Page 62 - SCPI Command Reference

Appendix DVoltage/Current Output AdjustmentUsing This AppendixThis appendix describes adjustment procedures. The procedures in thisappendix are inte

Page 63 - Subsystem Syntax ABORt

Calibration Constants and Non-Volatile MemoryThe accuracy of a channel output depends upon a number of calibrationconstants. Calibration constants ar

Page 64 - APPLyn:CURRent

Adjustment ProcedureAdjustment is performed on each channel, one at a time. Additionally,voltage output and current output each use unique calibratio

Page 65 - APPLyn:VOLTage

Voltage Adjustment Voltage output adjustment uses two of the CALibration subsystem queries.CALibrationn:CONFigure:VOLTage?CALibrationn:VALue:VOLTage?T

Page 66 - CALibration

Figure D-2. Voltage Calibration Connections (CAL)Figure D-3. Voltage Calibration Connections (CHAN)Appendix D Voltage/Current Output Adjustment 15

Page 67 - CALibration:CONDition?

Current Adjustment Current output uses an internal resistance value to calibrate all channels.This resistance value is approximately 244 Ω. Note You m

Page 68 - CALibration:RESet

Functional DescriptionThe HP E1418A provides great flexibility in configuration. This functionaldescription will help you become familiar with the va

Page 69 - CALibration:TEST?

Current output adjustment uses two of the CALibration subsystem queries.Current adjustment requires voltage measurements.CALibrationn:CONFigure:CURRen

Page 70 - CALibration:VALue:RESistance

Each channel will require multiple iterations of the CALn:VAL:CURR?<value> query. A minimum of 9 queries, to a maximum of 50 queries, willbe re

Page 71

Storing theAdjustmentsOnce all adjustments have been made using the procedures outlinedpreviously, you can store the new calibration constants in non-

Page 72

••/*** VOLTAGE OUTPUT ADJUSTMENT ***/ for (i=1;i<num_chan+1;i++) { result = 0; while (result < 1){err=viPrintf(dac, “CAL

Page 73 - CALibrationn:VALue:CURRent?

err=viScanf(dac, “%d”, &result); /* Enter integer returned *//*, returns a 1 when ready to calibrate */if(err < VI_SUCCESS) err_handler(dac, er

Page 74 - CALibrationn:VALue:VOLTage?

Notes165 Voltage/Current Output Adjustment Appendix D

Page 75

Appendix EConfiguration and DisassemblyUsing This AppendixThis appendix contains information about the mechanical and electricallayout of the module.

Page 76 - DIAGnostic

1st Value Returned Indicates an 8-channel or 16-channel configuration.Bit 1514131211109876543210Use Not Used ChannelsChannels can have one of two valu

Page 77 - DIAGnostic:CONFigure?

Adding 8 Channels Use this procedure to install an 8-Channel expansion kit (HP E1524A orHP E1525A). CAUTION Almost all electrical components can be da

Page 78 - DIAGnostic:OUTPut:ALL[:STATe]

Figure E-1. 8-Channel Disassembly169 Configuration and Disassembly Appendix E

Page 79 - DIAGnostic:TRIGgered?

As shown, there are four major assemblies that make up an HP E1418A:– Channels 1 through 8 main board and VXIbus backplane circuitry.– Channels 9 thro

Page 80 - INITiate

Figure E-2. 16-Channel DisassemblyAppendix E Configuration and Disassembly 170

Page 81 - OUTPut:TTLTrgn[:STATe]

InstallingIsolated/Non-IsolatedPlug-on ModulesUse this procedure to install the isolated plug-on kit (HP E1523A) or tochange the channel isolation con

Page 82 - OUTPutn[:STATe]

Figure E-3. Plug-on Channel LocationsFigure E-4. Installing Plug-on ModulesAppendix E Configuration and Disassembly 172

Page 83 - OUTPutn[:STATe]?

TroubleshootingThese procedures will help you isolate a failure to a particular assembly.The major assemblies of the HP E1418A are available on an exc

Page 84 - Subsystem Syntax SOURcen

Assembly Exchange The following assemblies are available for exchange.Part Number AssemblyE1418-69201 Main board and all sheet metal. Does NOT include

Page 85

Notes175 Configuration and Disassembly Appendix E

Page 86

IndexHP E1418A User’s Manual*CLS, 96–100, 106*DMC, 106*EMC, 106*EMC?, 106*ESE, 106*ESE?, 106*ESR?, 106*GMC?, 106*IDN?, 40, 106*LMC?, 106*OPC, 106*OPC

Page 87

constants, reloading, 68control register, 119, 129current mode, 71current process, 73–74equipment required, 155example program, 162–164interruption, 7

Page 88

DIAGnostic subsystem, 76–79*DMC, 106*EMC, 106*EMC?, 106*ESE, 106*ESE?, 106*ESR?, 106*GMC?, 106*IDN?, 40, 106INITiate subsystem, 80*LMC?, 106*OPC, 106*

Page 89 - SOURcen:FUNCtion:MODE

CAL terminals, 36, 155current calibration (CAL), 161current calibration (CHAN), 161current output, 33current output, combining, 34external trigger, 35

Page 90 - SOURcen:FUNCtion:MODE?

Front Panel ConnectorsFigure 1-3 shows the connections at the front panel connectors of the mainmodule.Figure 1-3. HP E1418A Front Panel Connector Pi

Page 91

FField Kits, 15, 167Four-wire Connections, 33Front Panel Connectors, 18Functional Description, 16GGain_DAC Registers, 139*GMC?, 106HHI Channel Output

Page 92

installing in mainframe, 20isolation rating, maximum, 34, 57, 112options available, 15programming examples, 39–58query current settings, 77query curre

Page 93

boolean, 61defined, 61discrete, 61numeric, 61optional, 61SCPI Commands, 61Pinoutfront panel connectors, 18terminal module connectors, 30Plug-On Module

Page 94

register offset, 118reset and registers, 119RegistersA16 address space, 114A16/A24 register map, 120A24 address space, 115A24 register map, 121–125add

Page 95 - Subsystem Syntax STATus

single internal, 101Sense Leads, 33Serial Number, 40, 148Series Connections, 34SettingCAL Store Enable Jumper, 20calibrated voltage output, 148–149cal

Page 96 - STATus:OPERation:ENABle

TEST:TST[:RESults]?, 102*TST?, 103*TRG, 106Triggerchannels, 104control register, 131–132external, 54external connections, 35idle state, 80ignored inte

Page 97 - STATus:PRESet

Offset_DAC registers, 139software trigger register, 131trigger control register, 131–132voltage calibration status register, 144VXI offset register, 1

Page 98 - STATus:QUEStionable:ENABle

Notes187 HP E1418A User’s Manual

Page 99 - STATus:QUEStionable[:EVENt]?

Setting the Logical Address SwitchFigure 1-4 shows the logical address switch location and setting. The logicaladdress switch factory setting is 72.

Page 100 - SYSTem:VERSion?

Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42APPLy Output . . . . .

Page 101 - TEST:NUMBer?

Module InstallationTo install the module:1. Verify the position of the CAL Store Enable Jumper for yourapplication. The Jumper, as shipped, is in th

Page 102 - TEST:TST[:RESults]?

To Remove a Module: To remove a module from a mainframe:1. Remove any terminal modules.2. Loosen the top and bottom screws securing the module in th

Page 103 - Parameters None

Terminal ModulesFour terminal modules are available for the HP E1418A; a screw-type, acrimp-and-insert type, a ribbon cable type, and an empty termina

Page 104 - TRIGger[:IMMediate]

Wiring the Terminal ModuleFigure 1-7 shows how to open and wire the HP E1418A terminal module.Figure 1-7. Wiring the HP E1418A Terminal Module (co

Page 105 - TRIGger:SOURce

Figure 1-7. Wiring the HP E1418A Terminal Module (continued from previous page)24 Module Setup and Installation Chapter 1

Page 106

Attaching the Terminal ModuleFigure 1-8 shows how to attach the HP E1418A terminal module.Figure 1-8. Attaching the HP E1418A Terminal ModuleChapter

Page 107

Removing the Terminal ModuleFigure 1-9 shows how to remove the HP E1418A terminal module.Figure 1-9. Removing the HP E1418A Terminal Module26 Modu

Page 108

Terminal Module OptionsBesides the standard screw-type terminal module, the HP E1418A can beordered with the following two options. One option (A3E)

Page 109 - Command Description

Crimp-and-InsertTerminal ModuleAccessoriesThe following accessories are necessary for use with crimp-and-insertOption A3E:Single-Conductor andContactA

Page 110

Extra Crimp-and-InsertConnectorsThe crimp-and-insert connector is normally supplied with Option A3E.Contact Hewlett-Packard if additional connectors a

Page 111 - HP E1418A Specifications

SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude] . . . . . . . . . . . . . 85SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude]? . . . .

Page 112

Terminal Module ConnectorsFigure 1-12 shows the connections at the terminal module connectors.Figure 1-12. HP E1418A Terminal Module Connector Pinout

Page 113 - Appendix B

Configuring the Terminal ModuleThe screw-type terminal module contains jumpers that control how theHP E1418A operates. The jumpers are shipped in a s

Page 114 - Addressing the Registers

Options A3E and A3HTerminalsThe P/J jumper connection for each channel is named CH X PRGM JMPRin the connection diagram on page 30. With no connectio

Page 115

Terminal Module ConnectionsEach channel has four output lines; HI, LO, HS (Hi Sense), and LS (LowSense). When using a channel in the voltage output m

Page 116

CombiningChannelsYou can combine channels in series to obtain higher output voltages or inparallel to obtain higher output currents. Channels in Serie

Page 117

Connecting anExternal TriggerSourceAn external trigger input is provided on the terminal module. Use theexternal trigger to externally synchronize mu

Page 118

Using the CALOutput TerminalsThe CAL Output Terminals provide one set of connections that can be usedto calibrate the output on all 16 channels. Cali

Page 119 - Reset and Registers

Initial OperationThis section provides a programming example to help verify correct moduleinstallation and operation. Additional programming examples

Page 120 - Register Maps

ModuleIdentificationThis example can be used to verify that the logical address has beencorrectly set, that the module is correctly installed, and tha

Page 121 - A24 REGISTERS

Chapter 2Programming ExamplesUsing This ChapterThis chapter provides examples and descriptions of the most commonoperations using the HP E1418A. Use

Page 122

Reset and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119Register Maps .

Page 123

Hewlett-Packard VTL function calls and data types typically begin with thelower case letters vi. Output and enter are performed with functions namedv

Page 124 - Base + 158

The DIAG:CONF? query returns six integers. The six integers returnedcontain the module configuration and have the following meaning.IntegerReturned M

Page 125

ConfigurationExampleThe following program segment demonstrates how to read the moduleidentification string and the configuration. The configuration i

Page 126 - Register Descriptions

/* Decode the second integer */result = config [1]; /* Terminal Module */if (result > 0) {printf (“Module does NOT have a terminal module i

Page 127 - VXI Status/Control

/* Decode the fifth integer */result=config[4]; /* Channel relay open or closed */if (num_chan < 9) result = result << 8; /* strip up

Page 128 - WRITE A24 Offset 0000000000

APPLy OutputThe APPLyn subsystem commands provide the easiest method to outputvoltages or currents./* Set channel 1 for 5.0 Volt output */APPLy1:VOLTa

Page 129 - Calibration Control

The output can also be disabled before changing the mode or output value.Use the OUTPutn commands to disable the output./* Set channel 1 for 5.0 Volt

Page 130 - Card Configuration

Error CheckingTo develop programs you will need to create one or more error checkingroutines. For example, you will need routines to check for errors

Page 131 - Trigger Control

SCPI error checking is illustrated in the following program example. TheSCPI error routine is named sys_error. Errors found are reported to thestand

Page 132 - Control Register

•••/*** SCPI Error check ***/void sys_err(ViSession resource) {char buf [1024] = {0};int err_no;err = viPrintf (resource, “SYST:ERR?\n”);

Page 133 - Isolation Status

Making Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Adjustment Procedure

Page 134 - Jumper Register

SOURce OutputSetting an output on a channel is a three step process:– Set the channel mode (voltage or current)– Set the channel output value (volts o

Page 135 - Channel Trigger

Like the APPLyn commands, you can change the output value by sendingadditional SOURcen commands. Changing the output value with theSOURcen commands d

Page 136 - Channel Relay

Setting the Output ModeThe output mode can be set using commands in the SOURce subsystem. SOURcen:FUNCtion:MODE VOLTageSOURcen:FUNCtion:MODE CURRentTh

Page 137 - Card Control

Controlling the Output RelayThere are three programming methods to enable the output of a channel(close the output relay).• The APPLyn:VOLTage <val

Page 138 - Triggered Registers

TriggeringTo synchronize outputs to external events, backplane events, or softwareevents use the TRIGger subsystem commands. Triggering an output fro

Page 139 - Gain_DAC

INITiate/* Send the trigger event */TRIGger:IMMediate/* Channels 1 and 2 output the programmed voltages */Note that the channels must be

Page 140 - Offset Calibration

Using *OPC?As shown, the examples have made no attempt to coordinate the programexecution with the HP E1418A module. In some cases, you may need to p

Page 141 - Gain Calibration

Combining Output ChannelsAs described on page 34, multiple outputs may be combined to obtain highervoltage or current outputs. A triggered output is

Page 142 - Channel Current

Notes58 Programming Examples Chapter 2

Page 143

Chapter 3HP E1418A SCPI Command ReferenceUsing This ChapterThis chapter describes Standard Commands for Programmable Instrumentation(SCPI) and summar

Page 144 - Status Register

Notes6 HP E1418A 8/16-Ch D/A Converter User Manual Contents

Page 145 - Current Calibration

SCPI Command FormatSCPI commands perform functions like setting outputs, querying instrument states,or retrieving data. The command structure is a hi

Page 146

ImpliedCommandsImplied commands appear in square brackets ([ ]) in the command syntax. (Notethat the brackets are not part of the command and are not

Page 147 - Checksum Register

LinkingCommandsLinking IEEE 488.2 Common Commands with SCPI Commands. Use asemicolon between the commands. For example:*RST;APPLy2:VOLT 10 or INIT:

Page 148 - Register Example

ABORtThe ABORt subsystem disables the trigger system and places the trigger system inthe trigger idle state.Subsystem Syntax ABORtParameters None.Comm

Page 149

APPLyThe APPLy subsystem enables and outputs a current or voltage on the specified channel.Subsystem Syntax APPLyn:CURRent <value | MIN | MAX | DEF

Page 150 - HP E1418A Error Messages

APPLyn:VOLTageAPPLyn:VOLTage <value | MIN | MAX | DEF> outputs a voltage on the specifiedchannel, n.ParametersParameterNameParameterTypeRange o

Page 151 - Error Messages

CALibrationThe CALibration commands are used during periodic calibration of the module.Calibration is described in Appendix D of this manual, beginnin

Page 152

CALibration:CONDition?CALibration:CONDition? queries the module type and calibration status. Thequery returns four 16-bit unsigned integers.Parameter

Page 153

CALibration:CONFigure:RESistance?CALibration:CONFigure:RESistance? configures the module to performcalibration of the internal calibration resistor a

Page 154 - Using This Appendix

CALibration:STOReCALibration:STORe loads the stored non-volatile memory calibration constantswith the calibration constants currently in use by the m

Page 155 - Making Connections

CertificationHewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlett-P

Page 156 - Adjustment Procedure

CALibration:VALue:RESistanceCALibration:VALue:RESistance <value> enters a new measured value to be usedas the internal calibration resistor con

Page 157

CALibrationn:CONFigure:CURRent?CALibrationn:CONFigure:CURRent? configures the channel for current modecalibration and returns a 0 or 1 to indicate th

Page 158

CALibrationn:CONFigure:VOLTage?CALibrationn:CONFigure:VOLTage? configures the channel for voltage modecalibration and returns a 0 or 1 to indicate th

Page 159

CALibrationn:VALue:CURRent?CALibrationn:VALue:CURRent? <value> enters a measured calibration valueand returns a value indicating the present st

Page 160

• A returned value of 5 (calibration aborted) is given if either:a. The command is received when the module is in voltage calibration orresistance ca

Page 161 - CALn:VAL:CURR?

• This query returns one of the following values:Return ValueMeaning0 Calibration is complete.New constants are in RAM.1 More measurements are needed.

Page 162 - Module to Use

DIAGnosticThe DIAGnostic subsystem contains commands used to check the moduleconfiguration, enable or disable all outputs simultaneously, change a cha

Page 163

DIAGnostic:CALibration:OUTPut[:MODE]?DIAGnostic:CALibration:OUTPut[:MODE]? queries the voltage calibration pathfor the module.Parameters Returns: str

Page 164

DIAGnostic:OUTPut:ALL[:STATe]DIAGnostic:OUTPut:ALL[:STATe] <state> opens or closes all channel outputrelays at once.ParametersParameterNamePara

Page 165

DIAGnostic:TRIGgered?DIAGnostic:TRIGgered? returns a 16-bit word indicating the current trigger statusof the module.Parameters Returns: unsigned 16-b

Page 166 - Configuration and Disassembly

Frame or chassis ground terminal—typi-cally connects to the equipment’s metalframe.Alternating current (AC).Direct current (DC). Indicates hazardous v

Page 167 - Changing

INITiateThe INITiate subsystem changes the trigger state from idle to wait-for-trigger.Subsystem Syntax INITiate[:IMMediate]INITiate[:IMMediate]Change

Page 168 - – Static Wrist Strap

OUTPutThe OUTPut subsystem provides commands to open or close the output relay oneach channel and to enable the module to output the selected trigger

Page 169

OUTPut:TTLTrgn[:STATe]?OUTPut:TTLTrgn[:STATe]? queries if the specified VXIbus TTLTRG line is set tobe a source of trigger from the module.Parameters

Page 170

OUTPutn[:STATe]?OUTPutn[:STATe]? queries the state of the specified channel output relay andreturns a 0 or 1.ParametersParameterNameParameterTypeRang

Page 171 - Plug-on Modules

SOURceThe SOURce subsystem provides commands used to output a voltage or current ateach channel.Subsystem Syntax SOURcen:CURRent[:LEVel][:IMMediate][:

Page 172

SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude]SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude] <value | MIN | MAX | DEF>immediately outputs the

Page 173 - Troubleshooting

SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude]?SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude]? [<MIN | MAX | DEF>queries the last output valu

Page 174 - Assembly

SOURcen:CURRent[:LEVel]:TRIGgered[:AMPLitude]SOURcen:CURRent[:LEVel]:TRIGgered[:AMPLitude] <value | MIN | MAX | DEF>outputs the current set in v

Page 175

SOURcen:CURRent[:LEVel]:TRIGgered[:AMPLitude]?SOURcen:CURRent[:LEVel]:TRIGgered][:AMPLitude]? [<MIN | MAX | DEF>queries the last value written

Page 176 - HP E1418A User’s Manual

SOURcen:FUNCtion:MODESOURcen:FUNCtion:MODE <mode> configures channel n for either current orvoltage output.ParametersParameterNameParameterType

Page 177 - 177 HP E1418A User’s Manual

Declaration of Conformityaccording to ISO/IEC Guide 22 and EN 45014Manufacturer’s Name: Hewlett-Packard CompanyLoveland Manufacturing CenterManufactur

Page 178

SOURcen:FUNCtion:MODE?SOURcen:FUNCtion:MODE? queries channel n for current or voltage outputmode. The query returns a string.ParametersParameterName

Page 179 - 179 HP E1418A User’s Manual

SOURcen:VOLTage[:LEVel][:IMMediate][:AMPLitude]SOURcen:VOLTage[:LEVel][:IMMediate][:AMPLitude] <value | MIN | MAX | DEF>immediately outputs the

Page 180

SOURcen:VOLTage[:LEVel][:IMMediate][:AMPLitude]?SOURcen:VOLTage[:LEVel][:IMMediate][:AMPLitude]? [<MIN | MAX | DEF>queries the last output valu

Page 181 - 181 HP E1418A User’s Manual

SOURcen:VOLTage[:LEVel]:TRIGgered[:AMPLitude]SOURcen:VOLTage[:LEVel]:TRIGgered[:AMPLitude] <value | MIN | MAX | DEF>outputs the voltage set in v

Page 182

SOURcen:VOLTage[:LEVel]:TRIGgered[:AMPLitude]?SOURcen:VOLTage[:LEVel]:TRIGgered][:AMPLitude]? [<MIN | MAX | DEF>queries the latest value writte

Page 183 - 183 HP E1418A User’s Manual

STATusThe STATus subsystem controls the SCPI-defined Operation and QuestionableStatus Registers and the Standard Event Register. Each is comprised of

Page 184

STATus:OPERation:CONDition?STATus:OPERation:CONDition? returns the contents of the Operation StatusCondition Register. Reading the register does not

Page 185 - 185 HP E1418A User’s Manual

STATus:OPERation:ENABle?STATus:OPERation:ENABle? returns the value of the mask set for the OperationStatus Register.Parameters Returns: 16-bit signed

Page 186 - register, 128

STATus:QUEStionable:CONDition?STATus:QUEStionable:CONDition? returns the value of the Questionable StatusCondition Register. Reading the register do

Page 187 - 187 HP E1418A User’s Manual

STATus:QUEStionable:ENABle?STATus:QUEStionable:ENABle? returns the mask set for the Questionable StatusEnable Register.Parameters Returns: 16-bit sig

Commentaires sur ces manuels

Pas de commentaire