10-19-2011 12:12 PM
Hallo all,
I am new to LabVIEW 🙂
I m having LabVIEW 2010 and LabVIEW SignalExpress für DAQ (in German) on my computer.
I would like to create a digital output of 2.1V voltage using USB 6008. What I have done so far is that I have added "DAQ Assistant" on Block Diagram and I have selected 2 digital output
What I want is to have the value of the digital out shown on a number indicator. Secondly I would like to fix the digital out to 2.1 Volt. How can it be done?
Any suggestion is appreciated
10-19-2011 02:51 PM
Digital is either 0 (closer to 0.3v) for a low or 5v for a high.
If you want something else, either use the analog outputs or do some signal conditioning after the DIO ports.
10-20-2011 02:11 AM
Unfortunately digital output is my only option. It would be great if you could show me what function do i need (i.e. from the palette) that i need to do the conditioning. All I want is to limit it to 2.1 V
And how do I display (or rather, check) the output value on LabVIEW VI itself?
10-20-2011 06:49 AM
Labview does not have any functions that will change the output voltage of the USB-6008. You will need to add an additional circuit to do this. The digital output of the USB-6008 has a pull-up resistor (4.7K) to 5V. A simple voltage divider should work. You may want to add a voltage follower to minimize the effects of the circuitry after the divider on the output voltage. See attached circuit for reference.
10-20-2011 11:08 AM
Thanks for the suggestion.
And what abut displaying the digital output? i tried to wire it to a numerical display on labVIEW but it did not work.
And I would like to ask for some explanation in reference to the screenshot below. What are all the circles for the binary value for? I can switch on or off the circle but i dont understand the effect of it. Is it controlling the digital output? If so i would like to know how to show the current output value
10-20-2011 12:29 PM
You seem to have some basic misunderstanding about digital logic. An output is either a 0/1 or True/False. This is indicated normally with a Boolean indicator. A digital control like you show, is set with Booleans - True/False for each line.