Advanced Synchronization Techniques for Data Acquisition

Size: px
Start display at page:

Download "Advanced Synchronization Techniques for Data Acquisition"

Transcription

1 Application Note 128 Advanced Synchronization Techniques for Data Acquisition Introduction Brad Turpin Many of today s instrumentation solutions require sophisticated timing of a variety of I/O functions (such as analog input, analog output, and digital I/O). PXI and data acquisition (DAQ) hardware offer an ideal solution to many of these timing needs with their very precise, modular, and easy-to-program synchronization features. A common class of test systems with some of the most demanding timing requirements is the stimulus-response system. The stimulus-response system is characterized by reacting to one or more simultaneous excitation pulses by emitting one or more simultaneous signal pulses, usually after a known and very short time delay. In many cases, this stimulus-wait-response cycle repeats rapidly and continuously. In all cases, the instrumentation challenge of creating such a stimulus-response system is synchronizing the various output stimulus signals with respect to the acquisition of the response signals with a precisely timed delay. PXI and DAQ answer the need for test systems that require precision synchronization and timing. You use the RTSI bus, which exists natively on the PXI backplane and automatically connects every PXI module inserted into the chassis, to route timing control signals between one or more PXI DAQ modules. This ensures perfect synchronization of your various acquisition and control processes, even when they occur on separate PXI modules. For test applications that require precise timing delays, such as stimulus-response systems, use the DAQ-STC (24-bit, 20 MHz) programmable counters on our PXI multifunction I/O DAQ to perform retriggerable pulse generation. With retriggerable pulse generation, you can generate pulses at a user-specified delay from your stimulus timing signal. With the DAQ-STC, your delay is accurate to within 50 ns. Product and company names are trademarks or trade names of their respective companies A-01 Copyright 1998 National Instruments Corporation. All rights reserved. October 1998

2 There are many ways to implement a system like this, but we will demonstrate the techniques required by walking through a specific example, Synchronized AI, AO, DI, DO, CTR.vi. In this example, the measurement system stimulates a unit under test (UUT) with both analog output (AO) and digital output (DO). After a user-specified delay, the system measures the UUT response by taking analog input (AI) and digital input (DI) data. This application also hardware time-stamps each stimulus-response cycle. The way to view this application is as a template. Pay particular attention to the structure of the program and the concept of establishing two system pulses (stimulus and response) from which all operations take their respective clocks. The functioning of this particular application will be explained in detail here, but you will likely need to adapt it to your particular measurement needs. There is a list of possible adaptations at the very end of this document to assist you in that effort. The Synchronized AI, AO, DI, DO, CTR.vi can be found on our ftp site at: ftp://ftp.natinst.com/support/labview/demos 2

3 Hardware Requirements One E Series board [multifunction I/O] One 6533/DIO-32HS board [high-speed digital I/O] All boards should have their RTSI lines connected together; for non-pxi systems this means physically connecting all boards with external RTSI cables; for PXI systems the RTSI connection is made automatically across the PXI Trigger Bus. Analog Output Digital Output Buffered Time-Stamping RTSI 1 (stimulus) Analog Input Digital Input RTSI 2 (response) Time Delay Synchronization Scheme There are two RTSI lines that are used to synchronize the various activities (AI, AO, DIO, CTR) of this application RTSI 1 and RTSI 2. The fundamental timing principle of this application is that there are two classes of activities: Those that stimulate or set the state of the UUT, clocked from RTSI 1 Those that measure the state or response of the UUT, clocked from RTSI 2 There is a brief, user-selectable time delay between the stimulus pulse on RTSI 1 and the response pulse on RTSI 2. The figure above illustrates these relationships. This time delay is achieved by setting up a general-purpose counter (GPCTR1) to send out a retriggerable delayed output pulse to RTSI 2 every time the RTSI 1 stimulus pulse arrives at its gate. Program Structure The fundamental programming structure used in this application is a State Machine (Case Statement inside a While Loop). The State Machine is a splendid construct and is used extensively in complex instrumentation solutions. Its main advantages are: 1. It divides your code into logical groups (frames). 2. In G programming, it uses a fraction of the screen space for easier viewing. 3. It is very modular in design, enabling you to add frames of code as new ideas arise without confusing the appearance of the code. 4. Most importantly, it gives you complete control over the execution order of the individual frames, even allowing frames to be revisited more than once or the entire process restarted without ever leaving the State Machine structure itself. This is particularly helpful in the debugging phase of creating a program. 3

4 In this VI, the execution order of the State Machine is constant and sequential it was chosen over a regular Sequence Structure only because of the superior appearance of the shift registers in the While Loop compared with the equivalent solution using sequence locals in a Sequence. The nine code frames of this program are, in order: Frame 0: Initialize STC 0 Initialize GPCTR 0 to generate retriggerable delayed pulses. Frame 1: Initialize AO Initialize analog output, using external hardware timing. Frame 2: Initialize AI Initialize analog input, using external hardware timing Frame 3: Initialize DO Initialize digital output, using external hardware timing Frame 4: Initialize DI Initialize digital input, using external hardware timing. Frame 5: Initialize STC 1 Initialize GPCTR 1 to perform time-stamping. Frame 6: Set and Wait Starts all the I/O operations and waits for completion. Frame 7: Read and Analyze Reads the input data (AI, DI, and GPCTR 1). Frame 8: Shut Down Clears all activities and RTSI line connections. Frame 0: Initialize STC 0 This frame contains the details of the phase delay between the stimulus pulse (RTSI 1) and the response pulse (RTSI 2). In CTR Mode Config.vi, RTSI 1 is mapped to the gate of GPCTR 0, which sets up the counter to output a single pulse each time a stimulus pulse on RTSI 1 is received. In CTR Pulse Config.vi, GPCTR 0 is then configured to wait a certain number of counter periods (at 20 MHz) between the high pulse at its gate (from RTSI 1) and its output pulse, resulting in a phase-delayed pulse train clocked by RTSI 1. In Route Signal.vi, the output of GPCTR 0 is mapped to RTSI 2, which completes the set up of the phase delay between RTSI 1 and RTSI 2. GPCTR 0 is now armed and waiting for RTSI 1 to start it pulsing on RTSI 2. 4

5 Frame 1: Initialize AO This frame is where the single-buffered analog output activity is set up and also where the stimulus pulse in this particular application originates. In AO Config.vi, the MIO board is configured to execute analog output on AO ch0, and in AO Write.vi, the analog output data is written to the analog output buffer. Because this application uses the analog output update clock to set the stimulus signal, the update clock is mapped to RTSI 1 in Route Signal.vi. For that same reason the final AO Start.vi that will begin the entire set of stimulus-response activities (analog output, analog input, digital output, digital input, and counter time-stamping) is not executed until all these other functions have been configured and armed. Any of these activities (except for the time-stamping) could have served as the stimulus signal source by simply routing their particular clock (AO update, AI startscan, REQ 1, REQ 2) to RTSI 1 instead of AO update and delaying their software start (AO Start.vi, AI Start.vi, DIO Control.vi) until all the others have been configured and armed. In this particular application, though, the analog output was selected as the source of the stimulus clock, and it is now fully configured and ready to be started. 5

6 Frame 2: Initialize AI This frame configures the single-buffered analog input to be clocked by the response pulses (RTSI 2) and arms the analog input operation to start as soon as that line begins pulsing. In AI Config.vi, the MIO board is configured to acquire a user-defined number of scans on AI ch1 and AI ch2. In AI Clock Config.vi, the scan clock of the analog input acquisition is mapped from RTSI 2, where the response pulse resides. In AI Control.vi, the analog input acquisition is armed, and it will start as soon the analog output update clock begins to send the stimulus pulses on RTSI 1 to GPCTR 0, which in turn begins the response pulses on RTSI 2. 6

7 Frame 3: Initialize DO This frame sets up a single-buffered digital output operation clocked by the stimulus pulses on RTSI 1. In RTSI Control.vi, the REQ 1 line, which clocks each digital state update, is mapped to the stimulus signal on RTSI 1. In DIO Config.vi, the DIO device is configured to execute buffered digital output on Port 0. In DIO Write.vi, the desired sequence of digital states for Port 0 are written to the buffer, and in DIO Start.vi the digital output operation is armed and now waits for the stimulus pulse on RTSI 1 to start it updating. 7

8 Frame 4: Initialize DI This frame sets up a single-buffered digital input operation clocked by the response pulses on RTSI 2. In RTSI Control.vi, the REQ 2 line, which clocks each digital state latch, is mapped to the response signal on RTSI 2. In DIO Config.vi, the DIO device is configured to execute buffered digital input on Port 2, and in DIO Start.vi the digital input operation is armed and now waits for the response pulse on RTSI 2 to clock the digital state latch. 8

9 Frame 5: Initialize STC 1 This frame sets up your remaining general-purpose counter (GPCTR 1) to execute buffered time counting and read the count value every time a stimulus pulse occurs on RTSI 1. In CTR Group Config.vi, GPCTR 1 on the MIO board is configured for buffered counting, while in CTR Buffer Config.vi the counter buffer size (equal to the total number of analog output updates) is allocated. In CTR Mode Config.vi, GPCTR 1 is set to be gated by the stimulus pulse on RTSI 1, so that each time a stimulus pulse occurs the count value at that instant will be logged in the counter buffer. In this way the counter is used to perform hardware time-stamping of each stimulus pulse. Finally in CTR Control.vi, the time counting of GPCTR is started, prior to the beginning of the actual stimulus-response processes. The count value of the first item in the counter buffer will therefore reflect the amount of time between the software call of CTR Control.vi up to the hardware event of the first stimulus pulse. The entire synchronized process is now armed and waiting on AO Start.vi to begin. 9

10 Frame 6: Set and Wait Finally, AO Start.vi gets executed, and the whole process begins AO update pulses, marking the first stimulus pulse on RTSI 1, beginning the analog output and the digital output and causing RTSI 1 to pulse, which gates GPCTR 0 to output a time-delayed response on RTSI 2. The second function of this frame is to wait until both the analog and digital data buffers are full, and hence the stimulus-response process is presumed to be over. This is accomplished by feeding zero scans to read into AI Read.vi, DIO Read.vi, and CTR Buffer Read.vi and monitoring the analog input scan backlog. When the scan backlog equals the number of scans in the analog input buffer, the data buffers are full and can be read in the next frame. If at any time during the stimulus-response process an error occurs in either the analog input, digital input, or counter input, this frame is exited, the acquisition process is aborted, and an error message is reported. If the expected number of scans is not being reached in the data buffers even though the stimulus-response process has finished, pressing the abort? button on the front panel manually causes the While Loop to be exited and the various clear functions (AI, AO, DI, DO, CTR) in Frame 8 to naturally shut down the acquisition and show any error messages. 10

11 Frame 7: Read and Analyze Now that the stimulus-response data is complete, this frame reads the three data buffers that were being filled in the previous frame and posts these results to indicators on the front panel. AI Read.vi returns the analog input data, which is split into two separate arrays and displayed in separate columns on the front panel. DIO Buffer Read.vi returns the digital input data, and CTR Buffer Read.vi returns the time-stamping data in raw count format. The count values are then converted to relative time values and displayed on the front panel in seconds. 11

12 Frame 8: Shut Down In this last frame, all the stimulus-response configurations on both boards are cleared, and the data is displayed with the array indices tied together for easier viewing. In AI Clear.vi and AO Clear.vi the analog input and output configurations are cleared from the board, in DIO Clear.vi the digital input and output configurations are cleared, and in CTR Control.vi the delay pulse settings in GPCTR0 and the time-stamping settings in GPCTR1 are cleared. Finally, in RTSI Control.vi the RTSI connections between the RTSI bus and the DIO board are reset. 12

13 So, Where Do I Go from Here? Remember that this application is one example of a stimulus-response program. You may not want to run all of the operations (analog input, analog output, digital input, digital output, counter time-stamping) included in this application. With the State Machine structure used in this application, it is relatively easy to eliminate operations to create a smaller application that does only what you want. The first step is to remove the frame that configures that operation (say, digital input). The next step, if it is an input operation, is to take out the read routine from Frame 7 (for example, the DIO Buffer Read.vi). Finally, remove the clear routine in Frame 8 (in this case, DIO Clear.vi). Instead of taking out operations by deleting frames, you may in fact need to add operations not included in this application by adding frames. For instance, in order to synchronize IMAQ acquisitions or motion control movements, add a frame for each to perform the configuration, clock routing, triggering, and so on; then start each action waiting on either the stimulus or response signal. For an IMAQ acquisition, you will also need to add a routine in Frame 6 to read the video images out of the RAM buffer. Another change you might need to make is to add external triggering. This application begins all operations when the AO Start.vi is run in software. You could configure the analog output (and with it the rest of the synchronized operations) to start only when an external 5 VDC digital trigger is fed into the AO Start Trigger. This can be added by changing the trigger settings in AO Start.vi in Frame 6 from the current default setting (no trigger) to the desired trigger action. A fundamental change you might need to make is to have a different operation be the master operation. This application is set up to have all operations begin when the analog output operation commences. The triggering available for analog output is limited. If you wish to do more advanced triggering, say analog triggering from PFI0 of the MIO board, or digital pattern recognition from the DIO board, then you need to change the master operation from analog output to, respectively, analog input, or digital input. An activity becomes the master operation when all other operations have been started and are waiting on the clock signal of the master operation to begin. Currently, the AO Update Clock is routed to RTSI 1, and from that all other slave operations follow. In order to make, say, the analog input operation the master, you would need to route the AI Start Scan signal to RTSI 1 instead of the AO Update signal, and then leave the AI Start.vi or AI Control.vi call to the very last after all other operations are started. Other changes you might need to make include data display, data analysis, and data logging. Currently, all data is shown on the front panel in array format. You might want to send some or all of your signals to a Waveform Graph, or perhaps use the time-stamping from GPCTR 1 as your X-axis values and put the data in an XY Graph. You may want to analyze your data first in order to display it more meaningfully, or in the case of IMAQ, to pick out a particular feature of interest and calculate its dimensions and orientation before displaying. Finally, most real-world applications have at least the option of logging the acquired data to disk. This application has no such provision, but you could certainly add a Frame 9 to take the data gathered and save it to one or more data files for future use. 13

14

NI-DAQmx Device Considerations

NI-DAQmx Device Considerations NI-DAQmx Device Considerations January 2008, 370738M-01 This help file contains information specific to analog output (AO) Series devices, C Series, B Series, E Series devices, digital I/O (DIO) devices,

More information

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules DT9834 Series High-Performance Multifunction USB Data Acquisition Modules DT9834 Series High Performance, Multifunction USB DAQ Key Features: Simultaneous subsystem operation on up to 32 analog input channels,

More information

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels DT9857E Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels The DT9857E is a high accuracy dynamic signal acquisition module for noise, vibration, and acoustic measurements

More information

Major Differences Between the DT9847 Series Modules

Major Differences Between the DT9847 Series Modules DT9847 Series Dynamic Signal Analyzer for USB With Low THD and Wide Dynamic Range The DT9847 Series are high-accuracy, dynamic signal acquisition modules designed for sound and vibration applications.

More information

VIRTUAL INSTRUMENTATION

VIRTUAL INSTRUMENTATION VIRTUAL INSTRUMENTATION Virtual instrument an equimplent that allows accomplishment of measurements using the computer. It looks like a real instrument, but its operation and functionality is essentially

More information

NI-DAQmx Key Concepts

NI-DAQmx Key Concepts NI-DAQmx Key Concepts January 2008, 371407F-01 NI-DAQmx Key Concepts covers important concepts in NI-DAQmx such as channels and tasks. The ways that NI-DAQmx handles timing, triggering, buffering, and

More information

MTL Software. Overview

MTL Software. Overview MTL Software Overview MTL Windows Control software requires a 2350 controller and together - offer a highly integrated solution to the needs of mechanical tensile, compression and fatigue testing. MTL

More information

Experiment # 4 Counters and Logic Analyzer

Experiment # 4 Counters and Logic Analyzer EE20L - Introduction to Digital Circuits Experiment # 4. Synopsis: Experiment # 4 Counters and Logic Analyzer In this lab we will build an up-counter and a down-counter using 74LS76A - Flip Flops. The

More information

SignalTap Analysis in the Quartus II Software Version 2.0

SignalTap Analysis in the Quartus II Software Version 2.0 SignalTap Analysis in the Quartus II Software Version 2.0 September 2002, ver. 2.1 Application Note 175 Introduction As design complexity for programmable logic devices (PLDs) increases, traditional methods

More information

Fig. 1. The Front Panel (Graphical User Interface)

Fig. 1. The Front Panel (Graphical User Interface) ME 4710 Motion and Control Data Acquisition Software for Step Excitation Introduction o These notes describe LabVIEW software that can be used for data acquisition. The overall software characteristics

More information

BNC-2110 DESKTOP AND DIN RAIL-MOUNTABLE BNC ADAPTER

BNC-2110 DESKTOP AND DIN RAIL-MOUNTABLE BNC ADAPTER INSTALLATION GUIDE BNC-2110 DESKTOP AND DIN RAIL-MOUNTABLE BNC ADAPTER Introduction This installation guide describes how to install and configure your BNC-2110 accessory with an E Series or waveform generation

More information

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features:

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features: DT9837 Series High Performance, Powered Modules for Sound & Vibration Analysis The DT9837 Series high accuracy dynamic signal acquisition modules are ideal for portable noise, vibration, and acoustic measurements.

More information

IT T35 Digital system desigm y - ii /s - iii

IT T35 Digital system desigm y - ii /s - iii UNIT - III Sequential Logic I Sequential circuits: latches flip flops analysis of clocked sequential circuits state reduction and assignments Registers and Counters: Registers shift registers ripple counters

More information

EECS145M 2000 Midterm #1 Page 1 Derenzo

EECS145M 2000 Midterm #1 Page 1 Derenzo UNIVERSITY OF CALIFORNIA College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm #1 (Closed book- calculators OK) Wednesday,

More information

RS flip-flop using NOR gate

RS flip-flop using NOR gate RS flip-flop using NOR gate Triggering and triggering methods Triggering : Applying train of pulses, to set or reset the memory cell is known as Triggering. Triggering methods:- There are basically two

More information

Design and Implementation of an AHB VGA Peripheral

Design and Implementation of an AHB VGA Peripheral Design and Implementation of an AHB VGA Peripheral 1 Module Overview Learn about VGA interface; Design and implement an AHB VGA peripheral; Program the peripheral using assembly; Lab Demonstration. System

More information

BNC-2120 INSTALLATION GUIDE. Connector Accessory for Multifunction DAQ Devices

BNC-2120 INSTALLATION GUIDE. Connector Accessory for Multifunction DAQ Devices INSTALLATION GUIDE BNC-2120 Connector Accessory for Multifunction DAQ Devices This installation guide describes how to install, configure, and use your BNC-2120 accessory. If you have not already installed

More information

Sample. Data Acquisition and Signal Conditioning. Course Manual. Course Software Version 2011 February 2012 Edition Part Number P-01

Sample. Data Acquisition and Signal Conditioning. Course Manual. Course Software Version 2011 February 2012 Edition Part Number P-01 Data Acquisition and Signal Conditioning Course Manual Course Software Version 2011 February 2012 Edition Part Number 320733P-01 Data Acquisition and Signal Conditioning Copyright 1995 2012 National Instruments

More information

LAX_x Logic Analyzer

LAX_x Logic Analyzer Legacy documentation LAX_x Logic Analyzer Summary This core reference describes how to place and use a Logic Analyzer instrument in an FPGA design. Core Reference CR0103 (v2.0) March 17, 2008 The LAX_x

More information

Data Acquisition Using LabVIEW

Data Acquisition Using LabVIEW Experiment-0 Data Acquisition Using LabVIEW Introduction The objectives of this experiment are to become acquainted with using computer-conrolled instrumentation for data acquisition. LabVIEW, a program

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES SUBJECT: DIGITAL ELECTRONICS CLASS: II YEAR ECE SUBJECT CODE: EC2203

More information

SignalTap Plus System Analyzer

SignalTap Plus System Analyzer SignalTap Plus System Analyzer June 2000, ver. 1 Data Sheet Features Simultaneous internal programmable logic device (PLD) and external (board-level) logic analysis 32-channel external logic analyzer 166

More information

IMS B007 A transputer based graphics board

IMS B007 A transputer based graphics board IMS B007 A transputer based graphics board INMOS Technical Note 12 Ray McConnell April 1987 72-TCH-012-01 You may not: 1. Modify the Materials or use them for any commercial purpose, or any public display,

More information

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Final Exam review: chapter 4 and 5. Supplement 3 and 4 Final Exam review: chapter 4 and 5. Supplement 3 and 4 1. A new type of synchronous flip-flop has the following characteristic table. Find the corresponding excitation table with don t cares used as much

More information

R&S TS-PIO4 Digital Functional Test Module 32-channel programmable digital I/O module

R&S TS-PIO4 Digital Functional Test Module 32-channel programmable digital I/O module TS-PIO4_bro_en_3607-3474-12_v0100.indd 1 Product Brochure 01.00 Test & Measurement R&S TS-PIO4 Digital Functional Test Module 32-channel programmable digital I/O module 07.07.2016 07:41:56 R&S TS-PIO4

More information

CPS311 Lecture: Sequential Circuits

CPS311 Lecture: Sequential Circuits CPS311 Lecture: Sequential Circuits Last revised August 4, 2015 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

Rangkaian Sekuensial. Flip-flop

Rangkaian Sekuensial. Flip-flop Rangkaian Sekuensial Rangkaian Sekuensial Flip-flop Combinational versus Sequential Functions Logic functions are categorized as being either combinational (sometimes referred to as combinatorial) or sequential.

More information

Using SignalTap II in the Quartus II Software

Using SignalTap II in the Quartus II Software White Paper Using SignalTap II in the Quartus II Software Introduction The SignalTap II embedded logic analyzer, available exclusively in the Altera Quartus II software version 2.1, helps reduce verification

More information

1. Synopsis: 2. Description of the Circuit:

1. Synopsis: 2. Description of the Circuit: Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: This lab gives you more exercise in schematic entry, state machine design using the one-hot state method, further understanding

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic Ranga Rodrigo August 2, 2009 1 Behavioral Modeling Behavioral modeling represents digital circuits at a functional and algorithmic level. It is used mostly to describe sequential

More information

PCI-DAS6034, PCI-DAS6035, and PCI-DAS6036

PCI-DAS6034, PCI-DAS6035, and PCI-DAS6036 PCI-DAS6034, PCI-DAS6035, and PCI-DAS6036 Specifications Document Revision 1.2, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications

More information

2.6 Reset Design Strategy

2.6 Reset Design Strategy 2.6 Reset esign Strategy Many design issues must be considered before choosing a reset strategy for an ASIC design, such as whether to use synchronous or asynchronous resets, will every flipflop receive

More information

Using the HDCV Data Acquisition Program

Using the HDCV Data Acquisition Program Using the HDCV Data Acquisition Program This manual describes HDCV.exe, the data acquisition portion of the HDCV (High Definition Cyclic Voltammetry) program suite from the University of North Carolina

More information

Solutions to Embedded System Design Challenges Part II

Solutions to Embedded System Design Challenges Part II Solutions to Embedded System Design Challenges Part II Time-Saving Tips to Improve Productivity In Embedded System Design, Validation and Debug Hi, my name is Mike Juliana. Welcome to today s elearning.

More information

Software Control of a Confocal Microscope

Software Control of a Confocal Microscope Software Control of a Confocal Microscope Giang Vu Master Thesis in Electrical Engineering 30 hp, Oct 2007- Jun 2008 Department of Measurement Technology and Industrial Electrical Engineering. Department

More information

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module Introduction The vibration module allows complete analysis of cyclical events using low-speed cameras. This is accomplished

More information

Logic Analyzer Triggering Techniques to Capture Elusive Problems

Logic Analyzer Triggering Techniques to Capture Elusive Problems Logic Analyzer Triggering Techniques to Capture Elusive Problems Efficient Solutions to Elusive Problems For digital designers who need to verify and debug their product designs, logic analyzers provide

More information

DAQ. NI 660x User Manual. NI 6601, NI 6602, and NI 6608 Devices. NI 660x User Manual. ni.com/manuals. December C-01

DAQ. NI 660x User Manual. NI 6601, NI 6602, and NI 6608 Devices. NI 660x User Manual. ni.com/manuals. December C-01 DAQ NI 660x User Manual NI 6601, NI 6602, and NI 6608 Devices NI 660x User Manual Français Deutsch ni.com/manuals December 2012 372119C-01 Support Worldwide Technical Support and Product Information ni.com

More information

Oscilloscopes, logic analyzers ScopeLogicDAQ

Oscilloscopes, logic analyzers ScopeLogicDAQ Oscilloscopes, logic analyzers ScopeLogicDAQ ScopeLogicDAQ 2.0 is a comprehensive measurement system used for data acquisition. The device includes a twochannel digital oscilloscope and a logic analyser

More information

Patchmaster. Elektronik. The Pulse generator. February 2013

Patchmaster. Elektronik. The Pulse generator. February 2013 Patchmaster The Pulse generator Elektronik Telly Galiatsatos, BS 1987: Graduated at Queens College, NY Computer Science 1987-2007: Instrutech Corporation IT Engineering Support Software Engineer, Sales

More information

ENGR 1000, Introduction to Engineering Design

ENGR 1000, Introduction to Engineering Design ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.4: Programming Digital Ports Hardware: 12 VDC power supply Several lengths of wire NI-USB 6008 Device

More information

Introduction To LabVIEW and the DSP Board

Introduction To LabVIEW and the DSP Board EE-289, DIGITAL SIGNAL PROCESSING LAB November 2005 Introduction To LabVIEW and the DSP Board 1 Overview The purpose of this lab is to familiarize you with the DSP development system by looking at sampling,

More information

DNA-STP-SYNC Synchronization and Screw Terminal Panel. User Manual

DNA-STP-SYNC Synchronization and Screw Terminal Panel. User Manual DNA-STP-SYNC Synchronization and Screw Terminal Panel User Manual Accessory Panel for PowerDNA Cube (DNA) Systems February 2009 Edition PN Man-DNA-STP-SYNC-0209 Version 1.2 Copyright 1998-2009 All rights

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

SignalTap: An In-System Logic Analyzer

SignalTap: An In-System Logic Analyzer SignalTap: An In-System Logic Analyzer I. Introduction In this chapter we will learn 1 how to use SignalTap II (SignalTap) (Altera Corporation 2010). This core is a logic analyzer provided by Altera that

More information

AI-1616L-LPE. Features. High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE 1. Ver.1.02 Ver.1.01

AI-1616L-LPE. Features. High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE 1. Ver.1.02 Ver.1.01 High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE This product is a multi-function, PCI Express bus-compliant interface board that incorporates high-precision 16-bit analog

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory RPI Rensselaer Polytechnic Institute Computer Hardware Design ECSE 4770 Report Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory Name: Walter Dearing Group: Brad Stephenson David Bang

More information

AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ. Products: AMIQ, SMIQ

AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ. Products: AMIQ, SMIQ Products: AMIQ, SMIQ AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ The software AMIQ-K2 enables you to read, convert, and transfer various-format I/Q data files to AMIQ format. AMIQ-K2

More information

Logic Analysis Basics

Logic Analysis Basics Logic Analysis Basics September 27, 2006 presented by: Alex Dickson Copyright 2003 Agilent Technologies, Inc. Introduction If you have ever asked yourself these questions: What is a logic analyzer? What

More information

Logic Analysis Basics

Logic Analysis Basics Logic Analysis Basics September 27, 2006 presented by: Alex Dickson Copyright 2003 Agilent Technologies, Inc. Introduction If you have ever asked yourself these questions: What is a logic analyzer? What

More information

RS flip-flop using NOR gate

RS flip-flop using NOR gate RS flip-flop using NOR gate Triggering and triggering methods Triggering : Applying train of pulses, to set or reset the memory cell is known as Triggering. Triggering methods:- There are basically two

More information

PCI-DAS6052 Analog and Digital I/O. User's Guide

PCI-DAS6052 Analog and Digital I/O. User's Guide PCI-DAS6052 Analog and Digital I/O User's Guide Document Revision 7A December 2012 Copyright 2012 Trademark and Copyright Information Measurement Computing Corporation, InstaCal, Universal Library, and

More information

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

FPGA Laboratory Assignment 4. Due Date: 06/11/2012 FPGA Laboratory Assignment 4 Due Date: 06/11/2012 Aim The purpose of this lab is to help you understanding the fundamentals of designing and testing memory-based processing systems. In this lab, you will

More information

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN Assoc. Prof. Dr. Burak Kelleci Spring 2018 OUTLINE Synchronous Logic Circuits Latch Flip-Flop Timing Counters Shift Register Synchronous

More information

Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: 2. Description of the Circuit:

Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: 2. Description of the Circuit: Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: This lab gives you more exercise in schematic entry, state machine design using the one-hot state method, further understanding

More information

THE LXI IVI PROGRAMMING MODEL FOR SYNCHRONIZATION AND TRIGGERING

THE LXI IVI PROGRAMMING MODEL FOR SYNCHRONIZATION AND TRIGGERING THE LXI IVI PROGRAMMIG MODEL FOR SCHROIZATIO AD TRIGGERIG Lynn Wheelwright 3751 Porter Creek Rd Santa Rosa, California 95404 707-579-1678 lynnw@sonic.net Abstract - The LXI Standard provides three synchronization

More information

ELE2120 Digital Circuits and Systems. Tutorial Note 8

ELE2120 Digital Circuits and Systems. Tutorial Note 8 ELE2120 Digital Circuits and Systems Tutorial Note 8 Outline 1. Register 2. Counters 3. Synchronous Counter 4. Asynchronous Counter 5. Sequential Circuit Design Overview 1. Register Applications: temporally

More information

AD16-64(LPCI)LA. Non-isolated high precision analog input board for Low Profile PCI AD16-64(LPCI)LA 1. Ver.1.01

AD16-64(LPCI)LA. Non-isolated high precision analog input board for Low Profile PCI AD16-64(LPCI)LA 1. Ver.1.01 Non-isolated high precision analog board for Low Profile PCI AD16-64(LPCI)LA * Specifications, color and design of the products are subject to change without notice. This product is a PCI bus compatible

More information

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers EEE 304 Experiment No. 07 Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers Important: Submit your Prelab at the beginning of the lab. Prelab 1: Construct a S-R Latch and

More information

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge Topic 1.3.2 -type Flip-flops. Learning Objectives: At the end of this topic you will be able to; raw a timing diagram to illustrate the significance of edge triggering; raw a timing diagram to illustrate

More information

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. # 29 Minimizing Switched Capacitance-III. (Refer

More information

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM Last (family) name: First (given) name: Student I.D. #: Circle section: Hu Saluja Department of Electrical and Computer Engineering University of Wisconsin - Madison ECE/CS 352 Digital System Fundamentals

More information

Personal Daq/3000 Series USB 1-MHz, 16-Bit Multifunction Modules

Personal Daq/3000 Series USB 1-MHz, 16-Bit Multifunction Modules USB 1-MHz, 16-Bit Multifunction Modules Features 1-MHz, 16-bit multifunction USB modules Synchronous analog input, analog output, digital I/O, and counter/timer I/O 8 differential or 16 single-ended analog

More information

SigPlay User s Guide

SigPlay User s Guide SigPlay User s Guide . . SigPlay32 User's Guide? Version 3.4 Copyright? 2001 TDT. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

WaveView. and. WaveCal

WaveView. and. WaveCal WaveView and WaveCal WaveView Introduction 1 Software Startup & Sample Acquisition 3 Startup WaveView 3 Configure Channels 5 Configure Acquisition 6 Collect and View Data 6 Store Data [and View File Data]

More information

VARIABLE FREQUENCY CLOCKING HARDWARE

VARIABLE FREQUENCY CLOCKING HARDWARE VARIABLE FREQUENCY CLOCKING HARDWARE Variable-Frequency Clocking Hardware Many complex digital systems have components clocked at different frequencies Reason 1: to reduce power dissipation The active

More information

Last time, we saw how latches can be used as memory in a circuit

Last time, we saw how latches can be used as memory in a circuit Flip-Flops Last time, we saw how latches can be used as memory in a circuit Latches introduce new problems: We need to know when to enable a latch We also need to quickly disable a latch In other words,

More information

Sequential Logic Basics

Sequential Logic Basics Sequential Logic Basics Unlike Combinational Logic circuits that change state depending upon the actual signals being applied to their inputs at that time, Sequential Logic circuits have some form of inherent

More information

BABAR IFR TDC Board (ITB): requirements and system description

BABAR IFR TDC Board (ITB): requirements and system description BABAR IFR TDC Board (ITB): requirements and system description Version 1.1 November 1997 G. Crosetti, S. Minutoli, E. Robutti I.N.F.N. Genova 1. Timing measurement with the IFR Accurate track reconstruction

More information

USB-1616HS-4. High-Speed Analog Input and Digital I/O. User's Guide

USB-1616HS-4. High-Speed Analog Input and Digital I/O. User's Guide USB-1616HS-4 High-Speed Analog Input and Digital I/O User's Guide Document Revision 3A December 2012 Copyright 2012 Trademark and Copyright Information Measurement Computing Corporation, InstaCal, Universal

More information

DAQ Analog Output Series

DAQ Analog Output Series DAQ Analog Output Series NI 6738/6739 User Manual NI 6738/6739 User Manual December 2017 375140B-01 Support Worldwide Technical Support and Product Information ni.com Worldwide Offices Visit ni.com/niglobal

More information

Model BE-64. talon 150 E. Arrow Highway, San Dimas, CA TECHNICAL DESCRIPTION. Bus Emulator/Word Generator

Model BE-64. talon 150 E. Arrow Highway, San Dimas, CA TECHNICAL DESCRIPTION. Bus Emulator/Word Generator TECHNICAL DESCRIPTION Model BE-64 Bus Emulator/Word Generator Manual Revision: December 19, 1997 Manual Part Number: BETD400 Instrument Part Number: BE-64 talon 150 E Arrow Highway, San Dimas, CA 91773

More information

SIGNALtm Timer System

SIGNALtm Timer System SIGNALtm Timer System User Guide Version 1.0 September, 2007 Revised March, 2016 Engineering Design This document is provided for the sole purpose of operating the SIGNAL Timer System. No part of this

More information

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, Solution to Digital Logic -2067 Solution to digital logic 2067 1.)What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, A Magnitude comparator is a combinational

More information

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition INTRODUCTION Many sensors produce continuous voltage signals. In this lab, you will learn about some common methods

More information

Programmable Logic Design I

Programmable Logic Design I Programmable Logic Design I Introduction In labs 11 and 12 you built simple logic circuits on breadboards using TTL logic circuits on 7400 series chips. This process is simple and easy for small circuits.

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS In the same way that logic gates are the building blocks of combinatorial circuits, latches

More information

AN-822 APPLICATION NOTE

AN-822 APPLICATION NOTE APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com Synchronization of Multiple AD9779 Txs by Steve Reine and Gina Colangelo

More information

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram UNIT III INTRODUCTION In combinational logic circuits, the outputs at any instant of time depend only on the input signals present at that time. For a change in input, the output occurs immediately. Combinational

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

Section bit Analog-to-Digital Converter (ADC)

Section bit Analog-to-Digital Converter (ADC) Section 17. 10-bit Analog-to-Digital Converter (ADC) HIGHLIGHTS This section of the manual contains the following major topics: 17 17.1 Introduction...17-2 17.2 Control Registers...17-4 17.3 ADC Operation,

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

This guide gives a brief description of the ims4 functions, how to use this GUI and concludes with a number of examples.

This guide gives a brief description of the ims4 functions, how to use this GUI and concludes with a number of examples. Quick Start Guide: Isomet ims Studio Isomet ims Studio v1.40 is the first release of the Windows graphic user interface for the ims4- series of 4 channel synthezisers, build level rev A and rev B. This

More information

National Instruments Synchronization and Memory Core a Modern Architecture for Mixed Signal Test

National Instruments Synchronization and Memory Core a Modern Architecture for Mixed Signal Test National Instruments Synchronization and Memory Core a Modern Architecture for Mixed Signal Test Introduction Today s latest electronic designs are characterized by their converging functionality and

More information

Combinational vs Sequential

Combinational vs Sequential Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs Changing inputs changes outputs No regard for previous inputs

More information

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall Objective: - Dealing with the operation of simple sequential devices. Learning invalid condition in

More information

Digital Circuits 4: Sequential Circuits

Digital Circuits 4: Sequential Circuits Digital Circuits 4: Sequential Circuits Created by Dave Astels Last updated on 2018-04-20 07:42:42 PM UTC Guide Contents Guide Contents Overview Sequential Circuits Onward Flip-Flops R-S Flip Flop Level

More information

OPTIMUM Power Technology: Low Cost Combustion Analysis for University Engine Design Programs Using ICEview and NI Compact DAQ Chassis

OPTIMUM Power Technology: Low Cost Combustion Analysis for University Engine Design Programs Using ICEview and NI Compact DAQ Chassis OPTIMUM Power Technology: Low Cost Combustion Analysis for University Engine Design Programs Using ICEview and NI Compact DAQ Chassis World Headquarters (USA): European Sales Office: Japanese Office: 3117

More information

RedLab-1616HS-BNC User's Guide

RedLab-1616HS-BNC User's Guide RedLab-1616HS-BNC User's Guide Document Revision 1.1E, April, 2014 Copyright 2014, Meilhaus Electronic Imprint User s Guide RedLab Series Document Revision 1.1E Revision Date: April 2014 Meilhaus Electronic

More information

Agilent Parallel Bit Error Ratio Tester. System Setup Examples

Agilent Parallel Bit Error Ratio Tester. System Setup Examples Agilent 81250 Parallel Bit Error Ratio Tester System Setup Examples S1 Important Notice This document contains propriety information that is protected by copyright. All rights are reserved. Neither the

More information

Getting Started with the LabVIEW Sound and Vibration Toolkit

Getting Started with the LabVIEW Sound and Vibration Toolkit 1 Getting Started with the LabVIEW Sound and Vibration Toolkit This tutorial is designed to introduce you to some of the sound and vibration analysis capabilities in the industry-leading software tool

More information

CARLETON UNIVERSITY. Facts without theory is trivia. Theory without facts is bull 2607-LRB

CARLETON UNIVERSITY. Facts without theory is trivia. Theory without facts is bull 2607-LRB CARLETON UNIVERSITY Deparment of Electronics ELEC 267 Switching Circuits February 7, 25 Facts without theory is trivia. Theory without facts is bull Anon Laboratory 3.: The T-Bird Tail-Light Control Using

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Fundamentals Of Digital Logic 1 Our Goal Understand Fundamentals and basics Concepts How computers work at the lowest level Avoid whenever possible Complexity Implementation

More information

M1 OSCILLOSCOPE TOOLS

M1 OSCILLOSCOPE TOOLS Calibrating a National Instruments 1 Digitizer System for use with M1 Oscilloscope Tools ASA Application Note 11-02 Introduction In ASA s experience of providing value-added functionality/software to oscilloscopes/digitizers

More information

NI SC Express. NI PXIe-4300 User Manual. NI PXIe-4300 User Manual. April A-01

NI SC Express. NI PXIe-4300 User Manual. NI PXIe-4300 User Manual. April A-01 NI SC Express NI PXIe-4300 User Manual NI PXIe-4300 User Manual April 2010 373024A-01 Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500

More information

Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU

Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU Version: 1.0 Date: December 14, 2004 Designed and Developed By: System Level Solutions,

More information

Chapter 3: Sequential Logic Systems

Chapter 3: Sequential Logic Systems Chapter 3: Sequential Logic Systems 1. The S-R Latch Learning Objectives: At the end of this topic you should be able to: design a Set-Reset latch based on NAND gates; complete a sequential truth table

More information

CHAPTER1: Digital Logic Circuits

CHAPTER1: Digital Logic Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits 1 Sequential Circuits Introduction Composed of a combinational circuit to which the memory elements are connected to form a feedback

More information