# PXI-7901

# 16-ch General-Purpose SPDT

# Relay Module

# User’s Manual

Manual Rev.: Rev. 1.1

Date: February 7, 2020

Part Number: 50-17010-1010

# Copyright © 2004, 2020 ADLINK

Technology Inc. All Rights Reserved.

<table><tr><td colspan="3">Revision History.</td></tr><tr><td>1.00</td><td>28-06-2004</td><td>Initial release</td></tr><tr><td>1.1</td><td>07-02-2020</td><td>Remove Star Trigger Out functionality</td></tr></table>

# Disclaimer

The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of the manufacturer.

In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages.

This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.

# Trademarks

NuDAQ™, NuIPC™, NuDAM™, NuPRO™ are registered trademarks of ADLINK Technology Inc. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.

# Environmental Responsibility

ADLINK is committed to fulfill its social responsibility to global environmental preservation through compliance with the European Union's Restriction of Hazardous Substances (RoHS) directive and Waste Electrical and Electronic Equipment (WEEE) directive. Environmental protection is a top priority for ADLINK. We have enforced measures to ensure that our products, manufacturing processes, components, and raw materials have as little impact on the environment as possible. When products are at their end of life, our customers are encouraged to dispose of them in accordance with the product disposal and/or recovery programs prescribed by their nation or company.

![Symbol of a trash bin crossed with two diagonal lines, no text or labels present](.pxi-7901-50-17010-1010-11/915ddbe8d284791b5f527777dc040ea8c8e1b256093d156d219ee78427f46930.jpg)

# Battery Labels (for products with battery)

![Simple line drawing of a trash bin with two crossed lines (no text or symbols)](.pxi-7901-50-17010-1010-11/aea16ef94d4fe8b82494a48673a5658aa4ebbfbb9f3cc16b22dcf3e2eb62662b.jpg)

![Li-ion](.pxi-7901-50-17010-1010-11/2971ff829619e21068fe9f91c757d8475ae18fbc5b09ec38d555d9ae38b008d8.jpg)

![RECYCLE\nRBRC\nLi-ion\n7.800.822.8837](.pxi-7901-50-17010-1010-11/2a4f82570dca20914cd20170f880c400dce917b13eecc5b57643f85d3f4f452c.jpg)

![廢電池請回收](.pxi-7901-50-17010-1010-11/1ded4dd97331eb41f9344cb325ac5f2edeaf5aee5078876735ea3030e753ada0.jpg)

# California Proposition 65 Warning

WARNING: This product can expose you to chemicals including acrylamide, arsenic, benzene, cadmium, Tris(1,3-dichloro-2- propyl)phosphate (TDCPP), 1,4-Dioxane, formaldehyde, lead, DEHP, styrene, DINP, BBP, PVC, and vinyl materials, which are known to the State of California to cause cancer, and acrylamide, benzene, cadmium, lead, mercury, phthalates, toluene, DEHP, DIDP, DnHP, DBP, BBP, PVC, and vinyl materials, which are known to the State of California to cause birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov.

# Getting Service

Customer Satisfaction is top priority for ADLINK Technology Inc. If you need any help or service, please contact us at Ask an Expert: http://askanexpert.adlinktech.com.

<table><tr><td colspan="4">ADLINK Technology, Inc.</td></tr><tr><td>Web Site</td><td colspan="3">http://www.adlinktech.com</td></tr><tr><td>Sales &amp; Service</td><td colspan="3">Service@adlinktech.com</td></tr><tr><td>Telephone</td><td>+886-2-8226-5877</td><td>Fax</td><td>+886-2-8226-5717</td></tr><tr><td>Address</td><td colspan="3">9F, No. 166, Jian Yi Road, Chungho District, New Taipei County Taiwan 235</td></tr></table>

# Table of Contents

How to Use This Manual...

# Chapter 1 Introduction ......

1.1 Features...
1.2 Applications....
1.3 Specifications...
1.4 Software Support ... 3

# Chapter 2 Installation ...... .5

2.1 Contents .... .5
2.2 Unpacking ........ .5
2.3 Mechanical Drawing..... .6
2.4 Installing the switch module into a PXI Platform ............. .6

# Chapter 3 Signal Connection.........

3.1 PXI-7901 Topology....... 9
3.2 PXI-7901 Pin assignment & Description....
3.3 TB-6201 Terminal Board . ... 10

# Chapter 4 Operation Theorem ....... .... 11

4.1 Hardware Block Diagram.... .. 11
4.2 Operation Mode . ... 12
4.3 Handshaking..... ... 12
4.4 Trigger Bus. ... ...16
4.5 Auxiliary Digital I/O... ... 18
4.6 Hot-Swap .... ... 19
4.7 Emergency Shutdown... ... 19
4.8 Watchdog Timer.... ..20

# Warranty Policy........... ... 23

# How to Use This Manual

This User Manual is designed to assist users in the installation of the ADLINK PXI-7901, 16-ch General Purpose SPDT Relay PXI Switch module.

# Chapter 1 Introduction

Gives an outline and overview of ADLINK switch modules’ features, specifications, and applications.

# Chapter 2 Installation

Describes how to install a switch module into a PXI chassis. For software library and utilities installation, please refer to the Software Users’ Guide.

# Chapter 3 Signal Connection

Shows the pin assignments and terminal board connection of the switch module.

# Chapter 4 Operation Theorem

Describes function blocks on ADLINK switch modules and operation instructions.

# 1

# Introduction

ADLINK PXI-7901 is a general-purpose (GP) switch module implementing 16- CH independent single-pole double-throw (SPDT) relays (1 Form C). PXI-7901 can connect one input to one output, and be used as signal switching or routing for measurement systems as well as ATE.

Relays of PXI-7901 can be updated by either direct-update mode or auto-scan mode. The latter mode supports scanlist of 1k-sample for deterministic scanning.

PXI trigger functions are fully supported and software programmable. The multiple switch modules can be synchronized and triggered without additional field wiring.

For safety critical applications, PXI-7901 module can switch to the preset state by either asserting emergency shutdown manually, or watchdog timer overflow event.

# 1.1 Features

PXI specifications Rev. 2.0 compliant
• 3U Eurocard form factor, CompactPCI compliant (PICMG 2.0 R3.0)
• PICMG 2.1 R2.0 CompactPCI Hot-Swap specifications compliant
16-ch SPDT (1 Form C) non-latching relays
Contact rating
• 3A switching, 3A carrying
• 220VDC, 250VAC
• 125 operations per second
• 1k-sample scanlist for deterministic scanning
Provides handshaking signals to trigger external instruments
Programmable emergency shutdown function and Watchdog timer for safety critical applications
• Eight auxiliary 3.3 V/TTL digital inputs/outputs with 5V tolerance
• Supports PXI backplane triggers to synchronize multiple modules
• Fully software programmable

# 1.2 Applications

• Industrial ON/OFF control
External high power relay driving and signal switching
• Laboratory automation
Industrial automation
Switch contact status sensing
Limit switch monitoring
Cooperating with other modules such as A/D and D/A peripherals to implement a data acquisition and control system

# 1.3 Specifications

# Relay Output

• Number of channels: 16
Relay type: SPDT (1 Form C), non-latching
Switching capacity:
• Max. switching current: 3A
• Max. switching voltage: 220VDC, 250VAC
Max. switching power: 50VA, 60W
♦ Max. carrying current: 3A

Failure rate: 10µA
Contact resistance: 150mΩ max.

Relay set/reset time

Operate time: 5ms max.
• Release time: 5ms max.
Bounce time: 3ms max.

• Expected life:

Mechanical life: ${ 1 0 } ^ { 8 }$ operations min.
Electrical life: ${ 1 0 } ^ { 6 }$ operations min. (0.4A @ $12 V _ { A C }$ , resistive load)

• Data transfer: Programmed I/O

# Auxiliary Digital I/O

• Numbers of channel: 8 inputs/outputs
• Compatibility: 3.3 V/TTL (5V tolerant)
• Data transfers: programmed I/O

# Handshaking Signals

• Programmable polarity
• Logic level: 3.3 V/TTL (5V tolerant)
· • Trigger In source: AUX1, PXI trigger bus, PXI star trigger in
Scanner Advanced destination: AUX0, PXI trigger bus

# 2 • Introduction

# Safety Functions

Emergency shutdown
• Logic level: 3.3 V/TTL (5V tolerant)
• Active with logic low (for AUX2/SHDNn pin)
Emergency shutdown sources: AUX2/SHDNn, PXI star trigger input, PXI trigger bus
Watchdog timer
• Base clock available: 10MHz, fixed
Counter width: 32-bit
Watchdog Timer Overflow sources: Onboard 32-bitwatchdog timer, PXI star trigger input, PXI trigger bus

# General Specifications

• I/O Connector: 62-pin D-sub male
• Operating temperature: 0 to $5 5 ^ { \circ } \mathrm { C }$
• Storage temperature: -20 to $7 0 \textdegree$
• Humidity: 5 to 95% non-condensing
• Power requirements (when all relays are activated simultaneously)

<table><tr><td>+5V</td><td>+3.3V</td></tr><tr><td>700mA</td><td>400mA</td></tr></table>

Dimensions (not including connectors)

• 160 mm x 100 mm

# 1.4 Software Support

ADLINK's ADL-SWITCH driver package is for Microsoft Windows operating systems, including Windows 98/ME/NT/2000/XP.

The driver package also provides utilities to test your switch module, as well as programming samples and source codes in Microsoft Visual Basic and Visual C/C++.

For other operating systems, please contact ADLINK for more information.

This page intentionally left blank.

#

# Installation

This chapter describes the installation process for the ADLINK switch module. Please read the contents of the package and the disassembling information carefully as they are important in the implementation of the ADLINK switch module.

# 2.1 Contents

The package consists of the following items in addition to the User Manual:

• PXI-7901, 16-ch General Purpose SPDT Relay module
• This User’s Guide
• ADLINK Software CD
• ADL-Switch User’s Guide

If any of these items are missing or broken, please do not hesitate to contact ADLINK or the dealer from whom the product was purchased. Keep the shipping materials and carton for future storage or shipping.

# 2.2 Unpacking

ADLINK switch module contains sensitive electronic components that can be easily damaged by static electricity. The switch module should be operated on a grounded anti-static mat. It is strongly recommended that the operator wears an anti-static wristband, grounded at the same point as the anti-static mat.

Inspect the box for any obvious damage. Check the unit to ensure there are no shipping and handling damages that may have occurred before proceeding.

After opening, remove the system module and place it only on a grounded antistatic surface component side up.

Again, inspect the module for any damage. Press down on all the socketed IC’s to make sure they are all properly seated. Please do this only on a firm and flat surface.

# You are now ready to install the PXI-7901.

# 2.3 Mechanical Drawing

![Technical line drawing of a mechanical or electronic device with multiple compartments and mounting points (no text or symbols)](.pxi-7901-50-17010-1010-11/1d98d53ef902ab20cb1be3482d624cc2f5d13af09e522a4525973180ae42f27e.jpg)

Figure 1: ADLINK Switch Module

ADLINK switch module is packaged in a Eurocard form factor compliant with PXI Specifications measuring 160 mm in length and 100 mm in height (not including connectors). A 62-pin connector is located at the front panel for wiring purposes and the J1/J2 IEC connectors in the rear are used to link the chassis backplane. With its modular, rugged, and high shock resistant mechanical features, the switch module functions exceptionally well in any harsh environment application.

# 2.4 Installing the switch module into a PXI Platform

To insert the ADLINK PXI switch module, align the module’s edge with the card guide in the PXI chassis. Slide the switch module into the chassis, until resistance is felt from the PXI connector. Push the ejector upwards and fully insert the switch module into the chassis. Once inserted, a “click” can be heard from the ejector latch. Tighten the screws on the front panel.

![Pin & Sockets\nConnectors\nCard Guide\nCard Guide\nFront\nPanel](.pxi-7901-50-17010-1010-11/541c48a50e3ca84daa8a5b95e9182c7107ebe79e3e234bbe677bc6e0cb54c0df.jpg)

Figure 2: Installing the switch module into a PXI platform

This page intentionally left blank.

#

# Signal Connection

# 3.1 PXI-7901 Topology

The PXI-7901 has 16 independent SPDT Relays onboard. Each relay has three terminals, NC (normally closed), NO (normally opened), and COM (common). When a relay is in its reset (de-energized) state, the NC connects to COM; while in set (energized) state, the NO connects to COM. Thus all signal paths on PXI-7901 are inherently break-before-make.

After power-up, all relays are in their reset (de-energized) state; i.e. NC connects to COM.

# 3.2 PXI-7901 Pin assignment & Description

<table><tr><td></td><td>22. COM0</td><td></td></tr><tr><td>43. NO0</td><td>23. COM1</td><td>1. NC0</td></tr><tr><td>44. NO1</td><td>24. COM2</td><td>2. NC1</td></tr><tr><td>45. NO2</td><td>25. COM3</td><td>3. NC2</td></tr><tr><td>46. NO3</td><td>26. COM4</td><td>4. NC3</td></tr><tr><td>47. NO4</td><td>27. COM5</td><td>5. NC4</td></tr><tr><td>48. NO5</td><td>28. COM6</td><td>6. NC5</td></tr><tr><td>49. NO6</td><td>29. COM7</td><td>7. NC6</td></tr><tr><td>50. NO7</td><td>30. COM8</td><td>8. NC7</td></tr><tr><td>51. NO8</td><td>31. COM9</td><td>9. NC8</td></tr><tr><td>52. NO9</td><td>32. COM10</td><td>10. NC9</td></tr><tr><td>53. NO10</td><td>33. COM11</td><td>11. NC10</td></tr><tr><td>54. NO11</td><td>34. COM12</td><td>12. NC11</td></tr><tr><td>55. NO12</td><td>35. COM13</td><td>13. NC12</td></tr><tr><td>56. NO13</td><td>36. COM14</td><td>14. NC13</td></tr><tr><td>57. NO14</td><td>37. COM15</td><td>15. NC14</td></tr><tr><td>58. NO15</td><td>38. NC</td><td>16. NC15</td></tr><tr><td>59. NC</td><td>39. NC</td><td>17. NC</td></tr><tr><td>60. AUX3</td><td>40. AUX4</td><td>18. AUX2/SHDNn</td></tr><tr><td>61. AUX6</td><td>41. +5V out</td><td>19. AUX5</td></tr><tr><td>62. AUX7</td><td>42. AUX1/TRG_IN</td><td>20. GND</td></tr><tr><td colspan="2"></td><td>21. AUX0/S_ADV</td></tr></table>

Table 1: Pin Assignment

<table><tr><td>Signal Name</td><td>Type</td><td>Description</td></tr><tr><td>NO[15..0]</td><td>Input/Output</td><td>Normally opened terminal of relays</td></tr><tr><td>NC[15..0]</td><td>Input/Output</td><td>Normally closed terminal of relays</td></tr><tr><td>COM[15..0]</td><td>Input/Output</td><td>Common terminal of relays</td></tr><tr><td>AUX[7..0]</td><td>Input/Output</td><td>Programmable Digital I/O with tri-state control.AUX[2..0] are dual function pins used for triggering, refer to chapter 4 for details.</td></tr><tr><td>TRG_IN</td><td>Input</td><td>Trigger input for handshaking operation</td></tr><tr><td>S_ADV</td><td>Output</td><td>Scanner Advanced trigger output for handshaking operation</td></tr><tr><td>SHDNn</td><td>Input</td><td>Active-low Emergency Shutdown trigger</td></tr><tr><td>+5V out</td><td>Output</td><td>Unregulated +5V DC Source, maximum 100mA current loading</td></tr><tr><td>GND</td><td>Output</td><td>Ground</td></tr><tr><td>NC</td><td>Not Connected</td><td>Unused pin</td></tr></table>

Table 2: Pin Description

# 3.3 TB-6201 Terminal Board

The TB-6201 is a screw terminal board with D-sub 62-pin female connector. The terminal board can attach to PXI-7901 directly, or through ADLINK custommade high-capacity 62-pin D-sub cable.

The pin description is described in Table 2.

# 4

# Operation Theorem

# 4.1 Hardware Block Diagram

The ADLINK PXI Switch Module features an onboard FPGA for relay switching control, trigger control, scanlist storage and sequencing. The PXI triggering and synchronization functions, such as Star Trigger and Trigger Bus are also supported. In addition to the Trigger In and Scanner Advanced signals for external instruments handshaking, the switch module provides eight channels of programmable digital I/O interface to facilitate general purpose control applications.

To make full use of the flexible trigger and signaling system on the PXI platform, the switch module has a built-in signal routing matrix that can exchange signals between front panel digital I/O, Star Trigger, and Trigger Bus.

![**Labeled Blocks:**\n\n*   Front Connector\n*   Relay\n*   DIO\n*   Scan-Advance\n*   Trigger-in\n*   Scan Memory\n*   Relay Control\n*   Timing Control\n*   Signal Routing Matrix\n*   Trigger Control\n*   PXI Interface\n*   Star Trigger In\n*   PXI Trigger Bus\n*   PXI Connector\n\n**Connections:**\n\n*   **Front Connector:**\n    *   Connects via a double-headed arrow to **Relay**.\n    *   Connects via a double-headed arrow to **DIO**.\n    *   Connects via a double-headed arrow to **Scan-Advance**.\n    *   Connects via a single-headed arrow (pointing right) to **Trigger-in**.\n\n*   **Relay:**\n    *   Connects via a double-headed arrow to the central block (specifically aligned with **Relay Control**).\n\n*   **Scan Memory:**\n    *   Connects via a double-headed arrow to the central block (specifically aligned with **Relay Control**).\n\n*   **Central Block (Relay Control, Timing Control, Signal Routing Matrix, Trigger Control):**\n    *   Connects via a double-headed arrow to **PXI Interface**.\n    *   Connects via a double-headed arrow to **Star Trigger In**.\n    *   Connects via a double-headed arrow to **PXI Trigger Bus**.\n    *   Receives connections from **DIO**, **Scan-Advance**, and **Trigger-in** (all via double-headed arrows pointing right).\n\n*   **Right Side Connections:**\n    *   **PXI Interface** connects via a double-headed arrow to **PXI Connector**.\n    *   **Star Trigger In** connects via a double-headed arrow to **PXI Connector**.\n    *   **PXI Trigger Bus** connects via a double-headed arrow to **PXI Connector**.](.pxi-7901-50-17010-1010-11/e304fb1b1f11bc5822ca1d227d4e861d4fc9cdb37417cd700e55aa8d0044e9be.jpg)

Figure 3: Hardware Block Diagram

# 4.2 Operation Mode

The ADLINK PXI Switch Module provides two relay operation modes to accommodate different application requirements.

# Direct-update

The Switch Module updates the relay pattern immediately upon receiving a software command. This mode provides a straightforward control over switch module with minimal hardware intervention. If relay contact bouncing is of a concern, users would need to insert software delay.

ADLINK recommends the debounce time to be at least 8ms on PXI-7901.

# Auto-scan

The ADLINK PXI switch module features onboard memory to store user specified scanlist of up to 1024-entry. In each scanlist entry, users can specify relay pattern, pattern advancing delay time and criterion.

The switch module can set status bit or generate local interrupt to inform user’s program whether the pattern has been debounced and advanced to the next scanlist entry. Users can also specify one-time or cyclic scanning of scanlist entries.

This operating mode supports trigger signals for instrument handshaking. For more information on handshaking signals, please refer to section 4.3.

# 4.3 Handshaking

In the Auto-scan mode, ADLINK PXI switch module accepts Trigger In and generates Scanner Advanced signal to synchronize relay switching and measurements with PXI instruments or external measurement devices.

# Trigger In

The Trigger In signal from PXI instruments or external measurement devices instruct the ADLINK PXI switch module to update the relay pattern according to the one specified in the scanlist entry.

Users may specify wait-for-trigger instruction in a scanlist entry, to have the switch module wait for the Trigger In before relay pattern is updated. The polarity of Trigger In can be set to either rising-edge or falling-edge active.

For more information on scanlist configuration, please refer to the software programming users’ guide.

Figure 4 illustrates the available signal sources for the Trigger In signal. Signal names in the solid-line box represent the external (physical) signal on connectors, and signals in the dotted-line box represents switch module’s internal signal.
![The image displays a block diagram featuring a set of inputs on the left, a central vertical rectangular block, and an output on the right.\n\n**Labeled Blocks:**\n*   **Software Trigger** (enclosed in a dashed box)\n*   **TRG_IN**\n*   **Trigger Bus**\n*   **AUX(7...0)**\n*   **Star Trigger In**\n*   **Trigger In Signal** (enclosed in a dashed box)\n\n**Connections:**\n*   **Software Trigger** connects via a dashed line to the central block.\n*   **TRG_IN**, **Trigger Bus**, **AUX(7...0)**, and **Star Trigger In** connect via solid lines to the central block.\n*   A single solid line exits the right side of the central block and connects to **Trigger In Signal**.](.pxi-7901-50-17010-1010-11/0972c46eeb32b38053ade39f72770d1200950fa1b99d6551a0df303264f01599.jpg)

Figure 4: Available signal sources for Trigger In

# Scanner Advanced

After updating the relay pattern, the switch module starts its debounce timer and waits for the relay contacts to settle. When the debounce time elapses, the switch module will generate a Scanner Advanced signal to notify the PXI instruments or external measurement devices that the relay contacts have settled, and ready to take a new measurement.

The waveform, polarity and pulse width of Scanner Advanced signal can also be software programmed.

For more information on scanlist configuration, please refer to the software programming users’ guide.

Figure 5 illustrates the available signal destinations for the Scanner Advanced signal. Signal names in the solid-line boxes represent the external (physical) signal on connectors, while signals in the dotted-line boxes represent switch module’s internal signal.

![The diagram depicts a signal flow starting with a dashed rectangular block on the left labeled **'Scanner Adv. Signal'**. A single horizontal line connects this block to the left side of a vertical rectangular block. From the right side of this central block, three horizontal lines extend to the right, connecting to three separate output blocks:\n\n*   The top block is labeled **'S_ADV'**.\n*   The middle block is labeled **'Trigger Bus (7...0)'**.\n*   The bottom block is labeled **'AUX (7...0)'**.](.pxi-7901-50-17010-1010-11/2f7edec17e105f9eab2d38b27ef75c97cc8be005dac533cae12e9489afd95b3f.jpg)

Figure 5: Available signal destinations for Scanner Advanced

# Handshaking protocol

Figures 6 and 7 depict the relationship between Trigger In, Scanner Advanced, and relay pattern in handshaking mode. In Figure 7 the Scanner Advanced is set to pulsating mode.

![This is a timing diagram consisting of three horizontal tracks labeled on the left, with vertical dotted lines indicating synchronization points.\n\n**Top Track:**\n*   Label: **Trigger In**\n*   Content: A series of square pulses separated by break marks (double slashes).\n*   Annotations:\n    *   Short double-headed arrows labeled **Ts** indicate the pulse width.\n    *   Long double-headed arrows labeled **TA1**, **TA2**, and **TA 3** indicate the time delay between the start of a Trigger In pulse and the subsequent Scanner Advanced pulse.\n\n**Middle Track:**\n*   Label: **Scanner Advanced**\n*   Content: A series of square pulses separated by break marks, occurring later than the Trigger In pulses.\n\n**Bottom Track:**\n*   Label: **Relay Status**\n*   Content: A sequence of states connected by 'X' symbols.\n    *   **'#0'**\n    *   **'Pattern: #1'**\n    *   **'Pattern #2'**\n    *   **'Pattern #3'**\n    *   **'#4'**\n*   Label at bottom left: **Operation Start**\n\n**Connections:**\n*   Vertical dotted lines connect the Trigger In pulses to the time markers (Ts, TA).\n*   Vertical dotted lines connect the Scanner Advanced pulses to the Relay Status track, specifically aligning the Scanner Advanced pulse with the beginning of the new pattern blocks (Pattern #1, Pattern #2, Pattern #3).](.pxi-7901-50-17010-1010-11/9c796a920dccb8edae35f8a3f17f0827cc48b1b1f037fcde25afea573ff01d59.jpg)

Figure 6: Handshaking operation (Scanner Advanced set in pulsating mode)

![Based on the provided flowchart/timing diagram, here is an accurate and concise description:\n\n**Labeled Blocks and Rows:**\n*   **Trigger In**: The top signal row showing a series of square pulses.\n*   **Scanner Advanced**: The middle signal row showing pulses that align with the relay status changes.\n*   **Relay Status**: The bottom signal row showing a sequence of states: '#0', 'Pattern:#1', 'Pattern #2', 'Pattern #3', and '#4'.\n*   **Operation Start**: A label at the bottom left indicating the beginning of the sequence.\n\n**Timing Labels and Connections:**\n*   **Ts**: Indicates the duration (width) of the 'Trigger In' pulses.\n*   **TA1**: Indicates the time delay from the rising edge of the first 'Trigger In' pulse to the rising edge of the 'Scanner Advanced' pulse.\n*   **TA2**: Indicates the time delay from the rising edge of the second 'Trigger In' pulse to the rising edge of the 'Scanner Advanced' pulse.\n*   **TA**: Indicates the time delay from the rising edge of the third 'Trigger In' pulse to the rising edge of the 'Scanner Advanced' pulse.\n\n**Relay Status Sequence:**\n*   **#0**: The initial state before the first pattern.\n*   **Pattern:#1**: Corresponds to the duration of the first 'Scanner Advanced' pulse.\n*   **Pattern #2**: Corresponds to the time interval between the falling edge of the first 'Scanner Advanced' pulse and the rising edge of the second 'Scanner Advanced' pulse.\n*   **Pattern #3**: Corresponds to the duration of the second 'Scanner Advanced' pulse.\n*   **#4**: The state following 'Pattern #3'.\n\n**Visual Indicators:**\n*   Vertical dotted lines connect aligned events across the three rows (e.g., trigger edges aligning with scanner transitions).\n*   Double slashes '//' on the signal lines indicate a break in time or continuity.](.pxi-7901-50-17010-1010-11/52d40b7c668a297909cf11dfae8d57020700e61de7547579567f5193e60863c9.jpg)

Figure 7: Handshaking operation (Scanner Advanced set in toggling mode)

Once the operation starts and has received a Trigger In signal, the switch module updates the relay pattern to that specified in the first entry of scanlist.

TS is the default debounce time for a switch module, i.e. 8 ms for PXI-7901. TAn is the user specified scan delay time in the scanlist entry, indicating the time between the relay being debounced and the exact moment that a measurement device takes a new measurement. The actual delay time would be the greater of the two times, to guarantee that measurement devices take measurements after the signal path is fully settled, and the relays switch as close as possible to their maximum operating speed.

As the scan delay time elapses, the switch module generates Scanner Advanced signal to inform the measurement device to take a new measurement.

After the measurement completes, the measurement device will generate another Trigger In signal to have the switch module update the relay pattern to that specified in the second entry of scanlist.

The handshaking process will continue, until it reaches the end of the scanlist (if one-time scanning mode is selected), or when a software scan-abort command is received.

# Connecting, Trigger and Synchronize with External DMM

In this example, Agilent® 33401A 6-1/2 Digital Multimeter (DMM) is used to demonstrate signal connection for handshaking operation.

The DMM provides two terminals on the rear panel for the handshaking operation process, Trig In and VM Comp. The Trig In connects to the Scanner Advanced output on switch module, while the VM Comp to Trigger In. If the terminal board is used, wire Trig In to TRG\_IN on terminal board, and the VM Comp to S\_ADV.

Follow the instructions below to ensure the handshake functions properly:

1. Configure ADLINK PXI switch module’s Trigger In to rising-edge triggered, Scanner Advanced output in active-low pulsating mode with pulse width of at least 2us.
2. Configure the DMM to wait for external Trig In before a measurement, and generate VM Comp after a measurement. Arm the DMM to wait for the first trigger.
3. Setup the scanlist and auto-scan mode. The first entry in the scanlist should be set disable wait for the Trigger In, but enable Scanner Advanced output. Succeeding entries should enable both Trigger In and Scanner Advanced output. Download the scanlist to the switch module afterward.

4. Start auto-scan by sending scan start command to the switch module.

![Based on the provided image, here is an accurate and concise description of the flowchart/block diagram:\n\n**Blocks:**\n*   **Top Left Block:** Labeled '**ADLINK**' and '**PXI Switch module**'. It contains two black circular nodes.\n*   **Bottom Right Block:** Labeled '**Agilent 33401A**' and '**6-1/2 DMM**'. It contains two black circular nodes.\n\n**Connections:**\n*   **To ADLINK Block:**\n    *   '**Trigger Input (TRG_IN)**' connects via a solid line to the left internal node.\n    *   '**Scanner Advanced Output (S_ADV)**' connects via a solid line to the right internal node.\n*   **To Agilent Block:**\n    *   '**External Trigger Input (Trig In)**' connects via a solid arrow pointing down into the top internal node.\n    *   '**Measurement Complete (VM Comp)**' connects via a solid arrow pointing up into the bottom internal node.\n*   **Between Blocks ('Wiring'):**\n    *   Dotted lines labeled '**Wiring**' connect the internal nodes of the two blocks.\n    *   The left node of the **ADLINK** block connects to the top node of the **Agilent** block.\n    *   The right node of the **ADLINK** block connects to the bottom node of the **Agilent** block.](.pxi-7901-50-17010-1010-11/694c434094e693ce7534adba98fa9f6341ca086febf6ddcae84213e538e3179f.jpg)

Figure 8: Signal Connection between Switch Module and Agilent DMM

For more information on scanlist configuration, scan mode setup, start, and stop functions of the auto-scanning process, please refer to the software programming users’ guide.

# 4.4 Trigger Bus

PXI specification defines eight bused-lines across slots in a segment. Users can route various trigger signal to synchronize multiple PXI instruments, and/or simplify field wiring across multiple ADLINK Switch Modules.

On ADLINK Switch Modules, the trigger bus driver is disconnected from PXI trigger bus before users’ configuration.

Figure 9 illustrates the available signal destinations for Trigger Bus[7..0]. Signal names in the solid-line boxes represent the external (physical) signals on connectors while signals in the dotted-line boxes represent the switch module’s internal signal.
![The diagram depicts a selection logic structure with inputs on the left and an output on the right.\n\n**Labeled Blocks:**\n*   Software Trigger\n*   Trigger In Signal\n*   Scanner Adv. Signal\n*   AUX (3...2)\n*   Star Trigger In\n*   WDT Overflow\n*   SHDNn\n*   Trigger Bus(7..0)\n\n**Connections:**\n*   **Software Trigger**, **Trigger In Signal**, and **Scanner Adv. Signal** connect via dashed lines to a central trapezoidal block.\n*   **AUX (3...2)** and **Star Trigger In** connect via solid lines to the central trapezoidal block.\n*   **WDT Overflow** connects via a dashed line to the central trapezoidal block.\n*   **SHDNn** connects via a solid line to the central trapezoidal block.\n*   A single solid line connects the central trapezoidal block to the **Trigger Bus(7..0)** block.](.pxi-7901-50-17010-1010-11/b0c1a6608821acb4dc83818b7da3c0a7b4a01676f0a848fd6e9c7dd826243c36.jpg)

Figure 9: Available signal sources for Trigger Bus[7..0]

# 4.5 Auxiliary Digital I/O

The eight auxiliary digital I/O lines on ADLINK Switch Modules provide versatility to users’ control applications. Each digital I/O line can be input, output or tri-stated. When in output mode, users can still read back the actual logiclevel on the I/O line. All digital lines are pulled-up to 5V with 10k ohm input resistance.

Note that AUX[2..0] are dual function pins, driving these pins while enabling handshaking or emergency shutdown functions, may falsely trigger the Switch Module or external instruments.

![Based on the provided block diagram, here is the accurate description of the blocks and connections:\n\n**Blocks and Labels:**\n*   **DO** (Hexagonal block on the left)\n*   **DI** (Hexagonal block at the bottom left)\n*   **Tri-state Control** (Text label above a triangular symbol)\n*   **Feedback from** (Text label near the connection from DI)\n*   **Bus-Switch and Protection Circuit** (Rectangular block with a grid pattern)\n*   **10kΩ** (Label for the resistor component)\n*   **5VDC** (Text label at the top of the resistor)\n*   **AUX Pin** (Hexagonal block on the right)\n\n**Connections:**\n*   A line connects **DO** to the input side (left) of a triangular buffer symbol.\n*   A line connects **DI** to the same input side (left) of the triangular buffer symbol. The text **Feedback from** is positioned above this connection line.\n*   A vertical line connects the text **Tri-state Control** to the top vertex of the triangular buffer symbol.\n*   A line connects the output side (right) of the triangular buffer symbol to the input of the **Bus-Switch and Protection Circuit**.\n*   A line connects the output of the **Bus-Switch and Protection Circuit** to a junction point.\n*   From this junction, a resistor labeled **10kΩ** connects upwards to the **5VDC** supply.\n*   From the same junction, a line extends to the right to connect to the **AUX Pin**.](.pxi-7901-50-17010-1010-11/5b5707a118181cc1189cda733eafa1c8a9de30bacfd08905acf31a1beceaed06.jpg)

Figure 10: Auxiliary Digital I/O Function Block

# 4.6 Hot-Swap

The Switch Module can be hot-swapped during hardware failure in noninterruptible or high-availability systems where system shutdown is not an option.

PXI-7901 incorporates an onboard hot-swap control mechanism. However the extent of the hot-swap functionality support depends on the operating system and the PXI platform.

Microsoft Embedded $\mathsf { X P } ^ { \circledast }$ supports the native hot-swap function. The operating system automatically releases system resources when a switch module is extracted and recognizes the new device.

To remove a switch module, first release the screws on the front panel then push down the red latch on the ejector. When the blue LED turns on, the Switch module is ready to be removed by fully pushing down the ejector.

To insert another switch module, align the module’s edge with the card guide in the PXI chassis. Slide the switch module into the chassis, until there is resistance from the PXI connector. Push the ejector up and fully insert the switch module into the chassis, a click should be heard from the ejector latch. The blue LED on the front panel of the switch module will switch off when it is ready for operation. Tighten the screws on the front panel.

Note: Microsoft Windows $2 0 0 0 ^ { \circledast }$ does not natively support hot-swap however, PXI-7901 can be hot-swapped by manual control via an additional hot-swap driver. For the hot-swap driver on Windows 2000 and other operating systems such as Linux, VxWorks, etc., please contact ADLINK for more information.

# 4.7 Emergency Shutdown

In safety-critical applications, users can enable the emergency shutdown function on PXI Switch Module, to manually set the relay pattern to preset state.

To access this function, users must first configure the emergency shutdown function by windows API. Generally the trigger source is on the front panel and connected to a push button, which pulls the SHDNn pin to logic-low when activated. When multiple PXI Switch modules are installed in a PXI chassis, the trigger source can be routed through the PXI Trigger Bus and eliminate field wiring across multiple devices. Figure 12 illustrates available trigger sources for emergency shutdown. Signal names in the solid-line boxes represent the external (physical) signal on connectors and signals in the dotted-line boxes represent the switch module’s internal signal.

![The diagram depicts a logic flow with three inputs merging into a central component to drive an output.\n\n**Labeled Blocks:**\n*   **AUX2/SHDNn** (Top left)\n*   **Trigger Bus** (Middle left)\n*   **Star Trigger In** (Bottom left)\n*   **Shutdown Trigger** (Right, inside a dashed box)\n\n**Connections:**\n*   Three lines emerge from the right side of the input blocks and connect to the left side of a central, unlabeled trapezoidal block.\n    *   The top line from **AUX2/SHDNn** features a small circle on the wire before entering the central block.\n    *   The middle line from **Trigger Bus** connects directly to the central block.\n    *   The bottom line from **Star Trigger In** connects directly to the central block.\n*   A single line exits the right side of the central trapezoidal block and connects to the left side of the **Shutdown Trigger** block.](.pxi-7901-50-17010-1010-11/b8c886830e280611d4c0a6e86bb8dcd2cb72f163d20e0968ed991cd66027af35.jpg)

Figure 11: Available trigger sources for emergency shutdown

The default relay pattern for emergency shutdown is All-Off on PXI-7901; users can change the pattern by Windows API.

Upon receiving the emergency shutdown trigger, the Switch Module enters shutdown mode, and the relay pattern is switched to the preset state. If the Switch Module is in Auto-scan mode, the updating process would be stopped immediately; in Direct Update mode where the switch module will not accept any further update instructions.

To leave emergency shutdown mode, users must call adlSwitch\_Recovery in Windows API. The relay pattern would stay the same as they would in the emergency shutdown mode, and the scanlist (if set) being rewound to the first entry.

Note the auxiliary digital I/O function pin AUX2 shares the SHDNn pin; driving AUX2 to logic-low while the emergency shutdown function is enabled. It will falsely trigger the Switch Module to enter shutdown mode.

This function is disabled by default. For more information, please refer to the software programming users’ guide.

# 4.8 Watchdog Timer

In safety-critical applications, users can enable the watchdog timer function on PXI Switch Module to automatically set the relay pattern to preset state, in case the operating system or PXI controller crashes.

To access this function, users must first configure the watchdog timer overflow trigger source by windows API. Generally the trigger source would come from the onboard 32-bit watchdog timer. When multiple ADLINK PXI Switch modules are installed in a PXI chassis, the trigger source can be routed through the PXI Trigger Bus and eliminate redundant watchdog timer setting on multiple devices.

Figure 13 illustrates the available trigger sources for watchdog timer overflow. Signal names in the solid-line boxes represent the external (physical) signal on connectors and signals in the dotted-line boxes represent the switch module’s internal signal.

![The diagram depicts a signal flow with three inputs on the left, a central processing block, and an output on the right.\n\n**Labeled Blocks:**\n*   **Int. WDTimer**: A dashed rectangular block at the top left.\n*   **Trigger Bus**: A solid rectangular block with a pointed right end, located below 'Int. WDTimer'.\n*   **Star Trigger In**: A solid rectangular block with a pointed right end, located below 'Trigger Bus'.\n*   **WDT Overflow**: A dashed rectangular block with a pointed right end on the far right.\n*(Note: The central block is an unlabeled vertical rectangle).*\n\n**Connections:**\n*   Three parallel horizontal lines connect the right side of the left-side group ('Int. WDTimer', 'Trigger Bus', 'Star Trigger In') to the left side of the central vertical block.\n*   A single horizontal line connects the right side of the central vertical block to the left side of the 'WDT Overflow' block.\n*   The left vertical edges of the 'Trigger Bus' and 'Star Trigger In' blocks are connected.](.pxi-7901-50-17010-1010-11/8c653beea3e2fc3e107f75ef0e92eb510df2c9e9ab499c1a3927468f11db17d9.jpg)

Figure 12:.Available trigger sources for watchdog timer overflow

The watchdog timer overflow interval can be programmed through Windows API. After enabling the watchdog timer, users must periodically reset the timer by software command. If the timer is not being reset within the specified interval, the switch module will generate an overflow signal and set the relay pattern to the one specified by users.

This function is disabled by default. For more information, please refer to the software programming users’ guide.

This page intentionally left blank.

# Warranty Policy

Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully:

1. Before using ADLINK’s products please read the user manual and follow the instructions exactly.
2. When sending in damaged products for repair, please attach an RMA application form.
3. All ADLINK products come with a two-year guarantee, repaired free of charge.

The warranty period starts from the product’s shipment date from ADLINK’s factory.
Peripherals and third-party products not manufactured by ADLINK will be covered by the original manufacturers’ warranty.
End users requiring maintenance services should contact their local dealers. Local warranty conditions will depend on local dealers.

4. This warranty will not cover repair costs due to:

a. Damage caused by not following instructions.
b. Damage caused by carelessness on the users’ part during product transportation.
c. Damage caused by fire, earthquakes, floods, lightening, pollution, other acts of God, and/or incorrect usage of voltage transformers.
d. Damage caused by unsuitable storage environments (i.e. high temperatures, high humidity, or volatile chemicals.
e. Damage caused by leakage of battery fluid.
f. Damage from improper repair by unauthorized technicians.
g. Products with altered and/or damaged serial numbers.
h. Other categories not protected under our guarantees.

5. Customers are responsible for shipping costs to transport damaged products to our company or sales office.

6. To ensure the speed and quality of product repair, please download a RMA application form from our company website: www.adlinktech.com. Damaged products with attached RMA forms receive priority.

For further questions, please contact our FAE staff.

ADLINK: service@adlinktech.com
[🔗 Link to the original document](.pxi-7901-50-17010-1010-11/pxi-7901-50-17010-1010-11.pdf)
