asyn Driver Tutorial Measurement Computing 1608GX-2A0

Slides:



Advertisements
Similar presentations
MIL/STD-1553B Bus Overview J. Frederick Bartlett Fermilab June 3, 1999.
Advertisements

More fun with Timer/Counters
Programmable Interval Timer
Data Acquisition Risanuri Hidayat.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
1 Alan Rux Electrical and Computer Engineering Department University of Massachusetts Lowell Campus Analog Discovery Design Kit Analog Discovery Design.
Modulation Modulation => Converts from digital to analog signal.
1 QED In Vivo USB Input Output Box configuration This tutorial contains a number of instructions embedded in a great deal of explanation. Procedures that.
Keep it Cheap: EPICS Devices for the Small Laboratory
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
AKR Sales Training For KOMAF Exhibition Kunyu Lee Product Manager
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
8253 TIMER. Engr 4862 Microprocessors 8253 / 8254 Timer A.k.a. PIT (programmable Interval Timer), used to bring down the frequency to the desired level.
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
ARM Timers.
WaveBook, Personal Daq, and DaqBoard/3000 USB Overview John Rys Product Support Engineer.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
DAQ Cards, or Instruments The purpose of this presentation is to familiarize new Lab View users to the different computer aided test recourses available.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
AT91 Embedded Peripherals
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 3 Report Jack Hickish.
Rl/ic/ukdmc cPCI - DAQ for NaI Crystals. rl/ic/ukdmc DC MS/s (*) Sampling Rate simultan. on all channels 150 MHz (*) Bandwidth 128 kpoints per.
Tabor Electronics Ltd. The Company April 2008 Yaron Pohoriles.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Fast Fault Finder A Machine Protection Component.
Team 2 Yimin Xiao Jintao Zhang Bo Yuan Yang.  The project we propose is a digital oscilloscope with playback function that provides almost any function.
8254 Timer.
ECE 102 Engineering Computation Chapter 9 LabJack Introduction Dr. Herbert G. Mayer, PSU Status 10/2/2015 For use at CCUT Fall 2015.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
The labjack. WHAT IS A LABJACK? An interface box that allows a computer to interact with the real world by collecting data and passing out instructions.
A commercially available digitization system Fotiou Andreas Andreas Fotiou.
Toshiba IR Test Apparatus Project Ahmad Nazri Fadzal Zamir Izam Nurfazlina Kamaruddin Wan Othman.
OATS - An Example of LCOD Organic Aerosol Thermal desorption chemical ionization mass Spectrometer David Thomson NOAA Aeronomy Lab October 19, 2006 ALARM.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 4 Report Tuesday 22 nd July 2008 Jack Hickish.
FUNCTION GENERATOR.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Why are Timer Functions Important?
DAQ ACQUISITION FOR THE dE/dX DETECTOR
Intro to USB-6009 DAQ.
Setup for automated measurements (parametrization) of ASD2 chip
MODULE 2: Circuits, Signals and the Analog Discovery Board SUMMER CHALLENGE Electrical Engineering: Smart Lighting Michael Rahaim, PhD Candidate Multimedia.
Programmable Interval Timer
Programmable Interval Timer
Programmable Interval Timer 8254 LECTURE 3
Practical example of C programming
Oct 30 Announcements Code Marked and on Blackboard
TMBF Features Guenther Rehm.
Keyboard/Display Controller INTEL 8279
EPICS MCA and Canberra Support
Chapter 8 Data Acquisition
ME3200 ELECTRONIC INSTRUMENTATION AND MEASUREMENT (INDUCTION PROGRAM) [Slide 3] Function/Arbitrary Waveform Generator BY DREAMCATCHER
Oct 30 Announcements Code Marked and on Blackboard
Status of Fast Controller EPICS Supports for ITER Project
Neurochip3.
Timers.
Programmable Interval timer 8253 / 8254
Modulation Modulation => Converts from digital to analog signal.
Programmable Interval timer 8253 / 8254
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Timer/Counter Timer/Counter 0 Timer/Counter 1 Timer/Counter 2 8 bit
Programmable Interval Timer
ADSP 21065L.
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting
Presentation transcript:

asyn Driver Tutorial Measurement Computing 1608GX-2A0 Mark Rivers University of Chicago

Measurement Computing Corporation Inexpensive I/O devices PCI, USB, Ethernet Example USB devices DAQ module with 8 analog inputs, up to 12-bit resolution, 50 kS/s, two D/A outputs, and 16 digital I/O lines $189.00 8-channel quadrature encoder device (differential or single-ended) $599.00 8-channel electromechanical relay interface device $249.00 8-channel thermocouple input module $329.00 16-channel, 500 kS/s device with two analog outputs, eight DIO lines, two 32-bit counter inputs, and one timer output $799.00 I’ve purchased the last 2 (USB-1608GX-2A0, USB-2408, USB/ETH-TC-32, USB-CTR04/08, etc.) and written EPICS drivers for them

USB-1608GX-2A0 ($799) 16-bit analog inputs 16-bit analog outputs 16 single-ended channels or 8 differential channels Programmable per-channel range: +-1V, +-2V, +-5V, +-10V 500 kHz total maximum input rate, i.e. 1 channel at 500 kHz, 8 channels at 62.5 kHz, etc. Internal or external trigger. External trigger shared with analog outputs. Internal or external clock, input and output signals. 4 kSample input FIFO, unlimited waveform length 16-bit analog outputs 2 channels, fixed +-10V range 500 kHz total maximum input rate, i.e. 1 channel at 500 kHz, 2 channels at 250 kHz Internal or external trigger. External trigger shared with analog inputs. Internal or external clock, input and output signals 2 kSample output FIFO, unlimited waveform length

USB-1608GX-2A0 ($799) Digital inputs/outputs Pulse generator Counters 8 signals, individually programmable as inputs or outputs Pulse generator 1 output 64MHz clock, 32-bit registers Programmable period, width, number of pulses, polarity Counters 2 inputs 20 MHz maximum rate, 32-bit registers

Measurement Computing EPICS Support They provide a nice Windows library for all of their devices. Very few calls to get a lot of functionality. Some of their devices have Linux support from Dr. Warren J. Jasper at NCSU: ftp://lx10.tx.ncsu.edu/pub/Linux/drivers Do not support the fast streaming that the Windows library supports For now my drivers use the Windows-only library, as will the example drivers to be presented today.

USB-1608GX-2AO EPICS Support Based on asynPortDriver Standard asyn device support 1250 lines of code Digital I/O 8 bi records, 8 bo records, longin, longout Pulse generator Control of pulse period (frequency), width, count, polarity Analog input ai records, periodically scanned. Programmable range per channel. Analog output ao records

USB-1608GX-2AO EPICS Waveform Generator Support Global control Internal/external trigger Internal/external clock Retrigger, retrigger count Continuous/one-shot (hardware) Predefined waveforms (defined in driver, not by device) Types Sin wave Square wave Sawtooth Pulse (adjustable width) Random (white noise) Control Number of points in waveform Repeat frequency (or time per point) Amplitude Offset

USB-1608GX-2AO EPICS Waveform Generator Support User-defined waveforms (arbitrary waveform generator) Waveforms defined by external application (e.g. Matlab, IDL, Python) and downloaded to waveform record over Channel Access Control Number of points in waveform Repeat frequency (or time per point) Waveforms are defined in volts, not device units 16-bit output, maximum 500,000 output voltages/s Only limit on number of points is available RAM.

USB-1608GX-2AO EPICS Waveform Digitizer Support Control Number of points to digitize Time per point First channel to digitize Number of channels to digitize Burst mode (all channels measured as close together in time as possible) Internal/external trigger Internal/external clock Retrigger, retrigger count Continuous/one-shot (hardware) Auto-restart (software) Read rate to read device into waveform records. Automatically reads when acquisition completes. Waveforms are read in volts, not device units 16-bit input, maximum 500,000 conversions/s Only limit on number of points is available RAM.

USB-1608GX-2A0 Tutorial Will present 5 simplified versions of driver, building feature-by-feature V1: 2 simple analog outputs V2: Add 2 simple analog inputs V3: Add digital outputs V4: Add digital inputs; poller thread V5: Add pulse generator output, counter inputs Full version: Add waveform generators, waveform digitizers, and trigger control.