how do I de-multiplex and sample signals that shares 1 input analog channel?

2004-04-24 Thread student researcher
Here is the deal: There are 2 LEDs(1 RED and the other Infrar Red) share 1 light sensor; I need to have a sampling sequence of RED on and IR off, IR on and RED off, and both OFF and then repeats. Since they share 1 light sensor so there is only 1 analog input to my DAQ board. How do I set up the

Re: how do I de-multiplex and sample signals that shares 1 input analog channel?

2004-04-24 Thread Dennis Knutson
Is there any difference in the sensor output depending on which LED is on? For example, do you have x volts for the red LED, y volts for the infared, and something else for both on? If there isn't, I don't see how you could differentiate between one or the other being on.

Re: how do I de-multiplex and sample signals that shares 1 input analog channel?

2004-04-24 Thread student researcher
There will be very small difference in the sensor output depending on which LED is on, and when they are both off, the output will have a distinctive smaller voltage range. So if this is not doable in LabVIEW, I need to use an intermediate circuit that will control the LED turning on/off sequence,

Re: how do I de-multiplex and sample signals that shares 1 input analog channel?

2004-04-24 Thread Dennis Knutson
Maybe you could explain exactly what you need to measure. If you have to verify that only one LED is on at a time, then I don't think you can do it with only one sensor or only one that can't differentiate. LabVIEW has nothing to do with it. If your aim is to simply turn the LEDs on and off in a

Re: how do I de-multiplex and sample signals that shares 1 input analog channel?

2004-04-24 Thread Dennis Knutson
So the sensor isn't for the detection of the LED itself but the light that passes through some sample? If that's the case, then LabVIEW and a DAQ board should be able to do the job. I'm not at a computer with LabVIEW right now so I can't post an example but you would have a while loop that would