VXI VM4016 User Manual

s
VM4016
USERS
ANUAL
M
82-0022-000
Rev. December 1, 2003
VXI Technology, Inc.
2031 Main Street
Irvine, CA 92614-6509
(949) 955-1894
bu
2
www.vxitech.com

TABLE OF CONTENTS

NTRODUCTION
I
Certification ..........................................................................................................................................................5
Warranty ...............................................................................................................................................................5
Limitation of Warranty .........................................................................................................................................5
Restricted Rights Legend......................................................................................................................................5
Declaration of Conformity.......................................................................................................................................6
General Safety Instructions......................................................................................................................................7
Terms and Symbols...............................................................................................................................................7
Warnings...............................................................................................................................................................7
Support Resources ...................................................................................................................................................9
SECTION 1.................................................................................................................................................................11
Introduction............................................................................................................................................................11
Introduction.........................................................................................................................................................11
Description..........................................................................................................................................................12
VM4016 General Specifications.........................................................................................................................14
SECTION 2.................................................................................................................................................................15
Preparation for Use ................................................................................................................................................15
Installation ..........................................................................................................................................................15
Calculating System Power and Cooling Requirements.......................................................................................15
Setting the Chassis Backplane Jumpers ..............................................................................................................16
Setting the Logical Address ................................................................................................................................16
Front Panel Interface Wiring ..............................................................................................................................16
SECTION 3.................................................................................................................................................................19
Programming .........................................................................................................................................................19
Examples of SCPI Commands............................................................................................................................19
FETCH:CONDITIONED? ..............................................................................................................................19
FETCH:LATCHED? .......................................................................................................................................20
FETCH:RAW? ................................................................................................................................................21
INHOUSE:PSEUDO.......................................................................................................................................22
INHOUSE:REGINT........................................................................................................................................23
INHOUSE:REG_ENABLE.............................................................................................................................24
INHOUSE:CLEAR_LATCH ..........................................................................................................................25
INPUT:DEBOUNCE.......................................................................................................................................26
INPUT:MASK.................................................................................................................................................27
INPUT:MASK:INTERRUPT..........................................................................................................................28
INPUT:OFFSET..............................................................................................................................................29
INPUT:POLARITY.........................................................................................................................................30
INPUT:RANGE ..............................................................................................................................................31
OUTPUT:POLARITY:EXTERNAL:INTERRUPT .......................................................................................32
OUTPUT:POLARITY:EXTERNAL:LATCHED...........................................................................................33
Application Examples............................................................................................................................................34
Single Channel Operation ...................................................................................................................................35
Bracketing a Voltage...........................................................................................................................................38
Register Access Examples .....................................................................................................................................41
Pseudo Register Access ......................................................................................................................................43
VXIplug&play Driver Examples...........................................................................................................................44
SECTION 4.................................................................................................................................................................47
Command Dictionary.............................................................................................................................................47
Introduction.........................................................................................................................................................47
Alphabetical Command Listing ..........................................................................................................................47
Command Dictionary..........................................................................................................................................51
VM4016 Preface 3
VXI Technology, Inc.
Common SCPI Commands....................................................................................................................................52
*CLS ...................................................................................................................................................................52
*ESE ...................................................................................................................................................................53
*ESR? .................................................................................................................................................................54
*IDN? .................................................................................................................................................................55
*OPC...................................................................................................................................................................56
*RST ...................................................................................................................................................................57
*SRE ...................................................................................................................................................................58
*STB? .................................................................................................................................................................59
*TRG ..................................................................................................................................................................60
*TST? .................................................................................................................................................................61
*WAI ..................................................................................................................................................................62
Instrument Specific SCPI Commands....................................................................................................................63
FETCh:CONDitioned? .......................................................................................................................................63
FETCh:LATChed?..............................................................................................................................................64
FETCh:RAW? ....................................................................................................................................................65
INHOUSE:CLEAR_LATCH .............................................................................................................................66
INHOUSE:PSEUDO ..........................................................................................................................................67
INHOUSE:REGINT ...........................................................................................................................................68
INHOUSE:REG_ENABLE ................................................................................................................................69
INPut:DEBounce ................................................................................................................................................70
INPut:MASK ......................................................................................................................................................71
INPut:MASK:INTerrupt .....................................................................................................................................72
INPut:OFFSet .....................................................................................................................................................73
INPut:POLarity...................................................................................................................................................74
INPut:RANGe.....................................................................................................................................................75
OUTPut:POLarity:EXTernal:INTerrupt.............................................................................................................76
OUTPut:POLarity:EXTernal:LATChed.............................................................................................................77
Required SCPI Commands ....................................................................................................................................78
STATus:OPERation:CONDition? ......................................................................................................................78
STATus:OPERation:ENABle.............................................................................................................................79
STATus:OPERation[:EVENt]? ..........................................................................................................................80
STATus:PRESet .................................................................................................................................................81
STATus:QUEStionable:CONDition? .................................................................................................................82
STATus:QUEStionable:ENABle........................................................................................................................83
STATus:QUEStionable[:EVENt] .......................................................................................................................84
SYSTem:ERRor?................................................................................................................................................85
SYSTem:VERSion?............................................................................................................................................86
SECTION 5.................................................................................................................................................................87
Theory of Operation ..............................................................................................................................................87
Introduction.........................................................................................................................................................87
Input Range Control............................................................................................................................................88
Signal Comparison..............................................................................................................................................90
Interrupt Generation............................................................................................................................................91
INDEX........................................................................................................................................................................93
4 VM4016 Preface
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.

WARRANTY

The product referred to herein is warranted against defects in material and workmanship for a period of three years from the receipt date of the product at customer’s facility. The sole and exclusive remedy for breach of any warranty concerning these goods shall be repair or replacement of defective parts, or a refund of the purchase price, to be determined at the option of VTI.
For warranty service or repair, this product must be returned to a VXI Technology authorized service center. The product shall be shipped prepaid to VTI and VTI shall prepay all returns of the product to the buyer. However, the buyer shall pay all shipping charges, duties, and taxes for products returned to VTI from another country.
VTI warrants that its software and firmware designated by VTI for use with a product will execute its programming when properly installed on that product. VTI does not however warrant that the operation of the product, or software or firmware will be uninterrupted or error free.

LIMITATION OF WARRANTY

The warranty shall not apply to defects resulting from improper or inadequate maintenance by the buyer, buyer­supplied products or interfacing, unauthorized modification or misuse, operation outside the environmental specifications for the product, or improper site preparation or maintenance.
VXI Technology, Inc. shall not be liable for injury to property other than the goods themselves. Other than the limited warranty stated above, VXI Technology, Inc. makes no other warranties, express or implied, with respect to the quality of product beyond the description of the goods on the face of the contract. VTI specifically disclaims the implied warranties of merchantability and fitness for a particular purpose.

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subdivision (b)(3)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013.
VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 U.S.A.
VM4016 Preface 5
VXI Technology, Inc.

D ECLARATION OF C ONFORMITY

Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014
M
ANUFACTURERS NAME VXI Technology, Inc.
ANUFACTURERS ADDRESS 2031 Main Street
M
Irvine, California 92614-6509
RODUCT NAME Analog Comparator
P
ODEL NUMBER(S) VM4016
M
P
RODUCT OPTIONS All
RODUCT CONFIGURATIONS All
P
VXI Technology, Inc. declares that the aforementioned product conforms to the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/366/EEC (inclusive 93/68/EEC) and carries the “CE” mark accordingly. The product has been designed and manufactured according to the following specifications:
AFETY EN61010 (2001)
S
EMC EN61326 (1997 w/A1:98) Class A
CISPR 22 (1997) Class A VCCI (April 2000) Class A ICES-003 Class A (ANSI C63.4 1992) AS/NZS 3548 (w/A1 & A2:97) Class A FCC Part 15 Subpart B Class A EN 61010-1:2001
The product was installed into a C-size VXI mainframe chassis and tested in a typical configuration.
I hereby declare that the aforementioned product has been designed to be in compliance with the relevant sections of the specifications listed above as well as complying with all essential requirements of the Low Voltage Directive.
December 2003
_________________________
Jerry Patton, QA Manager
6 VM4016 Preface
www.vxitech.com
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.
TERMS AND SYMBOLS
These terms may appear in this manual:
WARNING
CAUTION
These symbols may appear on the product:

GENERAL SAFETY INSTRUCTIONS

Indicates that a procedure or condition may cause bodily injury or death.
Indicates that a procedure or condition could possibly cause damage to equipment or loss of data.
WARNINGS
ATTENTION - Important safety instructions
Follow these precautions to avoid injury or damage to the product:
Use Proper Power Cord
Use Proper Power Source
Use Proper Fuse
Frame or chassis ground
To avoid hazard, only use the power cord specified for this product.
To avoid electrical overload, electric shock, or fire hazard, do not use a power source that applies other than the specified voltage.
To avoid fire hazard, only use the type and rating fuse specified for this product.
VM4016 Preface 7
WARNINGS (CONT.)
Avoid Electric Shock
Ground the Product
Operating Conditions
Improper Use
VXI Technology, Inc.
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.
This product is grounded through the grounding conductor of the power cord. To avoid electric shock, the grounding conductor must be connected to earth ground.
To avoid injury, electric shock or fire hazard:
- Do not operate in wet or damp conditions.
- Do not operate in an explosive atmosphere.
- Operate or store only in specified temperature range.
- Provide proper clearance for product ventilation to prevent overheating.
- DO NOT operate if you suspect there is any damage to
this product. Product should be inspected or serviced
only by qualified personnel.
The operator of this instrument is advised that if
equipment is used in a manner not specified in this manual, the protection provided by this equipment be may be impaired.
8 VM4016 Preface
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. 1924 - 203 Bickford Snohomish, WA 98290
Phone: (425) 212-2285 Fax: (425) 212-2289
Technical Support
Phone: (949) 955-1894 Fax: (949) 955-3041 E-mail: support@vxitech.com
Visit http://www.vxitech.com for worldwide support sites and service plan information.
VM4016 Preface 9
VXI Technology, Inc.
10 VM4016 Preface
www.vxitech.com
A
V
V
V

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. The VM4016 command set conforms with the SCPI standard for consistency and ease of programming.
The VM4016 is a member of the VXI Technology VMIP™ (VXI Modular Instrumentation Platform) family and is available as a 16-, 32- or 48-channel, single-wide VXIbus instrument. In
addition to these three standard configurations, the VM4016 may be combined with any of the other members of the VMIP family to form a customized and highly integrated instrument (see Figure 1-1). This allows the user to reduce system size and cost by combining the VM4016 with two other instrument functions in a single-wide C-size VXIbus module. Figure 1-2 shows the 48-channel version of the VM4016. The 32-channel version would not have J200 and its associated LEDs and nomenclature while the 16-channel version would also eliminate J202.
MIP
INSTRUMENT
MODULE #1
I N T E
V X
I B U S
MIP
INTERFACE
R N
L
M P B
U S
MIP
INSTRUMENT
V I
MODULE #2
VMIP
INSTRUMENT
MODULE #3
FIGURE 1-1: VMIP™ PLATFORM
VM4016 Preparation for Use 11
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.
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
ACC/ ERR
FAIL
LED will illuminate red. The ACC/ERR LED indicates communication status. When a successful Access occurs, the LED will blink green during data transfer and command/query operations. In the event of an unrecognized command, or other data related error, the ACC/ERR LED will illuminate red. If there is no command/query activity, and no errors, the ACC/ERR LED will be extinguished. The normal state of the LEDs on a properly functioning idle instrument is for the FAIL LED to be green, and the ACC/ERR LED to be off.

DESCRIPTION

The VM4016 is a high-performance Analog Comparator module with 16 input channels
J200
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
ACC/ ERR
FAIL
compared against a reference voltage derived from an independent 8-bit DAC.
Each input signal is digitally debounced for a programmed time ranging from
µ
approximately 10
s to 0.5 seconds. This prevents input signal noise from causing undesired interrupts. After debounce, the signal may be programmatically inverted to select the input transition edge of interest (rising or falling edge) and masked to prevent unused channels from causing interrupts.
All of the masked inputs are OR’d together to produce a single interrupt signal. This interrupt signal is used to generate a VXIbus interrupt as well as the front panel interrupt outputs. All active input is recorded as a 1. Once the VXIbus interrupt is serviced by the slot 0 controller, the First Latched Register will be cleared.
J201
The state of each channel’s debounced input and the inverted and masked status may be
ACC/ ERR
FAIL
read directly in the user defined area of the VXIbus registers as can the First Latched register. This information may also be retrieved using the message-based word serial interface.
The block diagram of Figure 1-3 shows the overall functionality of the VM4016 Analog Comparator instrument.
J202
bus
FIGURE 1-2: FRONT PANEL LAYOUT
12 VM4016 Preparation for Use
www.vxitech.com
V
XI MODULE
PANEL
CH1+ CH1-
DIFFERENTIAL
AMPLIFIER X1 OR X0.1
CHANNEL 1 OF
COMPARATOR
DEBOUNCE
10 uS TO 0.5 S
TO VXIBU S COMPARE
REGISTERS
8 BIT DAC
+5V
IRQ
CHANNEL 16 OF
INVER T
REGISTER
FIRST LIMIT
INVER T
REGISTER
INTERRUPT
INVER T
REGISTER
MASK
REGISTER
FIRST LIMIT
LATCH
REGISTER
INTERRUPT AND FIRST LIMIT LOGIC
VXIbus
INTERR UPT
TO VXI BUS FIRST LIMIT
REGISTER
+5V
L IRQ
FIGURE 1-3: VM4016 BLOCK DIAGRAM
VM4016 Preparation for Use 13
GENERAL SPECIFICATIONS
CHANNELS VM4016-1 VM4016-2 VM4016-3 INPUT RANGE
INPUT THRESHOLD ±10.0 V ±100.0 V INPUT TYPE
INPUT IMPEDANCE
INPUT POLARITY
DEBOUNCE TIME
IRQ OUTPUT
LATCHED IRQ OUTPUT
VXI INTERFACE
LOGICAL ADDRESSING
RAW DATA REGISTER
MASKED DATA REGISTER
FIRST LATCHED REGISTER
POWER REQUIREMENTS VM4016-1 VM4016-2 VM4016-3 COOLING REQUIREMENTS VM4016-1 VM4016-2 VM4016-3
VXI Technology, Inc.

VM4016 GENERAL SPECIFICATIONS

16 32 48
±10.0 V, ±100 V
78 mV 780 mV
Differential, may be configured for single-ended by grounding the negative input
200 kΩ Differential 100 k Single-ended
Rising or Falling Edge
9.6 µs to 0.6291456 s, 9.6 µs resolution
Open Collector Driver, 200 mA max. sink Internally pulled up to +5 V with 10 k resistor
Open Collector Driver, 200 mA max. sink Internally pulled up to +5 V with 10 k resistor
Message-based word serial interface Direct register access in the user defined area of the VXIbus register map
Static or Dynamic Configuration
Logical Address + 20H
Logical Address + 28H
Logical Address + 30H
+5 V @ 1.43 A, -5.2 V @ 0.17 A, +24 V @ 0.05 A, -24 V @ 0.05 A +5 V @ 2.12 A, -5.2 V @ 0.29 A, +24 V @ 0.10 A, -24 V @ 0.10 A +5 V @ 2.81 A, -5.2 V @ 0.41 A, +24 V @ 0.15 A, -24 V @ 0.15 A
See Power Cooling Table See Power Cooling Table See Power Cooling Table
14 VM4016 Preparation for Use
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. The chassis should be checked to ensure that it is capable of providing adequate power and cooling for the VM4016. Once the chassis is found be adequate, the VM4016’s logical address and the chassis’ backplane jumpers should be configured prior to the VM4016’s installation.

CALCULATING SYSTEM POWER AND COOLING REQUIREMENTS

It is imperative that the chassis provide adequate power and cooling for this module. Referring to the chassis user’s manual, confirm that the power budget for the system (the chassis and all modules installed therein) is not exceeded and that the cooling system can provide adequate airflow at the specified backpressure.
It should be noted that if the chassis cannot provide adequate power to the module, the instrument may not perform to specification or possibly not operate at all. In addition, if adequate cooling is not provided, the reliability of the instrument will be jeopardized and permanent damage may occur. Damage found to have occurred due to inadequate cooling would also void the warranty of the module.
VM4016 Preparation for Use 15

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. A switch pushed toward the ON legend will signify a logic 1; switches pushed away from the ON legend will signify a logic 0. The switch located at position 1 is the least significant bit while the switch located at position 8 is the most significant bit. See Figure 2-1 for examples of setting the logical address switch.
VXI Technology, Inc.
ON ON
1ON2345678
SET TO 4
ON ON
12345678
SET TO 168
1ON2345678
SET TO 8
1
2345678
SET TO 255
(Dynamic)
Switch
Position
1 2 3 4 5 6 7 8
Switch
Value
1 2 4 8
16 32 64
128
FIGURE 2-1: LOGICAL ADDRESS SWITCH SETTING EXAMPLES
The VMIP may contain three separate instruments and will allocate logical addresses as required by the VXIbus specification (revisions 1.3 and 1.4). It is necessary that the address of the first instrument (the instrument closest to the top of the module) be set at an address which is divisible by 4 and not set to 0. Switch positions 0 and 1 must always be set to the OFF position. Therefore only addresses of 4, 8, 12, 16 ... 252 are allowed. The address switch should be set for one of these legal addresses and the address for the second instrument (the instrument in the center position) will automatically be set to the switch set address plus one; while the third instrument (the instrument in the lowest position) will automatically be set to the switch set address plus two.
If dynamic address configuration is desired, the address switch should be set for a value of 255. Upon power-up, the slot 0 resource manager will assign logical addresses to each instrument in the VMIP module.

FRONT PANEL INTERFACE WIRING

The VM4016’s interface is made available on the front panel of the instrument. The 16-channel version (VM4016-1) will have J201 that contains all signals for this instrument. The 32-channel version (VM4016-2) will have J201 and J202 provided, while the 48-channel version (VM4016-
3) will have J200, J201 and J202. The wiring for each of these connectors is identical and since each group of 16 channels is treated as a separate instrument, the module will have three Channel 1s, three Channel 2s, three Channel 3s, etc.
16 VM4016 Preparation for Use
www.vxitech.com
CHANNEL 1 + 1 GROUND 23 CHANNEL 1 - 2 CHANNEL 11 + 24 GROUND 3 CHANNEL 11 - 25 CHANNEL 4 + 4 CHANNEL 14 + 26 CHANNEL 4 - 5 CHANNEL 14 - 27 CHANNEL 7 + 6 GROUND 28 CHANNEL 7 - 7 CHANNEL 16 + 29 GROUND 8 CHANNEL 16 - 30 CHANNEL 10 + 9 CHANNEL 3 + 31 CHANNEL 10 - 10 CHANNEL 3 - 32 CHANNEL 13 + 11 GROUND 33 CHANNEL 13 - 12 CHANNEL 6 + 34 GROUND 13 CHANNEL 6 - 35 IRQ OUTPUT 14 CHANNEL 9 + 36 GROUND 15 CHANNEL 9 - 37 CHANNEL 2 + 16 GROUND 38 CHANNEL 2 - 17 CHANNEL 12 + 39 GROUND 18 CHANNEL 12 - 40 CHANNEL 5 + 19 CHANNEL 15 + 41 CHANNEL 5 - 20 CHANNEL 15 - 42 CHANNEL 8 + 21 GROUND 43 CHANNEL 8 - 22 LATCHED IRQ OUT 44
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.
TABLE 2-1: ANALOG COMPARATOR PIN OUTS
SIGNAL PIN NUMBER SIGNAL PIN NUMBER
VM4016 Preparation for Use 17
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.
16
31
1
44
15
30
FIGURE 2-2: J200, J201 AND J202 PIN LOCATIONS
18 VM4016 Preparation for Use
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? Returns the state of the conditioned 0
(masked and inverted) inputs.
VM4016 Programming 19
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
FETCh:LATChed? Returns the active signals in the First 1 Latched register. Channel 1.
FETC:LATC? Returns the active signals in the First 3 Latched Register. Channels 1 and 2.
20 VM4016 Programming
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? Returns the state of the unconditioned 1 (unmasked and non-inverted) inputs
Channel 1.
FETC:RAW? All 16 channels crossed the programmed 65535 threshold.
VM4016 Programming 21
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. Although the hardware register interface is much faster than the pseudo register interface, it lacks the above two features. It is important to note that when the module is shipped from the factory, pseudo is set to 1. It is also important to note that all letters of the command must be provided as there is no short form for this command.
INHOUSE:PSEUDO <boolean> Where <boolean> is 0 | OFF | 1 | ON.
EXAMPLES
INHOUSE:PSEUDO 1 Sets the pseudo register interface ON. (The
unit must be powered for the change to take effect.)
INHOUSE:PSEUDO? Returns 1 which states that the register 1 interface is set to pseudo.
22 VM4016 Programming
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 <boolean> Where <boolean> is 0 | OFF | 1 | ON.
EXAMPLES
INHOUSE:REGINT 1 Sets the type of module interrupt response to
one backplane interrupts for every first latched event.
INHOUSE:REGINT? Returns the type of module interrupt 1 response as 1.
INHOUSE:REGINT 0 Sets the type of module interrupt response
as two backplane interrupts for each latched event.
INHOUSE:REGENT? Returns the type of module interrupt 0 response as 0.
VM4016 Programming 23
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. It is important to note that all letters of the command must be provided as there is no short form for this command.
INHOUSE:REG_ENABLE <boolean> Where <boolean> is 0 | OFF | 1 | ON.
EXAMPLES
INHOUSE:REG_ENABLE 1 Enables the REGINT type interrupt generation
INHOUSE:REG_ENABLE? Returns 1 to state that backplane 1 interrupting is currently enabled.
INHOUSE:REG_ENABLE 0 Disabling REGINT interrupt generation. INHOUSE:REG_ENABLE? Returns 0 to state that backplane
0 interrupting is currently disabled.
24 VM4016 Programming
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. It is important to note that all letters in the command must be provided as there is no short form for this command.
INHOUSE:CLEAR_LATCH <boolean> Where <boolean> is 0 | OFF | 1 | ON.
EXAMPLES
INHOUSE:CLEAR_LATCH 1 Clears the first latched information on a
read.
INHOUSE:CLEAR_LATCH? Returns 1 stating that the first latched 1 information will be cleared on a read.
FETC:LATC? Reading the first latched information. This 1 also clears the latched information.
FETC:LATC? Reading the first latched information 0 returns a value of 0 once the clearing of
latch information was enabled (assuming no further latching occurred).
VM4016 Programming 25
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
INPut:DEBounce <value> Where <value> ranges from 9.6
EXAMPLES
INPut:DEBounce 9.6e-6 Sets the input debounce time for all
INP:DEB 0.6 Setting input debounce time to 0.6 s. INP:DEB? Returns the input debounce time as 0.6 s.
0.6
s.
µ
s, i.e.,
0.0000096 s to 0.6291456 s.
channels to 0.0000096 s. This will not allow a signal to generate an interrupt unless the input signal crosses the signal for more than 9.6 e-6 seconds.
26 VM4016 Programming
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 <state>, <channel_list> Where <state> is 0 | OFF | 1 | ON.
Where <channel_list> is standard channel list format supporting channels 1 through
16.
EXAMPLES
INPut:MASK ON,(@1:8) Enables channels 1 through 8 to generate
interrupts.
INPut:MASK? 3 Reports that channel 3 is enabled for 1 voltage comparison.
INP:MASK? 9 Reports that channel 9 is not enabled for 0 voltage comparison.
VM4016 Programming 27
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 <boolean> Where <boolean> is 0 | OFF | 1 | ON.
EXAMPLES
INPut:MASK:INT 0 Disables interrupt generation INPut:MASK:INT? Reports that interrupt generation is disabled
0
28 VM4016 Programming
Loading...
+ 65 hidden pages