Page 3 - ABLE OF CONTENTS; VXI
www.vxitech.com VM4016 Preface 3 T ABLE OF CONTENTS I NTRODUCTION Certification ..........................................................................................................................................................5 Warranty ..........................................................
Page 6 - Analog Comparator; EMC; FCC Part 15 Subpart B Class A
VXI Technology, Inc. 6 VM4016 Preface D E C L A R A T I O N O F C O N F O R M I T Y Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014 M ANUFACTURER ’ S N AME VXI Technology, Inc. M ANUFACTURER ’ S A DDRESS 2031 Main Street Irvine, California 92614-6509 P RODUCT N AME Analog Compar...
Page 7 - Service should only be performed by qualified personnel.; ERMS AND; WARNING; These symbols may appear on the product:; ARNINGS; Use Proper Power Cord
www.vxitech.com VM4016 Preface 7 G ENERAL S AFETY I NSTRUCTIONS Review the following safety precautions to avoid bodily injury and/or damage to the product. These precautions must be observed during all phases of operation or service of this product. Failure to comply with these precautions, or with...
Page 8 - Avoid Electric Shock; Service should; Ground the Product; To avoid injury, electric shock or fire hazard:; Improper Use
VXI Technology, Inc. 8 VM4016 Preface W ARNINGS (C ONT .) Avoid Electric Shock To avoid electric shock or fire hazard, do not operate this product with the covers removed. Do not connect or disconnect any cable, probes, test leads, etc. while they are connected to a voltage source. Remove all power ...
Page 9 - Technical Support; Visit
www.vxitech.com VM4016 Preface 9 S UPPORT R ESOURCES Support resources for this product are available on the Internet and at VXI Technology customer support centers. VXI Technology World Headquarters VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 Phone: (949) 955-1894 Fax: (949) 955-304...
Page 11 - VM4016 Preparation for Use; VXI Modular Instrumentation; IGURE; VMIPTM; LATFORM
www.vxitech.com VM4016 Preparation for Use 11 S ECTION 1 I NTRODUCTION I NTRODUCTION The VM4016 is a high-performance Analog Comparator module which has been designed to monitor analog signals and cause VXIbus interrupts to occur when programmed input limits have been exceeded. The instrument uses t...
Page 12 - ESCRIPTION; s to 0.5 seconds. This prevents input signal noise from causing
VXI Technology, Inc. 12 VM4016 Preparation for Use Regardless of whether the VM4016 is configured with other VM4016 modules or with other VMIPmodules, each group of 16 channels is treated as an independent instrument in the VXIbus chassis and, as such, each group has its own FAIL and ACCESS light. T...
Page 14 - IRQ
VXI Technology, Inc. 14 VM4016 Preparation for Use VM4016 G ENERAL S PECIFICATIONS G ENERAL S PECIFICATIONS C HANNELS VM4016-1 VM4016-2 VM4016-3 16 32 48 I NPUT R ANGE ±10.0 V, ±100 V I NPUT T HRESHOLD ±10.0 V ±100.0 V 78 mV 780 mV I NPUT T YPE Differential, may be configured for single-ended by gro...
Page 15 - REPARATION FOR
www.vxitech.com VM4016 Preparation for Use 15 Section 2 S ECTION 2 P REPARATION FOR U SE I NSTALLATION When the VM4016 is unpacked from its shipping carton, the contents should include the following items: One VM4016 VXIbus module One VM4016 Analog Comparator Module User’s Manual (this manual) All c...
Page 16 - SET TO 4; SET TO 8; Switch
VXI Technology, Inc. 16 VM4016 Preparation for Use S ETTING THE C HASSIS B ACKPLANE J UMPERS Please refer to the chassis User’s Manual for further details on setting the backplane jumpers. S ETTING THE L OGICAL A DDRESS The logical address of the VM4016 is set by a single 8-position DIP switch locat...
Page 17 - SIGNAL
www.vxitech.com VM4016 Preparation for Use 17 The connector used in the VM4016 is a commonly available 44-pin high density DSUB receptacle connector. A mating solder cup pin connector from AMP is included, crimp type connectors are available from a variety of sources. T ABLE 2-1: A NALOG C OMPARATOR...
Page 19 - ROGRAMMING; XAMPLES OF; SCPI; OMMANDS; No query parameters.; EXAMPLES; Returns the state of the conditioned
www.vxitech.com VM4016 Programming 19 S ECTION 3 P ROGRAMMING E XAMPLES OF SCPI C OMMANDS FETCH:CONDITIONED? The FETCh:CONDition query returns the 16-bit value that represents the current conditioned (masked and inverted) state of the inputs. It is important to note that this information is also ava...
Page 20 - No query parameters; Returns the active signals in the
VXI Technology, Inc. 20 VM4016 Programming FETCH:LATCHED? The FETCh:LATChed query returns a 16-bit value that reports the active signals in the First Latched register. The First Latched register records the active signals when the first new input channel crossed its threshold. It is important to not...
Page 21 - Returns the state of the unconditioned
www.vxitech.com VM4016 Programming 21 FETCH:RAW? The FETCh:RAW query returns the 16-bit value that represents the current unconditioned (unmasked and non-inverted) state of the inputs. It is important to note that the above information is also available at the register level at offset 0x20. FETCH:RA...
Page 22 - Sets the pseudo register interface ON.
VXI Technology, Inc. 22 VM4016 Programming INHOUSE:PSEUDO The INHOUSE:PSEUDO command controls the use of the register interface. Pseudo set true specifies that pseudo register interface should be used. Pseudo set false specifies that the hardware register interface should be used. The value set take...
Page 23 - Returns the type of module interrupt
www.vxitech.com VM4016 Programming 23 INHOUSE:REGINT The INHOUSE:REGINT command controls the type of module’s response to an interrupt acknowledge cycle [ack cycle]. When regint is set to false, the module uses reqt | reqf (request true | request false), provided the latched interrupt bit is set in ...
Page 25 - Returns 1 stating that the first latched
www.vxitech.com VM4016 Programming 25 INHOUSE:CLEAR_LATCH The INHOUSE:CLEAR_LATCH command determines whether the first latched information will be cleared when the information is read by word serial FETch:LATChed? Command or if pseudo is set and a register read of the first latched information occur...
Page 26 - Setting input debounce time to 0.6 s
VXI Technology, Inc. 26 VM4016 Programming INPUT:DEBOUNCE The INPut:DEBounce command sets the time period for the digital debounce circuitry. This command affects all the 16 channels of the instrument. It is important to note that the debounce resolution is 9.6 µ s. INPut:DEBounce <value> Wher...
Page 27 - Reports that channel 3 is enabled for
www.vxitech.com VM4016 Programming 27 INPUT:MASK The INPut:MASK command enables or disables input channels from generating interrupts or recording data in the conditional register. If a channel is programmed to be ON or 1, then it is enabled to generate interrupts. If a channel is programmed to be O...
Page 28 - Disables interrupt generation
VXI Technology, Inc. 28 VM4016 Programming INPUT:MASK:INTERRUPT The INPut:MASK:INTerrupt command enables or disables interrupt generation when changing MASK values. When set to 0 (the *RST state), interrupts are temporarily disabled whenever MASK values are changed. When set to 1, interrupts are gen...
Page 29 - command, as the response has been normalized to; Range; Returns the normalized input offset of -50 V
www.vxitech.com VM4016 Programming 29 INPUT:OFFSET The INPut:OFFSet command sets the input threshold for a channel or group of channels, over which the input signal must cross to cause an interrupt event. This command sets the value in the 8-bit DAC to which the input signal is compared. It is impor...
Page 30 - Returns the input polarity for Channel 5 as
VXI Technology, Inc. 30 VM4016 Programming INPUT:POLARITY The input polarity command selects the input polarity for one or more channels. When a channel is programmed for normal polarity, an interrupt will be generated when the input voltage is greater than the programmed input offset for the channe...
Page 31 - Sets the input range for Channels 1
www.vxitech.com VM4016 Programming 31 INPUT:RANGE The input range command selects the input range of one or more channels. The input range may be either set for ±10 volts or ± 100 volts. It is important to note that the input offset is normalized to ± 10 volt range. The actual input offset in the 10...
Page 32 - Returns the external interrupt
VXI Technology, Inc. 32 VM4016 Programming OUTPUT:POLARITY:EXTERNAL:INTERRUPT The output polarity external interrupt command sets the polarity of the front panel interrupt output. When the poarity is set to normal, the output will be low when there is an interrupt event. When the polarity is set to ...
Page 33 - Returns the external latched
www.vxitech.com VM4016 Programming 33 OUTPUT:POLARITY:EXTERNAL:LATCHED The output polarity external latched command sets the polarity of the front panel latched interrupt output. When the polarity is set to normal, the output will be low when there is an interrupt event. When set to invert, the outp...
Page 34 - Example 1; s. This will not allow a signal to
VXI Technology, Inc. 34 VM4016 Programming A PPLICATION E XAMPLES This section contains examples of using SCPI command strings for programming the VM4016 module. The code is functional and will contain a brief description about the operation. Example 1 In this example, the VM4016 sets the output int...
Page 35 - COMMANDS; Selects ±100 volts as the input range for Channel 1
www.vxitech.com VM4016 Programming 35 S INGLE C HANNEL O PERATION This example is for controlling a device that can tolerate a maximum input voltage level at +35 VDC for a maximum time of 250 ms before damage will occur. The input power to this device is provided from a remote source that can be dis...
Page 37 - NORM; to cause U3 to treat the input signal as an active high.; INV
www.vxitech.com VM4016 Programming 37 The command and data for the SCPI command INP:DEB is received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3). The register for the debounce circuitry is contained internally in the control FPGA. The debounce register will be loaded...
Page 38 - Sets the debounce time limit to 750
VXI Technology, Inc. 38 VM4016 Programming B RACKETING A V OLTAGE In this example, an input voltage level will be bracketed for an over or under-voltage error condition. The input voltage of 5.0 V will be monitored for an over-voltage of 5.25 V and an under-voltage of 4.75 V. The error condition mus...
Page 40 - greater
VXI Technology, Inc. 40 VM4016 Programming The commands for the SCPI commands INP:MASK are received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3). The mask register circuitry is contained internally in the control FPGA. This register will be loaded so that Channels 3 ...
Page 41 - ABLE
www.vxitech.com VM4016 Programming 41 R EGISTER A CCESS E XAMPLES T ABLE 3-1: R EGISTER M AP 3E 3C 3A 38 Interrupt enable (write only, pseudo only) 36 34 32 30 First latched (read only) 2E 2C 2A 28 Conditioned (read only) 26 24 22 20 Raw (read only) 1E 1C 1A 18 16 14 12 10 E C A 8 6 4 2 0
Page 42 - through 16 have caused a latching.
VXI Technology, Inc. 42 VM4016 Programming The VM4016 module supports direct register access for very high-speed data retrieval. The register map is as specified in Table 3-1. In order to access the raw data using register access, the register at offset 0x20 must be read. Each bit in this register c...
Page 43 - data allow another; FIRST LATCHED; command. When VXIbus backplane interrupting is enabled, the; IACK; command. However, it must be noted that the module can be configured
www.vxitech.com VM4016 Programming 43 P SEUDO R EGISTER A CCESS The VM4016 can be operated upon using (a) Word Serial Commands or (b) Register Access. The VM4016 allows two types of register accesses (a) Direct Register Access using Hardware registers (b) Pseudo Register Access. This can be configur...
Page 44 - PLUG; RIVER
VXI Technology, Inc. 44 VM4016 Programming VXI PLUG & PLAY D RIVER E XAMPLES /************************************************************************** Function: vtvm4016_setup_and_read_data Formal Parameters ViSession instr_hndl - A valid sessionandle to the instrument. ViInt16 channel_list[] ...
Page 47 - OMMAND
www.vxitech.com VM4016 Command Dictionary 47 S ECTION 4 C OMMAND D ICTIONARY I NTRODUCTION This section presents the instrument command set. It begins with an alphabetical list of all the commands supported by the VM4016 divided into three sections: IEEE 488.2 commands, the instrument specific SCPI ...
Page 48 - IEEE; OMMON; Command
VXI Technology, Inc. 48 VM4016 Command Dictionary T ABLE 4-1: IEEE 488.2 C OMMON C OMMANDS Command Description *RST RST Value *CLS Clears the Status Register X *ESE Sets the Event Status Enable Register X *ESR? Query the Standard Event Status Register N/A *IDN? Query the module identification string...
Page 50 - EQUIRED; Presets the Status Register.
VXI Technology, Inc. 50 VM4016 Command Dictionary T ABLE 4-3: SCPI R EQUIRED C OMMANDS Command Description *RST *RST Value STATus:OPERation:CONDition? Queries the Operation Status Condition Register. X STATus:OPERation:ENABle Sets the Operation Status Enable Register. X STATus:OPERation[:EVENt]? Que...
Page 51 - Describes the purpose of the command.
www.vxitech.com VM4016 Command Dictionary 51 C OMMAND D ICTIONARY The remainder of this section is devoted to the actual command dictionary. Each command is fully described on its own page. In defining how each command is used, the following items are described: Purpose Describes the purpose of the ...
Page 52 - Clears all status and event registers; Response / Descriptions
VXI Technology, Inc. 52 VM4016 Command Dictionary C OMMON SCPI C OMMANDS *CLS Purpose Clears all status and event registers Type IEEE 488.2 Common Command Command Syntax *CLS Command Parameters N/A *RST Value N/A Query Syntax N/A Query Parameters N/A Query Response N/A Description This command clear...
Page 57 - Resets the module’s hardware and software to a known state
www.vxitech.com VM4016 Command Dictionary 57 *RST Purpose Resets the module’s hardware and software to a known state Type IEEE 488.2 Common Command Command Syntax *RST Command Parameters N/A *RST Value N/A Query Syntax N/A Query Parameters N/A Query Response N/A Description The Reset (RST) command r...
Page 63 - Returns the state of the conditioned (masked and inverted) inputs
www.vxitech.com VM4016 Command Dictionary 63 I NSTRUMENT S PECIFIC SCPI C OMMANDS FETCh:CONDitioned? Purpose Returns the state of the conditioned (masked and inverted) inputs Type Query Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax FETCh:CONDitioned? Query Parameters None Que...
Page 66 - Note
VXI Technology, Inc. 66 VM4016 Command Dictionary INHOUSE:CLEAR_LATCH Purpose Controls whether the first latched information will be cleared when read by word serial or pseudo register access of the first latched register Type Setting Command Syntax INHOUSE:CLEAR_LATCH <boolean> Command Parame...
Page 67 - (Indicates that the PSEUDO register is selected)
www.vxitech.com VM4016 Command Dictionary 67 INHOUSE:PSEUDO Purpose Controls the use of the register interface Type Setting Command Syntax INHOUSE:PSEUDO <boolean> Command Parameters <boolean> = 0 | 1 | OFF | ON Factory Default = 1 *RST Value N/A Query Syntax INHOUSE:PSEUDO? Query Parame...
Page 68 - (Indicates that REGINT is set to true)
VXI Technology, Inc. 68 VM4016 Command Dictionary INHOUSE:REGINT Purpose Controls the module’s response type to an interrupt acknowledge cycle Type Setting Command Syntax INHOUSE:REGINT <boolean> Command Parameters <boolean> = 0 | 1 | OFF | ON *RST Value 0 Query Syntax INHOUSE:REGINT? Qu...
Page 78 - Queries the Operation Status Condition Register
VXI Technology, Inc. 78 VM4016 Command Dictionary R EQUIRED SCPI C OMMANDS STATus:OPERation:CONDition? Purpose Queries the Operation Status Condition Register Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Syntax STATus:OPERation:CONDition? Qu...
Page 87 - VM4016 Theory of Operation; HEORY OF; or
www.vxitech.com VM4016 Theory of Operation 87 S ECTION 5 T HEORY OF O PERATION I NTRODUCTION The VM4016 is a high-performance Analog Comparator module with 16 input channels per VMIP daughter module. Each input channel consists of a differential amplifier with a gain of 1 or 0.1 giving an input rang...
Page 88 - NPUT
VXI Technology, Inc. 88 VM4016 Theory of Operation I NPUT R ANGE C ONTROL The Input Range or gain control for each of the sixteen channels is accomplished by U3, the control FPGA, the data and command buffers U4 and U1, the relay drivers, U15 and U16 and relays K1 through K16 (see Figure 5-1). The c...
Page 89 - TO
www.vxitech.com VM4016 Theory of Operation 89 RELAYDATARELAYUPDATE RELAYCLK RELAYENA* CONTROL U3 BA 0-5, 29 U15 U16 + - 10pf 2K 6K 100K 10K 100K 100K +CH1 -CH1 U17A SEROUT SERIN VCC K9:A K9:B 100K 10K K9:C U1 U4 RELAYDRIVER RELAYDRIVER D A T ABUFFER DATA VMIP BUS FROM FRONT PANEL CONNECTORS C O M M ...
Page 90 - IGNAL
VXI Technology, Inc. 90 VM4016 Theory of Operation S IGNAL C OMPARISON Signal comparison between the input signal and a user-defined reference voltage is accomplished by a differential amplifier, an 8-bit Digital to Analog Converter or DAC and a voltage comparator (see Figure 5-2). The DAC, U8, is l...
Page 91 - NTERRUPT
www.vxitech.com VM4016 Theory of Operation 91 The input voltage or signal is applied to the non-inverting input of the differential amplifier, U17A. The output voltage of U17A is divided by four (4) for compensation of the DAC’s full range output of ±3 V. Now that the flow of the circuitry has been ...
Page 93 - NDEX; RST
www.vxitech.com VM4016 Index 93 I NDEX * *CLS.................................................................................52 *ESE .................................................................................53 *ESR? ...............................................................................