ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array

Hi there,

I need to make a low-frequency counter. Please see my attachment. I use "Input" button to simulate digital input. The counter LED and # change shows if there is a change happen (i.e. 0 to 1, or 1 to 0). Everything is ok until I found problem with my output array. The "straight array" show all data per 1 sec (delay). Nothing wrong with that array, but I want my array only consist of logic value and the time when the change happen. I try to make "filtered array" but I can't get rid off the empty value for the array. Any idea ? Tx
Ghost Recon Team Leader
0 Kudos
Message 1 of 3
(2,830 Views)

You were just stripping data out of the array -- not deleting the index.  I adjusted your filtered array to only build on change by adding a shift register.  Let me know how it works.

 

Tom

0 Kudos
Message 2 of 3
(2,818 Views)
Thank's Tom, it works perfectly !!! You really solved my problem.

Ghost Recon Team
Ghost Recon Team Leader
0 Kudos
Message 3 of 3
(2,800 Views)