Where to Find it - Online and Printed Information:System installation (hardware/software) ...VXIbus Configuration Guide*Agilent VIC (VXI inst
8 Notes:
98 Agilent E1330B Digital I/O Module Command ReferenceChapter 5IEEE 488.2 Common CommandsThe following table lists the IEEE 488.2 Common (*) Commands
Agilent E1330B Digital I/O Module Command Reference 99Chapter 5Command Quick ReferenceThe following tables summarize SCPI Commands for the Agilent E
100 Agilent E1330B Digital I/O Module Command ReferenceChapter 5[SOURce:]DIGital:CONTroln:POLarity <POS|NEG>DIGital:CONTroln:POLarity?DIGital:CO
Agilent E1330B Digital I/O Module Command Reference 101Chapter 5[SOURce:](continued)DIGital:IOn?DIGital:TRAce:CATalog?DIGital:TRAce[:DATA] <name&
102 Agilent E1330B Digital I/O Module Command ReferenceChapter 5Notes:
Agilent E1330B Digital I/O Specifications 103Appendix AAppendix AAgilent E1330B Digital I/O SpecificationsLogic Levels:TTL Compatible, 5V maxData Li
104 Agilent E1330B Digital I/O Specifications Appendix ATypical Data Line Current vs Data Line Voltage:Power Requirements:Voltage: +5 VPeak module cu
Agilent E1330B Digital I/O Module Register Information 105Appendix BAppendix BAgilent E1330B Digital I/O Module RegisterInformationUsing This Append
106 Agilent E1330B Digital I/O Module Register InformationAppendix BThe Base Address When you are reading or writing to a module register, a hexadecim
Agilent E1330B Digital I/O Module Register Information 107Appendix BA16 Address SpaceInside the CommandModule or MainframeWhen the A16 address space
9Notes:
108 Agilent E1330B Digital I/O Module Register Information Appendix BRegister Offset The register offset is the register's location in the block
Agilent E1330B Digital I/O Module Register Information 109Appendix BReset and RegistersWhen the Digital I/O module undergoes a power on or *RST in S
110 Agilent E1330B Digital I/O Module Register InformationAppendix BThe module is a register-based slave/interrupter device, supporting VME D16, D8(O)
Agilent E1330B Digital I/O Module Register Information 111Appendix BRegister DescriptionsThe following pages detail register descriptions of the Dig
112 Agilent E1330B Digital I/O Module Register InformationAppendix BPort InterruptControl RegisterThe Port Interrupt Control Register is a read/write
Agilent E1330B Digital I/O Module Register Information 113Appendix BPort TransferControl RegisterThe Port Transfer Control Register controls transfe
114 Agilent E1330B Digital I/O Module Register InformationAppendix BPort Control/Status RegisterThe Port Control/Status Register shows the status of S
Agilent E1330B Digital I/O Module Register Information 115Appendix BI/O This is a read/write bit. Read this bit to find the current status of the I/
116 Agilent E1330B Digital I/O Module Register InformationAppendix BPort HandshakeRegisterThe Port Handshake Register determines the type of handshake
Agilent E1330B Digital I/O Module Register Information 117Appendix BPort Delay Register The Port Delay Register sets the delay time, Td. Delay time
10 Notes:
118 Agilent E1330B Digital I/O Module Register InformationAppendix BNote If you are using the output STRobe or PULSe handshake, you can specify delay
Agilent E1330B Digital I/O Module Register Information 119Appendix BA Register-Based Output AlgorithmThe following algorithm describes the procedure
120 Agilent E1330B Digital I/O Module Register InformationAppendix BA Register-Based Input AlgorithmThe following algorithm describes the procedure yo
Agilent E1330B Digital I/O Module Register Information 121Appendix BProgramming ExamplesThe examples in this section demonstrate how to program the
122 Agilent E1330B Digital I/O Module Register InformationAppendix BResetting theModuleThe following program resets the Agilent E1330 Digital I/O modu
Agilent E1330B Digital I/O Module Register Information 123Appendix BReading theID, DeviceType, andStatusRegistersThe following examples read the mod
124 Agilent E1330B Digital I/O Module Register InformationAppendix BC Version#include <stdio.h>#include <chpib.h>#include <cfunc.h>#
Agilent E1330B Digital I/O Module Register Information 125Appendix BWriting an8-Bit ByteUsing the output algorithm described earlier, the following
126 Agilent E1330B Digital I/O Module Register InformationAppendix BC Version /* writing an 8-bit byte */#include <stdio.h>#include <chpib.h&
Agilent E1330B Digital I/O Module Register Information 127Appendix BWriting a16-Bit WordSimilar to the last program example, this program outputs a
Getting Started 11Chapter 1Chapter 1Getting StartedUsing This ChapterThis chapter describes the Quad 8-bit Digital I/O Module and how to program the
128 Agilent E1330B Digital I/O Module Register InformationAppendix BReading an8-Bit ByteUsing the input algorithm described earlier, the following pro
Agilent E1330B Digital I/O Module Register Information 129Appendix BC Version /* reading an 8-bit byte */ #include <stdio.h>#include <chpib
130 Agilent E1330B Digital I/O Module Register InformationAppendix BIOEOI (7L, 0); IOEOL (7L, " ", 0);IOOUTPUTS (70900L, "DIAG:POKE &qu
Agilent E1330B Digital I/O Module Register Information 131Appendix BWhen debugging, it is often necessary to go between editing and running of the p
132 Agilent E1330B Digital I/O Module Register InformationAppendix B2. Re-enables the System Instrument features that catch the backplaneinterrupt and
Agilent E1330B Digital I/O Module Register Information 133Appendix B150 !160 Main !Put application code in this sub.170 Quit:PRINT “Checking for E13
134 Agilent E1330B Digital I/O Module Register InformationAppendix B670 END LOOP680 Main_:SUBEND690 !700 SUB Reset_dig710 COM /Register/ Logical_addre
Agilent E1330B Digital I/O Module Register Information 135Appendix B1150 Enable_pir21160 END IF1170 IF BIT(Int_ack,10)=0 THEN1180 PRINT "PIR3
136 Agilent E1330B Digital I/O Module Register InformationAppendix B1630 COM /Instr/ @Sys,@Dig1640 COM /Register/ Logical_address1650 Base=2031616+491
Agilent E1330B Digital I/O Module Register Information 137Appendix B10 !re-save "DIG_NDL".20 !Program to demonstrate the non-data lines—FL
12 Getting Started Chapter 1Each port is identical and consists of 6 control lines and 8 data lines. There are 7 registers for control and status on
138 Agilent E1330B Digital I/O Module Register InformationAppendix B540 SUBEND550 !560 SUB Cnt_flg_io!Demonstrates driving CONTROL0 then receiving Fla
Agilent E1330B Digital I/O Module Register Information 139Appendix B1020 OUTPUT @Sys;"DIAG:POKE "&VAL$(Base+(DVAL("10",16)
140 Agilent E1330B Digital I/O Module Register InformationAppendix BEmbeddedComputerExampleThe following example was developed with the module at logi
Agilent E1330B Digital I/O Module Register Information 141Appendix Btest_1 = 0; /* port is ready */elsetest_1 = 1; /* port not ready */return test_1
142 Agilent E1330B Digital I/O Module Register InformationAppendix B/* port 3 */ibpoke((base_addr + port_hand_1),0x00);ibpoke((base_addr + port_del_1)
Error Messages 143Appendix CAppendix CError MessagesCode Message Cause-101 Invalid character Unrecognized character in specified parameter.-102 Synt
144 Error Messages Appendix CNotes:
Index 145IndexAgilent E1330B User’s ManualSymbols*CLS, 98*DMC, 68, 98*EMC, 98*EMC?, 98*ESE, 98*ESE?, 98*ESR?, 98*GMC, 98*IDN, 98*LMC, 98*OPC, 98*OP
146 IndexCC Program Examplesreadingan 8-bit byte, 129registers, 124resetting the module, 122using an embedded computer, 140writinga 16-bit word, 12
Index 147C (continued)Control LinesCTL, 12, 21–22, 42, 115, 136FLG, 12, 16, 21–22, 42, 114, 136I/O, 12, 22, 42, 89, 115PIR, 12, 22, 43, 114, 136pol
Getting Started 13Chapter 1Instrument DefinitionEach Digital I/O module installed in an Agilent mainframe is treated as an independent instrument; h
148 IndexFFlag Control LineSee FLG Control LineFlag Linepolarity, 86query status, 67specify logic sense, 118FLG Control Line, 12, 22combining, 21de
Index 149I (continued)Internal Pull-up, 19, 29Interruptsdisable, 20flags, 111line, 20peripheral, 114PIR control line, 131setting priority, 20VXIbus
150 IndexM (continued)Multipleporthandshaking, 53input/output, 54operations, 37, 53portssingle handshake line, 21specifying, 15, 37, 53SCPI command
Index 151P (continued)Ports (continued)peripheral interrupt request (PIR) line, 43reset (RES) line, 43specifying, 14specifying multiple, 15, 37, 53
152 IndexR (continued)Register-Baseddebugging programs, 130input algorithm, 120output algorithm, 119programming examples, 121Registersaddressing, 1
Index 153S (continued)Setting (continued)handshake mode, 34, 44–49, 80, 88interrupt line, 20polarity, 33, 41, 43, 74, 82VME external memory, 70Soft
154 IndexS (continued)STATus:PRESet, 94STATus:QUEStionable:CONDition?, 95STATus:QUEStionable:ENABle, 95STATus:QUEStionable:ENABle?, 95STATus:QUESti
14 Getting Started Chapter 1SCPI CommandFormat Used in ThisManualSCPI commands can be used in either long or short form. A long form example is:DISPl
Getting Started 15Chapter 1Specifying a Bit Each of the four ports on the module has eight bi-directional data lines, corresponding to eight program
16 Getting Started Chapter 1Initial OperationUse the following example to verify initial operation. The example first sets and then queries the polar
Configuring the Agilent E1330B Digital I/O Module 17Chapter 2Chapter 2Configuring the Agilent E1330B Digital I/OModuleUsing This ChapterThis chapter
18 Configuring the Agilent E1330B Digital I/O Chapter 2Setting the Address SwitchRefer to Figure 2-1. In the center rear of the module, next to the P1
Configuring the Agilent E1330B Digital I/O Module 19Chapter 2Enabling Pull-upsReferring to Figure 2-1, note the pull-up enable jumpers near the midd
20 Configuring the Agilent E1330B Digital I/O Chapter 2Selecting the Interrupt LineThe VXI peripheral interrupt bus consists of seven lines which can
Configuring the Agilent E1330B Digital I/O Module 21Chapter 2Combining the Flag LinesEach port contains a Flag Line, labeled FLG, that can be used t
22 Configuring the Agilent E1330B Digital I/O Chapter 2Digital I/O Module Peripheral PinoutFigure 2-6 shows pinouts for the Digital I/O module connect
Configuring the Agilent E1330B Digital I/O Module 23Chapter 2Figure 2-6. J1 and J2 Connector Pinouts
24 Configuring the Agilent E1330B Digital I/O Chapter 2Figure 2-7. Data Line Location on Ribbon CablesFigure 2-8. Connecting the Digital I/O Cable
Configuring the Agilent E1330B Digital I/O Module 25Chapter 2Configuring for Isolated Digital I/OThe two Digital I/O module peripheral connectors, J
26 Configuring the Agilent E1330B Digital I/O Chapter 2Connecting to a GPIO PeripheralThe GPIO interface is a widely used standard parallel interface
Configuring the Agilent E1330B Digital I/O Module 27Chapter 2Table 2-1. Digital I/O Pinout to GPIO PinoutPort 0Digital I/O GPIOPort 1Digital I/O GPI
Contents 1ContentsAgilent E1330B User’s ManualWarranty ...
28 Configuring the Agilent E1330B Digital I/O Chapter 2Using with External Pull-upsThe Digital I/O module data lines can be used in an open collector
Configuring the Agilent E1330B Digital I/O Module 29Chapter 2Typical ConnectionFigure 2-11 shows a typical driver/receiver connection for data trans
30 Configuring the Agilent E1330B Digital I/O Chapter 2Notes:
Using the Agilent E1330B Digital I/O Module 31Chapter 3Chapter 3Using the Agilent E1330B Digital I/OModuleUsing This ChapterThis chapter is divided
32 Using the Agilent E1330B Digital I/O Module Chapter 3Operation OverviewThe following steps illustrate general operation of the Digital I/O module.
Using the Agilent E1330B Digital I/O Module 33Chapter 3Default and Reset StatesAt initial power-on and following the *RST command, the Digital I/O m
34 Using the Agilent E1330B Digital I/O Module Chapter 3Setting the Handshake ModeHandshaking ensures correct transfer of data between devices. You m
Using the Agilent E1330B Digital I/O Module 35Chapter 3Inputting Data Bytes and BitsData input is performed using commands in the SCPI MEASure:DIGit
36 Using the Agilent E1330B Digital I/O Module Chapter 3Outputting Data Bytes and BitsData output is performed using the commands in SCPI [SOURce:]DI
Using the Agilent E1330B Digital I/O Module 37Chapter 3Multiple Port OperationsThe Digital I/O module supports multiple port operations using a sing
2 ContentsChapter 4Understanding the Agilent E1330B Digital I/O Module ... 41Using This Chapter ...
38 Using the Agilent E1330B Digital I/O Module Chapter 3Using Trace MemoryTrace memory can speed input and output operations and free your system con
Using the Agilent E1330B Digital I/O Module 39Chapter 3Trace Memory Example 2 This example writes 20 bytes as 10 WORDS at ports 0 and 1 as in the fi
40 Using the Agilent E1330B Digital I/O Module Chapter 3Notes:
Understanding the Agilent E1330B Digital I/O Module 41Chapter 4Chapter 4Understanding the Agilent E1330B DigitalI/O ModuleUsing This ChapterThis cha
42 Understanding the Agilent E1330B Digital I/O Module Chapter 4The FLG Line (Input) Each port has a flag (FLG) line. A flag line is an input line fro
Understanding the Agilent E1330B Digital I/O Module 43Chapter 4The STS Line Each port has a status line labeled STS. The STS line is an input line t
44 Understanding the Agilent E1330B Digital I/O ModuleChapter 4Using the Handshake ModesHandshaking ensures correct transfer of data between devices.
Understanding the Agilent E1330B Digital I/O Module 45Chapter 4Handshake Modes The operation of each handshake mode for input or output operations i
46 Understanding the Agilent E1330B Digital I/O Module Chapter 4TRAiling Edge The TRAiling Edge handshake makes use of both the CTL and FLG lines. The
Understanding the Agilent E1330B Digital I/O Module 47Chapter 4PULSe The PULSe handshake makes use of both the CTL and FLG lines. The input and outp
Contents 3Chapter 5Agilent E1330B Digital I/O Module Command Reference (continued)MEMory Subsystem (continued):VME:SIZE? ...
48 Understanding the Agilent E1330B Digital I/O ModuleChapter 4PARTial The PARTial handshake makes use of both the CTL and FLG lines. The input and ou
Understanding the Agilent E1330B Digital I/O Module 49Chapter 4STRobe The STRobe handshake makes use the CTL line, but not the FLG line. The input a
50 Understanding the Agilent E1330B Digital I/O ModuleChapter 4Inputting Data Bytes and BitsData input is performed using commands in the SCPI MEASure
Understanding the Agilent E1330B Digital I/O Module 51Chapter 4(POSitive polarity) if all data lines are at a TTL low level, the returned value will
52 Understanding the Agilent E1330B Digital I/O ModuleChapter 4operations. For a single port, the data lines number and bit numbers are:In this manual
Understanding the Agilent E1330B Digital I/O Module 53Chapter 4Multiple Port OperationsThe Digital I/O module supports multiple port operations. You
54 Understanding the Agilent E1330B Digital I/O ModuleChapter 4Multiple port handshaking has the following two abnormalities regarding the CTL and FLG
Understanding the Agilent E1330B Digital I/O Module 55Chapter 4Table 4-1. Port Combinations for [:type] Values8-bit (BYTE) operationsPort # 0123Bit
56 Understanding the Agilent E1330B Digital I/O ModuleChapter 4Notes:
Agilent E1330B Digital I/O Module Command Reference 57Chapter 5Chapter 5Agilent E1330B Digital I/O ModuleCommand ReferenceUsing This ChapterThis cha
4 ContentsChapter 5 (continued)SYSTem Subsystem ...
58 Agilent E1330B Digital I/O Module Command ReferenceChapter 5CommandSeparatorA colon (:) always separates one command from the next lower level comm
Agilent E1330B Digital I/O Module Command Reference 59Chapter 5Parameters Parameter Types. The following table contains explanations and examples o
60 Agilent E1330B Digital I/O Module Command ReferenceChapter 5SCPI Command ReferenceThis section describes the Standard Commands for Programmable Ins
Agilent E1330B Digital I/O Module Command Reference 61Chapter 5DISPlay SubsystemThe DISPlay subsystem turns on the Monitor mode. Monitor mode enable
62 Agilent E1330B Digital I/O Module Command ReferenceChapter 5:MONitor:PORT?DISPlay:MONitor:PORT? [<MAX|MIN|DEF>], with no parameter, returns
Agilent E1330B Digital I/O Module Command Reference 63Chapter 5:MONitor[:STATe]?DISPlay:MONitor[:STATe]? returns a number indicating whether the mo
64 Agilent E1330B Digital I/O Module Command ReferenceChapter 5MEASure SubsystemThe MEASure subsystem defines the command set for the Digital I/O Modu
Agilent E1330B Digital I/O Module Command Reference 65Chapter 5• If n is omitted, bit 0 is used.• :BITm is the keyword that specifies the bit read b
66 Agilent E1330B Digital I/O Module Command ReferenceChapter 5:DIGital:DATAn[:type][:VALue]? MEASure:DIGital:DATAn[:BYTE][:VALue]? reads one byte fr
Agilent E1330B Digital I/O Module Command Reference 67Chapter 5:DIGital:FLAGn?MEASure:DIGital:FLAGn? reads the status of the flag line on port n an
5CertificationAgilent Technologies, Inc. certifies that this product met its published specifications at the time of shipment from the factory. Agi
68 Agilent E1330B Digital I/O Module Command ReferenceChapter 5MEMory SubsystemThe MEMory subsystem defines the command set for enabling the use of ex
Agilent E1330B Digital I/O Module Command Reference 69Chapter 5:VME:ADDRessMEMory:VME:ADDRess [<base>]<address> establishes the addres
70 Agilent E1330B Digital I/O Module Command ReferenceChapter 5:VME:SIZEMEMory:VME:SIZE [<base>]<size> sets the size, in bytes, of the e
Agilent E1330B Digital I/O Module Command Reference 71Chapter 5:VME:STATeMEMory:VME:STATe <state> enables/disables the use of VME memory for
72 Agilent E1330B Digital I/O Module Command ReferenceChapter 5[SOURce:] SubsystemThe [SOURce:] subsystem defines the command set for the Digital I/O
Agilent E1330B Digital I/O Module Command Reference 73Chapter 5[SOURce:]DIGital:DATAn:WORD:BITm <0|1>:BITm?:HANDshake:DELay <time>:DEL
74 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:CONTroln:POLarity[SOURce:]DIGital:CONTroln:POLarity <polarity> sets the
Agilent E1330B Digital I/O Module Command Reference 75Chapter 5DIGital:CONTroln[:VALue][SOURce:]DIGital:CONTroln[:VALue] <value> sets or cle
76 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:DATAn[:type]:BITm[SOURce:]DIGital:DATAn[:BYTE]:BITm <value> sets bit m o
Agilent E1330B Digital I/O Module Command Reference 77Chapter 5DIGital:DATAn[:type]:BITm?[SOURce:]DIGital:DATAn[:BYTE]:BITm? returns a 0 or 1 indic
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 E1330B Digital I/O Module Command ReferenceChapter 5DIGital:DATAn[:type]:HANDshake:DELay[SOURce:]DIGital:DATAn[:BYTE]:HANDshake:DELay <
Agilent E1330B Digital I/O Module Command Reference 79Chapter 5DIGital:DATAn[:type]:HANDshake:DELay?[SOURce:]DIGital:DATAn[:BYTE]:HANDshake:DELay?
80 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:DATAn[:type]:HANDshake[:MODE][SOURce:]DIGital:DATAn[:BYTE]:HANDshake[:MODE] &l
Agilent E1330B Digital I/O Module Command Reference 81Chapter 5DIGital:DATAn[:type]:HANDshake[:MODE]?[SOURce:]DIGital:DATAn[:BYTE]:HANDshake[:MODE]?
82 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:DATAn[:type]:POLarity[SOURce:]DIGital:DATAn[:BYTE]:POLarity <polarity>
Agilent E1330B Digital I/O Module Command Reference 83Chapter 5DIGital:DATAn[:type]:TRACe[SOURce:]DIGital:DATAn[:BYTE]:TRACe <name> writes th
84 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:DATAn[:type][:VALue][SOURce:]DIGital:DATAn[:BYTE][:VALue] [<base>]<va
Agilent E1330B Digital I/O Module Command Reference 85Chapter 5DIGital:DATAn[:type][:VALue]?[SOURce:]DIGital:DATAn[:BYTE][:VALue]? returns the pro
86 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:FLAGn:POLarity[SOURce:]DIGital:FLAGn:POLarity <polarity> sets the voltag
Agilent E1330B Digital I/O Module Command Reference 87Chapter 5DIGital:HANDshaken:DELay[SOURce:]DIGital:HANDshaken:DELay <time> sets the time
DECLARATION OF CONFORMITYAccording to ISO/IEC Guide 22 and CEN/CENELEC EN 45014 7Manufact
88 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:HANDshaken:DELay?[SOURce:]DIGital:HANDshaken:DELay? queries for the time betwe
Agilent E1330B Digital I/O Module Command Reference 89Chapter 5DIGital:HANDshaken[:MODE]?[SOURce:]DIGital:HANDshaken[:MODE]? returns a string indic
90 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:TRACe:CATalog?[SOURce:]DIGital:TRACe:CATalog? lists the currently available da
Agilent E1330B Digital I/O Module Command Reference 91Chapter 5DIGital:TRACe[:DATA]?[SOURce:]DIGital:TRACe[:DATA]? <name> reads a block of da
92 Agilent E1330B Digital I/O Module Command ReferenceChapter 5DIGital:TRACe:DEFine?[SOURce:]DIGital:TRACe:DEFine? <name> returns the size of
Agilent E1330B Digital I/O Module Command Reference 93Chapter 5STATus SubsystemThe STATus subsystem controls the SCPI-defined Operation and Question
94 Agilent E1330B Digital I/O Module Command ReferenceChapter 5:OPERation:CONDition?STATus:OPERation:CONDition? returns the contents of the Operation
Agilent E1330B Digital I/O Module Command Reference 95Chapter 5:QUEStionable:CONDition?STATus:QUEStionable:CONDition? returns the contents of the Q
96 Agilent E1330B Digital I/O Module Command ReferenceChapter 5SYSTem SubsystemThe SYSTem subsystem returns information about the module.Syntax SYSTem
Agilent E1330B Digital I/O Module Command Reference 97Chapter 5:ERRor?SYSTem:ERRor? queries the Error Register for the error value and returns a st
Komentáře k této Příručce