ABLE OF CONTENTS ................................................................................................................................................3
Limitation of Warranty.........................................................................................................................................6
Restricted Rights Legend......................................................................................................................................6
DECLARATION OF CONFORMITY ...............................................................................................................................7
GENERAL SAFETY INSTRUCTIONS .............................................................................................................................9
Terms and Symbols..............................................................................................................................................9
SUPPORT RESOURCES..............................................................................................................................................11
Programming & Data Access .............................................................................................................................15
PREPARATION FOR USE...........................................................................................................................................17
Calculating System Power and Cooling Requirements ......................................................................................17
Setting the Chassis Backplane Jumpers..............................................................................................................17
Setting the Logical Address................................................................................................................................18
Front Panel Interface Wiring..............................................................................................................................18
EXAMPLES OF SCPICOMMANDS ............................................................................................................................23
THEORY OF OPERATION........................................................................................................................................133
Interface and Control FPGA.............................................................................................................................134
Data Capture.....................................................................................................................................................136
INDEX ........................................................................................................................................................................137
VM2608/2616 Preface 5
VXI Technology, Inc.
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 th e 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, buyersupplied 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.
6 VM2608/2616 Preface
www.vxitech.com
D ECLARATION OF C ONFORMITY
Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014
ANUFACTURER’S NAMEVXI Technology, Inc.
M
ANUFACTURER’S ADDRESS2031 Main Street
M
Irvine, California 92614-6509
RODUCT NAMEAnalog-to-Digital Converter
P
ODEL NUMBER(S) VM2608 & VM2616
M
RODUCT OPTIONSAll
P
RODUCT CONFIGURATIONSAll
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:
AFETYEN61010 (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.
April 2007
Steve Mauga, QA Manager
VM2608/2616 Preface 7
VXI Technology, Inc.
8 VM2608/2616 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.
ATTENTION - Important safety instructions
WARNINGS
Frame or chassis ground
Indicates that the product was manufactured after August 13, 2005. This mark is
placed in accordance with EN 50419, Marking of electrical and electronic equipment in accordance with Article 11(2) of Directive 2002/96/EC (WEEE).
End-of-life product can be returned to VTI by obtaining an RMA number. Fees
for take-back and recycling will apply if not prohibited by national law.
Follow these precautions to avoid injury or damage to the product:
Use Proper Power Cord
Use Proper Power Source
Use Proper Fuse
To avoid hazard, only use the power cord specified for this product.
To avoid electric al overload, electric shoc k, 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.
VM2608/2616 Preface 9
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.
10 VM2608/2616 Preface
www.vxitech.com
Visit
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
5425 Warner Road
Suite 13
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
http://www.vxitech.com for worldwide support sites and service plan information.
VM2608/2616 Preface 11
VXI Technology, Inc.
12 VM2608/2616 Preface
www.vxitech.com
A
V
V
V
SECTION 1
INTRODUCTION
OVERVIEW
The VM2608/2616 instrumentation module provides 8/16 independent channels of an analog to
digital converter (ADC), with 16 bits of resolution and a sample rate of up to 100 kSamples/s
(kSa/s). Each channel consists of an independent ADC combined with its own instrumentation
amplifier providing a true differential input. The command set conforms to the SCPI standard for
consistency and ease of programming
Three VM2608/2616s installed in a single-wide C-size module creates 48 independent A/D
channels. The VM2608/2616 may also be combined with any of the other members of the
VMIP™ (VXI Modular Instrumentation Platform) family to form a customized and highly
integrated instrument (see
combining the VM2608/2616 with two other instrument functions in a single-wide, C-size VXIbus
module.
Figure 1-1). This allows the user to reduce system size and cost by
V
X
I
B
U
S
MIP
INTERFACE
IGURE 1-1:VMIP™PLATFORM
F
M
MIP
INSTRUMENT
MODULE #1
I
N
T
E
R
N
L
V
I
P
B
U
S
MIP
INSTRUMENT
MODULE #2
VMIP
INSTRUMENT
MODULE #3
VM2608/2616 Introduction 13
VXI Technology, Inc.
ACC/
ERR
ACC/
ERR
J200
FAIL
FAIL
DESCRIPTION
The VM2608/2616 instrumentation module provides 8 or 16 independent channels of an
analog to digital converter (ADC) with 16 bits of resolution and a sample rate of up to
100 kSa/s. Each channel consists of an independent ADC combined with its own
instrumentation amplifier providing a true differential input.
Each group of four channels has a separate bank of memory that may be allocated to one, two,
three, or four converters. This allows for the most efficient use of the available memory. The
data may also be directly routed to the VXIbus for direct data collection.
The input data is acquired when a conversion trigger event occurs from one of the four
following methods:
1) Trigger source from the front panel input: This input is TTL compatible and is edge
sensitive. The unit may be programmed to trigger on either the rising or the falling edge
of this signal.
2) Trigger source from the VXI TTL trigger bus: Any one of the eight TTL trigger bus lines
may be selected as the trigger source. The unit may be programmed to trigger on either
the rising or the falling edge of this signal.
3) Trigger upon receipt of a word serial command: When this mode is selected, the ADCs
will convert when a word serial command is received by the instrument.
4) Trigger from one of the 8 or 16 input channels: One of the input channels can be selected
to trigger the board.
The trigger event causes all channels to convert simultaneously and pre- and post-triggering is
available for added flexibility.
ACC/
ERR
J201
J202
bus
FAIL
Since three VM2608/2616s can be accommodated on a single C-size VXIbus card, three
groups of 8 or 16 channels each can all be operating and triggering independently. For
example, one VM2608/2616 can be acquiring data while another is waiting for a trigger.
IGURE 1-2:FRONT PANEL LAYOUT
F
14 VM 2608/2616 Introduction
www.vxitech.com
PROGRAMMING &DATA ACCESS
Word Serial Message-based Data Access: In this mode, the converted data and all other functions
are accessed via the VXI message-based interface. Commands are sent to query the converted
values as well as to initiate functions, such as triggering a conversion or querying the calibration
constants of each channel. To ease programming, SCPI command sets are used and
VXIplug&play drivers are provided.
Pseudo-Register Data Access: In this mode, the data is accessed as in any register-based VXI
module, but is different in that the local microprocessor performs additional functions before
passing data to the host controller. For example, the local VMIP microprocessor performs the
necessary math to provide calibrated data. After a conversion has been made, the microprocessor
reads all ADCs and applies the necessary math to obtain accurate data. The data is then loaded
into the user definable VXI registers for access.
CALIBRATION
The calibration constants used to correct the data values are stored in non-volatile memory. These
constants are determined when the instrument is calibrated and can be changed as necessary (such
as during routine calibration cycles or when the user selects a new gain setting and wishes to set
the gain accurately). These constants may also be queried at any time via a word serial query and
altered via a word serial command. All calibration is done using calibration DACs to adjust the
gain and offset of each channel. This eliminates the need for removing covers from the unit and
allows for automated calibration.
±0.1 V ±10 V 3.05 µV ±0.06 ± 0.01 ±0.002 ± 0.0020 dc to >10 kHz
±0.4 V ±40 V 12.2 µV ±0.07 ± 0.01 ±0.003 ± 0.0025 dc to >10 kHz
±1.0 V ±10 V 30.5 µV ±0.05 ± 0.01 ±0.002 ± 0.0020 dc to >20 kHz
±4.0 V ±40 V 122 µV ±0.06 ± 0.01 ±0.003 ± 0.0025 dc to >20 kHz
±10.0 V ±10 V 305 µV ±0.05 ± 0.01 ±0.002 ± 0.0020 dc to >15 kHz
±40.0 V ±40 V 1.22 mV ±0.05 ± 0.01 ±0.003 ± 0.0025 dc to >15 kHz
1
Bandwidth specifications are measured with full-scale range sine wave input
1-year specifications with 1 hr warm-up, averaged over 10,000 samples
Specifications are valid at 23 ºC ± 5 ºC
Common Mode
Input Range Resolution % Reading + % Range
REFERENCE OSCILLATOR
SAMPLING CLOCK
SAMPLE RATE
SAMPLE MEMORY STANDARD MEMORY 512kWORD OPTION
One active channel
Two active channel
Three active channel
Four active channel
All components should be immediately inspected for damage upon receipt of the unit.
Once the VM2608/2616 is assessed to be in good condition, it may be installed in to an ap propriate
C-size or D-size VXIbus chassis in any slot other than slot zero. The chassis should be checked to
ensure that it is capable of providing adequate power and cooling for the VM2608/2616. Once the
chassis is found adequate, the VM2608/2616’s logica l address and the backplane jumpers of the
chassis should be configured before the VM2608/2616’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 wou ld also void the warranty of
the module.
SETTING THE CHASSIS BACKPLANE JUMPERS
Please refer to the chassis user manual for further details on setting the backplane jumpers.
VM2608/2616 Preparation for Use 17
SETTING THE LOGICAL ADDRESS
The logical address of the VM2608/2616 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 logic 1; switches pushed away from the ON legend will signify 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.
ONON
1ON2345678
SET TO 4
ONON
12345678
SET TO 168
F
IGURE 2-1:LOGICAL ADDRESS SWITCH SETTING EXAMPLES
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
The VMIP may contain three separate instruments and will allocate logical addresses as required
by the VXIbus specification (revisions 1.3 and 1.4). The logical address of the instrument is set on
the VMIP carrier. The VMIP logical addresses must be set to an even multiple of 4 unless dynamic addressing is used. Switch positions 1 and 2 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 p lus two.
If dynamic address configuration is desired, the address switch should be set for a value of 255
(All switches set to ON). Upon power-up, the slot 0 resource manager will assign the first
available logical addresses to each instrument in the VMIP module.
If dynamic address configuration is desired, the address switch should be set for a value of 255.
(All switches set to ON). Upon power-up, the slot 0 resource manager will assign the first
available logical addresses to each instrument in the VMIP module.
FRONT PANEL INTERFACE WIRING
The VM2608/2616’s serial interface is made available on the front panel of the instrument. The
8/16-channel version (VM2608/2616-1) will have a J201 that contains all signals for this
instrument. The 16/32-channel version (VM2608/2616-2) will have J201 and J202 provided, while
the 24/48-channel version (VM2608/2616-3) will have J200, J201, and J202. The wiring for each
of these connectors is identical and since each group of four channels is treated as a separate
instrument, the module will have three Channel 1s, three Channel 2s, three Channel 3s, etc.
18 VM2608/2616 Preparation for Use
www.vxitech.com
TABLE 2-1:PIN ASSIGNMENTS FOR MODEL VM2608/2616ADC
The input connector for the VM2608/2616 ADC boards is a 44-pin female high-density D-sub
type. Connections listed are for the model VM2616, 16-channel ADC board. A solder pot type
mating connector is provided with each unit. Contact the factory for more information on
connectors. The pin locations for J200, J201, and J202 are shown in
Figure 2-2.
16
31
1
44
15
30
F
IGURE 2-2:J200,J201 AND J202PIN LOCATIONS
VM2608/2616 Preparation for Use 19
VXI Technology, Inc.
20 VM2608/2616 Preparation for Use
www.vxitech.com
SECTION 3
PROGRAMMING
INTRODUCTION
The VM2608/2616 is a VXIbus message-based device whose command set is compliant with the
Standard Command for Programmable Instruments (SCPI) programming language.
All module commands are sent over the VXIbus backplane to the module. Commands may be in
upper, lower or mixed case. All numbers are sent in ASCII decimal unless otherwise noted.
The module recognizes SCPI commands. SCPI is a tree-structured language based on IEEE-STD-
488.2 Specifications. It uses the IEEE-STD-488.2 Standard command, and the device dependent
commands are structured to allow multiple branches off the same trunk to be used without
repeating the trunk. To use this facility, end each branch with a semicolon. For example, SLOPe
and SOURce are both branches off the TRIGger: command trunk and can be combined as
follows:
TRIGger:SLOPe <slope>;SOURce <source>
The above command is the same as the these two Commands
TRIGger:SLOPe <slope>
TRIGger:SOURce <source>
See the Standard Command for Programmable Instruments (SCPI) Manual, Volume 1: Syntax &
Style, Section 6, for more information.
The SCPI commands in this section are listed in upper and lower case. Character case is used to
indicate different forms of the same command. Keywords can have both a short form and a long
form (some commands only have one form). The short form uses just the keyword characters in
uppercase. The long form uses the keyword characters in uppercase plus the keyword characters in
lowercase. Either form is acceptable. Note that there are no intermediate forms. All characters of
the short form or all characters of the long form must be used. Short forms and long forms may be
freely intermixed. The actual commands sent can be in upper case, lower case or mixed case ( case
is only used to distinguish short and long form for the user). As an example, these commands are
all correct and all have the same effect:
The following command is not correct because it uses part of the long form of TRIGger, but not
all the characters of the long form:
:slop <slope> incorrect syntax - extra "g"
trigg
All of the SCPI commands also have a query form unless otherwise noted. Query forms contain a
question mark (?). The query form allows the system to ask what the current setting of a parameter
is. The query form of the command generally replaces the parameter with a question mark (?).
Query responses do not include the command header. This means only the parameter is returned:
no part of the command or "question" is returned.
Keywords or parameters enclosed in square brackets ([ ]) are optional. If the optional part is a
keyword, the keyword can be included or left out. Omitting an optional parameter will cause its
default to be used.
Parameters are enclosed by angle brackets (< >). Braces ({ }), or curly brackets, are used to
enclose one or more parameters that may be included zero or more times. A vertical bar (|), read as
"or", is used to separate parameter alternatives.
22 VM2608/2616 Programming
www.vxitech.com
EXAMPLES OF SCPICOMMANDS
ABORt
The Abort command disarms the VM2608/2616 and stops data sampling if active.
ABORt There are no command parameters.
EXAMPLES
ABORt Disarms the VM2608/2616 and stops data
sampling if active.
VM2608/2616 Programmi ng 23
CALibration:COUNt?
The Calibration Count query returns a number that indicates the number of times the
VM2608/2616 has been calibrated. The instrument will increment the coun t every time the nonvolatile memory storing the calibration constants is updated.
CALibration:COUNt? Where the maximum value for count is
EXAMPLES
CALibration:COUNt? 5
(Returns a number (5) that indicates the
VXI Technology, Inc.
16,777,215 after which it will wrap to zero.
VM2608/2616 has been calibrated five
times. There are no query parameters.)
24 VM2608/2616 Programming
www.vxitech.com
CALibration:DEFault
The Calibration Default command sets all the calibration gain and offset values to th eir respective
defaults, (i.e., zero).
CALibration:DEFault There are no command parameters.
The Calibration Gain command is used to set the calibration constant for the gain of the selected
channel; its effect is immediate. It is important to note that the calibration security must be
disabled for the calibration gain command to function.
CALibration <channel>:GAIN <value> Where <channel> is 1 through 16 or 1 through
Where <value> ranges from -128 to +127.
EXAMPLES
CALibration 2:GAIN 75 Sets the gain value of Channel 2 to 75.
CALibration 2:GAIN? 75
(Returns the gain value of Channel 2, which
VXI Technology, Inc.
8.
is currently set as 75.)
26 VM2608/2616 Programming
www.vxitech.com
CALibration:RESet
The Calibration Reset command resets the calibration values from the non-volatile memory.
CALibration:RESet There are no command parameters.
EXAMPLES
CALibration:RESet Restores the calibration values from the
non-volatile memory.
VM2608/2616 Programmi ng 27
CALibration:SECure:CODE
The Calibration Secure Code command sets the code required to disable the calibration security. It
is important to note that the calibration security state must be disabled in order to change th e code
string. The default code set by the factory is ‘VM2608’ for the VM2608 and ‘V M2616’ for the
VM2616.
CALibration:SECure:CODE <block> Where <block> can be from 1 to 12 ASCII
EXAMPLES
CAL:SEC:STAT OFF, #16VM2616 Disabling security.
CALibration:SECure:CODE #15OLIVE Sets the security code for VM2608/2616 in
CAL:SEC:STAT ON Enabling security.
VXI Technology, Inc.
characters in length entered in IEEE 488.2
definite or indefinite length arbitrary block
format.
IEEE 488.2 definite or indefinite length
arbitrary block format. The new code is
“OLIVE”.
28 VM2608/2616 Programming
www.vxitech.com
CALibration:SECure:STATe
The Calibration Secure State command enables or disables the calibration security. When the
security state is ON or active, the calibration constants may not be stored to the non-volatile
memory. To store the calibration constants to the non-volatile memory, the calibration security
must be OFF or disabled. In order to disable the security state, the security code must be supplied
in a 4-part block format. The four parts are:
1) #
2) A single digit that tells how many digits are in the length
3) Length of the block
4) The actual data (in this case, the characters of the password)
CALibration:SECure:STATe <boolean>,<block> Where <boolean> is 0 | OFF | 1 | ON. 0 or OFF
Where <block> is the parameter that must be
EXAMPLES
means values may be stored in the nonvolatile memory. 1 or ON means values may
not be stored in the non-volatile memory.
present to disable the security, which
comprises of four parts as described above.
CALibration:SECure:STATe OFF, #16VM2616 Sets the security OFF so that the calibration
constants can be stored in non-volatile
memory. The password here is assumed to
be “VM2616”. Note that the password is
case sensitive.
CALibration:SECure:STATe? OFF
(Returns the state of the security, which is
currently OFF.)
CALibration:SECure:STATe ON Sets the calibration security state ON so that
the calibration constants may not be stored
in the non-volatile memory.
CALibration:SECure:STATe? ON (Returns the state of the security, which
is currently ON).
VM2608/2616 Programmi ng 29
CALibration:STORe
The Calibration Store command stores the current calibration constants into the non-volatile
memory when the CAL:SEC:STAT is OFF. This command has no effect on the non-volatile
memory when the CAL:SEC:STAT is ON; it will generate an error.
CALibration:STORe The security state should be OFF before
EXAMPLES
CAL:SEC:STAT OFF,#16VM2616 Disabling security.
CAL 1:GAIN 25 Programming Channel 1’s gain.
CAL 1:ZERO -4 Programming Channels 1’s offset.
CAL 2:GAIN 4 Programming Channel 2’s gain.
CAL 2:GAIN -1 Programming Channel 2’s offset.
CALibration:STORe Storing the newly programmed calibration
CAL:SEC:STAT ON Enabling security.
VXI Technology, Inc.
using this command. There are no command
parameters.
constants to the non-volatile memory.
30 VM2608/2616 Programming
www.vxitech.com
CALibration:ZERO
The Calibration Zero command is used to set the calibration constant for the offset of the selected
channel; its effect is immediate. It is important to note that the calibration zero command will
function only when the calibration security is OFF, otherwise an error is generated.
CALibration <channel>:ZERO <value> Where <channel> is 1 through 8 or 1 through
Where <value> ranges from -128 to +127.
EXAMPLES
CALibration 2:ZERO 100 Sets the calibration offset value for the
CALibration 2:ZERO? 100
(Returns the calibration offset value for
16.
Channel 2 to 100.
Channel 2, which is currently set as 100.)
VM2608/2616 Programmi ng 31
FETCh:AVErage?
The Fetch Average query retrieves the average of the data that was collected on the previous run
for the specified channel or channels. The data is retrieved based on the starting and ending point
specified.
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:AVErage? 3, -3, (@1) 1.634528
(Retrieves the average data value from the
data collected on Channel 1, starting at 3
before the trigger point.)
FETCh:AVErage? 0, 0, (@1) 1.734218
(Retrieves the average data value from the
data set collected for Channel 1, starting at
the trigger point and continuing to the end
of memory.)
FETCh:AVErage? (@4) 2.234683
(Retrieves the average data value from all of
the data collected for Channel 4.)
FETCh:AVErage? 0,41.983456,2.543292… <8 or 16 values>
(Retrieves the average data value for the
data collected on all channels, starting from
4 points after the trigger point until the end
of memory.
32 VM2608/2616 Programming
www.vxitech.com
FETCh:DATA?
The Fetch Data query retrieves the actual data collected on the previous run for the specified
channel or channels. The data is retrieved based on the starting and ending point specified.
FETCh:DATA?[ <fetch_counts>[, <fetch_address>][, <channel_list>]]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:DATA?3, -3, (@1) 0.543281, 0.954863, 0.982543
(Retrieves 3 data values from data collected
on Channel 1 starting at 3 before the trigger
point.)
FETCh:DATA? 0, 0, (@2) 0.346893, 0.356394, 0.438421… (until end of
memory)
(Retrieves data for Channel 2, starting at the
trigger point until the end of memory.)
NOTEYou may experience a time out due to lack of data. This will occur when the number of
<fetch_counts> exceeds the number of captured data points, or runs over the data points due to
being assigned a <fetch_address> that puts the number of <fetch_counts> beyond the number of
captured data points. This may be due to the INITiate:DELay command default setting.
INITiate:DELay defaults to a value of 1, causing one pre-trigger event to occur.
SWE:POIN 100 Sets the number of data points to be stored
to 100.
FETCh:DATA 100, 0, (@1) Queries Channel 1 for 100 data points
starting at the trigger point.
Since the INITiate function is not defined as IMMediate, or set to a specified value, the default
setting of INITiate:DELay 1 is active. The first data point would be at the <fetch_address> of -1,
and the last data point would be at the <fetch_address> of 98. The above set of commands would
therefore yield a time out when the data point at <fetch_address> 99 (the 100
th
from 0) was
queried and found to have no data.
To correct this fault, either define the INITIATE function, or initiate the FETCh:DATA?
command at the <fetch_address> of -1, or use a smaller <fetch_counts> value.
VM2608/2616 Programmi ng 33
FETCh:MAXimum?
The Fetch Maximum query specifies that the maximum value out of a group of data collected over
the previous run is to be returned. The data set on which the query is to be performed is specified
by giving the number of points ( fetch count) and a starting point (fetch addr ess). The values are
retrieved for all the channels specified in the channel list with multiple ch annels; the values are
separated by commas.
FETCh:MAXimum?[ <fetch_counts>[, <fetch_address>][, <channel_list>]]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
VXI Technology, Inc.
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:MAXimum? 3,256,(@1) 6.250321
(Retrieves the maximum data value from the
data collected on Channel 1, starting at 256
after the trigger point and ending 3 points
afterward.)
FETCh:MAXimum? 0,0,(@2,3) 7.543216, 3.134369
(Retrieves the maximum value from the data
collected on Channels 2 and 3, starting at
the trigger point until the end of memory.)
FETCh:MAXimum? 0,20 6.341396,4.937614… <8 or 16 values>
(Retrieves the maximum value from the data
collected on all channels, starting at 20
points past the trigger point until the end of
memory.)
collected on Channels 4, 5 and 6, starting at
256 points before the trigger point until 20
points afterward.)
34 VM2608/2616 Programming
www.vxitech.com
FETCh:MINimum?
The Fetch Minimum query specifies that the minimum value out of a group of data collected over
the previous run is to be returned. The data set on which the query is to be performed is specified
by giving the number of points ( fetch count) and a starting point (fetch addr ess). The values are
retrieved for all the channels specified in the channel list with multiple ch annels; the values are
separated by commas.
FETCh:MINimum?[ <fetch_counts>[, <fetch_address>][, <channel_list>]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:MINimum? 512,-512,(@1) 1.250356
(Retrieves the minimum data value from the
data collected on Channel 1, starting at 512
before the trigger point until the trigger
point.)
FETCh:MINimum? 0,1,(@2,3) 1.324695, 2.138794
(Retrieves the minimum value from the data
collected on Channels 2 and 3, starting at
one point after the trigger point until the end
of the memory.
FETCh:MINimum? 0,0 1.938764, 2.349864 …<8 or 16 values>
data collected on Channels 4 through 8,
starting at 256 points before the trigger
point and continuing until the end of
memory.)
VM2608/2616 Programmi ng 35
FETCh:NTRansition?
The Fetch N Transition query returns the first negative transition of a group of data collected over
the previous run. The data set on which the query is to be performed is specified by giving the
number of points (fetch count) and a starting point (fetch address). The values are r etrieved for all
the channels specified in the channel list with multiple channels; the values are separated by
commas.
FETCh:NTRansition?[ <fetch_counts>[, <fetch_address>][, <channel_list>]]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
VXI Technology, Inc.
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:NTRansition? 1024,(@ 16) -1.389654, 7
(Retrieves the largest negative transition
data value from the data collected on
Channel 16, starting at the trigger point and
continuing for 1024 locations after the
trigger point. The largest negative transition
value and the address at which the negative
transition occurred is returned.)
36 VM2608/2616 Programming
www.vxitech.com
FETCh:PP?
The Fetch PP query returns the peak-to-peak value out of a group of data collected over the
previous run. The data set on which the query is to be performed is specified by giving the number
of points (fetch count) and a starting point (fetch address). The values are retrieved for all the
channels specified in the channel list with multiple channels; the values are separated by commas.
FETCh:PP?[ <fetch_counts>[, <fetch_address>][, <channel_lis t>]]
Where <fetch_counts> specifies how many
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
Where <fetch_address> specifies the starting
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
Where <channel_list> is the standard channel
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:PP? 1024, -512, (@1) 3.654892
(Retrieves the peak-to-peak values from the
data that was collected on Channel 1,
starting at 512 before the trigger point and
continuing for 1024 locations).
FETC:PP? 0, -512 3.843961, 4.389656, 3.987632,… <8 or 16
value>
(Retrieves the peak-to-peak values from the
data collected on all channels, starting from
512 points before the trigger point and
continuing until the end of memory.)
VM2608/2616 Programmi ng 37
FETCh:PTRansition?
The Fetch P Transition query returns the first positive transition value out of a group of data
collected over the previous run. The data set on which the query is to be performed is specified by
giving the number of points (fetch count) and a starting point (fetch address). The values are
retrieved for all the channels specified in the channel list with multiple ch annels; the values are
separated by commas.
FETCh:PTRansition?[ <fetch_counts>[, <fetch_address][, <channel_list<]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
VXI Technology, Inc.
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:PTRansition? 32768,-16384,(@16) 0.654892,2.385496
(Retrieves the largest positive transition
data value from the data that was collected
on Channel 16, starting at 16,384 prior to
the trigger point and continuing for 16384
locations after the trigger point. The largest
positive transition value and the address at
which the positive transition occurred are
returned.)
38 VM2608/2616 Programming
www.vxitech.com
FETCh:TRMS?
The Fetch TRMS query returns the True RMS value out of a group of data collected over the
previous run. The data set on which the query is to be performed is specified by giving the number
of points (fetch count) and a starting point (fetch address). The values are retrieved for all the
channels specified in the channel list with multiple channels; the values are separated by commas.
FETCh:TRMS? [ <fetch_counts>[, <fetch_address>][, <channel_list>]]
Where <fetch_counts> specifies how many
Where <fetch_address> specifies the starting
Where <channel_list> is the standard channel
data points are to be retrieved. A
<fetch_counts> of 0 specifies data retrieval
from <fetch_address> to end of memory.
point for the data retrieval. The value of 0
represents the trigger point, a negative value
represents pre-trigger information, and a
positive value represents post-trigger
information.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all channels are
used.
EXAMPLES
FETCh:TRMS? 10891, -7891, (@12) 3.597634
(Retrieves the true RMS value from the data
that was collected on Channel 12, starting
at 7891 locations before the trigger point
and continuing for 3000 locations after the
trigger point.)
FETCh:TRMS? 0, 0 0.963481, 3.987654,… <8 or 16 values>
(Retrieves the true RMS value from the data
collected on all Channel 4, starting at the
trigger point and continuing until the end of
memory.)
VM2608/2616 Programmi ng 39
INITiate:DELay
The Initiate Delay command arms the VM2608/2616 module, after the selected number of sample
points has been taken after the command is received. It is important to note that this command is
used to guarantee that the pre-trigger information is valid. In additio n, an INITiate:IMMediate
command must follow the INITiate:DELay command to actually arm the device; Initiate Delay
only sets up the delay until the device is armed.
INITiate:DELay <sample_points> Where <sample_points> is 1 to maximum
EXAMPLES
INITiate:DELay 50 Arms the VM2608/2616 after the selected
INITiate:DELay? 50
(Returns the number of sample points (50)
VXI Technology, Inc.
memory (128k or 512k).
number of sample points (50) have been
taken after the command is received.
that was configured.)
40 VM2608/2616 Programming
www.vxitech.com
INITiate[:IMMediate]
The Initiate Immediate command arms the VM2608/2616 for data sampling, upon receipt of the
command.
INITiate[:IMMediate] There are no command parameters.
EXAMPLES
INITiate[:IMMediate] Arms the VM2608/2616 for data sampling.
VM2608/2616 Programmi ng 41
OUTPut:TRIGger:SLOPe
The Output Trigger Slope command sets the active slope of the trigger driven onto the TTL trigger
bus.
OUTPut:TRIGger:SLOPe <slope> Where <slope> is either POSitive or NEGative.
EXAMPLES
OUTPut:TRIGger:SLOPe POSitive Sets the active slope of the trigger driven
OUTPut:TRIGger:SLOPe? POS
(Returns the active slope of the trigger
OUTPut:TRIGger:SLOPe NEGative Sets the active slope of the trigger driven
OUTPut:TRIGger:SLOPe? NEG
(Returns the active slope of the trigger
VXI Technology, Inc.
onto the TTL trigger bus as POSitive.
driven onto the TTL trigger bus, which is
POS.)
onto the TTL trigger bus as NEGative.
driven onto the TTL trigger bus, which is
NEG.)
42 VM2608/2616 Programming
www.vxitech.com
OUTPut:TTLTrig[:STATe]
The Output TTLTrig State command enables or disables the driving of the trigger signal onto the
VXIbus backplane TTL trigger lines. It is important to note that STATE is optional.
OUTPut:TTLTrig[:STATE] <state> Where <state> is 0 | OFF | 1 | ON. OFF
EXAMPLES
OUTPut:TTLTrig:STATe ON Enables the output trigger to be driven onto
OUTPut:TTLTrig:STATe? ON
(Returns the state of the output trigger
disables the driving of the trigger signal,
while ON enables the driving of the trigger
signal onto the VXIbus backplane TTLTrigger
lines.
the VXIbus TTL trigger bus lines.
driven onto the VXIbus TTL trigger bus
lines, which is currently ON.)
VM2608/2616 Programmi ng 43
OUTPut:TRIGger:TTLTrig
The Output Trigger TTLTrig command selects which of the eight VXIbus TTL trigger lines the
module will drive when the output is enabled.
OUTPut:TRIGger:TTLTrig <n> Where <n> is 0,1,2,3,4,5,6 or 7 VXIbus
EXAMPLES
OUTPut:TRIGger:TTLTrig 1 Selects TTL Trigger 1 as output trigger line
OUTPut:TRIGger:TTLTrig? 1
(Returns the TTL Trigger line selected for
VXI Technology, Inc.
TTLTrigger lines.
the trigger to be driven onto the backplane
TTLTrigger bus.)
44 VM2608/2616 Programming
www.vxitech.com
REGister:ADDRess
The Register Address command sets up the record-length location the registers will start to access
data. The <address> value is 0 for the trigger point, and is incremented or decremented by 1, to the
allowable value determined by the record size.
Record Size
Ch. 1
Trigger 0
Once the register address point is determined, data can be accessed in register format over the
VXIbus. It is important to note that the *OPC? command should be used, before the data is
accessed, to ensure all word serial-commands have been processed.
REGister:ADDRess <address>[, channel_list] Where <address> equals 0,-1, or +1
0 = trigger point
-1 = trigger point - 1
+1 = trigger point + 1
Where <channel_list> is the standard channel
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If channel
list is not supplied, all the channels are used.
EXAMPLES
REGister:ADDRess 0 Sets the register address to the trigger point
for all channels.
REGister:ADDRess? 0,0,0,… (8 or 16 values)
(Returns the register address to the trigger
point for all channels.)
REGister:ADDRess -1, (@1:4) Sets the register address to the trigger point
-1 for Channels 1 through 4.
REGister:ADDRess? (@1:4) -1,-1,-1
(Returns the register address to the trigger
point -1 for Channels 1 through 4.)
VM2608/2616 Programmi ng 45
ROUTe:CLOSe
The Route Close command enables the channels in the chan nel list. Enabled channels will record
data and will require memory resources. Each group of four channels has its own memory
associated with the group. The available memory per group is evenly allocated between the
channels that are routed closed. The following channels are also OR’ed together (1, 5, 9, 13),
(2, 6, 10, 14), (3, 7, 11, 15), (4, 8, 12, 16). This implies that if Channel 1 and Channel 6 are routed
closed, the memory allocated for the first group (Channels 1, 2, 3, and 4), and the second group
(Channels 5, 6, 7, and 8) would be allocated to two channels.
ROUTe:CLOSe <channel_list> Where <channel_list> is the standard channel
EXAMPLES
ROUTe:CLOSe (@1,2,4) Enables Channels 1, 2, and 4 for data
ROUTe:CLOSe? 1, 2, 4
(Returns the list of channels that are
VXI Technology, Inc.
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If channel
list is not supplied, all the channels are used.
recording.
enabled in the channel list (i.e., 1, 2 and 4).)
46 VM2608/2616 Programming
www.vxitech.com
ROUTe:OPEN
The Route Open command disables the channels in the channel list. Disabled channels will not
record data and will not use memory resources.
ROUTe:OPEN <channel_list> Where <channel_list> is the standard channel
EXAMPLES
ROUTe:OPEN (@1,2,4) Disables Channels 1, 2 and 4 from
ROUTe:OPEN? 1,2,4
Returns the channels that are disabled from
ROUT:CLOS (@1) Enabling Channel 1 for data recording.
ROUTe:OPEN? 2,4
(Returns the channels that are disabled from
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If channel
list is not supplied, all the channels are used.
collecting data and using memory resources.
collecting data and using memory resources,
(i.e., 1, 2, 4, assuming all other channels
were previously closed).
collecting data and using memory resources,
i.e., 2 and 4 (assuming all other channels
were previously closed).)
VM2608/2616 Programmi ng 47
SWEep:POINts
The Sweep Points command sets the number of points in a record. The number of points must be
N, where N ranges from two to the maximum memory allowable, as defined in the following table:
All channels acquire data simultaneously, so the number of sweep points set would apply to all
channels.
SWEep:POINts <points> Where <points> is the number of samples to
EXAMPLES
SWEep:POINts 131072 Sets the sweep points to all of the available
SWEep:POINts? 131072
(Returns the number of sweep points in a
SWEep:POINts 32760 Sets the sweep points to 32K samples.
VXI Technology, Inc.
Active Channels Standard Memory 512K Word Option
1 128K words (131,071) 512K words (524,287)
2 64K words (64,535) 256K words (262,143)
3 42.6K words (43,689) 170.6K words (174,761)
4 32K words (32,767) 128K words (131,071)
be acquired. It ranges from 2 to 128K for 128K
on-board memory and 2 to 512K for 512K onboard memory.
memory for the standard memory
configuration or ¼ memory size for 512K
memory.
records, i.e., 128K.)
48 VM2608/2616 Programming
www.vxitech.com
SWEep:STEP
The Sweep Step command sets the time interval between samples (time is specified in seconds).
This is the sampling rate of the digitizer and is the same for all channels. The sample rate can be
set from 100 kHz (0.000010) to 9.5367 Hz (0.1048575).
SWEep:STEP <time> | default Where <time> specifies the time in seconds
from 0.000010 (100 kHz) to 0.1048575
(9.5367 Hz). The default value is 0.000010
(100 kHz).
EXAMPLES
SWEep:STEP 0.0010 Sets the time interval between samples for
all channels to the value of 0.001 seconds.
SWEep:STEP?
0.0010
(Returns the time interval between samples,
i.e., 0.0010 seconds.)
SWEep:STEP Sets the time interval between samples for
all channels to default value of 100 kHz
(0.000010 Hz).
VM2608/2616 Programmi ng 49
SYNC
VXI Technology, Inc.
The Sync Command allows synchronization of multiple VM2608/2616 modules in a VXIbus
chassis, in order to allow multiple modules to simultaneously acquire data. Each card is
programmed to trigger off a VXIbus trigger line, and one card is set to generate a sync pulse to
that trigger line.
SYNC <mode> Where <mode> is OUTPut 1 | OUTPut 2,
OUTPut 3….OUTPut 7, which is the VXIbus
TTL trigger line of the master VM2608/2616
module. INPut 0 | INPut 1…..INPut 7 are the
slave VM2608/2616 TTL trigger lines. OFF is
used to disable synchronization of multiple
VM2608/2616 modules.
EXAMPLES
SYNC OUTPut 0 Sets TTL trigger line 0 as the master sync
output line.
SYNC OFF Disables synchronization of multiple
VM2608/2616 modules in the VXIbus
chassis.
SYNC? OFF
(Reports that synchronization of multiple
VM2608/2616 modules is disabled.)
50 VM2608/2616 Programming
www.vxitech.com
TRACe:LENGth?
The Trace Length query returns the actual size of data captured during the previous run.
TRACe:LENGth? There are no query parameters.
EXAMPLES
TRACe:LENGth? 500
(Returns the actual size of data captured
during the previous run, ( i.e., 500.))
VM2608/2616 Programmi ng 51
TRACe:POINts?
The Trace Points query returns the potential length of the trace that can be captured based upon
the current settings.
TRACe:POINts? There are no query parameters.
EXAMPLES
TRACe:POINts? 32768
(Returns the potential length of the trace
VXI Technology, Inc.
that can be captured (i.e., 32768).)
52 VM2608/2616 Programming
www.vxitech.com
TRIGger[:IMMediate]
The Trigger Immediate command is a word serial trigger command that initiates data capture.
TRIGger[:IMMediate] There are no command parameters.
EXAMPLES
TRIGger[:IMMediate] Word serial trigger command to initiate
data capture.
NOTEThis command takes effect only when the module is armed for a trigger. This command performs
the same function as *TRG.
VM2608/2616 Programmi ng 53
TRIGger:LEVel
The Trigger Level command sets the trigger level for the selected trigger source, given that the
source is either the front-panel external inputs, or one of the measurement inputs.
TRIGger:LEVel <trigger_level> | default Where <trigger_level> is a value within the
EXAMPLES
TRIGger:LEVel 1.5 Sets the trigger level for the selected trigger
TRIGger:LEVel? 1.5
(Returns the trigger for the selected trigger
TRIGger:LEVel Sets the trigger level to the default value of
VXI Technology, Inc.
entire input range at the selected gain (i.e.,
the 1 V range can have a trigger level
from -1.0 V to +1.0 V). The default value is
0.0 V.
source as 1.5 V.
source, i.e., 1.5 V.)
0.0 V.
54 VM2608/2616 Programming
www.vxitech.com
TRIGger:SLOPe
The Trigger Slope command selects the active edge for triggering the VM2608/2616. Selecting a
positive slope will require the trigger input to make a negative to positive transition through the
trigger level, while a negative slope requires the trigger input to make a positive to negative
transition.
TRIGger:SLOPe <slope> Where <slope> is either POSitive or NEGative.
EXAMPLES
TRIGger:SLOPe NEGative Sets the trigger slope to NEGative. This will
TRIGger:SLOPe? NEG
(Returns that the trigger slope has been set
require the trigger input to make a
transition from positive to negative, through
the trigger level.
as NEGative.)
VM2608/2616 Programmi ng 55
TRIGger:SOURce
The Trigger Source command selects the source of the input trigger used for data capture.
TRIGger:SOURce <source> Where <source> is CH1 | CH2 | CH3 | CH4 |
EXAMPLES
TRIGger:SOURce IMMediate Sets the input trigger source as IMMediate.
TRIGger:SOURce? IMM
(Returns the input trigger source that has
TRIGger:SOURce CH16 Sets the input trigger source to Channel 16.
TRIGger:SOURce? CH16
(Returns the source of the input trigger that
The Voltage Range command sets the input range for the channels listed in the channel list. It is
important to note that the 40 volt range is both the power up condition and the *RST condition.
VOLTage:RANGe <range>, <channel_list> Where <range> is 0.1 | 0.4 | 1 | 4 | 10 | 40.
Where <channel_list> is the standard channel
EXAMPLES
VOLTage:RANGe 10, (@1:8) Sets the voltage range to ±10 for Channels 1
VOLTage:RANGe? (@1:8) 10
(Returns the voltage range ±10 for channels
list format supporting Channels 1 through 8
(VM2608) or 1 through 16 (VM2616). If the
channel list is not supplied, all the channels
are used.
through 8.
1 through 8.)
VM2608/2616 Programmi ng 57
APPLICATION EXAMPLES
This section contains examples of using SCPI command strings for programming the
VM2608/2616 module. The code is functional and will contain a brief description of the
operation.
Example 1
In this example, the VM2608/2616 sets the calibration gain and calibration offset for the specified
channel. The calibration security is turned OFF and the above changes are stored to the nonvolatile memory. It also returns the number of times the non-volatile memory is updated.
CAL:SEC:STAT 0,#16VM2616 Sets the calibration security OFF with the code
CAL1:GAIN 2 Sets the calibration gain for Channel 1 to 2 volts.
CAL2:ZERO 2 Sets the calibration offset for Channel 2 to 2
CAL:STOR Stores the calibration gain and offset values to
CAL:COUN? Returns the number of times the non-volatile
CAL:SEC:STAT 1 Disables further stores to the non-volatile
VXI Technology, Inc.
VTI.
volts.
the non-volatile memory.
memory has been updated.
memory.
58 VM2608/2616 Programming
www.vxitech.com
Example 2
In this example, VM2608/2616 sets the sweep points, sweep step, voltage range, and trigger
source. It returns the average, data, minimum, maximum, peak to peak, TRMS, and positive or
negative transition out of a group of data collected on the previous run. It starts by giving a
starting point (fetch address) and the number of points (fetch count) for a selected list of channels.
SWE:POIN 32768 Sets the number of points to 32K.
SWE:STEP 0.00010 Sets the time interval between samples to
10 kHz.
VOLT:RANG 40 Sets the input voltage range to ±40 V.
TRIG:SOUR IMM Sets the input trigger source to IMMediate.
OUTP:TTLT:STAT ON Enabling trig output signal.
OUTP:TRIG:TTLT 1 Routing output trigger to TTLT1.
OUTP:TRIG:SLOP NEG Configuring the triggering edge of the output
trigger as NEGative.
ROUT:OPEN (@9:16) Disables Channels 9 through 16 (VM2616) for
acquiring data and utilizing memory resources.
ROUT:CLOSE (@1:8) Enables Channels 1 through 8 for data capture.
INIT:IMM Arms the VM2608/2616 module immediately.
TRIG:IMM Causes a word serial trigger event to occur to
initiate data capture.
TRAC:LENG? 32768
Returns the actual length of data captured, which
is 32K.
FETC:AVE? (@1:8) 15.107537, 13.478260, 12.37925, 14,654972,
12.897630, 11.391530, 14.394923, 16.789462
Returns the average data value for channels
1 through 8.
3.335965, 7.565465, 6.333989, 5.123456
(Returns the true RMS value from all data
collected on Channels 1 through 8, starting at the
trigger point and continuing to the end of the data
collected.)
60 VM2608/2616 Programming
www.vxitech.com
REGISTER ACCESS EXAMPLES
The VM2608/2616 module provides pseudo register access for fast data transfers. The register
map is shown in
In order to read a voltage for a particular channel the following steps must be followed:
a) Read the register value at the offset corresponding to the channel.
b) Convert the register representation to its equivalent voltage by applying the following
formula:
voltage value = ((double) register value) * voltage range / 32768.0
For example, if the register corresponding to Channel 1 is read at offset 0x20 and the value read is
16384, then with Channel 1 operating in the 1 Volt Range, the voltage for Channel 1 is
(16384.0 * 1.0) / 32768.0 = 0.5 volts.
The word serial command REGister:ADDRess command sets up where in the record length, data
will start to be accessed by the registers. The <address> value is 0 for the trigger point, and is
incremented or decremented by 1 to the allowable value determined by the record size. Once the
register address point is determined, data can be accessed in register format over the VXIbus.
For example, if REGister:ADDRess 0,(@1) is issued before Channel 1’s register is read, then
when the register for Channel 1 is read, the data returned would be the Trigger Point Data for
Channel 1.
Table 3-1.
where ‘voltage range’ is the current range
that has been programmed for the channel.
The VM2608/2616 A/D Module supports access to the 8/16 channels via the Device Dependent
Registers of VXI bus interface. The following table shows A16 Memory and the VM2608/2616
Data Port Map.
This parameter is used to enable or disable the output trigger signal onto the
VXIbus backplane TTL trigger lines.” On" enables the drivers, while "Off"
disables them.
Valid range:
---------- vtvm2616_TRIGGER_STATE_OFF or
vtvm2616_TRIGGER_STATE_ON
ViInt16 output_trigger_selection
This parameter selects which VXIbus TTL trigger line the module will drive
when the output is enabled.
This parameter is used to set the active slope of the trigger driven onto the TTL
trigger bus.
Valid range:
---------- vtvm2616_TRIGGER_SLOPE_NEG
or
vtvm2616_TRIGGER_SLOPE_POS
ViUInt32 sweep_points
This parameter is used to set the number of points in a record.
VM2608/2616 Programmi ng 63
Valid range:
---------- vtvm2616_SWEEP_POINTS_MIN(2) to
vtvm2616_SWEEP_POINTS_MAX(524288)
ViReal64 sweep_time
This parameter is used to set the time interval between samples.
Valid range:
---------- vtvm2616_SWEEP_TIME_MIN(0.000010) to
vtvm2616_SWEEP_TIME_MAX(0.1048575)
ViInt16 voltage_range_selection
This parameter is used to set the input voltage range for the channels described
by the channel list. The 40.0-volt range is power up condition and reset
condition.
Specify the number of channels in the channel list array.
Valid range:
---------- vtvm2616_CHANNEL_NUMBER_MIN(1) to
vtvm2616_MAX_CHANNELS_VM2616(16) for VM2616.
vtvm2616_CHANNEL_NUMBER_MIN(1) to
vtvm2616_MAX_CHANNELS_VM2608(8) for VM2608.
ViPInt16 channel_list
This parameter gives the list of channels selected. The valid range for channels
is from 1 to 16 for VM2616 and 1 to 8 for VM2608.
VXI Technology, Inc.
64 VM2608/2616 Programming
www.vxitech.com
ViInt16 fetch_data_type
This parameter is used to select different types of data read as given below.
vtvm2616_READ_AVERAGE_DATA
This retrieves the average out of a group of data collected on the previous run.
vtvm2616_READ_DATA_LIST
This retrieves the data collected on the previous run.
vtvm2616_READ_MAXIMUM_DATA
This retrieves the maximum out of a group of data collected from the previous
run.
vtvm2616_READ_MINIMUM_DATA
This retrieves the minimum out of a group of data collected from the previous
run.
vtvm2616_READ_NEG_TRANS_DATA
This retrieves negative transition out of a group of data collected from the
previous run.
vtvm2616_READ_PP_DATA
This retrieves the peak to peak value out of a group of data collected from the
previous run.
vtvm2616_READ_POS_TRANS_DATA
This retrieves positive transition out of a group of data collected from the
previous run.
vtvm2616_READ_TRMS_DATA
This retrieves the true RMS value out of a group of data collected from the
This parameter is used select Default or user mode.
vtvm2616_USER_SEL
In User mode, data is retrieved for selected list of channels by giving a starting
point (fetch address) and the number of points the (fetch count).
vtvm2616_DEFAULT_SEL
In Default mode, data is retrieved from the beginning of memory until the end.
Valid range:
---------- vtvm2616_DEFAULT_SEL or
vtvm2616_USER_SEL
ViInt32 fetch_address
This parameter specifies the starting point from where the data is to be
retrieved. Fetch address can be negative if the user wants to retrieve the pre
trigger data, zero, if the user wants to retrieve data at the trigger point or
positive if post trigger data is to be retrieved.
ViInt132 fetch_count
This parameter specifies the number of zero implies that the data should be
fetched from <fetch_address> to the end of memory.
ViPReal64 data_arry
The is the numeric array that contains the retrieved data. This array contains
the retrieved information and each element corresponds to the channel number
in the channel_list array at the same offset except.
The following is the list of data retrieved versus the type of data requested.
vtvm2616_READ_AVERAGE_DATA
Average no_of_channels of samples.
vtvm2616_READ_DATA_LIST
samples (no_of_channels * acquired fetch_count)
The samples are interleaved in the order of channels as specified in
channel_list. <fetch_count> of 0 means the entire data for each specified
channel. The maximum value for fetch count can be determined by using
66 VM2608/2616 Programming
www.vxitech.com
vtvm2616_read_data_capture_info driver function.
vtvm2616_READ_MAXIMUM_DATA
Maximum no_of_channels of samples.
vtvm2616_READ_MINIMUM_DATA
Minimum no_of_channels of samples.
vtvm2616_READ_NEG_TRANS_DATA
Amt of -ve (no_of_channels*2) transition. The first 2 elements are for the first
channel specified in the channel_list. The second 2 elements for the second
channel in the channel_list and so on. The first element of each ordered pair is
the Amt of -ve transition and the second element is the address of -ve transition
for a channel.
vtvm2616_READ_PP_DATA
Peak to no_of_channels peak of samples.
vtvm2616_READ_POS_TRANS_DATA
Amt of +ve no_of_channels*2 transition. The first two elements are for the
first channel specified in the channel_list. The second two elements for the
second channel in the channel_list and so on. The first element of each ordered
pair is the Amt of +ve transition and the second element is the address of +ve
transition for a channel.
vtvm2616_READ_TRMS_DATA
True RMS no_of_channels of samples.
ViPInt32 num_elements
Specifies the number of elements in data_arry.
Return Values: Returns VI_SUCCESS if successful, else returns error value.
Description This function configures output trigger, and sets sweep points, voltage range.
This function also retrieves the AVERAGE, DATA or MAXIMUM or MINIMUM
or Peak to Peak or TRMS or +ve/-ve transition out of a group of data collected
on the previous run by giving a starting point the (fetch address),the number of
points (fetch count) for the selected list of channels. The input trigger is set to
Immediate.
status = vtvm2616_enb_or_dis_channels(instrHndl,
vtvm2616_DISABLE_CHANNEL, no_of_channels, channel_list);
if (status < VI_SUCCESS) return
vtvm2616_ENB_OR_DIS_CHANNELS_ERROR;
return VI_SUCCESS;
VM2608/2616 Programmi ng 69
VXI Technology, Inc.
70 VM2608/2616 Programming
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 VM2608/2616 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.
The remainder of this section is devoted to describing each command, one per page, in detail. The
description is presented in a regular and orthogonal way assisting the user in the use of each
command. Every command entry describes the exact command and query syntax, the use and
range of parameters and a complete description of the command’s purpose.
ALPHABETICAL COMMAND LISTING
The following tables provide an alphabetical listing of each command supported by the
VM2608/2616 along with a brief description. If an X is found in the column titled * RST, then the
value or setting controlled by this command is possibly changed by the execution of the *RST
command. If no X is found, then *RST has no effect. The *RST column gives the value of each
command’s setting when the unit is powered up or when a *RST command is executed.
VM2608/2616 Command Di ct i onary 71
VXI Technology, Inc.
TABLE 4-1:IEEE488.2COMMON COMMANDS
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. N/A
*OPC Set the OPC bit in the Event Status Register.
*RST Resets the module to a known state. N/A
*SRE Set the Service Request Enable Register.
*STB? Query the Status Byte Register.
*TRG Causes a trigger event to occur. N/A
*TST? Starts and reports a self-test procedure. N/A
*WAI Halts execution of commands and queries. X
72 VM2608/2616 Command Dicti onary
www.vxitech.com
TABLE 4-2:INSTRUMENT SPECIFIC SCPICOMMANDS
Command Description *RST *RST Value
ABORt Disarms the VM2608/2616 and stops data
sampling.
CALibration:COUNt? Returns the number of times the VM2608/2616
has been calibrated.
CALibration:DEFault Set calibration values to default values. N/A
CALibration:GAIN Sets the calibration gain value. N/A
CALibration:RESet Resets calibration information from the non-
volatile memory.
CALibration:SECure:CODE Changes the calibration security code. N/A
CALibration:SECure:STATe Enables or disables the Calibration Security for
non-volatile memory operations.
CALibration:STORe Stores the current calibration constants into the
non-volatile memory.
CALibration:ZERO Sets the selected channel to zero value. N/A
FETCh:AVErage? Retrieves the average value out of a group of data
collected during the previous run.
FETCh:DATA? Retrieves the data collected during the previous
run.
FETCh:MAXimum? Retrieves the maximum value out of a group of
data collected during the previous run.
FETCh:MINimum? Retrieves the minimum value out of a group of
data collected during the previous run.
FETCh:NTRansition? Retrieves the largest negative transition out of a
group of data collected during the previous run
FETCh:PP? Retrieves the peak to peak value out of a group of
data collected during the previous run.
FETCh:PTRansition? Retrieves the largest positive transition out of a
group of data collected during the previous run.
FETCh:TRMS? Retrieves the true RMS value out of a group of
data collected during the previous run.
FORMat Sets the calibration constant output format. X ASCII
INITiate:DELay Arms the VM2608/2616 after the selected
number of sample points have been taken after
the command is received.
INITiate[:IMMediate] Arms the VM2608/2616 upon receipt of the
command.
OUTPut:TRIGger:SLOPe Sets the active slope of the trigger driven onto the
TTL trigger bus
OUTPut:TRIGger:TTLTrig Selects which VXIbus TTL trigger line the
module will drive when the output is enabled.
OUTPut:TTLTrig[:STATe] Enables or disables driving the trigger signal onto
the VXIbus backplane TTL trigger lines.
REGister:ADDRess Determines where in the record length data will
start to be accessed by the registers.
ROUTe:CLOSe Enables the channels in the channel list. X All closed
ROUTe:OPEN Disables the channels in the channel list. X All closed
SWEep:POINts Sets the number of points in a record.
SWEep:STEP Sets the time interval between samples. X 0.000010 s
N/A
N/A
N/A
X 1
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
X 1
N/A
X NEG
X TTLT0
X 0
Channel 1
X
32768 or
131072
VM2608/2616 Command Di ct i onary 73
Instrument Specific SCPI Commands (Cont.)
Command Description *RST *RST Value
SYNC Allows synchronization between multiple
VM2608/2616 modules
TRACe:LENGth? Returns actual size of the data captured during the
previous run
TRACe:POINts? Queries potential length that can be captured
based on current settings
TRIGger[:IMMediate] Word serial trigger command to initiate data
capture.
TRIGger:LEVel Sets the trigger level for the selected trigger
source
TRIGger:SLOPe Selects the active edge for triggering the
VM2608/2616
TRIGger:SOURce Selects the source for triggering the
VM2608/2616
VOLTage:RANGe Sets the input range for the channels listed by the
channel list
VXI Technology, Inc.
X OFF
N/A
N/A
N/A
X 0.0V
X NEG
X CH1
All channels to
X
40.0 V
74 VM2608/2616 Command Dicti onary
www.vxitech.com
TABLE 4-3:SCPIREQUIRED COMMANDS
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]? Queries the Operation Status Event Register X
STATus:PRESet Presets the Status Register X
STATus:QUEStionable:CONDition? Queries the Questionable Status Condition
Register
STATus:QUEStionable:ENABle Sets the Questionable Status Enable Register X
STATus:QUEStionable[:EVENt]? Queries the Questionable Status Event Register X
SYSTem:ERRor? Queries the Error Queue X Clears queue
SYSTem:VERSion? Queries which version of the SCPI standard the
module complies with
X
N/A
VM2608/2616 Command Di ct i onary 75
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:
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples
Related Commands
Describes the purpose of the command.
Describes the type of event, such as type or setting.
Details the exact command format
Describes the parameters sent with the command and their legal parameters
Describes the value assumed when the *RST (reset) command is sent.
Details the exact query form of the command.
Describes the parameters sent with the command and their legal range. The default
parameter values are assumed the same as in the command form unless described
otherwise.
Describes the format of the query response and the valid range of output.
Describes in detail what the command does and refers to additional sources.
Presents the proper use of each command and its query (when available).
Lists commands that affect the use of this command or commands that are affected by
this command.
76 VM2608/2616 Command Dicti onary
www.vxitech.com
IEEE488.2COMMON COMMANDS
*CLS
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Clears the Status Register.
IEEE 488.2 Common Command
*CLS
None
N/A
None
N/A
N/A
This command clears all event registers, clears the OPC flag and clears all queues (except
the output queue).
Examples Command / Query Response (Description)
Related Commands
*CLS
None
VM2608/2616 Command Di ct i onary 77
*ESE
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Sets the Event Status Enable Register.
IEEE 488.2 Common Command
*ESE <mask>
<mask> = Numeric ASCII value from 0 to 255
N/A
*ESE?
None
Numeric ASCII value from 0 to 255
The Event Status Enable command is used to set the bits of the Event Status En able
Register. See ANSI/IEEE 488.2-1987 section 11.5.1 for a complete description of the
ESE register. A value of 1 in a bit position of the ESE register enables generat io n of the
ESB (Event Status Bit) in the Status Byte by the corresponding bit in the ESR. If the ESB
is set in the SRE register, an interrupt is generated. See the ESR? command for details
regarding the individual bits. The ESE register layout is as follows:
Bit 0 - Operation Complete
Bit 1 - Request Control (not used in the VM2608/2616)
Bit 2 - Query Error
Bit 3 - Device Dependent Error (not used in the VM2 60 8/2 616)
Bit 4 - Execution Error
Bit 5 - Command Error
Bit 6 - User Request (not used in the VM2608/2616)
Bit 7 - Power On
The Event Status Enab le query reports the current contents of the Event Status Enable
Register.
*ESE 36
*ESE?
*ESR
36
78 VM2608/2616 Command Dicti onary
www.vxitech.com
*ESR?
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Queries and clears the Standard Event Status Register.
IEEE 488.2 Common Command
None - Query only
N/A
N/A
ESR?
None
Numeric ASCII value from 0 to 255
The Event Status Register query queries and clears the contents of the Standard Event
Status Register. This register is used in conjunction with the ESE register to generate the
ESB (Event Status Bit) in the Status Byte. The layout of the ESR is as follows:
Bit 0 - Operation Complete
Bit 1 - Request Control (not used in the VM2608/2616, always 0)
Bit 2 - Query Error
Bit 3 - Device Dependent Error (not used in the VM2608/2616, always 0)
Bit 4 - Execution Error
Bit 5 - Command Error
Bit 6 - User Request (not used in the VM2608/2616, always 0)
Bit 7 - Power On
The Operation Complete bit is set by the VM2608/2616 when it receives an *OPC
command.
The Query Error bit is set when data is over-written in the output queue. This could occur
if one query is followed by another without reading the data fro m the first query.
The Execution Error bit is set when an execution error is detected. Errors that range from
-200 to -299 are execution errors.
The Command Error bit is set when a command error is detected. Errors that range from 100 to -199 are command errors.
The Power On bit is set when the module is first powered on or after it receives a reset
via the VXI Control Register. Once the bit is cleared (by executing the *ESR? command)
it will remain cleared.
*ESR?
*ESE
4
VM2608/2616 Command Di ct i onary 79
*IDN?
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Query the module identification string.
IEEE 488.2 Common Command
None - query only
N/A
N/A
*IDN?
None
ASCII character string
The Identification query returns the identification string of the VM2608/2616 module.
The response is divided into four fields separated by commas. The first field is the
manufacturer’s name, the second field is the model number, the third field is an optional
serial number and the fourth field is the firmware revision number. If a serial number is
not supplied, the third field is set to 0 (zero).
Examples Command / Query Response (Description)
Related Commands
*IDN?
None
VXI Technology Inc.,2616,0,1.1 (The
revision listed here is for reference only;
the response will always be the current
revision of the instrument.)
80 VM2608/2616 Command Dicti onary
www.vxitech.com
*OPC
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Set the OPC bit in the Event Status Register.
IEEE 488.2 Common Command
*OPC
None
N/A
*OPC?
None
1
The Operation Complete command sets the OPC bit in the Event Status Register when all
pending operations have completed. The Operation Complete query will return a 1 to the
output queue when all pending operati ons have completed.
Examples Command / Query Response (Description)
Related Commands
*OPC
*OPC?
*WAI
1
VM2608/2616 Command Di ct i onary 81
*RST
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Resets the module to a known state.
IEEE 488.2 Common Command
*RST
None
N/A
None
N/A
N/A
The Reset command resets the module’s hardware and software to a known state. See the
command listing at the beginning of this section for the *RST parameter values used with
this command.
Examples Command / Query Response (Description)
Related Commands
*RST
None
82 VM2608/2616 Command Dicti onary
www.vxitech.com
*SRE
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Set the Service Request Enable Register.
IEEE 488.2 Common Command
*SRE <mask>
<mask> = Numeric ASCII value from 0 to 255
N/A
*SRE?
None
Numeric ASCII value from 0 to 255
The Service Request Enable Mask is used to control which bits in the status byte
generate backplane interrupts. If a bit is set in the mask that newly enables a bit set in the
status byte and interrupts are enabled, the module will generate a REQUEST TRUE
event via an interrupt. See the *STB? Command for the layout of bits. Note: Bit 6 is
always internally cleared to zero as required by IEEE 488.2 section 11.3.2.3.
Bit 0 - Unused
Bit 1 - Unused
Bit 2 - Error queue has data
Bit 3 - Questionable status summary (not used)
Bit 4 - Message available
Bit 5 - Event status summary
Bit 6 - 0
Bit 7 - Operation status summary
*SRE 4
*SRE?
*STB
4
VM2608/2616 Command Di ct i onary 83
*STB?
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Query the Status Byte Register .
IEEE 488.2 Common Command
None - query only
N/A
N/A
*STB?
None
Numeric ASCII value from 0 to 255
The Read Status Byte 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. The layout of the Status Register is:
Bit 0 - Unused
Bit 1 - Unused
Bit 2 - Error Queue Has Data
Bit 4 - Questionable Status Summary (not used)
Bit 5 - Message Available
Bit 6 - Master Summary Status
Bit 7 - Operation Status Summary
*STB?
None
16
84 VM2608/2616 Command Dicti onary
www.vxitech.com
*TRG
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Causes a trigger event to occur.
IEEE 488.2 Common Command
*TRG
None
N/A
None
N/A
N/A
The Trigger command causes a trigger event to occur. In the VM2608/2616, this is used
to start transmitting the data in all the queues whose associated channel is in BLOCK
MODE. See the section discussing block mode of operation for further details.
Examples Command / Query Response (Description)
Related Commands
*TRG
TRIGger[:IMMediate]
VM2608/2616 Command Di ct i onary 85
*TST?
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Starts and reports a self-test procedure.
IEEE 488.2 Common Command
None - query only
N/A
N/A
*TST?
None
Numeric ASCII value from 0 to 143
The Self-Test query causes the VM2608/2616 to run its self-test procedures and report on
the results. The following tests are performed:
1. Each channel runs an internal loop-back self-test.
2. The buffer RAM runs a simple self-test.
The *TST? query returns a numeric ASCII value from 0 to 143 which has the following
meaning:
Bit 0 - Channel 1 Failed
Bit 1 - Channel 2 Failed
Bit 2 - Channel 3 Failed
Bit 4 - Channel 4 Failed
Bit 5 - Unused
Bit 6 - Unused
Bit 7 - RAM Test Failed
A bit value of 1 in any location indicates a failure while a 0 value indicates that the test
passed. The RAM test failed bit indicates that the buffer RAM, used for the data queues,
failed to pass a simple pseudo random pattern test or an all zeros test.
*TST?
None
0
86 VM2608/2616 Command Dicti onary
www.vxitech.com
*WAI
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Halts execution of commands and queries.
IEEE 488.2 Common Command
*WAI
None
N/A
None
N/A
N/A
The Wait to Continue command halts the execution of commands and queries until the
No Operation Pending message is true. This command makes sure that all previous
commands have been executed before processing. It provides a way of synchronizing the
module with its master.
Examples Command / Query Response (Description)
Related Commands
*WAI
*OPC
VM2608/2616 Command Di ct i onary 87
DEVICE SPECIFIC SCPICOMMANDS
ABORt
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Disarms the VM2608/2616 and stops data sampling.
Event
ABORt
N/A
N/A
None
N/A
N/A
The Abort command disarms the VM2608/2616 and stops data sampling (if active).
Examples Command / Query Response (Description)
Related Commands
ABOR
INITiate:DELay
INITiate[:IMMediate]
88 VM2608/2616 Command Dicti onary
www.vxitech.com
CALibration:COUNt?
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Returns the number of times the VM2608/2616 has been calibrated.
Query
None - Query only
N/A
N/A
CALibration:COUNt?
None
Numeric ASCII value
The Calibration Count query returns the number of times the VM2608/2616 has been
calibrated. Calibration values are stored in non-volatile. Non-volatile has a limited life.
Each store counts as one cycle. The non-volatile has a guarantee minimum of 10k cycles.
Calibration count tracks the number of stores. The maximum value for the count is
16,777,215 after which it will wrap to 0.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
Examples Command / Query Response (Description)
Related Commands
CAL:COUN?
CALibration:STORe
5
VM2608/2616 Command Di ct i onary 89
CALibration:DEFault
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Set calibration values to default values.
Setting
CALibration:DEFault
None
N/A
N/A
N/A
N/A
The Calibration Default command sets the calibration gain and calibration zero values to
their respective defaults, (i.e., zero).
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
<channel> = 1 to 16 (VM2616) or 1 to 8 (VM2608)
<value> = -128 to +127
N/A
CALibration <channel>:GAIN?
<channel> = 1 to 16 (VM2616) or 1 to 8 (VM2608)
<value> = -128 to +127
The Calibration Gain command is used to set the calibration gain value for the specified
channel. The query returns the present calibration gain value for the selected channel.
The Calibration Gain command will function only when calibration security is disabled,
otherwise, an error is generated.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
The Calibration Source Code command changes the calibration security code.
Calibration values stored in non-volatile are protected by a security code. To be effective,
the calibration security state must first be disabled. When the module is shipped from the
factory, the calibration security code is either VM2608 or VM2616.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
Examples Command / Query Response (Description)
Related Commands
CAL:SEC:STAT OFF,#16VM2616
CAL:SEC:CODE #15OLIVE
CAL:SEC:CODE?
CAL:SEC:STAT ON
CALibration:SECure:STATe
(Disables calibration security so the code
can be changed.)
(Sets the new security code to “OLIVE”.) #15OLIVE (Returns the calibration
security code.)
(Enables calibration security.)
VM2608/2616 Command Di ct i onary 93
CALibration:SECure:STATe
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Enables or disables the Calibration Security for non-volatile memory operations.
Setting
CALibration:SECure:STATe <boolean>[,<bl ock>]
<boolean> = 0 | 1 | OFF | ON
<block> = IEEE 488.2 definite length arbitrary block
1 or ON
CALibration:SECure:STATe?
None
<boolean> = 0 or 1
The Calibration Secure State command enables or disables calibration security. The
module powers up with the secure state on. While on, no stores to non-volatile are
allowed. In order to turn the state to off the current security code must be supplied. To
turn on, the security code does not need to be supplied. If it is supplied the code is
checked and a parameter error will occur if it is incorrect. The security code must be
supplied in block format. A block format has four parts. The parts are:
(1) #
(2) a single digit that tells how many digits are in the length
(3) the length of the block
(4) the actual data, in this case the character of the password (case sensitive)
0 or OFF means values may be stored in non-volatile memory. 1 or ON means values
may not be stored in non-volatile memory; this is the default value.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
Examples Command / Query Response (Description)
Related Commands
CAL:SEC:STAT OFF,#16VM2616
CAL:SEC:STAT?
CAL:SEC:STAT ON
CAL:SEC:STAT?
CALibration:SECure:CODE
CALibration:STORe
(Disables calibration security so changes
can be made.)
0
(Enables calibration security.)
ON (Indicates that the security state is
presently enabled.)
94 VM2608/2616 Command Dicti onary
www.vxitech.com
CALibration:STORe
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Stores the current calibration constants into the non-volatile memory.
Event
CALibration:STORe
None
N/A
N/A
N/A
N/A
The Calibration Store command stores the current calibration constants into the nonvolatile memory. This command is only effective if the CALibration:SECure:STATe has
been disabled.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
CAL:SEC:STAT OFF,#16VM2616
CAL:STOR
CAL:SEC:STAT ON
CALibration:COUNt?
CALibration <channel>: GAIN <value>
CALibration <channel>: ZERO <value>
(Disables calibration security so changes
can be made.)
(This stores the current settings in the non-
volatile memory.)
(Enables calibration security.)
VM2608/2616 Command Di ct i onary 95
CALibration:ZERO
VXI Technology, Inc.
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Sets the selected channel to zero value.
Setting
CALibration <channel>:ZERO <value>
<channel> = 1 to 16 (VM2616) or 1 to 8 (VM2608)
<value> = -128 to +127
N/A
CALibration <channel>:ZERO?
<channel > = 1 to 16 (VM2616) or 1 to 8 (VM2608)
<value> = -128 to +127
The Calibration Zero command sets the calibration constant for the offset of the selected
channel; its effect is immediate. The Calibration Zero command will function only when
the calibration security is disabled, otherwise, an error is generated.
Calibration commands should only be executed by qualified
personnel. Changing these values incorrectly can cause the
instrument to perform improperly
Examples Command / Query Response (Description)
Related Commands
CAL:SEC:STAT OFF,#16VM2616
CAL1:ZERO 50
CAL:SEC:STAT ON
CAL1:ZERO?
CALibration:DEFault
CALibration <channel>: GAIN <value>
CALibration:STORe
(Disables calibration security so changes
can be made.)
Enables calibration security.
50
96 VM2608/2616 Command Dicti onary
www.vxitech.com
FETCh:AVErage?
Purpose
Type
Command Syntax
Command Parameters
*RST Value
Query Syntax
Query Parameters
Query Response
Description
Examples Command / Query Response (Description)
Related Commands
Retrieves the average value out of a group of da ta collected on the previous run.
<fetch_counts> = Numeric ASCII value
<fetch_address> = Numeric ASCII value
<channel_list> = Numeric ASCII value
Numeric ASCII value
The Fetch Average Query command specifies what data is to be searched by giving a
starting point the <fetch_address> and the number of points <fetch_counts>. The value is
returned for each channel specified in the <channel_list>. When multiple channels are
specified, the values are separated by commas. The return value is the average in the
specified data set.
<fetch_counts> How many data points are to be retrieved. A fetch count of 0 is from
the fetch address to the end of memory.
<fetch_address> Specifies the starting point for the data retrieval. A value of 0
represents the trigger point, a - value represents pre-trigger
information and a + value represents post-trigger information.
<channel_list> Standard channel list format supporting Channels 1 through 16
(VM2616) or 1 through 8 (VM2608). If the channel list is not
supplied, all channels are used.
<fetch_counts> = Numeric ASCII value
<fetch_address> = Numeric ASCII value
<channel_list> = Numeric ASCII value
Numeric ASCII values
The Fetch Data query specifies what data is to be queried by giving a starting point,
<fetch_address>, and the number of points, <fetch_counts>. The value is returned for
each channel specified in the <channel_list>. When multiple channels are specified, the
values are separated by commas.
<fetch_counts> How many data points are to be retrieved. A fetch count of 0 is from
the fetch address to the end of memory.
<fetch_address> Specifies the starting point for the data retrieval. A value of 0
represents the trigger point, a - value represents pre-trigger
information and a + value represents post-trigger information.
<channel_list> Standard channel list format supporting Channels 1 through 16
(VM2616) or 1 through 8 (VM2608). If the channel list is not
supplied, all channels are used.
<fetch_counts> = Numeric ASCII value
<fetch_address> = Numeric ASCII value
<channel_list> = Numeric ASCII value
Numeric ASCII value
The Fetch Maximum query specifies that the maximum value out of a group of data
collected over the previous run is to be returned. The data set in which the query is to be
performed, is specified by giving a starting point, <fetch_address>, and the number of
points, <fetch_counts>. The values are returned for all the channels specified in the
channel list. When multiple channels are specified, the values are separated by commas.
The return value is the maximum in the specified data.
<fetch_counts> How many data points are to be retrieved. A fetch count of 0 is from
the fetch address to the end of memory.
<fetch_address> Specifies the starting point for the data retrieval. A value of 0
represents the trigger point, a - value represents pre-trigger
information and a + value represents post-trigger information.
<channel_list> Standard channel list format supporting Channels 1 through 16
(VM2616) or 1 through 8 (VM2608). If the channel list is not
supplied, all channels are used.
<fetch_counts> = Numeric ASCII value
<fetch_address> = Numeric ASCII value
<channel_list> = Numeric ASCII value
Numeric ASCII value
The Fetch Minimum query specifies that the maximum value out of a group of data
collected over the previous run is to be returned. The data set in which the query is to be
performed, is specified by giving a starting point, <fetch_address>, and the number of
points, <fetch_counts>. The values are returned for all the channels specified in the
channel list. When multiple channels are specified, the values are separated by commas.
The return value is the minimum in the specified data.
<fetch_counts> How many data points are to be retrieved. A fetch count of 0 is from
the fetch address to the end of memory.
<fetch_address> Specifies the starting point for the data retrieval. A value of 0
represents the trigger point, a - value represents pre-trigger
information and a + value represents post-trigger information.
<channel_list> Standard channel list format supporting Channels 1 through 16
(VM2616) or 1 through 8 (VM2608). If the channel list is not
supplied, all channels are used.