Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous sequence for led controlling

Solved!
Go to solution

HiHi,

 

I have a problem I am suppose to control the LEDs from labview. Controlling of total of 4 leds using NI 9263 as an interface.

So far I only manage to control it using 4 boolean. I need to do it as one of the led light up at a time and it is continuous in a circle.

for all the four leds using the DAQ Assistant total of 4 channels. So how do I make it work? Is it possible if I use one boolean to control all

4 channels? 

0 Kudos
Message 1 of 5
(3,762 Views)
Solution
Accepted by topic author christopher88

Hello,

 

Something like the attached maybe?

0 Kudos
Message 2 of 5
(3,752 Views)

Hi,

 

How do I light up the following attach file using the analog output.

Currently I would like to light up the led when the signal received is

more than 5 but light off when it is less than 5. So how do I go about doing it?

 

Regards

Christopher

0 Kudos
Message 3 of 5
(3,704 Views)

I suppose the simple answer would be something like the code below but I have no idea how dynamic data is handled in a situation where you have multiple samples. Just like, what is being displayed in your scalar indicator - is it the first sample, last sample, what? Do you maybe want to take the mean of all samples? What do you want to do if one sample out of all them is below 5 volts? What do you want to do if one sample out of all of them is above 5 volts? If you don't care about all of the samples, why are you taking so many?

 

I really avoid dynamic data so I can't even answer what is being passed to the digital DAQ Assistant - is it multiple Booleans (i.e. an array) or a single one.

 

 

Comparison.PNG

0 Kudos
Message 4 of 5
(3,702 Views)

Hi, I would like to know how do I set the coding to the hardware led instead of the boolean led in the labview.

0 Kudos
Message 5 of 5
(3,691 Views)