This document applies for firmware version 1.00
and above.
Copyright T ektronix, Inc. 1995. All rights reserved. Licensed software products are owned by Tektronix or its suppliers
and are protected by United States copyright laws and international treaty provisions.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the
Rights in T echnical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (c)(1) and (2) of the
Commercial Computer Software – Restricted Rights clause at F AR 52.227-19, as applicable.
T ektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all previously published material. Specifications and price change privileges reserved.
Printed in the U.S.A.
T ektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000
TEKTRONIX and TEK are registered trademarks of T ektronix, Inc.
VXIbus is a trademark of the VXI Consortium.
SurePath and Intelliframe are registered trademarks of T ektronix, Inc.
WARRANTY
T ektronix warrants that this product will be free from defects in materials and workmanship for a period of three (3) years
from the date of shipment. If any such product proves defective during this warranty period, T ektronix, at its option, either
will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the
defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the
warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for
packaging and shipping the defective product to the service center designated by T ektronix, with shipping charges prepaid.
T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the
T ektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any
other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate
maintenance and care. T ektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting
from attempts by personnel other than T ektronix representatives to install, repair or service the product; b) to repair
damage resulting from improper use or connection to incompatible equipment; or c) to service a product that has been
modified or integrated with other products when the effect of such modification or integration increases the time or
difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF ANY
OTHER WARRANTIES, EXPRESSED OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PAR TICULAR PURPOSE.
TEKTRONIX’ RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND
EXCLUSIVE REMEDY PROVIDED TO THE CUST OMER FOR BREACH OF THIS WARRANTY. TEKTRONIX
AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT , SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS
ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Review the following safety precautions to avoid injury and prevent damage to
this product or any products connected to it.
Only qualified personnel should perform service procedures.
While using this product, you may need to access other parts of the system. Read
the General Safety Summary in other system manuals for warnings and cautions
related to operating the system.
Injury Precautions
Avoid Electric Overload
Avoid Electric Shock
Do Not Operate Without
Covers
Use Proper Fuse
Do Not Operate in
Wet/Damp Conditions
Do Not Operate in an
Explosive Atmosphere
Avoid Exposed Circuitry
To avoid electric shock or fire hazard, do not apply a voltage to a terminal that is
outside the range specified for that terminal.
To avoid injury or loss of life, do not disconnect probes or test leads from this
product while it is connected to a voltage source.
To avoid electric shock or fire hazard, do not operate this product with covers or
panels removed.
To avoid fire hazard, use only the fuse type and rating specified for this product.
To avoid electric shock, do not operate this product in wet or damp conditions.
To avoid injury or fire hazard, do not operate this product in an explosive
atmosphere.
To avoid injury, remove jewelry such as rings, watches, and other metallic
objects. Do not touch exposed connections and components when power is
present.
Product Damage Precautions
Provide Proper Ventilation
Option 01 VXI Interface Module User Manual
To prevent product overheating, provide proper ventilation.
iii
General Safety Summary
Do Not Operate With
Suspected Failures
If you suspect there is damage to this product, have it inspected by qualified
service personnel.
Safety Terms and Symbols
Terms in This Manual
Terms on the Product
These terms may appear in this manual:
WARNING. Warning statements identify conditions or practices that could result
in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in
damage to this product or other property.
These terms may appear on the product:
DANGER indicates an injury hazard immediately accessible as you read the
marking.
WARNING indicates an injury hazard not immediately accessible as you read the
marking.
CAUTION indicates a hazard to property including the product.
Symbols on the Product
The following symbols may appear on the product:
DANGER
High Voltage
Certifications and Compliances
Safety Certification of
Plug-in or VXI Modules
For modules (plug-in or VXI) that are safety certified by Underwriters Laboratories, UL Listing applies only when the module is installed in a UL Listed
product.
For modules (plug-in or VXI) that have cUL or CSA approval, the approval
applies only when the module is installed in a cUL or CSA approved product.
Protective Ground
(Earth) T erminal
ATTENTION
Refer to Manual
Double
Insulated
iv
Option 01 VXI Interface Module User Manual
General Safety Summary
Compliances
Overvoltage Category
Consult the product specifications for Overvoltage Category, and Safety Class.
The following defines overvoltage categories:
CAT III: Distribution level mains, fixed installation.
CAT II: Local level mains, appliances, portable equipment
CAT I: Signal level, special equipment or parts of equipment, telecommunica-
tion, electronics
Option 01 VXI Interface Module User Manual
v
Preface
This manual assumes you are familiar with VXIbus instruments and operation
and with the purpose and function of this instrument.
Please read and follow all instructions for installation and configuration. Use the
Installation Checklist to ensure proper installation and to record your initial
settings.
The Operating Basics section gives a summary of VXIbus operation and
presents an overview of the operation of this instrument.
The Syntax and Commands section provides a summary of all the commands
followed by detailed descriptions of each command.
The Status and Events section contains an explanation of the Status and Event
Reporting System and lists the system messages. Appendix B: Examples contains
example programs that demonstrate the programmable features of this instrument.
You may also want to keep the Reference Guide by the instrument.
Conventions
The names of all switches, controls, and indicators appear in this manual exactly
as they appear on the instrument.
Specific conventions for programming are given in the sections Syntax andCommands and Appendix B: Examples.
Option 01 VXI Interface Module User Manual
vii
Getting Started
Product Description
This section begins with a brief description of the Option 01 VXI Interface
Module, and explains how to configure and install the module on a relay
switching module in a VXIbus mainframe. When the Option 01 is installed on a
relay module, a quick functional check (described in this section of the User
Manual for the relay module) assures that the instrument operates properly.
The Option 01 VXI Interface Module is a printed circuit board assembly for use
in a mainframe conforming to the VXIbus Specification. The Option 01 provides
a VXI word serial protocol servant interface to the SurePatht family of VXI
relay modules. The Option 01 is a daughter board assembly measuring approximately 3I× 9I that is installed as an optional daughter board on one of the
SurePatht C-size VXI switching modules. The daughter board accepts
SCPI-compatible commands from its commander using VXI word serial
protocol. The daughter board controls the relay module on which it is installed,
and controls additional relay modules installed in adjacent slots to its right via
the VXI P2 local bus. The daughter board is capable of controlling from one to
12 relay modules including members of the SurePatht family of relay switching
modules and VX4372 and VX4374 Scanner Slave modules. In this document,
these modules will be referred to as “local bus slaves.”
The VXI Interface Module includes the following features:
HCPU:
Zilog Z88C00 Microcontroller with 20 MHz Clock
64 Kbyte of EPROM and 32 Kbyte of RAM
HVXI Interface:
VXI Rev 1.4 Message Based Device. IEEE-488.2 device
Supports Fast Handshake word serial protocol data transfers
Logical Address selectable with two rotary hexadecimal switches
Interrupter level selectable with a rotary hexadecimal switch. Selects one of
seven levels or disables interrupt generation
Command programmable control of one to eight VXI TTL triggers
Command programmable monitoring of one or more VXI TTL triggers
Option 01 VXI Interface Module User Manual
1–1
Getting Started
The Local Bus Interface function of the Option 01 provides serial I/O interface
for control of scanner slave and SurePatht relay modules, monitors the power
fuses of all local bus slave modules that it controls, and provides a serial input
interface to identify each local bus slave that it controls.
As part of the self test, SurePatht modules automatically verify the control
logic every time a relay operation is performed.
Figure 1–1 shows the Option 01.installed on a SurePatht relay module.
Figure 1–2 shows a typical SurePatht configuration.
Option 01
F1291
Figure 1–1: Option 01 Indicators and Switch Locations
LOGICAL
ADDRS
LO
HI
INTRPT
Switches as viewed
from the rear of instrument
(labels are on the back shield)
1–2
Option 01 VXI Interface Module User Manual
Front panel
connectors
Getting Started
VXI interface &
slave controller
daughter board
Backplane
connectors
VXI backplane
local bus
Daughter board
connectors
Fuses
BITE (Built-in Test
Equipment)
Figure 1–2: Typical SurePath Configuration
Each relay module that the Option 01 Module controls has a fuse that limits the
amount of current that the module can draw from the VXI backplane +5 V power
pins. This fuse protects the module in case of an accidental shorting of the power
bus or any other situation where excessive current might be drawn.
The Option 01 Module monitors the state of the fuses of each of the relay
modules that it controls. If a fuse opens on one of these modules, the Option 01
Module will assert SYSFAIL* on the VXIbus.
If the +5 V fuse on the module on which the Option 01 Module is installed
opens, the VXIbus Resource Manager will be unable to assert SYSFAIL
INHIBIT on the Option 01 to disable SYSFAIL*.
If a +5 V fuse opens, remove the fault before replacing the fuse. Replacement
fuse information is given in the Specifications section of the user manual for the
appropriate relay module.
Built-in Test Equipment (BITE) is provided by extensive self tests that are
automatically invoked on power-on and can also be invoked on command.
Circuitry tested includes the CPU and all memory
, and the relay control circuitry
on each relay module controlled by the Option 01.
Option 01 VXI Interface Module User Manual
1–3
Getting Started
Accessories
Controls and Indicators
Table 1–1 lists the standard accessories included with the Option 01.
T able 1–1: Standard Accessories
AccessoryPart Number
Option 01 User Manual070-9180-XX
Option 01 Reference070-9198-XX
The following controls are provided to select the functions of the Option 01
operating environment.
Switches
Configuration
Logical Address Switches
The Logical Address switches and VMEbus Interrupt Level Select switch must be
correctly set to insure proper operation. See Configuration for details on how to
set the switches.
The following switches must be correctly set to ensure proper operation. Refer to
Figure 1–1 for their physical locations.
Each functional module in a VXIbus System must be assigned a unique logical
address, from 1 to decimal 255 (hexadecimal FF). The base VMEbus address of
the Option 01 is set to a value between hexadecimal C0 (C000
mal FF (FFC0
position with the arrow on the module shield.
The physical address of the instrument is on a 64 byte boundary. If the Logical
Address switch representing the most significant digit (LA–HI) of the logical
address is set to position X and the switch representing the least significant digit
(LA–LO) of the logical address is set to position Y, then the base physical
address of the Option 01 will be [(40
) by two hexadecimal rotary switches. Align the desired switch
In order to use and program the Option 01 daughter board in an IEEE-488
environment you must know the IEEE-488 address of the module. Different
manufacturers of IEEE-488 interface devices might have different algorithms for
equating a logical address with an IEEE-488 address. Consult the operating
manual of the IEEE-488 Interface Slot 0 module being used.
Each function module in a VXIbus System can generate an interrupt at a
specified level on the VMEbus to request service from the interrupt handler
located on its commander. Set the interrupt level to the same level as the
interrupt handler on that commander. The VMEbus interrupt level on which the
Option 01 daughter board generates interrupts is set by a rotary switch. Align the
desired switch position with the arrow on the module shield.
Valid VMEbus Interrupt Level Select switch settings are one through seven, with
setting one equivalent to level one, and so on. The level chosen should be the
same as the level set on the Option 01 interrupt handler, typically the module
commander. Setting the switch to zero or eight will disable the module interrupts. Do not use switch settings nine through F.
Interrupts are used by the module to return VXIbus Protocol Events to the
module commander. Refer to the Operating Basics section for more information
on interrupts.
Installation
This section describes how to install the Option 01.
Tools Required
Requirements and
Cautions
Option 01 VXI Interface Module User Manual
A Torxt T-10 driver set is required for proper installation.
The Option 01 daughter board is installed on a C-size VXIbus instrument
module and therefore may be installed in any C- or D-size VXIbus mainframe
slot other than slot 0. To install the module in a D-size mainframe, consult the
operating manual for the mainframe. Refer to Configuration for information on
1–5
Getting Started
selecting and setting the Logical Address switch of the module. This switch
defines the programming address of your module. To avoid confusion, it is
recommended that the slot number and the logical address be the same.
NOTE. Verify that the mainframe is able to provide adequate cooling and power
with this module installed. Refer to the mainframe Operating Manual for
instructions.
If the installed Option 01 is used in a Tektronix mainframe, all Option 01
cooling requirements are met.
Installation Procedure
Follow these steps to install the Option 01.
CAUTION. The Option 01 daughter board is a piece of electronic equipment and
therefore has some susceptibility to electrostatic damage (ESD). ESD precautions must be taken whenever the module is handled.
1. Record the revision levels, serial numbers (located on the label on the top
shield of the host module and on a sticker on the Option 01), and switch
settings on the Installation Checklist.
2. Verify that the switches are set to the correct values. Refer to Configuration
for more information on setting switches.
3. Install the Option 01 on the SurePatht switching module (see Figure 1–3):
a. Align the sockets on the Option 01 with the connectors on the switching
module.
b. Gently seat the Option 01 into the connectors.
c. Use the screws provided to secure the Option 01 to the switching module
on the five standoffs.
1–6
Option 01 VXI Interface Module User Manual
Connectors
Option 01
Getting Started
Switching Module
Connectors
Figure 1–3: Mounting the Option 01
Option 01 VXI Interface Module User Manual
1–7
Getting Started
4. Make sure that the mainframe power is off.
5. Insert the module with the Option 01 installed into one of the instrument
slots of the mainframe (see Figure 1–4). Refer to the User Manual for the
switching module for detailed installation instructions.
1–8
Figure 1–4: Module Installation
Option 01 VXI Interface Module User Manual
Installation Checklist
Getting Started
Installation parameters will vary depending on the mainframe being used. Be
sure to consult the mainframe operating manual before installing and operating
the module.
Performed by: _______________________ Date: _____________
Option 01 VXI Interface Module User Manual
1–9
Getting Started
Functional Check
The Option 01 VXI Interface Module executes a self test at power-on, on
direction of a VXIbus hard or soft reset condition, or on command. The
power-on self test consists of an interface self test and an instrument self test.
The self test requested by command performs only the instrument self test. A
VXIbus hard reset occurs when another device, such as the VXIbus Resource
Manager, asserts the backplane line SYSRESET*. A VXIbus soft reset occurs
when another device, such as the Option 01 commander, sets the Reset bit in the
Option 01 Control register.
During power-on, or a hard or soft reset, the following actions take place:
1. The SYSFAIL* (VME system-failure) line is set active, indicating that the
module is executing a self test, and the Failed LED is lighted. For a soft
reset, SYSFAIL* is set. All Tektronix commanders will simultaneously set
SYSFAIL INHIBIT to prevent the resource manager from prematurely
reporting the failure of a card.
2. On completion of the interface self test, SYSFAIL* is un-asserted. If the test
fails, the SYSFAIL* line remains active. If the interface self test passed, the
SYSFAIL* line is released, and the module enters the VXIbus PASSED state
(ready for normal operation). If it failed, the module enters the VXIbus
FAILED state.
3. The instrument self test, as described in the *TST? command description is
then executed. This tests the Option 01 VXI Interface daughter board and
any relay modules under its control. If the self test fails, the module makes
an internal record of the failure(s) that occur.
The default condition of the Option 01 Module after the completion of power-on
self test is as follows:
All relays on modules controlled by the Option 01 (except VX4320
Modules) are set to the normally open position.
The VX4320 RF Multiplexer module contains eight 4-to-1 RF multiplexers.
After a power-on self test is performed by the Option 01, it closes channel 1
of each section of each VX4320 that it controls.
You can run the self test at any time during normal operation by using the *TST?
command. At the end of a self test initiated by this command, the module is
restored to its pre-test state.
1–10
Option 01 VXI Interface Module User Manual
Getting Started
During a commanded self test:
1. SYSFAIL* is not asserted.
2. The module executes the same instrument self test as is executed upon power
on.
SYSFAIL* Operation
3. When the self test is completed,
restored to their pre-test state.
SYSFAIL* becomes active during power-on, hard or soft reset, or self test, or if
the module loses 5 V power. When the mainframe Resource Manager detects
SYSFAIL* set, it will attempt to inhibit the line. This causes the Option 01 VXI
Interface Module to deactivate SYSFAIL* except when +5 V power is lost on
the relay module on which it is installed.
the modules controlled by the Option 01 are
Option 01 VXI Interface Module User Manual
1–11
Operating Basics
Functional Overview
The Option 01 VXI Interface Module is a VXIbus message-based instrument and
communicates using the VXIbus Word Serial Protocol. The module is programmed by issuing ASCII characters from the system controller to the Option
01 via the module VXIbus commander and the VXIbus mainframe backplane.
Refer to the manual for the VXIbus device that will be the Option 01 daughter
board’s commander for details on the operation of that device.
If the module commander is a Tektronix IEEE-488 Interface Module, refer to the
operating manual for the module and Appendix B: Examples in this manual for
information on how the system controller communicates with the commander
being used.
The Option 01 VXI Interface Module is a printed circuit board that resides on a
C-size VXI module belonging to the Tektronix “SurePath” family of relay
modules. This family of relay modules includes the VX4320 RF Mux, VX4330
Scanner/Mux, VX4350 General Purpose Switch, and VX4380 Matrix modules.
Commands conforming to the 1994 SCPI and IEEE-488.2 specifications are sent
to the Option 01. The Option 01 parses these commands and controls the module
on which it is installed and additional SurePath modules installed in contiguous
slots to its right. VX4372 and VX4374 Scanner Slave modules can also be
controlled by the Option 01.
Power-on
The instrument runs its self test and is ready for programming five seconds after
power-on. The VXIbus Resource Manager can add an additional delay. The
Power LED of each relay module controlled by the Option 01 will be on. The
Failed LED on each of these modules will be off. The default condition of the
module after power-on is listed in the *RST command description. Self-test
failures are described in the *TST? command description.
The format and syntax for the command strings are described in the CommandSyntax section. A complete description of each command in alphabetical order is
in the Command Descriptions section.
Option 01 VXI Interface Module User Manual
2–1
Operating Basics
Instrument I/O: VXIbus Basics
NOTE. If the user’s mainframe has other manufacturers’ computer boards
operating in the role of VXIbus foreign devices, the assertion of BERR* (as
defined by the VXIbus Specification) may cause operating problems on these
boards.
The Option 01 Module, when installed on a switching module, is a C-size single
slot VXIbus Message-Based Word Serial instrument. It uses the A16, D16 VME
interface available on the backplane P1 connector and does not require any A24
or A32 address space. The module is a D16 interrupter.
The Option 01 daughter board is neither a VXIbus commander nor a VMEbus
master; therefore it does not have a VXIbus Signal register. The Option 01 is a
VXIbus message-based servant.
The module supports the Normal Transfer Mode of the VXIbus using the Write
Ready, Read Ready, Data In Ready (DIR), and Data Out Ready (DOR) bits of
the module Response register.
A Normal Transfer Mode read of the Option 01 daughter board proceeds as
follows:
1. The commander reads the Option 01 Response register and checks if the
Write Ready and DOR bits are true. If they are, the commander proceeds to
the next step. If not, the commander continues to poll these bits until they
become true.
2. The commander writes the Byte Request command (hexadecimal 0DEFF) to
the Data Low register of the Option 01.
3. The commander reads the Option 01 Response register and checks if the
Read Ready and DOR bits are true. If they are, the commander proceeds to
the next step. If not, the commander continues to poll these bits until they
become true.
4. The commander reads the Option 01 Data Low register.
A Normal Transfer Mode write to the Option 01 daughter board proceeds as
follows:
1. The commander reads the Option 01 Response register and checks if the
Write Ready and DIR bits are true. If they are, the commander proceeds to
the next step. If not, the commander continues to poll the Write Ready and
DIR bits until they are true.
2–2
2. The commander writes the Byte Available command which contains the data
(hexadecimal 0BCXX or 0BDXX, depending on the End bit) to the Data
Low register of the Option 01.
Option 01 VXI Interface Module User Manual
Operating Basics
The module also supports the Fast Handshake Mode during readback. In this
mode, the module is capable of transferring data at optimal backplane speed
without needing the commander to test any of the handshake bits. The Option 01
daughter board asserts BERR* to switch from Fast Handshake Mode to Normal
Transfer Mode, per VXI Specification. The Option 01 Read Ready, Write Ready,
DIR and DOR bits react properly, in case the commander does not support the
Fast Handshake Mode.
A Fast Handshake Transfer Mode read of the Option 01 daughter board proceeds
as follows:
1. The commander writes the Byte Request command (hexadecimal 0DEFF) to
the Option 01 Data Low register.
2. The commander reads the Option 01 Data Low register.
A Fast Handshake Transfer Mode write of the Option 01 daughter board
proceeds as follows:
The commander writes the Byte Available command which contains the data
(hexadecimal 0BCXX or 0BDXX, depending on the End bit) to the Data
Low register of the Option 01. The commander may immediately write
another Byte Available command without having to check the Response
register.
The module has no registers beyond those defined for VXIbus message based
devices. All communications with the module are through the Data Low register,
the Response register, or the VXIbus interrupt cycle. Any attempt by another
module to read or write to any undefined location of the Option 01’s address
space may cause incorrect operation of the module.
As with all VXIbus devices, the Option 01 daughter board has registers located
within a 64 byte block in the A16 address space. The base address of the Option
01 device registers is determined by the device unique logical address and can be
calculated as follows:
Base Address = V
* 4016 + C000
16
16
where V is the logical address of the device as set by the Logical Address
switches.
Option 01 VXI Interface Module User Manual
2–3
Operating Basics
Configuration Registers
Table 2–1 contains a list of the Option 01 Configuration registers and a complete
description of each register. The offset is relative to the module base address.
T able 2–1: Register Definitions
Address
Register
ID Register0000RO101 1 1111 1111 1101 (hexadecimal BFFD)
Device Type0002ROSee Device Type definition below
Status0004RDefined by state of interface
Control0004WDefined by state of interface
Offset0006WONot used
Protocol0008RO1111 0111 1111 1111 (hexadecimal F7FF)
Response000ARODefined by state of the interface
Data High000CNot used
Data Low000EWNot fixed; command-dependent
Data Low000ERNot fixed; command-dependent
RO is Read Only
WO is Write Only
R is Read
W is Write
(hexadecimal)
TypeValue (Bits 15–0)
The Register Bit definitions are listed in Tables 2–2 and 2–3.
T able 2–2: Register Bit Definitions
RegisterBit Definition
IDhexadecimal BFFD
Protocolhexadecimal F7FF
2–4
Option 01 VXI Interface Module User Manual
Operating Basics
The contents of the Device register of the Option 01 Module depends on the
model number of the relay module that it is installed on, as shown in Table 2–3.
Command protocol and syntax for the Option 01 daughter board are as follows:
HA command string consists of a string of ASCII-encoded characters
HIn addition to terminating a command, the semi-colon character directs the
terminated by a <program message terminator>. The <program message
terminator> is optional white space, followed by any one of the following
command terminations:
a line feed <LF> or new line <NL> character (hexadecimal 0A, decimal
10)
the END bit set
the END bit with a line feed <LF> or new line <NL>
The command string is buffered until the terminator is encountered, at which
time the entire string is processed.
SCPI command parser to interpret the next command with the assumption
that all characters up to and including the last colon in the previous
command have just been parsed. In the following example, the Option 01 is
installed on a VX4380 Module. Two additional VX4380 Modules are
installed in consecutive slots to the right of the first VX4380. Under these
conditions, the commands
cause all relays on all three VX4380 Modules to open. Note that each of
these commands is terminated by a line feed. An equivalent method of
sending these commands using the semi-colon character as a terminator is
After a line feed or END bit is used to terminate a command, the parser no
longer makes the assumption described above. Thus, after the command
is parsed, the command
is no longer valid.
Option 01 VXI Interface Module User Manual
3–1
Command Syntax
In the next example, the Option 01 is installed on a VX4330 Module. Two
additional VX4330 Modules are installed in consecutive slots to the right of
the first VX4330. The commands
route:configure:join m1,(1:6)<LF>
route:configure:join m2,(1:2)<LF>
route:configure:join m3,(1:4)<LF>
connect the commons of sections 1 through 6 on the first VX4330, sections 1
and 2 on the second VX4330 and sections 1 through 4 on the third VX4330.
An equivalent way to send these commands using the semi-colon as a
terminator is
Note that <LF> in these examples represents a single line feed character.
HWhite space characters can be used to make a command string more
readable. These characters are ASCII-encoded bytes in the range hexadecimal 00–09 and 0B–20 (decimal 0–9 and 11–32). This range includes the
ASCII control characters and the space, but excludes the line feed <NL>.
White space characters are ignored when legally encountered in a command
string. White space is allowed anywhere in a command string, except for the
following:
Within a program mnemonic ( for example RO UTE )
Around a colon (:) mnemonic separator (for example ROUTE: CLOSE
or ROUTE :CLOSE)
Between a mnemonic and a (?) (for example CLOSE ?)
Following an asterisk (*) (for example * STB?)
Within a number (for example 12 34)
Within a module name specified in a [ROUTe:]MODule[:DEFine]
command (for example ROUTE:MODULE:DEFINE RFM UX, 1).
At least one white space character is required between a command/query
header and its associated arguments. For example in the command
route:configure:join m1,(1:6)
the command header is the string “route:configure:join”. The arguments
associated with this command are the module name “m1” and the section list
“(1:6)”. At least one white space character must be sent before the first
argument.
3–2
Option 01 VXI Interface Module User Manual
Command Syntax
In the query
route:close? (@m1(1:64))
the query header is the string “route:close?”. The argument associated with
this query is the channel list “(@m1(1:64))”. At least one white space
character must be sent before the channel list argument.
HAll characters in a command can be sent in either upper or lower case form.
HMultiple data parameters passed by a command are separated by a comma
(,).
HA question mark (?) following a command indicates that a response will be
returned. All responses from the module are terminated with a carriage return
<CR> and a line feed <LF> (hexadecimal 0A) character.
HIn the command descriptions, the following special characters are used.
Except for the colon (:), these characters are not part of the command and
should not be sent. If an optional field is omitted, the default for the
command is applied.
Syntax Example
[ ]Brackets indicate an optional field
|A bar indicates a logical OR choice
:A colon is used to separate command fields
< >Field indicator
Capital letters indicate the minimum required characters which need to be sent.
Lower case letters are optional. For example, the syntax of the trigger source
command is given as
TRIGger[:SEQuence]:SOURce BUS | HOLD | IMMediate | TTLTrg<n>
Each of the following is a valid form of this command:
trigger:sequence:source bus
trig:seq:sour hold
Trig:SOUR IMM
Trig:Sour TTLTRG1
Trig:Sour TTLT1
Trigger:Source Immediate
Option 01 VXI Interface Module User Manual
3–3
Command Syntax
SCPI/IEEE 488.2
Command Elements
The definition of elements used in SCPI/IEEE 488.2 commands and command
descriptions is as follows:
<NR1> ASCII integer representation of a decimal number.
<NRf> ASCII integer, fixed point or floating point representation of a decimal
number.
<module_name> A user-defined ASCII string to be associated with the local bus
address of a relay module. <module_name> strings must start with a letter and
may consist of alphanumeric characters, underscores, and digits. The maximum
length of a <module_name> is 12 characters.
<channel_spec> One or more <NR1> ASCII strings separated by “!” characters
that specify a relay on a relay module. The format of a <channel_spec> field for
each of the SurePath relay modules is:
HVX4320 RF Multiplexer: <NR1> ! <NR1>
The range of the first <NRf> field is 1 to 4. This field specifies a relay
within one of the sections of the VX4320. The range of the second <NRf>
field is 1 to 8. This field specifies a section of the VX4320. A one-dimensional <channel_spec> may also be used to specify a channel on a VX4320
Module. The one-dimensional <channel_spec> is given by the formula:
( (section – 1 ) × 4 ) + relay.
where variables “section” and “relay” are section and relay numbers
specified in a two-dimensional <channel_spec>.
HVX4330 Scanner/Multiplexer: <NR1> ! <NR1>
The first <NR1> field specifies a relay within the specified section. The
range of this <NR1> field depends on the current configuration of the section
of the VX4330 specified in the second <NR1> field. The range of the second
<NR1> field is 1 to 6. This field specifies a section of the VX4330.
The range of this field is 1 to 64. It specifies one of 64 relays on the
VX4350.
HVX4380 Matrix: <NR1> ! <NR1> ! <NR1>
The range of the first <NR1> field is 1 to 4. It specifies the row of a relay in
one of the sections of the VX4380. The range of the second <NR1> field is 1
to 16. It specifies the column of a relay in one of the sections of the VX4380.
The range of the third <NR1> field is 1 to 4. It specifies a section of the
VX4380. A one dimensional <channel_spec> may also be used to specify a
channel on a VX4380 Module. The one dimensional <channel_spec> is
given by the formula:
where variables “section” and “row” and “column” are section, row, and
column numbers specified in a three-dimensional <channel_spec>.
<channel_list> A list of channel numbers on one or more relay modules.
The limits on the channel numbers in a <channel_list> depend on the model
number of the relay module(s) specified in the <channel_list>. The syntax of a
<channel_list> is shown in the following diagram:
A module_name is an ASCII string that has been associated with a relay module
in a ROUTe:MODule:DEFine command. A channel_range may consist of a
single <channel_spec> or a range of <channel_spec>s. A range of <channel_spec>s is indicated by two <channel_spec>s separated by a colon (:)
character. A <channel_spec> may have one, two or three dimensions depending
on the architecture of the relay module it applies to.
Option 01 VXI Interface Module User Manual
3–5
Command Syntax
The following are examples of valid <channel_list>s for Tektronix VX4320,
VX4330, VX4350, VX4372, VX4374, and VX4380 relay modules. In these
examples it is assumed that the Option 01 is installed on a VX4320 Module. A
VX4330, VX4350, VX4372, VX4374, and VX4380 are installed in consecutive
slots to the right of the VX4320. The default module names for the VX4320,
VX4330, VX4350, VX4372, VX4374 and VX4380 in this example are m1, m2,
m3, m4, m5, and m6 respectively. These module names may be overridden by
specifying new module names with the [ROUTe:]MODule[DEFine] command. It
is also assumed in these examples that all sections on the VX4330 Module have
been configured as 10-to-1 4-wire scanners.
<channel_list>Channels Specified
Channel number 1 of section 2 on the VX4320 Module.
Channel number 4 in section 1 and relay number 3 in section 8
of the VX4320 Module.
Channel number 4 in sections 1 through 8 on the VX4320
Module.
Channel 1 in section 6 of the VX4330 Module.
All channels on the VX4330 Module in the following order: 1!1,
All 10 channels in section 3 of the VX4330.
All 64 channels on the VX4350
Channel 1 in section 2 of the VX4372.
Channel 3 in section 1 of the VX4374.
The channel that connects row 1 to column 13 in section 3 of
The channel that connects row 1 to column 1 in section 2 of
Same as the previous example.
The channels that connect columns 1 through 16 to row 1 in
Same as the previous example.
Channel number 4 in sections 1 through 8 on the VX4320
Module.
1!3!1, 1!3!2, 1!3!3, 1!3!4, 2!1!1, 2!1!2, 2!1!3, 2!1!4, 2!2!1,
2!2!2, 2!2!3, 2!2!4, 2!3!1, 2!3!2, 2!3!3, 2!3!4 on the VX4380
Module.
Option 01 VXI Interface Module User Manual
Command Syntax
As the <channel_list> syntax diagram shows, channels on more than one relay
module may be specified in a <channel_list>. The next example specifies
channels on three different relay modules.
<channel_list>Channels Specified
(@m1(1!1), m2(4!6),
m6(3!13!2))
Channel 1 of section 1 on the VX4320, Channel 4 of section 6
of the VX4330, and the channel on the VX4380 that connects
row 3 to column 13 in section 2.
As mentioned above, the module names used in <channel_list>s may be
specified with a [ROUTe:]MODule[:DEFine] command. The command
route:module:Define rfmux, 1
changes the module name assigned to the VX4320 to “rfmux”. The following
<channel_list> can then be used to specify channels on the VX4320.
(@rfmux(3!1,2!2))
specifies channel 3 in section 1 and channel 2 in section 2 of the VX4320.
The order in which channels are specified is important in the [ROUTe:] CLOSE?
<channel_list> and [ROUTe:]OPEN? <channel_list> queries. The states of the
channels are returned in the same order that the channels are specified in the
<channel_list>.
The order in which channels are specified is also important in the [ROUTe:]
SCAN <channel_list> command. This determines the order in which the relays
will be closed each time a trigger event is detected.
The order in which channels are specified in a <channel_list> is important in the
[ROUTe:]CLOSe <channel_list> command when channels in the same section of
a VX4320 or a VX4330 are specified. A VX4320 can close only one channel in a
section. If a [ROUTe:]CLOSE <channel_list> command specifies more than one
relay in a section of a VX4320, the last channel in the <channel_list> will be
closed.
For example, the command
close (@m2(1!1,2!1))
will close channel 2 of section 1 of the VX4320.
A VX4330 can close only one channel in a group of joined sections that have
been specified in a [ROUTe:]CLOSe:MODe SCAN,<module_name>,<section_list> command. If more than one channel in such a group of sections is
Option 01 VXI Interface Module User Manual
3–7
Command Syntax
specified in a [ROUTe:]CLOSe <channel_list> command, the last channel
specified will be closed. For example, the commands
route:configure:join m2,(1:6)
route:close:mode scan,m2,(1:6)
join the commons of all six sections of the VX4330 Module and set the mode of
the [ROUTe]:CLOSE <channel_list> to scan mode for all six sections of the
VX4330.
The command
route:close (@m2(1!1,1!6))
will then result in channel 1 of section 6 being closed and all other channels on
the module being opened.
output queue The Output queue of the Option 01 VXI Interface is used to return
replies to queries received by the interface. Bit 4 (the MAV bit) of the Status
Byte register is set to indicate that this queue is not empty. The DOR bit in the
VXI Response register is also set to indicate that this queue is not empty. The
commander of the Option 01 VXI Interface monitors the DOR bit to determine
when it may read a message from the Output queue.
<section_list> One or more <nr1> fields separated by comma (,) or colon (:)
characters and enclosed in left and right parentheses. A <section_list> is used to
specify the sections of a relay module to be acted upon by a [ROUTe:]CONFigure or [ROUTe:]CLOSe:MODE command. The following are examples of valid
<section_list>s.
For commands directed to a VX4330 which has six scanner sections:
<section_list>Sections Specified
(1:6)Sections 1 through 6
(1,2,3)Sections 1, 2 and 3
(1:3,5:6)Sections 1 through 3 and 5 and 6
(1:3,5,6)Same as previous example
(3)Section 3
3–8
Option 01 VXI Interface Module User Manual
Command Syntax
For commands directed to a VX4372 or VX4374 which has two scanner
sections:
<section_list>Sections Specified
Section 1
(1,2)Sections 1 and 2
(1:2)Sections 1 and 2
error/event queue When the command parser detects a syntax error or data range
error, it places an error message describing the error in the Error/Event queue.
Bit 2 of the Status Byte Register is set to indicate that this queue is not empty.
Bit 5 of the Standard Event Status Register (the Command Error bit) is set if the
parser detects a syntax error. Bit 4 of the Standard Event Status register (the
Execution Error bit) is set if the parser detects a numeric argument that is out of
range. When a SYSTem:ERRor? query is received, an error message is dequeued
from the Error/Event queue and placed in the Output queue.
Option 01 VXI Interface Module User Manual
3–9
Functional Command Groups
This section lists the Option 01 system and module commands.
System Commands
The following low-level commands are typically sent by the module’s commander, and are transparent to the user of the module. (An exception is the Read STB
command, which is sent whenever a Serial Poll on an IEEE-488 system is
performed.) Most commanders or Slot 0 devices have specific ASCII commands
that cause the commander to send one of these low-level commands to a
specified instrument. Refer to the operating manual of the commander or Slot 0
device for information on these commands.
CommandEffect
Begin Normal OperationThe module begins operation if it has not already done so.
Byte AvailableTransfers module commands to this module.
Byte RequestRequests the module to return a byte of data from the output
queue.
Module Commands
ClearThe module clears its VXIbus interface and any pending
commands. Current module operations are unaffected.
Clear LockClears the Lock bit of the Response register.
Read ProtocolThe module returns its protocol to its commander.
Read STBThe module returns its VXI status byte to its commander.
Set LockSet the Lock bit of the Response register.
TriggerClose the next relay in a scan list that has been defined by a
ROUTe:SCAN <channel_list> command. A VXI Trigger
command is enabled as a trigger source by a ROUTe:SE-
Quence:SOURce BUS command.
A summary of the Option 01-specific and IEEE-488.2 Common Commands is
listed in Tables 3–1 and 3–2 below. The next section, Command Descriptions,
includes detailed descriptions of each command. Appendix B: Examples shows
examples of command usage.
Option 01 VXI Interface Module User Manual
3–11
Syntax and Commands
T able 3–1: Summary of Option 01-Specific SCPI Commands
Subsystem CommandFunctions Controlled
ABORtPlace initiated scan in the idle state
CLOSeClose specified relays; DWELl
CONFigureConfiguration: DISJoin, JOIN
ID?Return model numbers of modules controlled by the Option 01
INITiatePlace trigger subsystem in armed state: IMMediate,
CONTinuous
MODuleModule name functions: DEFine, CATalog?, DELete
MODEVX4330 only; set mode to scan or mux
OPENOpen specified relays: ALL, DWELl
OUTPutEnable or disable selected VXI TTL trigger
PFAilSpecify state of latching relays on powerfail
SCANDefine a list of relay closures to scan through
ST ATusStatus register functions: OPERation, QUESstionable
SYSTemSystem-level functions: ERRor?, PRESet, VERSion?
TRIGgerScan list functions: COUNt, DELay, IMMediate, SOURce
T able 3–2: Summary of IEEE-488.2 Common Commands
Command/SyntaxDescription
Clear Status
*CLS
Standard Event Status Enable
*ESE <NRf>
Standard Event Status Enable Query
*ESE?
Standard Event Status Register Query
*ESR?
Identification Query
*IDN?
Operation Complete
*OPC
Operation Complete Query
*OPC?
Clears the SCPI and IEEE 488.2 event registers and
the SCPI error/event queue, and the output queue.
Sets the contents of the Standard Event Status Enable
register.
Returns the current value of the Standard Event
Status Enable register in <nr1> format.
Returns the current value of the Standard Event
Status register in <nr1> format, then set the contents
of this register to 0.
Returns an ASCII string in the output queue which
identifies the board.
Sets bit 0 (the Operation Complete bit) of the
Standard Event Status register when all pending
device operations have been completed.
Places the ASCII character 1 in the output queue
when all pending device operations have been
completed.
3–12
Option 01 VXI Interface Module User Manual
Syntax and Commands
T able 3–2: Summary of IEEE-488.2 Common Commands (Cont.)
Command/SyntaxDescription
Reset*
*RST
The Option 01 VXI interface is placed in its power-up
state with some exceptions.
Service Request Enable
*SRE <NRf>
Service Request Enable Query
*SRE?
Read Status Byte Query
*STB?
Trigger
*TRG
Self-Test Query
*TST?
Wait-to-Continue
*WAI
Sets the contents of the Service Request Enable
register.
Returns the current value of the Service Request
Enable register in <nr1> format.
Returns the current value of the Status Byte register in
<nr1> format.
Equivalent to a VXI Trigger command.
Performs a self test of the Option 01 VXI Interface
daughter board and any relay modules under its
control. Place a “0” or “1” into the output queue to
indicate whether the self test passed or failed.
Does not execute any further commands or queries
until all pending operations have been completed.
Option 01 VXI Interface Module User Manual
3–13
Command Descriptions
This section lists the Option 01-specific SCPI commands and queries in
alphabetic order. The IEEE-488.2 Common Commands are listed in the next
section. A summary listing of the SCPI command set for the Option 01 is as
follows:
This command places an initiated scan sequence in the idle state.
The following example defines a scan sequence of 10 relays. The sequence is
aborted after the third relay in the sequence is closed. In this example, module
names m1 and m2 refer to VX4380 Modules. After a scan sequence is aborted,
triggers are no longer accepted by the Option 01 until another INITiate [:IMMediate] command is received.
CommandResponse
route:scan
(@m1(1:5),m2(60:64))
trigger:sequence:
source hold
initiate:immediateInitiate the scan sequence.
trigClose the first relay in the sequence.
trigOpen the first relay and close the second relay in the
Option 01 VXI Interface Module User Manual
Define a scan sequence.
This command disables the following trigger sources: VXI TTL
triggers, VXI Trigger commands, *TRG command, Immediate
triggers. The TRIGger[:SEQuence][:IMMediate] command,
however, overrides this command. It triggers the module and
skips the delay specified in a previously issued TRIGger
[:SEQuence]:DELay command.
sequence.
3–17
Command Descriptions
CommandResponse
Open the second relay and close the third relay in the se-
quence.
Abort the scan sequence.
3–18
Option 01 VXI Interface Module User Manual
CLOSe
Command Descriptions
Command Syntax
Query Syntax
Query Response
*RST Value
Limits
"#
"#
Indicates which relays are closed.
All relays on all modules are set to the open position.
The limits on the relay numbers in the <channel_list> portion of this command
depend on the model number of the relay module(s) specified in the <channel_list>. The syntax of a <channel_list> is described by the following diagram:
!
"#
A module_name is an ASCII string that has been associated with a relay module
in a ROUTe:MODule:DEFine command. A channel_range may consist of a
single relay number or a range of relay numbers. A range of relay numbers is
indicated by two relay numbers separated by a “:” character.
A relay number may have one, two, or three dimensions depending on the
architecture of the relay module containing the relay. For example, the VX4350
contains 64 SPDT relays. Only one-dimensional relay numbers are supported for
this module. The VX4380 Module contains four 4×16 2-wire matrices. Threedimensional channel numbers are supported for this module. The first specifies
the row, the second specifies the column, and the third specifies the matrix
containing the relay. Multi-dimensional relay numbers are represented by
integers separated by “!” characters. See the user manuals for the VX4320,
Option 01 VXI Interface Module User Manual
!
$
3–19
Command Descriptions
VX4330, VX4350, and VX4380 for more information on the format of relay
numbers for these modules.
This command closes the relays specified in the <channel_list> portion of this
command.
In these examples the Option 01 is installed on a VX4350 Module. A VX4380
and VX4320 are installed in consecutive slots to the right of the slot containing
the VX4350. The default module names for the VX4350, VX4380 and VX4320
in this configuration are m1, m2, and m3 respectively. These module names may
be altered with the [ROUTe:]MODule:DEFine command.
CommandResponse
route:close (@m3(4!8)) Close relay 4 in section 8 of the VX4320 RF Mux Module.
route:close
(@m1(1,2,3,10:64))
route:close
(@m2(3!16!4))
route:close
(@m3(2!1:2!8))
Close relays 1,2,3 and 10 through 64 on the VX4350 General
Purpose Switch Module.
Close row 3, column 16 of section 4 of the VX4380 Matrix
Module.
Close relay 2 in sections 1 through 8 on the VX4320 RF Mux
This command is supported only for VX4330 Modules. It sets the mode of
operation of sections on a VX4330 to scan or mux. When this command is
received, all relays in the sections specified in the <section_list> argument are
opened. In the mux mode, one or more relays in a section may be closed at the
same time. When a relay is closed in a section that has been set to scan mode, all
relays in that section are opened before the relay is closed. If several sections are
set to operate in scan mode and the commons of these sections are joined (see the
[ROUTe:]CONFigure:JOIN command) then when a relay is closed in any of the
sections, all relays in all of the sections are opened first.
3–22
Option 01 VXI Interface Module User Manual
Command Descriptions
Close the first 1
elays in section one of the first VX433
Examples
In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this
module.
CommandResponse
Set all six sections of the first VX4330 to mux mode.
Configure all six sections of the first VX4330 to 20-to-1 2-wire
scanner/mux.
0 r
Set sections 1 through 3 on the third VX4330 to scan mode.
This command is valid only for VX4330 Scanner Modules. The section numbers
specified in the <section_list> portion of this command must be between 1 and 6
for this command.
[ROUTe:]CLOSe
[ROUTe:]CLOSe:MODE
[ROUTe:]OPEN
Each section of a VX4330 Module may be configured as a 40-to-1 1-wire
scanner, or as a 20-to-1 2-wire scanner/mux, or as a 10-to-1 4-wire scanner/mux.
Also, each section may be configured as a 10-to-1 4-wire scanner with independent control of the upper and lower halves of the 4-wire common. The <configuration> portion of this command indicates which of these configurations is
selected according to the following table.
3–24
<configuration>Configuration
OWIRE40-to-1 1-wire scanner
TWIRE20-to-1 2-wire scanner/mux
FWIRE10-to-1 4-wire scanner/mux
FWIRI10-to-1 4-wire scanner/mux with independent control of the
upper and lower halves of the 4-wire common.
The <module_name> argument of the command indicates which module the
command is directed to. The specified <module_name> is associated with a relay
module with a [ROUTe:]MODule:DEFine command.
The <section_list> argument indicates which sections of the selected module are
to be configured. All relays in the section(s) specified in this list are opened
when the [ROUTe:]CONFigure command is received.
Option 01 VXI Interface Module User Manual
Command Descriptions
Examples
In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this
module.
CommandResponse
route:configure
fwire,m1,(1:6)
route:mode
scan,m1,(1:3)
route:mode
mux,m1,(4:6)
rout:conf owire,m3,(1) Configure section 1 of the third VX4330 as a 40-to-1 1-wire
rout:conf
twire,m2,(2,3)
route:configure
fwiri,m3,(1:6)
route:close (@m3(1!1)) Connect the lower half of channel 1, section 1, to the lower half
Configure all six sections of the first VX4330 as 10-to-1 4-wire
scanners.
Set the mode of operation of sections 1, 2, and 3 of the first
VX4330 to scan. In this mode, only one channel in a section is
closed at a time.
Set the mode of operation of sections 4, 5 and 6 of the first
VX4330 to mux. In this mode one or more channels in a
section may be closed at the same time.
scanner.
Configure sections 2 and 3 of the second VX4330 as 20-to-1
2-wire scanners.
Configure all six sections of the third VX4330 as 10-to-1 4-wire
scanners with independent control of upper and lower
commons.
of the 4-wire common. In this example, section 1 is assumed to
be configured as a 10-to-1 4-wire scanner with independent
control of the upper and lower halves of the 4-wire common.
route:close
(@m3(20!1))
Connect the upper half of the 10th channel of section 1 to the
upper half of the 4-wire common. In this example, section 1 is
assumed to be configured as a 10-to-1 4-wire scanner with
independent control of the upper and lower halves of the 4-wire
common.
Note that in OWIRE configuration, unintended connections can be made
between the inputs that are paired with the selected MUX inputs. When selecting
even numbered relays for multiplexing, contact pairs for odd number relays are
also connected together.
In OWIRE configuration, the inputs are switched in pairs onto the two–wire bus
of the relay section. Input 1 (relay 1a_Lo) and input 2 (relay 1a_Hi) will be
switched at the same time, input 3 (relay 1b_Lo) and input 4 (relay 1b_Hi) will
be switched at the same time, etc. The odd numbered inputs connect to the
two–wire Lo bus and the even numbered inputs connect to the two–wire Hi bus.
The Scanner/MUX one–wire output is switched to either the odd relay (Lo) or
even relay (Hi) bus according to the last one–wire channel closed in the given
section, or any section to which it is joined.
Option 01 VXI Interface Module User Manual
3–25
Command Descriptions
Scan mode: any one of the inputs can be individually connected to the
one-wire output without any concern.
Mux mode: any group of even inputs or any group of odd inputs can be
connected to the one-wire output at the same time.
OWIRE configuration: each section of the VX4330 is a 1×20 Hi wire MUX
and a 1×20 Lo wire MUX, with switching between Hi and Low performed
automatically.
The VX4330 can not function as a 1×40 MUX.
Examples
In these examples the Option 01 is installed on a VX4330 Module.
CommandResponse
route:configure:join m1, (5:6)Connect the 4 commons of sections 5 and 6 on the VX4330.
This joins the following pins:
Com_5a_Lo to Com_6a_Lo
Com_5a_Hi to Com_6a_Hi
Com_5b_Lo to Com_6b_Lo
Com_5b_Hi to Com_6b_Hi
route:configure: owire,m1,
(5:6)
route:mode mux,m1, (5:6)Set the mode of operation of sections 5 and 6 of the VX4330 to
route:close (@m1 (1:5))The In_01_Lo pin of section 5 (1:5) is connected to the Lo
route:close (@m1 (4:6))Note the unexpected result here because we attempted to
Configure sections 5 and 6 of the VX4330 as 40-to-1 1-wire
scanners. This closes the 2-wire relays in sections 5 and 6
joining all of the Com_xx_Lo pins together into one Lo group,
and all of the Com_xx_Hi pins into one Hi group.
mux.
(odd) group. The inadvertent connection of In_02_Hi is made to
the Hi (even) group.
connect both even and odd inputs. The 1Wire_5a and
1Wire_6a pins are now connected to the Hi (even) group to
connect (4:6). But (2:5) is now connected instead of the
original (1:5).
3–26
Command Syntax
Query Syntax
*RST Value
[ROUTe:]CONFigure
:DISJoin <module_name>
N/A
All sections on all scanner modules are disjoined.
Disconnect the commons of all sections of a scanner module. This command is
supported for VX4330, VX4372, and VX4374 Modules.
In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this
module. A VX4374 is installed in the slot to the right of the third VX4330.
CommandResponse
#"#
!
#"! Disconnect the commons of the two sections of the VX4374.
#
Disconnect the commons of the first VX4330.
Query Syntax
*RST Value
Limits
Related Commands
Description
#!"!"
N/A
All sections on all scanner modules are disjoined.
This command is supported for VX4330, VX4374, and VX4372 Modules. The
section numbers specified in the <section_list> argument must be between 1 and
6 for VX4330 modules. Section numbers 1 and 2 are valid for VX4374 and
VX4372 Modules.
This command connects the commons of adjacent sections on scanner modules.
On VX4330 modules, if a section that is configured as a 4-wire scanner is joined
to a section that is configured as a 1-wire or 2-wire scanner, only the lower half
of the 4-wire scan common is connected. If a 4-wire section is joined to another
4-wire section, both halves of the 4-wire scan common are joined. Also for the
Option 01 VXI Interface Module User Manual
3–27
Command Descriptions
VX4330, if two or more sections that are set to scan mode are joined, then when
a [ROUTe:]CLOSe command closes a relay in one of these sections, all relays in
the sections are opened before the specified relay is closed.
Examples
In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this
module. A VX4374 is installed in the slot to the right of the third VX4330.
CommandResponse
route:configure:join
m1,(1:3)
rout:conf:join
m4,(1:2)
route:close:mode
scan,m2,(1:4)
route:conf
twire,m2,(1:4)
route:conf:join
m2,(1:4)
route:close
(@m2(10!1))
Connect the commons of sections 1, 2, and 3 on the first
VX4330.
Connect the commons of the two sections of the VX4374.
Set the mode of operation of sections 1 through 4 on the
second VX4330 to scan mode. In this mode, only one relay is a
section is closed at a time.
Configure sections 1 through 4 on the second VX4330 as
20-to-1 2-wire scanners.
Connect the commons of sections 1 through 4 on the second
VX4330. Since these sections have been set to operate in the
scan mode, and have been configured as 20-to-1 2-wire
scanners, these sections now comprise a single 80-to-1 2-wire
scanner.
Close channel 10 of section 1 of the second VX4330.
3–28
route:close (@m2(2!4))Close channel 2 of section 4 of the second VX4330. Since the
first four sections of this module are joined and are set to
operate in the scan mode, all relays in sections 1 through 4 of
this module are opened before this relay is closed.
Option 01 VXI Interface Module User Manual
ID?
Command Descriptions
Command Syntax
*RST Value
Limits
Related Commands
Description
Examples
[ROUTe:]ID?
N/A
N/A
[ROUTe:]MODule:CATalog?
This query returns a list of the model numbers of the modules controlled by the
Option 01. The first model number returned is that of the module that the Option
01 is installed on. Subsequent model numbers are those of modules in consecutive slots to the right of the first module.
In these examples the Option 01 is installed on a VX4350 Module. A VX4380,
VX4330, and VX4320 are installed in consecutive slots to the right of the slot
containing the VX4350. The default module names for the VX4350, VX4380,
VX4330 and VX4320 in this configuration are m1, m2, m3, and m4 respectively.
These module names may be altered with the [ROUTe:]MODule:DEFine command.
CommandResponse
route:id?VX4350, VX4380, VX4330, VX4320
route:module:Catalog?“M1”, “M2”, “M3”, “M4”
route:close (@m1(1))Close relay number 1 on the VX4350.
route:open:all m2Open all relays on the VX4380.
route:close (@m3(1!6)) Close relay number 1 in section 6 of the VX4330
route:close
(@m4(3!1:3!8))
Close relay number 3 in all eight sections of the VX4320.
This command places the trigger subsystem in the armed state. In this state, a
trigger event enabled by the TRIGger[:SEQuence]:SOURce command closes the
next relay in a scan sequence, after opening the previous relay in the sequence.
After a sufficient number of triggers have been received to cycle through a scan
list the number of times specified in a TRIGger:[SEQuence] :COUNt command,
the trigger subsystem is placed in the idle state. In this state, triggers are ignored.
3–30
Examples
CommandResponse
route:scan
(@m1(1,2),m2(60))
trigger:sequence:count
1
trigger:sequence:
source hold
initiate:immediateInitiate the scan sequence.
trigClose the first relay in the sequence.
Define a scan sequence consisting of relays 1 and 2 on relay
module m1 and relay 60 on module m2.
Define the number of times to sequence through the scan list
before setting the state of the trigger subsystem back to the
idle state.
This command disables the following trigger sources: VXI TTL
triggers, VXI Trigger commands, *TRG command, and
Immediate triggers. The TRIGger[:SEQuence][:IMMediate]
command, however , overrides this command. It triggers the
module and skips the delay specified in a previously issued
TRIGger[:SEQuence]:DELay command.
Option 01 VXI Interface Module User Manual
Command Descriptions
CommandResponse
trigOpen the first relay and close the second relay in the
sequence.
trigOpen the second relay and close the third relay in the
sequence.
trigOpen the third relay in the sequence. Place the trigger
subsystem in the idle state.
Command Syntax
Query Syntax
Query Response
*RST Value
Related Commands
Description
INITiate
:CONTinuous
N/A
N/A
The trigger subsystem is placed in the IDLE state.
If a scan list has been defined by a [ROUTe:]SCAN command, this command
places the trigger subsystem in the armed state. In this state, a trigger event
enabled by the TRIGger[:SEQuence]:SOURce command opens the currently
closed channel in a scan list and closes the next channel in the list. Triggers
continue to be recognized until an ABORt command is received, which returns
the trigger subsystem to the IDLE state.
Examples
In this example, it is assumed that the Option 01 daughter board is installed on a
VX4330 Module and that the default module name “m1” is in effect.
CommandResponse
conf twire,m1,(1)Set the configure section 1 of the VX4330 to 20-to-1 twire.
scan (@m1(1!1:20!1))Define a scan list consisting of channels 1 through 20 in
trigger:Sequence:count
2
Option 01 VXI Interface Module User Manual
section on of the VX4330 Module.
Set the number of times to sequence through a scan list (when
an INITiate[:IMMediate] command is received) to 2.
3–31
Command Descriptions
CommandResponse
trigger:sequence:
source hold
initiate:continuousPlace the trigger subsystem in the arm state.
trigger:seq:immOverride the hold placed on triggers. Close channel 1 in
trigger:seq:immOverride the hold placed on triggers. Open channel 1 in section
trigger:seq:sour immRemove the hold placed on triggers. Set the trigger source to
ABORReturn the trigger subsystem to the idle state. Open the
initiate:immediatePlace the trigger subsystem in the arm state, sequence through
Disable all trigger sources.
section 1 of the VX4330.
1, then close channel 2 in section 1 of the VX4330.
immediate. This causes the sequencing of the scan list
indefinitely or until an ABORt command is received.
currently closed relay in the scan list.
the scan list twice, then return the trigger subsystem to the idle
state.
3–32
Option 01 VXI Interface Module User Manual
MODule
Command Descriptions
Command Syntax
Query Syntax
Query Response
*RST Value
Limits
[ROUTe:]MODule
[:DEFine] <module_name>,<nrf>
[ROUTe:]MODule
[:DEFine]? <module_name>
See examples.
Default module names are assigned as follows:
The module that has a Option 01 VXI Interface daughter board installed is
assigned module name “M1”.
Modules without the Option 01 VXI Interface daughter board in consecutive
slots to the right of module “M1” are assigned module names “M2”, “M3”, ...,
“M11”.
A module name may consist of up to 12 characters. The name must start with a
letter and may consist of alphanumeric characters, underscores, and digits.
This command assigns a module name to a relay switching module. This name is
used to identify the module in channel lists in [ROUTe:]OPEN,
[ROUTe:]CLOSe, and [ROUTe:]SCAN commands.
In these examples the Option 01 is installed on a VX4350 Module. A VX4380
and VX4330 are installed in consecutive slots to the right of the slot containing
the VX4350.
CommandResponse
route:module:define
gp_switch,1
route:close
(@gp_switch(1:64))
Assign module name “gp_switch” to the VX4350.
Close all 64 relays on the VX4350.
Option 01 VXI Interface Module User Manual
3–33
Command Descriptions
CommandResponse
route:module:define
matrix,2
Assign module name “matrix” to the VX4380.
Command Syntax
*RST Value
Limits
Related Commands
Description
route:close (@matrix
(4!16!3))
route:module:define?
gp_switch
Close the relay at row 4 column 16 in section 3 of the VX4380.
This command returns a list of defined module names.
Examples
In these examples the Option 01 is installed on a VX4350 Module. A VX4380
and VX4330 are installed in consecutive slots to the right of the slot containing
the VX4350.
This command will delete all module name definitions.
CommandResponse
“M1”, “M2”, “M3”
“ ”
Delete all module names
3–36
Option 01 VXI Interface Module User Manual
OPEN
Command Descriptions
Command Syntax
Query Syntax
Query Response
*RST Value
Limits
[ROUTe:]OPEN <channel_list>
[ROUTe:]OPEN? <channel_list>
See examples.
All relays on all modules are set to the open position.
The limits on the relay numbers in the <channel_list> portion of this command
depend on the model number of the relay module(s) specified in the <channel_list>. The syntax of a <channel_list> is described by the following diagram:
<channel_range>
!:
<NR1>
<channel_list>
!
<NR1>
,
(@(
A module_name is an ASCII string that has been associated with a relay module
in a ROUTe:MODule:DEFine command. A channel_range may consist of a
single relay number or a range of relay numbers. A range of relay numbers is
indicated by two relay numbers separated by a “:” character.
A relay number may have one, two, or three dimensions depending on the
architecture of the relay module containing the relay. For example, the VX4350
contains 64 SPDT relays. Only one-dimensional relay numbers are supported for
this module. The VX4380 Module contains four 4 × 16 2-wire matrices.
Three-dimensional channel numbers are supported for this module. The first
specifies the row, the second specifies the column and the third specifies the
matrix containing the relay. Multi-dimensional relay numbers are represented by
integers separated by “!” characters. See the manuals for the VX4330, VX4350,
Option 01 VXI Interface Module User Manual
,
<channel_range>
))<module_name>
3–37
Command Descriptions
and VX4380 for more information on the format of relay numbers for these
modules.
The [ROUTe:]OPEN command is not supported for the VX4320 Module. This
module contains eight 4-to-1 RF multiplexors. One and only one channel in each
multiplexor is closed at all times.
This command closes the relays specified in the <channel_list> portion of this
command.
In these examples the Option 01 is installed on a VX4350 Module. A VX4380
and VX4330 are installed in consecutive slots to the right of the slot containing
the VX4350. The default module names for the VX4350, VX4380, and VX4330
in this configuration are m1, m2, and m3 respectively. These module names may
be altered with the [ROUTe:]MODule:DEFine command.
CommandResponse
route:open (@m3(4!6))Open relay 4 in section 6 of the VX4330 Scanner Module.
route:open
(@m1(1,2,3,10:64))
route:open
(@m2(3!16!4))
route:open
(@m3(2!1:2!3))
Open relays 1,2,3 and 10 through 64 on the VX4350 General
Purpose Switch Module.
Open row 3, column 16 of section 4 of the VX4380 Matrix
Module.
Open relay 2 in sections 1 through 3 on the VX4330 Scanner
Open channel 3 of section 2 on the VX4330 Module after
redefining its module name to “scanner”.
Open the following relays on the VX4380 matrix Module:
RowColumn Section
111
462
Option 01 VXI Interface Module User Manual
CommandResponse
route:open?
(@m1(1,2,3,4))
route:open? (@scanner
(3!2))
1 1 0 0
This response indicates that relays 1 and 2 on the VX4350 are
open and relays 3 and 4 on this module are closed.
1
This response indicates that channel 3 of section 2 of the
VX4320 is open. Note that a route:module:define scanner,3
command has been received prior to this query.
Command Descriptions
Command Syntax
Query Syntax
*RST Value
Limits
Related Commands
Description
[ROUTe:]OPEN
:ALL [module_name]
N/A
All relays on all modules are set to the open position.
N/A
[ROUTe:]CLOSe
[ROUTe:]MODule:DEFine
If a module name is not specified in this command, open all relays on all
modules controlled by the Option 01. If a module name is specified, open all
relays on the specified module only. In either case do not change the state of the
configuration relays on VX4330 Modules.
The [ROUTe:]OPEN command is not supported for the VX4320 Module. This
module contains eight 4-to-1 RF multiplexors. One and only one channel in each
multiplexor is closed at all times.
Examples
CommandResponse
ROUTE:OPEN:ALLOpen all relays on all Modules controlled by the VX4300. Do
rout:open:allSame as the first example.
route:open:all gpOpen all relays on the module that has been assigned module
Option 01 VXI Interface Module User Manual
not change the state of the configuration relays on VX4330
Modules.
name “gp”. See the [ROUTe:]MODule:DEFine command.
3–39
Command Descriptions
Command Syntax
Query Syntax
*RST Value
Limits
Related Commands
Description
Examples
[ROUTe:]OPEN
:DWELl <module_name>,<nrf>
N/A
The open dwell time of all modules is set to 0 seconds.
The value of the time specified in this command must be between 0 and 6.5535
seconds.
[ROUTE:]OPEN
[ROUTe:]SCAN
This command sets the time to wait after opening a relay before proceeding.
In the following example the Option 01 is installed on a VX4330 Module.
CommandResponse
output:ttltrg1:state
on
Enable VXI TTL trigger 1.
route:close:dwell
m1,.25
route:open:dwell
m1,0.5
route:scan
(@m1(1!6:20!6))
trigger:Sequence:
source ttltrg2
trigger:sequence:delay
1
initiate:immediateInitiate the scan sequence.
Set the close dwell time for the VX4330 to 0.25 seconds.
Set the open dwell time for the VX4330 to 0.5 seconds.
Define a scan list consisting of relays 1 through 20 in section 6
of the VX4330.
Define VXI TTL trigger 2 as the trigger source for the defined
scan list.
Set the trigger delay time to 1 second.
After this sequence, each time the VXI TTL trigger 2 is pulsed low, the
following sequence of events occurs:
1. One second delay. This is the delay specified in the trigger:Sequence:delay
command.
2. The current relay in the scan list is opened.
3–40
Option 01 VXI Interface Module User Manual
Command Descriptions
3. 0.5 second delay. This is the delay specified in the route:open:dwell
command.
4. Close the next relay in the scan list.
5. 0.25 second delay. This is the delay specified in the route:close:dwell
command.
6. Pulse VXI TTL trigger 1 low for 3 sec.
Option 01 VXI Interface Module User Manual
3–41
Command Descriptions
OUTPut
Command Syntax
Query Syntax
Query Response
*RST Value
Related Commands
Description
! !
Indicates whether a VXI TTL trigger is enabled.
ROUTe:CLOSe
ROUTe:SCAN
One or more VXI TTL triggers may be enabled. Triggers that are enabled are
pulsed low for 3 sec after a relay is closed by the Option 01 after a time
specified by the ROUTe:CLOSe:DWELl command.
This response indicates that VXI TTL trigger 4 is enabled.
Option 01 VXI Interface Module User Manual
PFAil
Command Descriptions
Command Syntax
Query Syntax
*RST Value
Limits
Related Commands
Description
[ROUTe:]PFAil <action_at_powerfail>
N/A
All relays on all modules are opened when power is removed from the VXI
chassis.
N/A
N/A
This command specifies the state that all latching relays on all modules
controlled by the Option 01 are to be placed in when power is removed from the
VXI chassis containing the modules. <action_at_powerfail> must be OPEN or
SAME. If OPEN is specified, all latching relays are opened at powerfail. If
SAME is specified, all latching relays are left in their current state at powerfail.
NOTE. VXI chassis +5 V power is maintained for 4 milliseconds after ACFAIL is
asserted, in compliance with VXI Specifications. This allows for orderly system
shutdown and implementation of the PFAil OPEN option.
Examples
Option 01 VXI Interface Module User Manual
CommandResponse
route:pfail sameLeave all latching relays in their current state at powerfail.
route:pfail openOpen all latching relays at powerfail.
3–43
Command Descriptions
SCAN
Command Syntax
Query Syntax
*RST Value
Limits
[ROUTe:]SCAN <channel_list>
N/A
No scan list is defined.
The limits on the relay numbers in the <channel_list> portion of this command
depend on the model number of the relay module(s) specified in the <channel_list>. The syntax of a <channel_list> is described by the following diagram:
<channel_range>
!:
<NR1>
<channel_list>
!
<NR1>
,
,
(@(
<channel_range>
))<module_name>
A module_name is an ASCII string that has been associated with a relay module
in a ROUTe:MODule:DEFine command. A channel_range may consist of a
single relay number or a range of relay numbers. A range of relay numbers is
indicated by two relay numbers separated by a “:” character.
A relay number may have one, two, or three dimensions depending on the
architecture of the relay module containing the relay. For example, the VX4350
contains 64 SPDT relays. Only one-dimensional relay numbers are supported for
this module. The VX4380 Module contains four 4 × 16 2-wire matrices. Threedimensional channel numbers are supported for this module. The first specifies
the row, the second specifies the column, and the third specifies the matrix
containing the relay. Multi-dimensional relay numbers are represented by
integers separated by “!” characters. See the user manuals for the VX4320,
VX4330, VX4350, and VX4380 for more information on the format of relay
numbers for these modules.
This command defines a list of relay closures to sequence through. This list is
called a scan list. When the ROUTe:SCAN <channel_list> command is received,
all relays in this list are opened. In addition to defining a scan list, a trigger
source must be specified using the TRIGger[:SEQuence]:SOURce command.
Trigger events are not recognized until triggers are armed by an INITiate
[:IMMediate] or INITiate:CONTinuous command.
When the first trigger event is detected, the first relay in the scan list is closed.
When the second trigger event is detected, the first relay is opened and the
second relay is closed. When the nth trigger event is detected, the (n–1)th relay is
opened and the nth relay is closed. The act of opening the (n–1)th relay and
closing the nth relay is called sequencing the scan list. At any given time after
the first trigger event is detected, only one relay in the scan list is closed.
The TRIGger[:SEQuence]:COUNt command may optionally be used to specify
the number of times to sequence through the entire scan list. The TRIGger
[:SEQuence]:DELay, [ROUTe:]CLOSe:DWELl, and [ROUTe:]OPEN:DWELl
commands may optionally be used to specify the time to wait after a trigger
event is detected, a relay is closed or a relay is opened. A TRIGger[:SEQuence]
[:IMMediate] command causes the scan list to be sequenced without the delay
specified by a previously issued TRIGger[:SEQuence]:DELay command.
Examples
In these examples the Option 01 is installed on a VX4350 Module. A VX4380
and VX4330 are installed in consecutive slots to the right of the slot containing
the VX4350.
Define a scan list consisting of relays 1 through 64 on the
VX4350, relays at row 1, column 1 of section 1 and row 2,
column 10 of section 3 of the VX4380 and relays 1 through 20
of section 1 of the VX4330.
3–45
Command Descriptions
CommandResponse
trigger:sequence:
source immediate
trigger:sequence:count
5
Define a trigger source of “immediate”. This means to
sequence through the scan list without waiting for a trigger
event.
Sequence through the entire scan list five times.
route:close:dwell
gp,.5
initiate:immediateBegin sequencing through the scan list.
*OPCSet the Operation Complete bit of the Standard Event Status
Wait 0.5 seconds after closing a relay on the VX4350.
register after sequencing through the scan list five times.
3–46
Option 01 VXI Interface Module User Manual
STATus
Command Descriptions
Command Syntax
*RST Value
Limits
Related Commands
Description
Examples
STATus
:OPERation
:CONDition?
0
N/A
N/A
This query returns the contents of the SCPI Status Operation Condition register.
For the Option 01, the value of this register is always equal to 0.
CommandResponse
status:operation:
condition?
00000
Command Syntax
Query Syntax
*RST Value
Limits
Related Commands
Description
STATus
:OPERation
:ENABle
STATus:
OPERation
:ENABle?
0
N/A
N/A
This command sets the contents of the SCPI Status Operation Event Enable
register.
Option 01 VXI Interface Module User Manual
3–47
Command Descriptions
Examples
Command Syntax
*RST Value
Limits
Related Commands
Description
CommandResponse
status:operation:
enable 1
stat:oper:enab?00001
STATus
:OPERation
[:EVENt?]
0
N/A
N/A
This query returns the contents of the SCPI Status Operation Event register. For
the Option 01, the value of this register is always equal to 0.
Examples
Command Syntax
*RST Value
Limits
Related Commands
Description
CommandResponse
status:operation:
event?
STATus
:QUEStionable
:CONDition?
0
N/A
N/A
This query returns the contents of the SCPI Status Questionable Condition
register. For the Option 01, the value of this register is always equal to 0.
00000
3–48
Option 01 VXI Interface Module User Manual
Command Descriptions
Examples
Command Syntax
Query Syntax
Query Response
*RST Value
CommandResponse
status:questionable:
condition?
STATus
:QUEStionable
:ENABle
STATus
:QUEStionable
:ENABle?
Indicates whether the Status Operation Event is enabled.
0
00000
Limits
Related Commands
Description
Examples
N/A
N/A
This command sets the contents of the SCPI Status Operation Event Enable
register.
CommandResponse
status:questionable:
enable 1
stat:ques:enab?00001
Option 01 VXI Interface Module User Manual
3–49
Command Descriptions
Command Syntax
*RST Value
Limits
Related Commands
Description
Examples
STATus
:QUEStionable
[:EVENt?]
0
N/A
N/A
This query returns the contents of the SCPI Status Questionable Event register.
For the Option 01, the value of this register is always equal to 0.
CommandResponse
status:questionable:
event?
00000
3–50
Option 01 VXI Interface Module User Manual
SYSTem
Command Descriptions
Command Syntax
Query Response
Each response is terminted with a carriage return <CR> and a line feed<LF>.
0,“No error”
–102, “Syntax error; 1 dimensional <channel_spec> invalid for VX4330
module”
–102, “Syntax error; 2 dimensional <channel_spec> invalid for VX4350
module”
–102, “Syntax error; 3 dimensional <channel_spec> invalid for VX43xx
module”
–102, “Syntax error; channel dimension mismatch”
–102, “Syntax error; integer field greater than 10 characters”
–102, “Syntax error; Missing module name”
–102, “Syntax error; Module address not specified”
–102, “Syntax error; Module name already defined”
–102, “Syntax error; Module name length greater than 12 characters”
–102, “Syntax error; Non-contiguous section numbers”
–102, “Syntax error; ROUTe:CONFigure command invalid for VX43xx module”
–102, “Syntax error; ROUTe:DISJoin command invalid for VX43xx module”
–102, “Syntax error; ROUTe:JOIN command invalid for VX43xx module”
–102, “Syntax error; ROUTe:MODE command invalid for VX43xx module”
–102, “Syntax error; Undefined module name”
–102, “Syntax error; Unexpected x detected while ...”
–121, “Invalid character in number”
–123, “Exponent too large”
–200, “Execution error; Reserved”
–200, “Execution error; Scan list undefined”
Option 01 VXI Interface Module User Manual
3–51
Command Descriptions
–211, “Trigger ignored”
–213, “Init ignored”
–222, “Data out of range; Channel number x on module y”
–222, “Data out of range; Channel number x!x on module y”
–222, “Data out of range; Channel number x!x!x on module y”
–222, “Data out of range; Invalid module address specified”
–222, “Data out of range; Invalid section number”
–222, “Data out of range; Invalid sequence count”
–222, “Data out of range; Invalid trigger delay”
–222, “Data out of range; Invalid VXI TTL Trigger level”
–222, “Data out of range; Maximum value for ESE command is 255”
*RST Value
Limits
–222, “Data out of range; Maximum value for SRE command is 255”
–222, “Data out of range; Invalid dwell time specified.”
–223, “Too much data; Channel list array overflow”
–223, “Too much data; Input buffer overflow”
–223, “Too much data; Output buffer full”
–223, “Too much data; Scan list array overflow”
–240, “Hardware error; Shift register verification error – module y”
–240, “Hardware error; Unrecognized module x, y”
–350, “Queue overflow; Error/event queue”
–350, “Queue overflow; Output queue”
The error/event queue is empty.
N/A
3–52
Related Commands
*ESR?
*STB?
Option 01 VXI Interface Module User Manual
Command Descriptions
Description
Examples
Command Syntax
Query Syntax
*RST Value
Limits
If an error condition is detected by the Option 01, it places an error message
describing the condition in the error/event queue. The SYSTem:ERRor? query
requests the Option 01 to remove the oldest message in the error/event queue and
place it into the output queue. If the error/event queue is empty, a “No error”
message is placed in the output queue.
CommandResponse
0, “No error”
–222,“Data out of range; Invalid section number”
N/A
N/A
N/A
Related Commands
Description
Examples
Command Syntax
*RST Value
Limits
ROUT e:OPEN:ALL
Channel 1 of all sections on all VX4320 Modules is closed. All relays on all
modules (except VX4320 Modules) are set to the open position. The PON bit of
the Standard Event Status register is not affected by this command.
CommandResponse
no response
no response
N/A
N/A
Option 01 VXI Interface Module User Manual
3–53
Command Descriptions
Related Commands
Description
Examples
None
This query returns the following ASCII string in the output queue:
“1994.0”
CommandResponse
“1994.0”
“1994.0”
3–54
Option 01 VXI Interface Module User Manual
TRIGger
Command Descriptions
Command Syntax
Query Syntax
*RST Value
Limits
Related Commands
Description
TRIGger
[:SEQuence]
:COUNt
N/A
1
The count specified in this command must be between 1 and 65535.
This command specifies the time to wait after a trigger event is detectedbefore
opening the current relay in a scan list. A trigger event is enabled with teh
TRIGger:[SEQuence]:SOURce command.
CommandResponse
route:scan
(@m1(1,2),m2(1:64))
trigger:sequence:count
2
trigger:sequence:delay
0.5
Define a scan sequence consisting of relays 1 and 2 on relay
module m1 and relays 1 through 64 on module m2.
Define the number of times to sequence through the scan list
before setting the state of the trigger subsystem back to the
idle state.
Wait 0.5 seconds after a trigger event is detected before opening the current relay in a scan list and closing the next relay in
the list.
Command Syntax
Query Syntax
*RST Value
Limits
trigger:sequence:
source ttltrg2
initiate:immediateInitiate the scan sequence. Sequence through the entire scan
Sequence to the next relay in a scan list when VXI TTL trigger
2 is asserted.
list two times. Wait 0.5 seconds after VXI TTL trigger 2 is asserted before sequencing to the next relay in the list.
Sequence to the next relay in an initiated scan list without waiting for a trigger
event and without waiting the time specified in a TRIGger[:SEQuence]:DELay
command.
CommandResponse
route:scan
(@m1(1,2),m2(1:64))
trigger:sequence count
2
trigger:sequence:delay
0.5
trigger:sequence:
source:ttltrg2
initiate:immediateInitiate the scan sequence. Sequence through the entire scan
trigger:sequence:
immediate
Define a scan sequence consisting of relays 1 and 2 on relay
module “m1” and relays 1 through 64 on module m2.
Define the number of times to sequence through the scan list
before setting the state of the trigger subsystem back to the
idle state.
Wait 0.5 seconds after a trigger event is detected before
opening the current relay in a scan list and closing the next
relay in the list.
Sequence to the next relay in a scan list when VXI TTL trigger
2 is asserted.
list 2 times. Wait 0.5 seconds after VXI TTL trigger 2 is
asserted before sequencing to the next relay in the list.
Sequence to the next relay in the scan list without waiting for
VXI TTL trigger 2 to be asserted. Do not wait 0.5 seconds to
sequence to the next relay.
This command selects a trigger source. When a trigger event is detected from an
enabled trigger source, the next relay in an initiated scan sequence is closed after
the current closed relay is opened.
The action of opening the currently closed relay and closing the next relay in a
scan list is called sequencing the scan list.
Specifying BUS in the TRIGger[:SEQuence]:SOURce command enables a
IEEE488.1 Group Execute Trigger command to sequence the scan list.
It is assumed that the commander of the Option 01 is a IEEE488 talker/listener
and that this device converts a IEEE488.1 GET command to a VXI Trigger
command.
Specifying HOLD in the TRIGger[:SEQuence]:SOURce command disables all
trigger sources.
Specifying IMMediate in the TRIGger[:SEQuence]:SOURce command causes
the Option 01 to sequence through the scan list without waiting for a trigger
event.
Specifying TTLTrg<n> in the TRIGger[:SEQuence]:SOURce command enables
one of eight VXI TTL triggers to act as a trigger source. <n> is a single digit
between 0 and 7.
3–58
Examples
CommandResponse
Initiate the scan sequence. Sequence through the entire scan
Define a scan sequence consisting of relays 1 and 2 on relay
module “m1” and relays 1 through 64 on module m2.
Define the number of times to sequence through the scan list
before setting the state of the trigger subsystem back to the
idle state.
Sequence through the scan list without waiting for a trigger
event after an INITiate[:Immediate] command is received.
list two times.
Option 01 VXI Interface Module User Manual
IEEE-488.2 Common Commands
This section lists the IEEE-488.2 common commands and queries recognized by
the Option 01.
*CLS
Clear Status. This commands clears the following:
Event Status register (ESR)
Error/Event queue
Output queue
*ESE <NRf>
Event Status Enable (ESE) command. This command defines the mask for
setting the Event Status Summary bit (bit 5) in the Status Byte register (*STB?).
The mask is logically ANDed with the Event Status register (*ESR?) to
determine whether or not to set the Event Status Summary bit. The mask can be
any numeric value from 0 to 255, corresponding to the encoded bits of the ESR
register. A “1” in a bit position enables reporting of the function. A “0” disables
it. The *ESE register is cleared at power-on, or by writing an *ESE 0 command
only. If <mask> is not specified, it defaults to 0.
For example, the command *ESE 37 (hexadecimal 25, binary 00010101) enables
setting the Event Status Summary bit whenever an operation is complete, a query
error is detected, or an execution error is detected.
*ESE?
Event Status Enable (ESE) query. This command returns the value of the Event
Status Enable register as a numeric value from 0 to 255. For example, a value of
32 (hexadecimal 40, binary 00100000) indicates that command error reporting is
enabled.
*ESR?
Event Status Register (ESR) query. This command returns the value of the Event
Status register. The *ESR command is destructively read (that is, read and
cleared). The Event Status Summary bit in the Status Byte (*STB?) is also
cleared by a read of the ESR. The ESR is set to 128 on power-on (bit 7) set. It is
Option 01 VXI Interface Module User Manual
3–59
IEEE-488.2 Common Commands
cleared by an *ESR? or *CLS command only. When converted to a binary
number, the bits of the ESR correspond to:
bit 0 (LSB)Operation Complete
1Request Control
2Query error
3Device Dependent error
4Execution error
5Command error
6User Request
7 (MSB)Power On
The Error bits are set whenever the module detects an error. The error values
from –100 to –199 are Command errors. Error values from –200 to –299 are
Execution errors. Error values from –300 to –399 are Device Dependent errors.
Error values from –400 to –499 are Query errors (see the SYSTem:ERRor
command description).
The Request Control and User Request bits are unused, and are always reported
as zeroes.
*IDN?
The Operation Complete bit is set in response to an *OPC command. A 1
indicates that the module has completed all pending commands and queries.
Identification query; This returns a 4-field response. Field 1 is the manufacturer,
field 2 the model, field 3 the serial number, and field 4 contains both the SCPI
and the firmware version levels. For the Option 01, the serial number field is
always a 0. The response syntax is:
TEKTRONIX,VX43xx,0,SCPI:94.0 FW1.1<LF>
where xx indicates the model number of the relay module that the Option 01 is
installed on:
Value of xxModel Number
20VX4320
30VX4330
50VX4350
80VX4380
3–60
Option 01 VXI Interface Module User Manual
*OPC
*OPC?
*RST
IEEE-488.2 Common Commands
Operation Complete. This command causes the module to set the Operation
Complete bit in the Event Status register (ESR) when all pending commands and
queries are complete.
Operation Complete query. This command causes the module to place a “1” in
the Output queue when all pending commands and queries are complete. All
commands following *OPC are suspended until the pending operations are
complete. The *OPC? command does not affect the OPC bit in the Event Status
register.
Reset. This command causes the Option 01 to open all relays on all modules
under its control, except for VX4320 Modules. Channel 1 in each section of each
VX4320 Module is closed. This command sets the Option 01 Module to its
power-on state with the following exceptions: the Error/Event queue, Output
queue, Standard Event Status Enable register, SCPI Status Operation Event
Enable register and SCPI Status Questionable Event Enable register are not
cleared.
The condition of the Option 01 daughter board and the switching modules that it
controls after receipt of a *RST command is as follows:
Contents of the SCPI Status Operation Event register = 0
Contents of the SCPI Status Operation Condition register = 0
Contents of the SCPI Status Questionable Event register = 0
Contents of the SCPI Status Questionable Condition register = 0
All VXI TTL triggers are disabled
Trigger subsystem is in the idle state
Trigger source = IMMediate
Number of times to sequence through an entire scan list = 1
Time in seconds to wait after a trigger event is detected before sequencing to
the Next relay in a scan list = 0
All relays on all modules are set to the open position
No scan list is defined
Default module names are assigned as follows:
The module that has a Option 01 VXI Interface daughter board installed
is assigned module name “M1”.
Modules without the Option 01 VXI Interface daughter board in
Option 01 VXI Interface Module User Manual
3–61
IEEE-488.2 Common Commands
*SRE <mask>
consecutive slots to the right of module “M1” are assigned module
names “M2”, “M3”, ..., “M11”.
All sections on all scanner modules are disjoined
All sections of all VX4330 Modules are set to operate in the mux mode
Close dwell time of all modules is set to 0 seconds
Open dwell time of all modules is set to 0 seconds
All relays on all modules are opened when power is removed from the VXI
chassis
Service Request Enable (SRE) register. This command defines a mask that is
ANDed with the contents of the Status Byte register. If the result of this
operation is non-zero, the Option 01 generates a VXI Request True interrupt.
Bits 0, 1, 3, 6, and 7 of the SRE register are not used. Bits 2, 4, and 5 are set to
enable VXI Request True interrupts to be generated under the conditions listed in
the following table.
*SRE?
Bit No.Meaning
bit0 (LSB)Not used
1Not used
2The Error/Event queue contains one or more error messages
3Not used
4The Output queue contains one or more query responses
5The contents of the Standard Event Status register ANDed with the
contents of the Standard Event Status Enable register produces a
non-zero result.
6Not used
7Not used
Service Request Enable (SRE) query. This command returns the value of the
Service Request Enable register as a numeric value from 0 to 255. Bit 6 is
unused, and is reported as zero.
*STB?
3–62
Status Byte Query. This query returns the value of the Status Byte register as a
numeric value between 0 and 255. The Status Byte register contents (with the
Option 01 VXI Interface Module User Manual
IEEE-488.2 Common Commands
exception of bit 6) are also returned in response to a VXI Read STB command.
Bit 6 is read destructively in response to a VXI Read STB command. Bit 6 is not
read destructively is response to a *STB? query. The Status Byte register is
encoded as follows:
Bit No.Meaning
bit 0 (lsb)Not used
bit 1Not used
bit 2Set when the Error/Event queue contains one or more error messages.
bit 3Not used
bit 4Set when the Output buffer contains one or more query responses.
bit 5Set when the contents of the Standard Event Status register ANDed
with the contents of the Standard Event Status Enable register
produces a non-zero result.
bit 6Set when the contents of bits 0 through 5 and bit 7 of the Status Byte
register ANDed with the contents of the Service Request Enable
register produce a non-zero result.
If bit 6 becomes set, the Option 01 will generate a VXI Request True
interrupt on the VME interrupt level selected by its interrupt level select
switch. If bit 6 becomes set and the Status Byte register is read using a
VXI Read STB command, bit 6 will be reported as being set. In
response to subsequent VXI Read STB commands, bit 6 will be
reported as being cleared.
If bit 6 becomes set and the Status Byte register is read using a *STB?
query , bit 6 will be reported as being set. Bit 6 will continue to be
reported as set in reponse to *STB queries until the contents of bits 0
through 5 and bit 7 of the Status Byte register ANDed with the contents
of the Service Request Enable register is equal to 0.
bit 7Not used.
Option 01 VXI Interface Module User Manual
3–63
IEEE-488.2 Common Commands
*TRG
Trigger Command. This command is equivalent to a VXI Trigger command.
This command is valid only after the following commands have been received
by the Option 01:
CommandDescription
[ROUTe:]SCAN
<channel_list>
Define a scan list
TRIGger
[:SEQuence]
:SOURce BUS
INITiate[:IMMediate]Initiate the scan list. This command places the trigger
Select a VXI Trigger command as a trigger source.
subsystem in the “ARM” state. The trigger subsystem remains
in this state until the Option 01 has sequenced through the
entire scan list “n” times, where “n” has been previously
specified in a TRIGger[:SEQuence]:COUNT command. The
trigger subsystem then returns to the IDLE state. The trigger
subsystem also returns to the IDLE state if an ABORt
command is received by the Option 01.
After these commands have been issued, a *TRG command will cause the
Option 01 to take the following actions:
Generate a trigger delay that has previously been specified in a TRIGger
[:SEQuence]:DELay command.
Open the currently closed channel .
Generate the open delay that has previously been specified in a
[ROUTe:]OPEN:DWELl command.
Close the next channel in the scan list.
3–64
Generate the close delay that has previously been specified in a
[ROUTe:]CLOSe:DWELl.
Pulse one or more VXI TTL trigger signals that have been enabled by a
previously issued OUTPut:TTLTRG<n>[:STATe] ON command.
If the module containing the channel is a scanner module, pulse the
appropriate front panel encode signal.
If another *TRG command is received before this sequence is complete, a SCPI
–211,“Trigger ignored” error message will be placed in the Error/Event queue.
The *TRG command will continue to have this effect until the trigger subsystem
is placed in the IDLE state. If additional *TRG commands are recieved after the
Option 01 VXI Interface Module User Manual
*TST?
IEEE-488.2 Common Commands
trigger system is placed in the IDLE state, the Option 01 will place SCPI
–211,“Trigger Ignored” error messages in the Error/Event queue.
The IEEE-488.2 Specification equates the *TRG command with an IEEE-488.1
Group Execute Trigger (GET) command. IEEE-488-to-VXI interface modules
typically convert IEEE-488.1 GET commands to VXI Trigger commands. For
this reason, the Option 01 equates the *TRG command with a VXI Trigger
command.
Self Test query. In response to this query, the Option 01 performs a self test of
each of the switching modules under its control. During self test, the Option 01
verifies that it can properly control the relay drive circuitry of each switching
module under its control. After the self test is complete, each module is restored
to its pretest state. If all modules pass self test, an ASCII “0” is placed in the
Output buffer. If one or more modules fail the self test, an ASCII “1” is placed in
the Output buffer and error message(s) describing the failure are queued in the
Error/Event queue. Issue a SYSTem:ERRor? query to read these error messages.
*WAI
Wait to Continue. This command causes the module to wait until all pending
commands and queries are complete. All commands following *WAI are
suspended until the pending operations are complete.
Option 01 VXI Interface Module User Manual
3–65
Status and Events
The Status and Event Reporting System reports asynchronous events and errors
that occur in the Option 01 VXI Interface Module. This system consists of four
8-bit registers and two queues that you access through the command language.
You can use these registers and queues to query the instrument status and control
the interrupts that report events.
In general, after an interrupt occurs, first conduct a serial poll, query the registers
to see why the interrupt occurred, and then send the SYSTem:ERRor? query to
see a descriptive error message.
This section describes the four registers and two queues of the Status and Event
Reporting system. For each register, you are given a description, a table
describing all of the bits, and an example of how to use the register.
The Status and Event Reporting process, synchronizing programming commands, and the system messages are also described in this section.
Status and Event Reporting System
Status Byte Register
The Status and Event Reporting system monitors and reports such events as an
error occurring or the availability of a response to a query. This system includes
descriptions of the following registers and queues:
HStatus Byte register
HService Request Enable register
HStandard Event Status register
HEvent Status Enable register
HOutput queue
HSystem Error and Event queue
The Status Byte register, shown in Table 4–1, summarizes information from
other registers. Use a serial poll or a *STB? query to read the contents of the
Status Byte register. The response is the sum of the decimal values for all bits
set. When you use a serial poll, bit 6 shows Request Service information. When
you use the *STB? query, bit 6, the Master Status Summary bit, indicates that
bits 5, 4, or 2 may be set.
Option 01 VXI Interface Module User Manual
4–1
Status and Events
T able 4–1: The Status Byte Register
Decimal
Bit
0–1–Not used.
24Error/Event queue Not Empty indicates that information is
3–Not used.
416Message Available shows that output is available in the Output
532Event Status Bit indicates that one or more events have occurred
664Request Service (obtained from a serial poll) shows that the
7–Not used.
Value
Function
contained in the Error/Event queue and is waiting to be read.
queue.
and the corresponding bits in the Standard Event Status register
have been set.
Option 01 has requested service from the GPIB controller.
Master Status Summary (obtained from *STB? query) summarizes
the Event Status bit, Message Available bits, and Error/Event
queue Not Empty bits in the Status Byte register.
Service Request Enable
Register
A common example of using the Status Byte register is to enable the Message
Available bit. This is done by sending an *SRE 16 command to the Option 01
VXI Interface Module. If the *STB? query returns a value of 80, bit 4 (decimal
value of 16) and bit 6 (decimal value of 64) have been set (giving a decimal sum
of 80). Bit 4 indicates that a message is available in the output queue. Bit 6
indicates that a bit in the Status Byte register that has been enabled by setting the
corresponding bit in the Service Request Enable register (in this case bit 4) has
been set.
The Service Request Enable register, shown in Table 4–2, controls which bits in
the Status Byte register will generate a service request. Use the *SRE command
to set bits in the Service Request Enable register. Use the *SRE? query to see
which bits in this register are enabled. The response from this query is the sum
of the decimal values for all bits set.
T able 4–2: The Service Request Enable Register
Decimal
Bit
0–1–Not used
24Error/Event queue Bit indicates that a service request will be
Value
Function
generated when a message is placed in the Error/Event queue.
4–2
Option 01 VXI Interface Module User Manual
Status and Events
T able 4–2: The Service Request Enable Register (Cont.)
Decimal
BitFunction
38Not used
416Message Available Bit indicates that a service request will be
532Event Status Bit indicates that events summarized in bit 5 of the
6–7–Not used
Value
generated when a message is placed in the Output queue.
Status Byte register will generate a service request.
If, for example, the *SRE? query returns a value of 48, bits 4 and 5 are set in the
Service Request Enable register. Any event that causes the Message Available bit
(bit 4) or Event Status bit (bit 5) to be set in the Status Byte register now
generates an interrupt. If you want an interrupt to be generated only when the
Event Status bit (bit 5) is set, use the *SRE 32 command.
Standard Event Status
Register
The Standard Event Status register, shown in Table 4–3, records many types of
events that can occur in the Option 01. Use the *ESR? query to read the contents
of this register. The response is the sum of the decimal values for all bits set.
Reading this register clears all bits so the register can accumulate information
about new events.
T able 4–3: The Standard Event Status Register
Decimal
Bit
01Operation Complete shows that the operation is complete. This bit
1–Not used
24Query Error shows that data in the Output queue was lost.
38Not used
416Execution Error shows that an error occurred while the Option 01
532Command Error shows that an error occurred while the Option 01
6–Not used
Value
Function
is set when all pending operations complete following a *OPC
command.
was executing a command or query. Table 4–6 on page 4–7 lists
the execution error messages.
was parsing a command or query. Table 4–5 on page 4–6 lists the
command error messages.
7128Power On shows that the Option 01 was powered on.
Option 01 VXI Interface Module User Manual
4–3
Status and Events
The following example assumes that all bits have been enabled using the Event
Status Enable register (see the next section for information about this register). If
a *ESR? query returns a value of 128, bit 7 (decimal value of 128) is set
indicating that the instrument is in the initial power-on state.
Event Status Enable
Register
The Event Status Enable register, shown in Table 4–4, controls which events are
summarized in the Event Status bit (bit 5) of the Status Byte register. Use the
*ESE command to set bits in the Event Status Enable register. Use the *ESE?
query to see what bits in the Event Status Enable register are set. The response
from this query is the sum of the decimal values for all bits summarized in the
event status bit of the Status Byte register.
T able 4–4: The Event Status Enable Register
Decimal
Bit
01Set bit 5 of the Status Byte register when bit 1 (the Operation
12Not used
24Set bit 5 of the Status Byte register when bit 2 (the Query Error bit )
38Not used
416Set bit 5 of the Status Byte register when bit 4 (the Execution Error
532Set bit 5 of the Status Byte register when bit 5 (the Command Error
Value
Function
Complete bit) of the Standard Event Status register is set.
of the Standard Event Status register is set.
bit) of the Standard Event Status register is set.
bit) of the Standard Event Status register is set.
The Output Queue
The System Error and
Event Queue
4–4
664Not used
7128Set bit 5 of the Status Byte register when bit 7 (the Power On bit) of
the Standard Event Status register is set.
If, for example, the *ESE? query returns a value of 255, all bits are set,
indicating that all events will set the event status bit (bit 5) of the Status Byte
register.
The Option 01 stores query responses in the Output queue.
The Option 01 error and event messages are stored in the System Error and
Event queue. Use the SYSTem:ERRor? query to get the event number and a text
description of the event. Reading an event removes it from the queue. The Event
queue stores detailed information for up to 10 events; the events are stored in
first-in first-out order.
Option 01 VXI Interface Module User Manual
Status and Event Reporting Process
Figure 4–1 shows how to use the Status and Event Reporting system. In the
explanation that follows, numbers in parentheses refer to the circled numbers in
Figure 4–1.
1
11
Status and Events
Standard Event Status
register
Read using *ESR?
Event Status Enable
register
Read using *ESE?
Write using *ESE
Status Byte
register
Read using *STB?
Service Request Enable
register
Read using *SRE?
Write using *SRE
765 4 3 210
PowerOn—Command
Error
765 4 3 210
PowerOn—Command
Error
6
Request
7543210
Service
—
6
Master
Status
6
7543210
6
—Event
Status Bit
——
Status Bit
3
Event
Execution
Error
Execution
Error
Message
Available
Message
Available
Query
—
Error
2
Query
—
Error
4
queue Not
——
Empty
5
——
—
—
—
Operation
Complete
Operation
Complete
111
—
Event
Event
Event
Byte
Byte
Byte
Event
queue
Output
queue
Figure 4–1: Status and Event Reporting Process
When an event occurs the appropriate bit in the Standard Event Status register is
set to one and the event is recorded in the Event queue (1). If the corresponding
bit in the Event Status Enable register is also enabled (2), then the event status
bit in the Status Byte register is set to one (3).
Option 01 VXI Interface Module User Manual
4–5
Status and Events
Messages
When output is sent to the Output queue (for example, a response to a query), the
message available bit in the Status Byte register is set to one (4).
When a bit in the Status Byte register is set to one and the corresponding bit in
the Service Request Enable register is enabled (5), the master status summary bit
in the Status Byte register is set to one and a service request is generated (6).
The Option 01 generates error messages in response to events caused by
commands or queries. Each type of event sets a specific bit in the Standard Event
Status register. Thus, each message is associated with a specific Standard Event
Status register bit. In the message tables that follow, the associated Standard
Event Status register bit is specified in the table title. Not shown in the tables are
secondary messages giving more detail about the cause of the error or the
meaning of the message. These secondary messages are shown for each
command and query in Syntax and Commands.
Table 4–5 shows the error messages generated by improper command syntax.
Check to see that the command is properly formatted and that it follows the rules
in Syntax and Commands.
T able 4–5: Command Error Messages (Bit 5 in Standard Event Status
register)
CodeMessage
–102Syntax error; 1 dimensional <channel_spec> invalid for VX4330 module
–102Syntax error; 2 dimensional <channel_spec> invalid for VX4350 module
–102Syntax error; 3 dimensional <channel_spec> invalid for VX43xx module
–102Syntax error; channel dimension mismatch
–102Syntax error; integer field greater than 10 characters
–102Syntax error; Missing module name
Syntax error; Module name already defined
–102Syntax error; Module name already defined
–102Syntax error; Module name length greater than 12 characters
–102Syntax error; Non–contiguous section numbers
–102Syntax error; ROUTe:CONFigure command invalid for VX43xx module
–102Syntax error; ROUTe:DISJoin command invalid for VX43xx module
–102Syntax error; ROUTe:JOIN command invalid for VX43xx module
–102Syntax error; ROUTe:MODE command invalid for VX43xx module
–102Syntax error; Undefined module name
–102Syntax error; Unexpected x detected while ...
4–6
Option 01 VXI Interface Module User Manual
Status and Events
T able 4–5: Command Error Messages (Bit 5 in Standard Event Status
register) ( C o n t . )
CodeMessage
–121Invalid character in number
–123Exponent too large
Table 4–6 lists the execution error messages that can occur during execution of a
command. Parameter y in these error messages represents the local bus address
of the module that the error message applies to. A value of 1 indicates the
module containing the Option 01 daughter board, a value of 2 the module in the
next slot to the right, and so on.
T able 4–6: Execution Error Messages (Bit 4 in Standard Event Status
register)
CodeMessage
–200Execution error; Reserved
–200Execution error; scan list undefined
–21 1Trigger ignored
–213Init ignored
–222Data out of range; Channel number x on module y
–222Data out of range; Channel number x!x on module y
–222Data out of range; Channel number x!x!x on module y
–222Data out of range; Invalid module address specified
–222Data out of range; Invalid section number
–222Data out of range; invalid sequence count
–222Data out of range; invalid trigger delay
–222Data out of range; Invalid VXI TTL Trigger level
–222Data out of range; Maximum value for ESE command is 255
–222Data out of range; Maximum value for SRE command is 255
–222Data out of range; invalid dwell time specified.
–223Too much data; channel list array overflow
–223Too much data; Input buffer overflow
–223Too much data; Output buffer full
–223Too much data; scan list array overflow
–240Hardware error; shift register verification error – module m
–241Hardware error; Unrecognized module d, d
Option 01 VXI Interface Module User Manual
4–7
Status and Events
Table 4–7 lists the device dependent error messages that can occur during Option
01 operation.
T able 4–7: Device Dependent Error Messages (Bit 3 in Standard Event Status
register)
VXI General CharacteristicsThe instrument provides a VXI interface that complies with Revision 1.4.
The VXI interface is defined by the VXI Consortium, Inc.
Interface TypeMessage Based (1.4)
ProtocolsWord Serial (WSP)
TTL OutputsVXI TTLTRG* Lines TTLTRG0* through TTLTRG7* under program control.
Product Compliance to Regulations
(VX4320, VX4330, VX4350, VX4380 only)
Product SafetyUL, cUL, UL classified to IEC–1010–1.
IEC CharacteristicsOvervoltage Category:CA T I
Safety:Class I
EMCPer EC Council Directive 89/336 EEC (EC–92), the following standards and limits
apply to the requirements for equipment to be used in residential, commercial, and
light industrial environments. They are specified in EN–50081–1, the Generic
Emission Standard, and in EN 50082–1, the Generic Immunity Standard. For
equipment that is also intended to be used in industrial environments, the standards
and limits specified in EN 50081–2 and EN 50082–2 should be used in addition.
EmissionsEmissions shall be within the limits specified by the following requirements:
Enclosure: EN 5501 1 Class A limit for radiated emissions.
AC Mains:EN 55011 Class A limit for radiated emissions.
Immunity , Enclosure, Radio Frequency Electromagnetic Field; IEC 801–3
No state change when the instrument is subjected to a 3 V/M electromagnetic field
over the frequency range of 27 MHz to 500 MHz.
Up to 8 kV with no loss of stored data, change to control settings, degradation of
performance, or temporary loss of function. No state change.
No loss of stored data, change to control settings, degradation of performance, or
temporary loss of function will occur when the instrument is subjected to the transients
as described below.
PortPeak Voltage – kVTr/Th – nsRep. Freq. – kHz
Signal & control0.55/505
AC Power15/505
Option 01 VXI Interface Module User Manual
EN 60555–2: Power line harmonics
A–1
Appendix A: Specifications
T able A–1: VXI Instrument Characteristics
CharacteristicsDescription
EN 55011, Class AThe instrument complies with the requirements of EN 55011 for radiated, conducted,
and magnetic emissions, when installed in a suitable VXI chassis. A suitable VXI
chassis is defined as one which contains adequate EMC shielding which makes
contact with the RF gasket on the front and rear shields of the VX43xx Module.
FCCThe instrument complies with the requirements of FCC CFR 47, Part 15, Subpart B,
Class A for radiated and conducted emissions.
T able A–2: Environmental/Reliability Characteristics
CharacteristicsDescription
Temperature
OperatingMeets or exceeds MIL-T-28800E for Type III, 0 to 50_ C external ambient, when
operated in a mainframe providing Class 3 equipment.
Non-operating–40_ C to +71_ C
Airflow as required by the host module, –10_ C/55_ C for 10_ C (or less) temperature
rise of internal air, as measured at the cooling air exit points, and with no heat transfer
either to or from any adjacent VXI modules.
Relative Humidity
OperatingUp to 95% at up to 30_ C, and up to 45%, at up to 50_ C.
Non-operatingUp to 95%, at up to 50_ C.
Altitude (1) Operating6,000 ft. altitude.
Altitude (2)Meets or exceeds MIL-T-28800E for Type III, (operating to 10,000 ft., non-operating to
15,000 ft.). Derate maximum operating temperature above TBD ft. by degree C per
1000 ft.
T able A–3: Option 01-Specific Characteristics
CharacteristicsDescription
VME Interrupter LevelSwitch selectable to a level between 1 and 7.
VXI Logical AddressSwitch selectable to a value between 0 and 255.
VXI Dynamic AddressingNot supported.
Contents of device/manufacturer dependent
VXI registers.
ID RegisterBFFD hexadecimal.
Device TypeSet according to the model number of the slave module that the interface is installed
on as specified in the following table. (Convert the last 3 digits of the model number to
hex, take the one’s complement, AND with F7FF.)
A–2
Option 01 VXI Interface Module User Manual
Appendix A: Specifications
T able A–3: Option 01-Specific Characteristics (Cont.)
CharacteristicsDescription
Slave Module Model No.Register Contents (hexadecimal)
VX4320F6BF
VX4330F6B5
VX4350F6A1
VX4380F683
VXI TTL Trigger OutputsOne or more of the VXI TTLTRG* signals may be driven. All TTLTRG* outputs may be
disabled.
VXI TTL Trigger InputsOne of the VXI TTLTRG* signals may be selected to be polled or to act as an interrupt
source to the module’s microprocessor .
Option 01 VXI Interface Module User Manual
A–3
Appendix B: Examples
This example script demonstrates how the some of the various programmable
features of the Option 01 are used to control from 1 to 12 relay modules. These
modules can consist of any combination of VX4320, VX4330, VX4350,
VX4372, VX4374 and VX4380 relay modules. In these examples, the Option 01
is installed on a VX4320 Module. A VX4330, VX4350, VX4372, VX4374, and
VX4380 are installed in consecutive slots to the right of the VX4320.
It is assumed the module has completed its power-on self test. For information
on specific commands or syntax, please review the Syntax and Commands
section.
HQuery the identity of the module that the Option 01 is installed on.
Note that a response of 0 indicates that all modules controlled by the Option
01 daughter board passed the self test. A response of 1 indicates that one or
more modules have failed the self test. In that case, SYSTem:ERRor?
queries should be issued to determine which modules failed the self test.
HQuery the identity of all the modules controlled by the Option 01