VM4016 ANALOG COMPARATOR USER’S MANUAL 82-0022-000 Rev. December 1, 2003 VXI Technology, Inc.
www.vxitech.com TABLE OF CONTENTS INTRODUCTION Certification ..........................................................................................................................................................5 Warranty ...............................................................................................................................................................5 Limitation of Warranty .....................................................................................................
VXI Technology, Inc. Common SCPI Commands ....................................................................................................................................52 *CLS ...................................................................................................................................................................52 *ESE ...............................................................................................................................................................
www.vxitech.com CERTIFICATION VXI Technology, Inc. (VTI) certifies that this product met its published specifications at the time of shipment from the factory. VTI further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology (formerly National Bureau of Standards), to the extent allowed by that organization’s calibration facility, and to the calibration facilities of other International Standards Organization members.
VXI Technology, Inc. DECLARATION OF CONFORMITY Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014 MANUFACTURER’S NAME VXI Technology, Inc. MANUFACTURER’S ADDRESS 2031 Main Street Irvine, California 92614-6509 PRODUCT NAME Analog Comparator MODEL NUMBER(S) VM4016 PRODUCT OPTIONS All PRODUCT CONFIGURATIONS All VXI Technology, Inc.
www.vxitech.com GENERAL SAFETY INSTRUCTIONS 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 specific warnings elsewhere in this manual, violates safety standards of design, manufacture, and intended use of the product. Service should only be performed by qualified personnel.
VXI Technology, Inc. WARNINGS (CONT.) 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 and unplug unit before performing any service. Service should only be performed by qualified personnel. Ground the Product This product is grounded through the grounding conductor of the power cord.
www.vxitech.com SUPPORT RESOURCES 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-3041 VXI Technology Cleveland Instrument Division VXI Technology, Inc. 7525 Granger Road, Unit 7 Valley View, OH 44125 Phone: (216) 447-8950 Fax: (216) 447-8951 VXI Technology Lake Stevens Instrument Division VXI Technology, Inc.
VXI Technology, Inc.
www.vxitech.com SECTION 1 INTRODUCTION INTRODUCTION 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 the message-based word serial interface for programming and data movement, as well as supporting direct register access for very high-speed data retrieval.
VXI Technology, Inc. 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. ACC/ ERR FAIL The FAIL LED is a Power/Fault indicator. When normal power up conditions exist, the FAIL LED will illuminate green. When a power on fault condition occurs, the FAIL LED will illuminate red.
www.vxitech.com VXI MODULE PANEL CH1+ CH1- CHANNEL 1 OF DIFFERENTIAL AMPLIFIER X1 OR X0.1 COMPARATOR 8 BIT DAC TO VXIBUS COMPARE REGISTERS DEBOUNCE 10 uS TO 0.
VXI Technology, Inc. VM4016 GENERAL SPECIFICATIONS GENERAL SPECIFICATIONS CHANNELS VM4016-1 VM4016-2 VM4016-3 INPUT RANGE 16 32 48 ±10.0 V, ±100 V INPUT THRESHOLD ±10.0 V ±100.0 V INPUT TYPE 78 mV 780 mV Differential, may be configured for single-ended by grounding the negative input INPUT IMPEDANCE 200 kΩ Differential 100 kΩ Single-ended INPUT POLARITY Rising or Falling Edge DEBOUNCE TIME 9.6 µs to 0.6291456 s, 9.6 µs resolution IRQ OUTPUT Open Collector Driver, 200 mA max.
www.vxitech.com Section 2 SECTION 2 PREPARATION FOR USE INSTALLATION 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 components should be immediately inspected for damage upon receipt of the unit. Once the VM4016 is assessed to be in good condition, it may be installed into an appropriate C-size or D-size VXIbus chassis in any slot other than slot 0.
VXI Technology, Inc. SETTING THE CHASSIS BACKPLANE JUMPERS Please refer to the chassis User’s Manual for further details on setting the backplane jumpers. SETTING THE LOGICAL ADDRESS The logical address of the VM4016 is set by a single 8-position DIP switch located near the module’s backplane connectors (this is the only switch on the module). The switch is labeled with positions 1 through 8 and with an ON position.
www.vxitech.com 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.
VXI Technology, Inc. The mating connector to J200, J201 or J202 is available from the following company: Assmann Electronic, Inc. P/N AHDS44LL-T Mating Connector The pin locations for J200, J201 and J202 are shown in Figure 2-2.
www.vxitech.com SECTION 3 PROGRAMMING EXAMPLES OF SCPI COMMANDS 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 available at the VXIbus register level at offset 0x28. FETCh:CONDitioned? No query parameters. EXAMPLES FETCh:CONDitioned? VM4016 Programming Returns the state of the conditioned 0 (masked and inverted) inputs.
VXI Technology, Inc. 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 note that the above information is also available at the VXIbus register level at offset 0x30. FETch:LATChed? No query parameters EXAMPLES 20 FETCh:LATChed? 1 Returns the active signals in the First Latched register. Channel 1.
www.vxitech.com 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:RAW? No query parameters EXAMPLES FETch:RAW? 1 Returns the state of the unconditioned (unmasked and non-inverted) inputs Channel 1. FETC:RAW? 65535 All 16 channels crossed the programmed threshold.
VXI Technology, Inc. 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 takes effect next time the unit powers up [does not take effect immediately]. The pseudo register interface allows the use of REG_ENABLE and CLEAR_LATCH capability from the registers.
www.vxitech.com 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 the SRE. It is important to note that all the letters of the command must be provided as there is no short form for this command. INHOUSE:REGINT Where is 0 | OFF | 1 | ON.
VXI Technology, Inc. INHOUSE:REG_ENABLE The INHOUSE:REG_ENABLE command controls the masking for REGINT. REG_ENABLE 0 means that backplane interrupts cannot be generated. If the REG_ENABLE is 1, then backplane interrupts can be generated. If PSEUDO is set, then a write to the register at offset 0x38 also controls the masking. Enable or disable capabilities are provided in the pseudo register interface to allow a complete register interface.
www.vxitech.com 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 occurs. The information will not be cleared if a hardware register read is used. When the first latched information is cleared, all the following reads will return a value of 0 until a new first latched event occurs.
VXI Technology, Inc. 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 Where ranges from 9.6 µs, i.e., 0.0000096 s to 0.6291456 s. EXAMPLES 26 INPut:DEBounce 9.6e-6 Sets the input debounce time for all channels to 0.0000096 s.
www.vxitech.com 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 OFF or 0, then it cannot generate VXIbus interrupts. INPut:MASK , Where is 0 | OFF | 1 | ON. Where is standard channel list format supporting channels 1 through 16.
VXI Technology, Inc. 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 generated even as MASK values are changed. INPut:MASK:INTerrupt Where is 0 | OFF | 1 | ON.
www.vxitech.com 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 important to note that the actual input offset value is affected by the INPut:RANGe command, as the response has been normalized to ±10 V range. The actual input offset for the allowable ranges are as follows: Range ±10.0 ±100.
VXI Technology, Inc. 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 channel. The invert polarity will cause an interrupt when the input voltage is less than the programmed input offset for the channel.
www.vxitech.com 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 100 volt range is ten times the set value. INPut:RANGe , Where is 10 V | 100 V. Where is the standard channel list format supporting channels 1 through 16.
VXI Technology, Inc. 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 invert, the output will be high when there is an interrupt event. OUTPut:POLarity:EXTernal:INTerrupt Where NORMal or INVert.
www.vxitech.com 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 output will be high when there is an interrupt event. OUTPut:POLarity:EXTernal:LATChed Where is NORMal or INVerted.
VXI Technology, Inc. APPLICATION EXAMPLES 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 interrupt polarity on the front panel and the debounce time period for the digital debounce circuitry. OUTPut:POLarity:EXTernal:INTerrupt NORM Sets the external interrupt output polarity to high pulse when an interrupt occurs.
www.vxitech.com SINGLE CHANNEL OPERATION 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 disabled. A low signal applied to the power source remote inhibit will disable its output. The controller will then be notified that an out-oftolerance condition has occurred and the device was shut down.
VXI Technology, Inc. 100K 10K K9 10pf (FRONT PANEL CONNECTOR) -CH1 100K +CH1 100K 6K U17A 2K + 100K K9 10K VCC VMIP BUS BUFCH1 CONTROL IRQ* 4.7K - 4.7K DACDATA DAC TRIGLEV1 DACLOAD# U13A 1K + DACCLK 470K U8 COMPCH1 VCC RELAYCLK 10K RELAYDATA U3 LATIRQOUT RELAYENA* TO FRONT PANEL CONNECTOR 4.
www.vxitech.com 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 with a value that corresponds to a 250 ms time delay. The commands and data for the SCPI commands INP:MASK are received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3).
VXI Technology, Inc. BRACKETING A VOLTAGE 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 must be true for longer than 750 µs. An interrupt will be generated if either of these conditions occur. Channel 1 will use for an over-voltage and Channel 2 for an under-voltage.
www.vxitech.com 100K K9 10K 10pf 100K -CH1 - +CH1 6K U17A 100K 2K + 100K K9 10K VCC 4.7K BUFCH1 TO VMIP BUS IRQ* CONTROL DACDATA DAC 1K TRIGLEV1 DACLOAD# 4.7K U13A + DACCLK 470K TRIGLEV2 U8 VCC INPUT SIGNAL COMPCH1 10K FROM FRONT PANEL CONNECTOR IRQOUT CONTROL 4.7K Q33 DATA 0-15 U3 COMPCH2 1K 100K 470K K1 10K VCC 10pf TRIGLEV2 -CH2 +CH2 100K 1K 4.7K + - U13B 6K U17B 100K BUFCH2 4.
VXI Technology, Inc. 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 through 16 are disabled or masked out. The command for the SCPI command INP:POL is received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3).
www.vxitech.
VXI Technology, Inc. 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 corresponds to the state of the 16 channel inputs (unmasked and non-inverted). Bit 1 corresponds to Channel 1, Bit 2 corresponds to Channel 2 and so on. This information can also be accessed using the Word Serial FETC:RAW? query.
www.vxitech.com PSEUDO REGISTER ACCESS 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 configured using the INHOUSE:PSEUDO command. Direct Register Access is much faster than Pseudo Register Access. However, the former does not provide certain features provided by the latter.
VXI Technology, Inc. VXIPLUG&PLAY DRIVER EXAMPLES /************************************************************************** Function: vtvm4016_setup_and_read_data Formal Parameters ViSession instr_hndl - A valid sessionandle to the instrument. ViInt16 channel_list[] - This parameter specifies the channels which are to be setup. Only the specified channels will be enabled, the rest will be disabled.
www.vxitech.com ViPInt16 first_latched_reg - This parameter returns the first input channel which crosses the programmed threshold voltage. ViPInt16 raw_data - This returns the 16 bit value that represents unconditioned [raw] state of the inputs. the current ViPInt16 conditioned_data - This returns the 16 bit value conditioned state of the inputs. the current that represents Return Values: Returns VI_SUCCESS if successful, else returns error value.
VXI Technology, Inc.
www.vxitech.com SECTION 4 COMMAND DICTIONARY INTRODUCTION 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 commands and the required SCPI commands. With each command is a brief description of its function, whether the command’s value is affected by the *RST command and its *RST value.
VXI Technology, Inc. TABLE 4-1: IEEE 488.
www.vxitech.
VXI Technology, Inc. TABLE 4-3: SCPI REQUIRED COMMANDS Command STATus:OPERation:CONDition? STATus:OPERation:ENABle STATus:OPERation[:EVENt]? STATus:PRESet STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle STATus:QUEStionable[:EVENt]? SYSTem:ERRor? SYSTem:VERsion? 50 Description Queries the Operation Status Condition Register. Sets the Operation Status Enable Register. Queries the Operation Status Event Register. Presets the Status Register.
www.vxitech.com COMMAND DICTIONARY 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 command. Type Describes the type of command such as an event or setting. Command Syntax Details the exact command format. Command Parameters Describes the parameters sent with the command and their legal range.
VXI Technology, Inc. COMMON SCPI COMMANDS *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 clears the Status Event Register, Operation Status Register and the Questionable Data/Signal Register. It also clears the OPC flag and clears all queues (except the output queue).
www.vxitech.com *ESE Purpose Sets the bits of the Event Status Enable Register Type IEEE 488.2 Common Command Command Syntax *ESE Command Parameters = numeric ASCII value *RST Value N/A, the parameter is required Query Syntax *ESE? Query Parameters N/A Query Response Numeric ASCII value from 0 to 255 Description The Event Status Enable (ESE) command is used to set the bits of the Event Status Enable Register. See ANSI/IEEE 488.2-1987 section 11.5.
VXI Technology, Inc. *ESR? Purpose Queries and clears the Standard Event Status Register Type IEEE 488.2 Common Command Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax ESR? Query Parameters N/A Query Response Numeric ASCII value from 0 to 255 Description The Event Status Register (ESR) query queries and clears the contents of the Standard Event Status Register.
www.vxitech.com *IDN? Purpose Queries the module for its identification string Type IEEE 488.2 Common Command Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax *IDN? Query Parameters N/A Query Response ASCII character string Description The Identification (IDN) query returns the identification string of the module. The response is divided into four fields separated by commas.
VXI Technology, Inc. *OPC Purpose Sets the OPC bit in the Event Status Register Type IEEE 488.2 Common Command Command Syntax *OPC Command Parameters N/A *RST Value N/A Query Syntax *OPC? Query Parameters N/A Query Response 1 Description The Operation Complete (OPC) command sets the OPC bit in the Event Status Register when all pending operations have completed. The OPC query will return a 1 to the output queue when all pending operations have completed.
www.vxitech.com *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 resets the module’s hardware and software to a known state. See the command index at the beginning of this chapter for the default parameter values used with this command.
VXI Technology, Inc. *SRE Purpose Sets the service request enable register Type IEEE 488.2 Common Command Command Syntax *SRE Command Parameters = Numeric ASCII value from 0 to 255 *RST Value None – Required Parameter Query Syntax *SRE? Query Parameters N/A Query Response Numeric ASCII value from 0 to 255 Description The Service Request Enable (SRE) mask is used to control which bits in the status byte generate back plane interrupts.
www.vxitech.com *STB? Purpose Queries the Status Byte Register Type IEEE 488.2 Common Command Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax *STB? Query Parameters N/A Query Response Numeric ASCII value from 0 to 255 Description The Read Status Byte (STB) query fetches the current contents of the Status Byte Register. See the IEEE 488.2 specification for additional information regarding the Status byte Register and its use.
VXI Technology, Inc. *TRG Purpose Causes a trigger event to occur Type IEEE 488.2 Common Command Command Syntax *TRG Command Parameters N/A *RST Value N/A Query Syntax N/A Query Parameters N/A Query Response N/A Description The Trigger command causes a trigger event to occur.
www.vxitech.com *TST? Purpose Causes a self-test procedure to occur and queries the results Type IEEE 488.2 Common Command Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax *TST? Query Parameters N/A Query Response Numeric ASCII value from 0 to 143 Description The Self-Test query causes the VM4016 to run its self-test procedures and report on the results.
VXI Technology, Inc. *WAI Purpose Halts execution of additional commands and queries until the No Operation Pending message is true Type IEEE 488.2 Common Command Command Syntax *WAI Command Parameters N/A *RST Value N/A Query Syntax N/A Query Parameters N/A Query Response N/A Description The Wait to Continue command halts the execution of commands and queries until the No Operation Pending message is true.
www.vxitech.com INSTRUMENT SPECIFIC SCPI COMMANDS 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 Query Response Numeric ASCII in the range of 0 to 65535 Description The FETCh:CONDitioned query reports the 16-bit value that represents the current conditioned (masked and inverted) state of the inputs.
VXI Technology, Inc. FETCh:LATChed? Purpose Reports the active signals in the First Latched register Type Query Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax FETCh:LATChed? Query Parameters N/A Query Response Numeric ASCII in the range 0 to 65535 Description The FETCh:LATChed query reports the active signals in the First Latched register. The First Latched register records the active signals when the first new input channel(s) crosses its threshold.
www.vxitech.com FETCh:RAW? Purpose Returns the state of the unconditioned (unmasked and non-inverted) inputs Type Query Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax FETCh:RAW? Query Parameters N/A Query Response Numeric ASCII in the range 0 to 65535 Description The FETCh:RAW query reports the 16-bit value that represents the current unconditioned (unmasked and non-inverted) state of the inputs.
VXI Technology, Inc.
www.vxitech.com INHOUSE:PSEUDO Purpose Controls the use of the register interface Type Setting Command Syntax INHOUSE:PSEUDO Command Parameters = 0 | 1 | OFF | ON Factory Default = 1 *RST Value N/A Query Syntax INHOUSE:PSEUDO? Query Parameters N/A Query Response ASCII numeric 0 or 1 Description If INHOUSE:PSEUDO is set true (1 or ON), the instrument uses the pseudo register interface. If false (0 or OFF), the instrument uses the hardware register interface.
VXI Technology, Inc. INHOUSE:REGINT Purpose Controls the module’s response type to an interrupt acknowledge cycle Type Setting Command Syntax INHOUSE:REGINT Command Parameters = 0 | 1 | OFF | ON *RST Value 0 Query Syntax INHOUSE:REGINT? Query Parameters N/A Query Response ASCII numeric 0 or 1 Description The INHOUSE:REGINT command controls the module’s response type to an interrupt acknowledge cycle.
www.vxitech.com INHOUSE:REG_ENABLE Purpose Controls the masking of REGINT Type Setting Command Syntax INHOUSE:REG_ENABLE Command Parameters = 0 | 1 | OFF | ON *RST Value 0 Query Syntax INHOUSE:REG_ENABLE? Query Parameters N/A Query Response ASCII numeric 0 or 1 Description REG_ENABLE controls the masking of REGINT. If REG_ENABLE is zero, then no backplane interrupt can be generated. If REG_ENABLE is a non-zero number, then a backplane interrupt can be generated.
VXI Technology, Inc. INPut:DEBounce Purpose Sets the debounce time Type Setting Command Syntax INPut:DEBounce Command Parameters = 9.6 µs to 0.6291456 s *RST Value 19.2 µs Query Syntax INPut:DEBounce? Query Parameters N/A Query Response Numeric ASCII value from 0.0000096 to 0.6291456 Description The INPut:DEBounce command sets the time period for the digital debounce circuitry.
www.vxitech.com INPut:MASK Purpose Masks unused input channels Type Setting Command Syntax INPut:MASK , Command Parameters = standard channel list syntax supporting channels 1 to 16 = ON | 1 | OFF | 0 *RST Value 0 for all channels Query Syntax INPut:MASK? Query Parameters = 1 to 16 Query Response Numeric ASCII value of 1 or 0 Description The INPut:MASK command selects which channels are enabled for input voltage comparison.
VXI Technology, Inc. INPut:MASK:INTerrupt Purpose Enable or disable interrupt generation when changing MASKs Type Setting Command Syntax INPut:MASK:INTerrupt Command Parameters = 0 | 1 | OFF | ON *RST Value 0 Query Syntax INPut:MASK:INTerrupt? Query Parameters N/A Query Response ASCII numeric 0 or 1 Description The INPut:MASK:INTerrupt command enables or disables interrupt generation when changing MASK values.
www.vxitech.com INPut:OFFSet Purpose Sets the input threshold for a group of channels Type Setting Command Syntax INPut:OFFSet , Command Parameters = +9.96 volts to -10.00 volts. = standard channel list syntax supporting channels 1 to 16. *RST Value 0.496V for all channels Query Syntax INPut:OFFSet? Query Parameters = 1 to 16 Query Response ASCII numeric value from -10.00 to +9.
VXI Technology, Inc.
www.vxitech.com INPut:RANGe Purpose Sets the input range for one or more channels Type Setting Command Syntax INPut:RANGe , Command Parameters = 10 | 100 = standard channel list syntax supporting channels 1 to 16 *RST Value 100 for all channels Query Syntax INPut:RANGe? Query Parameters = 1 to 16 Query Response Numeric ASCII value = 10 | 100 Description The Input Range command selects the input range of one or more channels.
VXI Technology, Inc. OUTPut:POLarity:EXTernal:INTerrupt Purpose Sets the interrupt output polarity on the front panel Type Setting Command Syntax OUTPut:POLarity:EXTernal:INTerrupt Command Parameters = NORMal | INVert *RST Value NORMal Query Syntax OUTPut:POLarity:EXTernal:INTerrupt? Query Parameters N/A Query Response ASCII string = NORM ⏐ INV Description The OUTput:POLarity:EXTernal:INTerrupt command sets the polarity of the front panel interrupt output.
www.vxitech.com OUTPut:POLarity:EXTernal:LATChed Purpose Sets the latched interrupt output polarity on the front panel Type Setting Command Syntax OUTPut:POLarity:EXTernal:LATChed Command Parameters = NORMal | INVert *RST Value NORMal Query Syntax OUTPut:POLarity:EXTernal:LATChed? Query Parameters N/A Query Response ASCII string = NORM ⏐ INV Description The OUTput:POLarity:EXTernal:LATChed command sets the polarity of the front panel latched interrupt output.
VXI Technology, Inc. REQUIRED SCPI COMMANDS 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? Query Parameters None Query Response 0 Description The Operation Status Condition Register query is provided for SCPI compliance only.
www.vxitech.
VXI Technology, Inc. STATus:OPERation[:EVENt]? Purpose Queries the Operation Status Event Register Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Syntax STATus:OPERation [:EVENt]? Query Parameters None Query Response 0 Description The Status Operation Event Register query is included for SCPI compliance. The VM4016 does not alter any of the bits in this register and always reports a 0.
www.vxitech.com STATus:PRESet Purpose Presets the Status Registers Type Required SCPI command Command Syntax STATus:PRESet Command Parameters None *RST Value N/A Query Syntax None – command only Query Parameters N/A Query Response N/A Description The Status Preset command presets the Status Registers. The Operational Status Enable Register is set to 0 and the Questionable Status Enable Register is set to 0. This command is provided for SCPI compliance only.
VXI Technology, Inc. STATus:QUEStionable:CONDition? Purpose Queries the Questionable Status Condition Register Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Syntax STATus:QUEStionable:CONDition? Query Parameters None Query Response 0 Description The Questionable Status Condition Register query is provided for SCPI compliance only. The VM4016 does not alter any of the bits in this register and a query always reports a 0.
www.vxitech.com STATus:QUEStionable:ENABle Purpose Sets the Questionable Status Enable Register Type Required SCPI command Command Syntax STATus:QUEStionable:ENABle Command Parameters = numeric ASCII value from 0 to 32767 *RST Value NRf must be supplied Query Syntax STATus:QUEStionable:ENABle? Query Parameters None Query Response Numeric ASCII value from 0 to 32767 Description The Status Questionable Enable command sets the bits in the Questionable Status Enable Register.
VXI Technology, Inc. STATus:QUEStionable[:EVENt] Purpose Queries the Questionable Status Event Register Type Required SCPI command Command Syntax None – Query Only Command Parameters N/A *RST Value N/A Query Syntax STATus:QUEStionable[:EVENt]? Query Parameters None Query Response 0 Description The Questionable Status Event Register is provided for SCPI compliance only. The VM4016 does not alter the bits in this register and queries always report a 0.
www.vxitech.com SYSTem:ERRor? Purpose Queries the Error Queue Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Syntax SYSTem:ERRor? Query Parameters None Query Response ASCII string Description The System Error query is used to retrieve error messages from the error queue. The error queue will maintain the two error messages. If additional errors occur, the queue will overflow and the second and subsequent error messages will be lost.
VXI Technology, Inc. SYSTem:VERSion? Purpose Queries the SCPI version number to which the VM4016 complies Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Syntax SYSTem:VERSion? Query Parameters None Query Response Numeric ASCII value Description The System Version query reports version of the SCPI standard to which the VM4016 complies. Examples Command / Query SYST:VERS? Related Commands None 86 Response (Description) 1994.
www.vxitech.com SECTION 5 THEORY OF OPERATION INTRODUCTION 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 range of ±10 volts or ±100 volts. Each input is compared against a reference voltage derived from an independent 8-bit DAC. The VM4016 has a resolution of 78 mV.
VXI Technology, Inc. INPUT RANGE CONTROL 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 command to select the ±100 volt range is latched into the data buffer at U4 and the control bits are latched into the command buffer at U1. The data out enable line is driven low transferring the data and control bits to the control FPGA, U3.
www.vxitech.
VXI Technology, Inc. SIGNAL COMPARISON 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 loaded by the control FPGA, U3, and provides the reference voltage TRIGLEV1. 100K 10K K9 10pf 100K - (FROM FRONT -CH1 6K U17A 100K PANEL CONNECTOR) +CH1 2K + 100K VMIP BUS 10K K9 VCC 4.7K BUFCH1 - CONTROL FPGA 4.
www.vxitech.com 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 established, it can be observed how the circuitry works during normal operation. For this example the signal -CH1 will be tied to ground. A +5 VDC digital supply line will be monitored for voltage surges in excess 0.25 V.
VXI Technology, Inc.
www.vxitech.com INDEX * L *CLS.................................................................................52 *ESE .................................................................................53 *ESR? ...............................................................................54 *IDN? ...............................................................................55 *OPC ................................................................................56 *RST .....................................