LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to switch On and Switch Off LED using the Lab view

Solved!
Go to solution

Ravens Fan wrote:

Are you an NI employee?  If not, how did you get a blue bar for your user name?


I certainly hope not, based on the caliber of the question. Smiley Surprised

 

I remember reading on one thread that whatever made the determination of the color of the bar sometimes got a little "confused" and would incorrectly assign a blue bar to someone who wasn't from NI. 

Message 11 of 23
(2,179 Views)

smercurio_fc wrote:

I certainly hope not, based on the caliber of the question. Smiley Surprised

 

I remember reading on one thread that whatever made the determination of the color of the bar sometimes got a little "confused" and would incorrectly assign a blue bar to someone who wasn't from NI. 


I agree.

I do remember a thread that discussed some users falsely marked as NI.  I want to say it has something to do with NI somehow being a part of their user login e-mail name.

0 Kudos
Message 12 of 23
(2,177 Views)

Hi, 

 

How do I control the LED to switch On and Off using the labView.

As the LED (external hardware) is control by the NI module 9263.

By the way I am using labview 8.6.

Do I need to power up the led using the power supply?

Can you show me how to do it?

 

Thanks 

0 Kudos
Message 13 of 23
(2,097 Views)
The NI 9263 is a simple analog output module. It has only 4 analog output channels, capable of +/- 10 Volts, but only 1 mA of source current. You may be able to connect an LED to it if you could find one that uses less than 1 mA. Off-hand, I don't know of any, but you can search electronics supply stores on the internet to see if any are exist. Your alternative is to build a drive circuit for the LED. There are tons of these available on the internet. Just pull up your old friend, the Google.
Message Edited by smercurio_fc on 06-29-2009 08:12 AM
0 Kudos
Message 14 of 23
(2,087 Views)

smercurio_fc wrote:
The NI 9263 is a simple analog output module. It has only 4 analog output channels, capable of +/- 10 Volts, but only 1 mA of source current. You may be able to connect an LED to it if you could find one that uses less than 1 mA. Off-hand, I don't know of any, but you can search electronics supply stores on the internet to see if any are exist.

That is correct. I think it would be a lot quicker to search electronics supply stores for a driver circuit. I know a few LEDs that only require 1mA. But this is the max the NI 9263 can drive. 

And Yes, you do need an external power supply



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 15 of 23
(2,072 Views)

Coq rouge wrote:

That is correct. I think it would be a lot quicker to search electronics supply stores for a driver circuit. I know a few LEDs that only require 1mA. But this is the max the NI 9263 can drive. 

And Yes, you do need an external power supply


Why would you need an external power supply? If LEDs that work as low as 1mA do indeed exist (can you actually see them?) then you can use one of the analog outputs of the module as the source. Why would you need an additional power supply?

0 Kudos
Message 16 of 23
(2,062 Views)

Quite a few LEDs will glow dimly at 1 mA.  Some digital multimeters source 1 mA in the Diode Test mode and they will light up many LEDS.

 

I think Coq rouge was referring to the use of the external driver when he said an external supply would be needed.

 

Lynn 

0 Kudos
Message 17 of 23
(2,058 Views)

OK smercurio_fc

Let me put it this way. I guess the NI 9263 can drive loads that require more than a 1 mA, but then you must offer some accuracy(not needed for LED). But the device will not take no harm. But as I say this is only a guess. But that I know is that this user is a beginner and beginners has the habit of frying circuits. So it is better he fry some drivver circuits than the much more costly NI 9263 device. Besides 1mA LEDs may be hard to get. But buffers are cheap and easy to get.  What do you think.

But I agree. If this user is an experienced user and know 110% what he is doing all the time. Then he may order a 1mA led and use it. I gave my advise because I have fried a lot of circuits in my life. And know it is better to be safe than sorry....



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 18 of 23
(2,053 Views)

I hear where you're coming from. I agree that a driver circuit is probably going to be needed.

 

However, I don't see the chance of much frying with just 1 mA. Smiley Wink

0 Kudos
Message 19 of 23
(2,038 Views)

Thank you guys for the information..

 

But than if I have fixed the external led but how than do I run from the labview to control the led to turn on and off.

Let's I am using labview 8.6 DAQ Assistant (Express)?

What do I need to connect to the DAQ to make it work?

 

Thanks

0 Kudos
Message 20 of 23
(2,032 Views)