01-05-2009 02:28 PM
Hi everyone here,
Im newbie labview user, i just got 1 question as state as the title i said, how to use NI USB-6008 to lights up a LED? if in labview only, i know how to make a led lights, but if including LED hardware, i dun know how to do. means i just using usb daq to lights up a single led, no need input, just digital output only, work in hardware too. i stuck at drug a DAQ assistant, after that i have no idea. after this work, how do i add a input button, to control the led? anybody can help me? if got VI for me to refer is better, coz im really new.
01-05-2009 02:37 PM
Did the USB-6008 come with a driver?
You could do a very simple Analog Output.
Look under (in the function palette)
NI Measurements >> Data Aquisition >> Ananlog Output
Or look in the example finder, under Hardware Input and Output.
01-05-2009 03:35 PM
Cory K wrote:Did the USB-6008 come with a driver?.
That's what DAQmx is for.
To OP: The simplest solution is to use the digital I/O lines. In fact, page 21 of the manual shows you how to connect up an LED to one of the digital lines. For the DAQ Assistant all you would need to do is to select the line and specify the level: high or low. Quite simple.
01-06-2009 01:34 AM
01-06-2009 01:55 AM
01-06-2009 03:06 AM
01-06-2009 03:12 AM
01-06-2009 03:22 AM
Hi Yong Hoe,
In this case, you need to write your own algorithm to change boolean status of LED.
I recommend you to read through some LabVIEW tutorial from http://zone.ni.com/devzone/cda/tut/p/id/5241 so that you understand a basic of programming and how to use LabVIEW.
Then, you can go on with your project.
Regards, Kate
01-06-2009 03:28 AM
Hi KateB, i can find the DAQmx example already, but the vi is too hard to understand for me, i just need 4 led blink automatically or sequencely, while my main point is it is work in practical, which means i will have 4 real LED in hardware.
01-06-2009 05:35 AM