Where to Find it - Online and Printed Information:System installation (hardware/software) ...VXIbus Configuration Guide(Supplied with Agilent
8 Notes:
98 Agilent E8462A Relay Multiplexer Command Reference [ROUTe:]SCAN:MODE[ROUTe:]SCAN:MODE <mode> Sets the multiplexer channels defined by the [
Agilent E8462A Relay Multiplexer Command Reference 99[ROUTe:]SCAN:MODE?[ROUTe:]SCAN:MODE? Returns the current state of the scan mode. The command
100 Agilent E8462A Relay Multiplexer Command Reference [ROUTe:]SCAN:PORT ABUS with 2-Wire Functions: With FUNC set to WIRE2, WIRE2X2, WIRE2X4 or WIR
Agilent E8462A Relay Multiplexer Command Reference 101STATusThe STATus subsystem reports the bit values of the Operation Status Register. It also a
102 Agilent E8462A Relay Multiplexer Command Reference
Agilent E8462A Relay Multiplexer Command Reference 103STATus:OPERation:CONDition?STATus:OPERation:CONDition? Returns the state of the Condition Reg
104 Agilent E8462A Relay Multiplexer Command Reference Returned Data after sending the STATus:OPERation[:EVENt]? Command: The command returns "+
Agilent E8462A Relay Multiplexer Command Reference 105SYSTemThe SYSTem subsystem returns the numbers and messages in the error queue of a switchbox,
106 Agilent E8462A Relay Multiplexer Command Reference SYST:CDES?Return the description.SYSTem:CPONSYSTem:CPON <number> | ALL Sets the selecte
Agilent E8462A Relay Multiplexer Command Reference 107SYSTem:ERRor?SYSTem:ERRor? Returns the error numbers and corresponding error messages in the
9Notes:
108 Agilent E8462A Relay Multiplexer Command Reference TESTThe TEST command subsystem allows you to cycle through a particular self-test a specified
Agilent E8462A Relay Multiplexer Command Reference 109Example Cycle through a self-test and return the number of times it failed.TEST:NUMB? 110,5Cyc
110 Agilent E8462A Relay Multiplexer Command Reference TRIGgerThe TRIGger command subsystem controls the triggering operation of multiplexer modules
Agilent E8462A Relay Multiplexer Command Reference 111ParametersComments Command Not Supported. Attempting to change the TRIGger:SLOPe to anything
112 Agilent E8462A Relay Multiplexer Command Reference external trigger source (with an TRIGger:SOURce EXTernal command).Using TTL or ECL Trigger Bus
Agilent E8462A Relay Multiplexer Command Reference 113Increment loopIncrement loop count.TRIGger:SOURce?TRIGger:SOURce? Returns the current trigger
114 Agilent E8462A Relay Multiplexer Command Reference IEEE 488.2 Common Command ReferenceThe following table lists the IEEE 488.2 Common (*) Command
Agilent E8462A Relay Multiplexer Command Reference 115SCPI Command Quick ReferenceTable 3-3. Agilent E8462A SCPI Command Quick Reference.Command Des
116 Agilent E8462A Relay Multiplexer Command Reference
Agilent E8462A Scanning Voltmeter Application Examples 117Chapter 4Chapter 4Agilent E8462A Scanning VoltmeterApplication ExamplesUsing This ChapterThi
10 Notes:
118 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4Reset ConditionsThis section describes the power-on and reset condition the E8462A
Agilent E8462A Scanning Voltmeter Application Examples 119Chapter 4.The Scanning VoltmeterThe switchbox device driver discussed in Chapter 2 DOES NOT
120 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4The analog bus provides access to all wires of the channel regardless of being con
Agilent E8462A Scanning Voltmeter Application Examples 121Chapter 4 Note: When the multimeter buffer fills, measurements are suspended until reading
122 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4Scanning Voltmeter Command Quick ReferenceThe following tables summarize SCPI comm
Agilent E8462A Scanning Voltmeter Application Examples 123Chapter 4[SENSe:] FUNCtion[:<function>]FUNCtion?RESistance:APERture <time> | MIN
124 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4Notes:
Agilent E8462A Specifications 125Appendix AAgilent E8462A SpecificationsGeneral CharacteristicsModule Size/Device Type C-Size VXIbus, Register based
126 Agilent E8462A Specifications Input CharacteristicsThese limits apply only if there are no connections made to power mains.Maximum InputNOTES:a.
Agilent E8462A Specifications 127AC Performance(Typical)Bandwidth, 50 Source/Load:Closed Channel Capacitance:Open channel Capacitance (to either op
Configuring the Agilent E8462A Multiplexer 11Chapter 1Configuring the Agilent E8462A MultiplexerUsing This ChapterThis chapter provides general modu
128 Agilent E8462A Specifications Relay Life Electromechanical relays are subject to normal wear-out. Relay life depends on several factors. The effe
Register-Based Programming 129Appendix BRegister-Based ProgrammingAbout This AppendixThe Agilent E8462A 256-Channel Relay Multiplexer is a register-
130 Register-Based Programming A16 Address SpaceOutside the CommandModuleWhen the Agilent E1406A Command Module is not part of your VXIbus system (Fi
Register-Based Programming 131A16 Address SpaceInside the CommandModule or MainframeWhen the A16 address space is inside the Agilent E1406A Command
132 Register-Based Programming Register Offset The register offset is the register's location in the block of 64 address bytes. For example, the
Register-Based Programming 133Register DescriptionsThe Multiplexer has 25 registers (refer to Table B-1). This section contains a description of eac
134 Register-Based Programming There are eight relay registers driving the 256 channels of the Multiplexer and two tree relay registers controlling t
Register-Based Programming 135Status/Control RegisterBits Defined:Resetting the Module Follow this procedure to reset the module. • Set the SYSFAIL
136 Register-Based Programming Relay ControlRegistersWriting to the Relay Control Registers (base + 20h to base + 34h) allows you to open or close a
Register-Based Programming 137Bank 5 Channel 000 - 015 Relay Control Register 5 (Base + 2Ah)Bank 6 Channel 000 - 015 Relay Control Register 6 (Base
12 Configuring the Agilent E8462A Multiplexer Tree relays T0 through T21 (Channel 9000 through Channel 9021) con- figure the module to the desired op
138 Register-Based Programming Timer ControlRegisterThis register provides a programmable timer for relay settling time. Programmable times are 2 mS
Register-Based Programming 139Program Timing and ExecutionThis section contains flowcharts and comments for using register programming to close/open
140 Register-Based Programming Using a Multimeterwith the MultiplexerThis flowchart shows the timing sequence between closing an Agilent E8462A Multi
Register-Based Programming 141• Multimeter status bit 5 (multimeter complete) is monitored to determine when the analog-to-digital (A/D) conversion
142 Register-Based Programming Beginning of Program/* This program reads the ID Register, reads the Device Type Register, *//* reads the Status Regis
Register-Based Programming 143err=viIn16(mux,VI_A16_SPACE, 0x20,&bank0_ch);if(err<VI_SUCCESS) err_handler(mux,err);printf(“Bank 0 ch 000-015
144 Register-Based Programming
Error Messages 145Appendix CError MessagesError TypesTable C-2 lists the error messages generated by the Agilent E8462A Relay Multiplexer module fir
146 Error Messages Table C-2. Multiplexer Error MessagesCode Error Message Potential Cause(s)-211 Trigger ignored Trigger received when scan not enab
IndexIndex 147AA16 Address Space, 129, 129A16 Address Space Inside the Command Module, 131A16 Address Space Outside the Command Module, 130Abbrevia
Configuring the Agilent E8462A Multiplexer 13Figure 1-1. Agilent E8462A Simplified Schematic
148 IndexCommand Quick ReferenceScanning Voltmeter, 122Command Reference, 67command types, 67CommandsARM subsystem, 72, 72, 72CLEAR, 71, 81DIAGnost
Index 149Errormessages in error queue, 107numbers in error queue, 107queue, maximum number, 107Error Checkingusing interrupts with, 53Error Conditi
150 IndexNumberscard, 30channel, 31Numeric Command Parameters, 70numeric parameters, 69OOne-Wire Channel Switching, 38*OPC?, 89, 95Common (*) Comma
Index 151Registersbase address, 129condition, 103Event, 103event, 103operation status, 101, 101, 103, 103, 104reading registers, 129reading the rel
152 IndexSCPI Commandsabbreviated, 68ARM subsystem, 72, 72, 72boolean parameters, 69command separator, 68DIAGnostic subsystem, 74discrete parameter
Index 153Switching or Scanning, 36Synchronizing the Multiplexer with a Multimeter, 46SYSTemCDEScription?, 105CPON, 106CTYPe?, 106ERRor?, 107SYSTem
154 Index
14 Configuring the Agilent E8462A Multiplexer Warnings and CautionsWARNING SHOCK HAZARD. Only qualified, service-trained personnel who are aware of t
Configuring the Agilent E8462A Multiplexer 15Configuring the Multiplexer ModuleThe Multiplexer module can be configured to the operating modes throu
16 Configuring the Agilent E8462A Multiplexer Setting the InterruptPriority LineFor most applications the default priority line should not have to be
Configuring the Agilent E8462A Multiplexer 17Installing the Multiplexer in a MainframeThe Agilent E8462A may be installed in any slot (except slot 0
18 Configuring the Agilent E8462A Multiplexer Connecting Field WiringField WiringNot Using OptionalTerminal CardsThe E8462A IS NOT supplied with a t
Configuring the Agilent E8462A Multiplexer 19A single-conductor with contact (a crimp-and-insert contact is crimped onto one end, the other end is n
20 Configuring the Agilent E8462A Multiplexer A1 B1 C1 D1 E1CH 0 CH 32 NC CH 64 CH 96CH 1 CH 33 NC CH 65 CH 97CH 2 CH 34 NC CH 66 CH 98CH 3 CH 35
Configuring the Agilent E8462A Multiplexer 21 A1 B1 C1 D1 E1CH 0 HI CH 0 LO NC CH 32 LO CH 32 HICH 1 HI CH 1 LO NC CH 33 LO CH 33 HICH 2 HI CH
22 Configuring the Agilent E8462A Multiplexer NOTE: 3-Wire Mode does not use the column E connections.A1 B1 C1 D1 E1CH 0 HI 1 CH 0 LO 1 NC CH 0 LO
Configuring the Agilent E8462A Multiplexer 23Connecting theAnalog BusThe analog bus provides a common bus to all switch modules in multiple switch c
24 Configuring the Agilent E8462A Multiplexer Terminal Cards Three optional terminal cards are available for the Agilent E8462A: • Option 012 Crimp-a
Configuring the Agilent E8462A Multiplexer 25impedance when excessive current is flowing in the channel. For example, if the contacts of one relay a
26 Configuring the Agilent E8462A Multiplexer Wiring a Terminal Card Figure 1-11 shows how to connect wire to the optional terminal blocks.Figure 1-1
Configuring the Agilent E8462A Multiplexer 27Figure 1-11. Wiring a Terminal Card (continued)See Figure 1-12 for more detail.Mark the lastdigit of th
Contents Agilent E8462A User’s Manual Contents 1WARRANTY STATEMENT...
28 Configuring the Agilent E8462A Multiplexer Attaching a TerminalBlock to the MultiplexerFigure 1-12 shows how to attach an optional terminal block
Configuring the Agilent E8462A Multiplexer 29Programming the MultiplexerTo program the Agilent E8462A Multiplexer using SCPI, you must know the inte
30 Configuring the Agilent E8462A Multiplexer Refer to Chapter 3 of this Manual, the command [ROUTe:]CLOSe for the paired channel information.You mus
Configuring the Agilent E8462A Multiplexer 31Channel Numbers,Ranges, and ListsThe Agilent E8462A Multiplexer channel numbers are 0000 through 0255 u
32 Configuring the Agilent E8462A Multiplexer Initial OperationYou must download the Agilent E8462A SCPI driver into the Agilent E1405/E1406 Command
Configuring the Agilent E8462A Multiplexer 33Example: Reset,Self Test, ModuleID, and CloseChannelThe following example reads the module ID string,
34 Configuring the Agilent E8462A Multiplexer /* Query State of Channel 002 */errStatus=viQueryf(E8462A,”ROUT:CLOS? (@10002)\n”,”%t”,ch_state);if (VI
Using the Multiplexer 35Chapter 2Using the MultiplexerWhat’s in This ChapterThis chapter contains the following sections:• Reset Conditions . . . .
36 Using the Multiplexer Switching or ScanningThere are two general ways to use the E8462A Relay Multiplexer. First, you can use the ROUTe:FUNCTion c
Using the Multiplexer 37PerformingMeasurements viaAnalog BusTo perform measurements via analog bus, you need to either manually close the analog bus
2 Agilent E8462A User’s Manual ContentsMode: WIRE1x4, WIRE2x4, WIRE4x2 ...
38 Using the Multiplexer Mode: WIRE1 Figure 2-1 shows the 1-Wire mode (configured as a 1 x 256 multiplexer).• Tree Relays: T0 through T7 are closed t
Using the Multiplexer 39Mode: WIRE2 Figure 2-2 shows the 2-Wire mode. All 256 channels form 128 2-wire pairs which connect to Terminal Bus Ter0 and
40 Using the Multiplexer Mode: WIRE3 andWIRE4The same basic configuration is used for both the 3-Wire and the 4-Wire modes. Refer to Figure 2-3. In t
Using the Multiplexer 41NOTE: See Figure 1-8 for 3-wire and 4-wire front panel pin-out.Figure 2-3. 3-Wire and 4-wire Operating Mode3-Wire uses Ter0
42 Using the Multiplexer Mode: WIRE1x2 andWIRE2x2The Agilent E8462A can be configured as two 128 x 1 or two 64 x 2 multiplexers. Figure 2-4 illustra
Using the Multiplexer 43Mode: WIRE1x4,WIRE2x4,WIRE4x2The Agilent E8462A can be configured as four 64 x 1, four 32 x 2 and two 32 x 4 multiplexers. I
44 Using the Multiplexer Mode: WIRE1x8,WIRE2x8,WIRE4x4The Agilent E8462A can be configured as eight 32 x 1, eight 16 x 2 and four 16 x 4 multiplexers
Using the Multiplexer 45Scanning ChannelsScanning the Multiplexer channels consists of sequentially closing a channel (and its associated tree relay
46 Using the Multiplexer You can scan a channel or a list of channels using the SCAN command. The analog bus connection control relays (CH9200-9204)
Using the Multiplexer 47Figure 2-8. Scanning with VXIbus TriggersThe following example program was developed with the ANSI C language using the Agil
Agilent E8462A User’s Manual Contents 3OUTPut[:EXTernal][:STATe] ... 84OU
48 Using the Multiplexer {ViStatus errStatus;/*Status from each VISA call*/ViSession viRM;/*Resource mgr. session */ViSession E8462A;/* Module sessio
Using the Multiplexer 49/* Set Multimeter for 10 triggers */errStatus = viPrintf(E1412A, “TRIG:COUN 10\n”);if(VI_SUCCESS > errStatus)printf(“ER
50 Using the Multiplexer /* Pause until ready */errStatus = viQueryf(E8462A, “*OPC?\n”,”%t”,opc_int);if(VI_SUCCESS > errStatus){printf(“ERROR: viQ
Using the Multiplexer 51Using BUS Triggerswith an External Deviceto Scan ChannelsRefer to Figure 2-9. This example uses the BUS trigger (GET or *TRG
52 Using the Multiplexer Recalling and Saving StatesThis section contains information about saving and recalling a Multiplexer module state.Saving St
Using the Multiplexer 53Detecting Error ConditionsThere are two general approaches to error checking. The simplest, but most time consuming, is to a
54 Using the Multiplexer Routing RelayOperationThe Agilent E8462A uses eight Form C (C100 - C107) relays to route closed channels to the appropriate
Using the Multiplexer 55WIRE1 Mode TopologyTable 2-2. One 1-Wire X 256-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Channe
56 Using the Multiplexer WIRE2 Mode TopologyTable 2-3. One 2-Wire X 128-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Channe
Using the Multiplexer 57WIRE3 and WIRE4 Mode TopologyTable 2-4. One 3-Wire (or 4-Wire) X 64-Channel Topology Table.Channel # Relay Closure Channel #
4 Agilent E8462A User’s Manual Contents4-Wire Ohms Measurements ...121Sca
58 Using the Multiplexer WIRE1X2 Mode TopologyTable 2-5. Two 1-Wire X 128-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Chan
Using the Multiplexer 59WIRE1X4 Mode TopologyTable 2-6. Four 1-Wire X 64-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Chan
60 Using the Multiplexer WIRE1X8 Mode TopologyTable 2-7. Eight 1-Wire X 32-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Cha
Using the Multiplexer 61WIRE2X2 Mode TopologyTable 2-8. Two 2-Wire X 64-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Chann
62 Using the Multiplexer WIRE2X4 Mode TopologyTable 2-9. Four 2-Wire X 32-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Chan
Using the Multiplexer 63WIRE2X8 Mode TopologyTable 2-10. Eight 2-Wire X 16-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Ch
64 Using the Multiplexer WIRE4X2 Mode TopologyTable 2-11. Two 4-Wire X 32-Channel Topology Table.Channel # Relay Closure Channel # Relay Bank-Ch Chan
Using the Multiplexer 65WIRE4X4 Mode TopologyTable 2-12. Four 4-Wire X 16-Channel Topology Table.Channel # Relay Closure Channel # Relay Closure Cha
66 Using the Multiplexer
Agilent E8462A Relay Multiplexer Command Reference 67Chapter 3Agilent E8462A Relay MultiplexerCommand ReferenceUsing This ChapterThis chapter descri
5CertificationAgilent Technologies, Inc. certifies that this product met its published specifications at the time of shipment from the factory. Agi
68 Agilent E8462A Relay Multiplexer Command Reference Note There is a space between the second level command (for example, CLOSe) and the <channel
Agilent E8462A Relay Multiplexer Command Reference 69Linking Multiple SCPI Commands From the Same Subsystem. Use only a semicolon between commands
70 Agilent E8462A Relay Multiplexer Command Reference An example is the TRIGger:SOURce <source> command where source can be BUS, EXTernal, HOLD
Agilent E8462A Relay Multiplexer Command Reference 71ABORtThe ABORt command stops a scan in progress when the scan is enabled via the interface and
72 Agilent E8462A Relay Multiplexer Command Reference ARMThe ARM subsystem selects the number of scanning cycles (1 to 32767) for each INITiate comma
Agilent E8462A Relay Multiplexer Command Reference 73ParametersComments Related Commands: INITiate[:IMMediate]Example Query Number of ScansThis exam
74 Agilent E8462A Relay Multiplexer Command Reference DIAGnosticThe DIAGnostic subsystem controls setting and querying the Multiplexer’s interrupt li
Agilent E8462A Relay Multiplexer Command Reference 75DIAGnostic:INTerrupt[:LINE]DIAGnostic:INTerrupt[:LINE] <card_number>, <line_number>
76 Agilent E8462A Relay Multiplexer Command Reference DIAGnostic:INTerrupt:TIMerDIAGnostic:INTerrupt:TIMer <card_number>, <time> sets the
Agilent E8462A Relay Multiplexer Command Reference 77DIAGnostic:SCAN:DELayDIAGnostic:SCAN:DELay <card_number>, delay_time sets the amount of e
6 Safety SymbolsInstruction manual symbol affixed to product. Indicates that the user must refer to the manual for specific WARNING or CAUTION inform
78 Agilent E8462A Relay Multiplexer Command Reference DISPlayThe DISPlay subsystem monitors the channel state of a selected module (or card) in a swi
Agilent E8462A Relay Multiplexer Command Reference 79DISPlay:MONitor[:STATe]DISPlay:MONitor[:STATe] <mode> turns the monitor mode ON or OFF.
80 Agilent E8462A Relay Multiplexer Command Reference three hexidecimal displays which show the values of the two Tree registers and the Analog Bus r
Agilent E8462A Relay Multiplexer Command Reference 81INITiateThe INITiate command subsystem selects continuous scanning cycles and starts the scanni
82 Agilent E8462A Relay Multiplexer Command Reference INITiate:CONTinuous?INITiate:CONTinuous? Queries the scanning state. With continuous scanning
Agilent E8462A Relay Multiplexer Command Reference 83OUTPutThe OUTPut command subsystem selects the source of the output trigger generated when a ch
84 Agilent E8462A Relay Multiplexer Command Reference *RST Condition: OUTPut:ECLTrgn[:STATe] OFF (disabled)Example Enabling ECL Trigger Bus Line 0OUT
Agilent E8462A Relay Multiplexer Command Reference 85*RST Condition: OUTPut[:EXTernal][:STATe] OFF (disabled)Example Enabling "Trig Out" P
86 Agilent E8462A Relay Multiplexer Command Reference Related Commands: [ROUTe:]SCAN, TRIGger:SOURce, OUTPut:TTLTrgn[:STATe]?*RST Condition: OUTPut:T
Agilent E8462A Relay Multiplexer Command Reference 87[ROUTe:]The [ROUTe:] command subsystem controls switching and scanning operations for multiplex
7Declaration of ConformityDeclarations of Conformity for this product and for other Agilent products may be downloaded from the Internet. There are
88 Agilent E8462A Relay Multiplexer Command Reference Comments The [ROUTe:]FUNCtion command is used to selct the mode for the Agilent E8462A module.
Agilent E8462A Relay Multiplexer Command Reference 89• Closure order for multiple channels with a single command is not guaranteed.Note Channel numb
90 Agilent E8462A Relay Multiplexer Command Reference 20067 closes channel 67 of card #2.[ROUTe:]CLOSe?[ROUTe:]CLOSe? <channel_list> Returns t
Agilent E8462A Relay Multiplexer Command Reference 91[ROUTe:]FUNC opens relays: Sending the ROUT:FUNC command will automatically open all relays on
92 Agilent E8462A Relay Multiplexer Command Reference Example Configuring Multiplexer ModeThis example configures card 01 of a single-module switchbo
Agilent E8462A Relay Multiplexer Command Reference 93ParametersComments Select MODE with [ROUTe:]FUNCtion command. The ROUT:FUNC command is used to
94 Agilent E8462A Relay Multiplexer Command Reference one channel per MUX can be closed at any time in the WIRE1 modes due to the need of the control
Agilent E8462A Relay Multiplexer Command Reference 95- 9201 disconnects analog L1 from the low side of the channel connection.- 9202 disconnects ana
96 Agilent E8462A Relay Multiplexer Command Reference [ROUTe:]SCAN[ROUTe:]SCAN <channel_list> Defines the channels to be scanned. Channel_lis
Agilent E8462A Relay Multiplexer Command Reference 97for valid card, and channel numbers. An error is generated for an invalid channel list.64 Chan
Comentários a estes Manuais