How a digital to analog converter works

Click For Summary

Discussion Overview

The discussion centers on the functioning of a digital to analog converter (DAC) within a specific setup involving a computer, Labview software, a Lab-NB board, a terminal block, and an oscilloscope. Participants explore the roles of each component and the data transfer processes involved.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant requests an explanation of how a DAC works in conjunction with various components, including a computer and Labview software.
  • Another participant provides a tutorial reference on R-2R DACs and explains that the PC software communicates with the DAC card to convert binary data into an analog voltage, mentioning different data transfer methods.
  • It is noted that the DAC card can output single-ended or bipolar voltage ranges, depending on configuration registers.
  • A participant seeks clarification on whether the Lab-NB board functions similarly to a DAC card, expressing difficulty in navigating the lengthy manual.
  • Another participant acknowledges the confusion and suggests that if the Lab-NB is an external DAC module, it likely operates similarly to an internal DAC card.
  • One participant confirms that the Lab-NB is connected via USB to a terminal block and expresses belief that the functions of the board and card are comparable.

Areas of Agreement / Disagreement

Participants generally agree on the basic functionality of the DAC and its interaction with the computer and software, but there is uncertainty regarding the specific role and capabilities of the Lab-NB board compared to a DAC card.

Contextual Notes

There are limitations in the discussion regarding the specific details of the Lab-NB board, including its interface and functionality, which remain unresolved due to a lack of information from the manual.

variable
Messages
14
Reaction score
0
can someone please explain how a digital to analog converter works if say your equipment includes a computer with a software like Labview, a Lab-NB board, a terminal block (USB) and an oscilloscope. what is each component doing and what is being transferred between them? thanks.
 
Engineering news on Phys.org
Do you understand how a DAC works? If not, here's a tutorial on the R-2R DAC (as opposed to a binary-weighted DAC, which has some limitations):

http://www.allaboutcircuits.com/vol_4/chpt_13/3.html

National Instruments also has some good tutorials and articles about their boards. Check out this jump-off site:

http://zone.ni.com/zone/jsp/zone.jsp

Basically, to answer your question, the software on the PC writes to the DAC card to tell it what binary data it should convert into an analog voltage. The data transfers can happen in several different ways, but the simplest way to think about it is that the PC program writes a new data value to the card at each clock tick (whichever clock), and the DAC card drives the analog value for that data out at each clock tick. The PC software could write values out that made a sine wave at the analog output, for example. The DAC card typically has configuration registers that set whether the digital data represents a single-ended output voltage range (like 0V to 10V) or a bipolar range (like -5V to 5V).

The terminal block that is connected to the DAC card's output cable just makes it easier to probe the signals with an oscilloscope. In real applications of the DAC card, the cable connects to whatever circuit you want to drive the output analog waveforms into (like a speaker, or whatever).

Hope that helps. -Mike-
 
thanks, that really helps. just one follow-up question. does the board have the same function as the card? I've been trying to look through the manual for the board and it's several hundred pages long so haven't been too successful.
 
variable said:
thanks, that really helps. just one follow-up question. does the board have the same function as the card? I've been trying to look through the manual for the board and it's several hundred pages long so haven't been too successful.
Sorry, I read your question fast and assumed that you were using an NI DAC card (like one that plugs into the PCI bus in a PC). Is the Lab-NB board an external DAC module or something? I tried searching NI.com for Lab-NB but got no hits, so it's probably from some other DAC supplier? Does it use USB or GPIB or some other interface to the PC?

If the Lab-NB is the DAC module, then yes, what I said in reference to an internal DAC card in the PC applies similarly to an external module connected to the PC via some digital interface cable.
 
It's connected to the terminal block which uses USB and it's external. I think they are the same because I remember reading something about registers in the manual and the bipolar range, etc. Thank you so much for your help!
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 26 ·
Replies
26
Views
8K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
1
Views
2K