LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading digital and analog channels at the same time

I am having some problem reading Analog and Digital Channels at the same time. 

I am using DAQ from Data Translation. I want to turn on the LEDs based on the value I am getting in the channel. 

But when I run, I can get one part working (either Digital or the Analog) at one time. Both of them don't work at the same time. I have attached the VI I made.

Is there something I am doing wrong here?

 

Thanks in advance.

0 Kudos
Message 1 of 3
(1,994 Views)

Your code looks complete and should work fine...

So when you're running this code (with ANALOG and DIGITAL acquisition in same loop), which one is (ANALOG or DIGITAL) is working here??

Are you seeing any error in the other loop (specially in DIGITAL loop, because in ANALOG loop if any error will occur, it will pop up for you, as in ANALOG loop the error handling is missed).


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 3
(1,970 Views)

Sorry for the late reply. 

 

Actually, I don't get any errors when I run it. Its just digital doesn't channels don't work (doesn't turn on the LEDs). But when I disconnect the VI for the analog part, digital part starts working.

0 Kudos
Message 3 of 3
(1,934 Views)