PHY 406 - Microprocessor Interfacing Techniques

Module 5 - More On Digital-to-Analog

In this module we will look more closely at two D/A converters. The 12-bit one in your LabVIEW board and an 8-bit one on the interface card.

Preparation

You have probably already used most of the VIs that you will use in this module. You might want a couple from the signal processing set, but I can't predict how you will answer the questions! You could certainly re-use some bits from previous programs you have written (assuming you can remember what they did!)

There is a demonstration program - timer_da_test.vi - in the e:\l_view\examples which shows you roughly how the timer and the d/a converter interface works. It's the same program you used in module 4. Make sure (by asking if necessary) that you understand the circuit diagram for the keypad and display interface timer_da.pdf

You must remember that LabVIEW is a "dataflow" language. That means that the program order of execution is controlled by the availability of data, not the left-to-right order of the modules. Unless LabVIEW can determine for itself that the action of one element depends upon the output from another element, then you must put the time dependence in explicitly with a sequence or something similar.

Equipment

You will need the timer and digital-to-analog converter interface which is kept in the cupboard. There is some variation in the D/A converters, so you should make a note of the converter number so that you can use it consistently. You are also asked to try several converters at one point - please be kind to your fellow students.

Throughout this practical when reference is made to a digital-to-analog converter, or more commonly "the converter" - the one on the interface card is implied.

Calibrate the Converter

What's the Staircase Like?

How do the Levels Change?

Advanced

This section is for the intelligent/bored or otherwise fascinated. There are no marks for this section - only the satisfaction of solving a problem or two.

Notes

This practical talks about two issues.