bus VM4016 ANALOG COMPARATOR USER’S MANUAL P/N: 82-0022-000 Released December 13th, 2010 VXI Technology, Inc. 2031 Main Street Irvi
VXI Technology, Inc. 10 VM4016 Preface
www.vxitech.com VM4016 Introduction 11 SECTION 1 INTRODUCTION INTRODUCTION The VM4016 is a high-performance Analog Comparator module which has been
VXI Technology, Inc. 12 VM4016 Introduction Regardless of whether the VM4016 is configured with other VM4016 modules or with other VMIP modules, each
www.vxitech.com VM4016 Introduction 13 DEBOUNCE10 uS TO 0.5 SDIFFERENTIALAMPLIFIERX1 OR X0.1COMPARATOR8 BIT DACCH1+CH1-INVERTREGISTERMASKREGISTER
VXI Technology, Inc. 14 VM4016 Introduction VM4016 GENERAL SPECIFICATIONS GENERAL SPECIFICATIONS CHANNELS VM4016-1 VM4016-2 VM4016-3 16 32 48 INPUT
www.vxitech.com VM4016 Preparation for Use 15 SECTION 2 PREPARATION FOR USE INSTALLATION When the VM4016 is unpacked from its shipping carton, the
VXI Technology, Inc. 16 VM4016 Preparation for Use SETTING THE CHASSIS BACKPLANE JUMPERS Please refer to the chassis User’s Manual for further detail
www.vxitech.com VM4016 Preparation for Use 17 The connector used in the VM4016 is a commonly available 44-pin high density D-sub receptacle connector
VXI Technology, Inc. 18 VM4016 Preparation for Use
www.vxitech.com VM4016 Programming 19 SECTION 3 PROGRAMMING EXAMPLES OF SCPI COMMANDS FETCH:CONDITIONED? The FETCh:CONDition query returns the 16-b
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
www.vxitech.com VM4016 Programming 21 FETCH:RAW? The FETCh:RAW query returns the 16-bit value that represents the current unconditioned (unmasked and
VXI Technology, Inc. 22 VM4016 Programming INHOUSE:PSEUDO The INHOUSE:PSEUDO command controls the use of the register interface. Pseudo set true spe
www.vxitech.com VM4016 Programming 23 INHOUSE:REGINT The INHOUSE:REGINT command controls the type of module’s response to an interrupt acknowledge cy
VXI Technology, Inc. 24 VM4016 Programming INHOUSE:REG_ENABLE The INHOUSE:REG_ENABLE command controls the masking for REGINT. REG_ENABLE 0 means that
www.vxitech.com VM4016 Programming 25 INHOUSE:CLEAR_LATCH The INHOUSE:CLEAR_LATCH command determines whether the first latched information will be cl
VXI Technology, Inc. 26 VM4016 Programming INPUT:DEBOUNCE The INPut:DEBounce command sets the time period for the digital debounce circuitry. This c
www.vxitech.com VM4016 Programming 27 INPUT:MASK The INPut:MASK command enables or disables input channels from generating interrupts or recording da
VXI Technology, Inc. 28 VM4016 Programming INPUT:MASK:INTERRUPT The INPut:MASK:INTerrupt command enables or disables interrupt generation when changi
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
www.vxitech.com VM4016 Preface 3 TABLE OF CONTENTS INTRODUCTION Table of Contents ...
VXI Technology, Inc. 30 VM4016 Programming INPUT:POLARITY The input polarity command selects the input polarity for one or more channels. When a chan
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 eit
VXI Technology, Inc. 32 VM4016 Programming OUTPUT:POLARITY:EXTERNAL:INTERRUPT The output polarity external interrupt command sets the polarity of the
www.vxitech.com VM4016 Programming 33 OUTPUT:POLARITY:EXTERNAL:LATCHED The output polarity external latched command sets the polarity of the front pa
VXI Technology, Inc. 34 VM4016 Programming APPLICATION EXAMPLES This section contains examples of using SCPI command strings for programming the VM4
www.vxitech.com VM4016 Programming 35 SINGLE CHANNEL OPERATION This example is for controlling a device that can tolerate a maximum input voltage lev
VXI Technology, Inc. 36 VM4016 Programming FIGURE 3-1: SINGLE CHANNEL OPERATION Due to the type of signal being monitored, input channel +CH1 is gr
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 rou
VXI Technology, Inc. 38 VM4016 Programming BRACKETING A VOLTAGE In this example, an input voltage level will be bracketed for an over or under-voltag
www.vxitech.com VM4016 Programming 39 FIGURE 3-2: BRACKETING AN INPUT VOLTAGE The command and data for the SCPI command INP:RANG are received by th
VXI Technology, Inc. 4 VM4016 Preface SECTION 4...
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 rou
www.vxitech.com VM4016 Programming 41 REGISTER ACCESS EXAMPLES TABLE 3-1: REGISTER MAP 3E 3C 3A 38 Interrupt enable (write only, pseudo only) 36
VXI Technology, Inc. 42 VM4016 Programming The VM4016 module supports direct register access for very high-speed data retrieval. The register map i
www.vxitech.com VM4016 Programming 43 PSEUDO REGISTER ACCESS The VM4016 can be operated upon using (a) Word Serial Commands or (b) Register Access. T
VXI Technology, Inc. 44 VM4016 Programming VXIPLUG&PLAY DRIVER EXAMPLES /***********************************************************************
www.vxitech.com VM4016 Programming 45 - This parameter specifies the polarity to be configured for the specified channels. Valid Range:
VXI Technology, Inc. 46 VM4016 Programming ViPInt16 first_latched_reg - This parameter returns the first input channel which crosses the program
www.vxitech.com VM4016 Programming 47 status = vtvm4016_reset(instr_hndl); if (status < VI_SUCCESS) return status; /* Function to enable the
VXI Technology, Inc. 48 VM4016 Programming /* Function to set the offset, polarity and voltage range to the channels */ status = vtvm4016_config_ch
www.vxitech.com VM4016 Command Dictionary 49 SECTION 4 COMMAND DICTIONARY INTRODUCTION This section presents the instrument command set. It begins
www.vxitech.com VM4016 Preface 5 CERTIFICATION VXI Technology, Inc. (VTI) certifies that this product met its published specifications at the time of
VXI Technology, Inc. 50 VM4016 Command Dictionary TABLE 4-1: IEEE 488.2 COMMON COMMANDS Command Description *RST RST Value *CLS Clears the Status Reg
www.vxitech.com VM4016 Command Dictionary 51 TABLE 4-2: INSTRUMENT SPECIFIC SCPI COMMANDS Command Description RST RST Value FETCh:CONDitioned? Rea
VXI Technology, Inc. 52 VM4016 Command Dictionary TABLE 4-3: SCPI REQUIRED COMMANDS Command Description *RST *RST Value STATus:OPERation:CONDition
www.vxitech.com VM4016 Command Dictionary 53 COMMAND DICTIONARY The remainder of this section is devoted to the actual command dictionary. Each comma
VXI Technology, Inc. 54 VM4016 Command Dictionary COMMON SCPI COMMANDS *CLS Purpose Clears all status and event registers Type IEEE 488.2 Common C
www.vxitech.com VM4016 Command Dictionary 55 *ESE Purpose Sets the bits of the Event Status Enable Register Type IEEE 488.2 Common Command Comman
VXI Technology, Inc. 56 VM4016 Command Dictionary *ESR? Purpose Queries and clears the Standard Event Status Register Type IEEE 488.2 Common Comman
www.vxitech.com VM4016 Command Dictionary 57 *IDN? Purpose Queries the module for its identification string Type IEEE 488.2 Common Command Comman
VXI Technology, Inc. 58 VM4016 Command Dictionary OPC Purpose Sets the OPC bit in the Event Status Register Type IEEE 488.2 Common Command Comman
www.vxitech.com VM4016 Command Dictionary 59 *RST Purpose Resets the module’s hardware and software to a known state Type IEEE 488.2 Common Command
VXI Technology, Inc. 6 VM4016 Preface DECLARATION OF CONFORMITY Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014 MANUFACTURER’S
VXI Technology, Inc. 60 VM4016 Command Dictionary *SRE Purpose Sets the service request enable register Type IEEE 488.2 Common Command Command Sy
www.vxitech.com VM4016 Command Dictionary 61 *STB? Purpose Queries the Status Byte Register Type IEEE 488.2 Common Command Command Syntax N/A C
VXI Technology, Inc. 62 VM4016 Command Dictionary *TRG Purpose Causes a trigger event to occur Type IEEE 488.2 Common Command Command Syntax *TRG
www.vxitech.com VM4016 Command Dictionary 63 *TST? Purpose Causes a self-test procedure to occur and queries the results Type IEEE 488.2 Common Com
VXI Technology, Inc. 64 VM4016 Command Dictionary *WAI Purpose Halts execution of additional commands and queries until the No Operation Pending mess
www.vxitech.com VM4016 Command Dictionary 65 INSTRUMENT SPECIFIC SCPI COMMANDS FETCh:CONDitioned? Purpose Returns the state of the conditioned (mas
VXI Technology, Inc. 66 VM4016 Command Dictionary FETCh:LATChed? Purpose Reports the active signals in the First Latched register Type Query Comm
www.vxitech.com VM4016 Command Dictionary 67 FETCh:RAW? Purpose Returns the state of the unconditioned (unmasked and non-inverted) inputs Type Quer
VXI Technology, Inc. 68 VM4016 Command Dictionary INHOUSE:CLEAR_LATCH Purpose Controls whether the first latched information will be cleared when rea
www.vxitech.com VM4016 Command Dictionary 69 INHOUSE:PSEUDO Purpose Controls the use of the register interface Type Setting Command Syntax INHOUS
www.vxitech.com VM4016 Preface 7 GENERAL SAFETY INSTRUCTIONS Review the following safety precautions to avoid bodily injury and/or damage to the prod
VXI Technology, Inc. 70 VM4016 Command Dictionary INHOUSE:REGINT Purpose Controls the module’s response type to an interrupt acknowledge cycle Type
www.vxitech.com VM4016 Command Dictionary 71 INHOUSE:REG_ENABLE Purpose Controls the masking of REGINT Type Setting Command Syntax INHOUSE:REG_EN
VXI Technology, Inc. 72 VM4016 Command Dictionary INPut:DEBounce Purpose Sets the debounce time Type Setting Command Syntax INPut:DEBounce <va
www.vxitech.com VM4016 Command Dictionary 73 INPut:MASK Purpose Masks unused input channels Type Setting Command Syntax INPut:MASK <state>,
VXI Technology, Inc. 74 VM4016 Command Dictionary INPut:MASK:INTerrupt Purpose Enable or disable interrupt generation when changing MASKs Type Sett
www.vxitech.com VM4016 Command Dictionary 75 INPut:OFFSet Purpose Sets the input threshold for a group of channels Type Setting Command Syntax IN
VXI Technology, Inc. 76 VM4016 Command Dictionary INPut:POLarity Purpose Sets the input polarity for one or more channels Type Setting Command Sy
www.vxitech.com VM4016 Command Dictionary 77 INPut:RANGe Purpose Sets the input range for one or more channels Type Setting Command Syntax INPut:
VXI Technology, Inc. 78 VM4016 Command Dictionary OUTPut:POLarity:EXTernal:INTerrupt Purpose Sets the interrupt output polarity on the front panel
www.vxitech.com VM4016 Command Dictionary 79 OUTPut:POLarity:EXTernal:LATChed Purpose Sets the latched interrupt output polarity on the front panel
VXI Technology, Inc. 8 VM4016 Preface WARNINGS (CONT.) Avoid Electric Shock To avoid electric shock or fire hazard, do not operate this product wit
VXI Technology, Inc. 80 VM4016 Command Dictionary REQUIRED SCPI COMMANDS STATus:OPERation:CONDition? Purpose Queries the Operation Status Condition
www.vxitech.com VM4016 Command Dictionary 81 STATus:OPERation:ENABle Purpose Sets the Operation Status Enable Register Type Required SCPI command
VXI Technology, Inc. 82 VM4016 Command Dictionary STATus:OPERation[:EVENt]? Purpose Queries the Operation Status Event Register Type Required SCPI
www.vxitech.com VM4016 Command Dictionary 83 STATus:PRESet Purpose Presets the Status Registers Type Required SCPI command Command Syntax STATus:
VXI Technology, Inc. 84 VM4016 Command Dictionary STATus:QUEStionable:CONDition? Purpose Queries the Questionable Status Condition Register Type Re
www.vxitech.com VM4016 Command Dictionary 85 STATus:QUEStionable:ENABle Purpose Sets the Questionable Status Enable Register Type Required SCPI com
VXI Technology, Inc. 86 VM4016 Command Dictionary STATus:QUEStionable[:EVENt] Purpose Queries the Questionable Status Event Register Type Required
www.vxitech.com VM4016 Command Dictionary 87 SYSTem:ERRor? Purpose Queries the Error Queue Type Required SCPI command Command Syntax None – query
VXI Technology, Inc. 88 VM4016 Command Dictionary SYSTem:VERSion? Purpose Queries the SCPI version number to which the VM4016 complies Type Require
www.vxitech.com VM4016 Theory of Operation 89 SECTION 5 THEORY OF OPERATION INTRODUCTION The VM4016 is a high-performance Analog Comparator module
www.vxitech.com VM4016 Preface 9 SUPPORT RESOURCES Support resources for this product are available on the Internet and at VTI Instruments customer s
VXI Technology, Inc. 90 VM4016 Theory of Operation INPUT RANGE CONTROL The Input Range or gain control for each of the sixteen channels is accomplish
www.vxitech.com VM4016 Theory of Operation 91 FIGURE 5-1: INPUT RANGE SELECTION
VXI Technology, Inc. 92 VM4016 Theory of Operation SIGNAL COMPARISON Signal comparison between the input signal and a user-defined reference voltage
www.vxitech.com VM4016 Theory of Operation 93 The input voltage or signal is applied to the non-inverting input of the differential amplifier, U17A.
VXI Technology, Inc. 94 VM4016 Theory of Operation DEBOUNCE CIRCUITRYMASKREGISTEROR’ingFUNCTIONFIRSTLATCHEDREGISTERPULSEGENEARTIONCIRCUIT
www.vxitech.com VM4016 Index 95 INDEX Symbols *CLS ....................... 54 *ES
Comments to this Manuals