From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counts too slow on powerful DAQ - Read from one digital channel.

Hi, 

Im blinking an LED's and counts how many times it goes high/low (true/false). The LED is connected to my digital channel P0.7 on my DAQ 6351. I configured  some of the examples from LabVIEW Help, but my problem is, when I count, it only counts around 120 and it is supposed to count 150 times in 10 seconds.

What is it in my systems that I can't count the last 30 times? Is it my DAQ.mx Read or something else? 
It's pretty important for mu further system, that it counts correct.

 

The true/false case at the buttom is just what is inside my first true-case. 

 

Thanks in advance! 

 

Detecting high_low on one LED.png

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

That board has a counter, so just use it and make your life easier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,855 Views)

And beside using hardware features as already suggested: learn to use shift registers!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,834 Views)