LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i determine frequency (Hz) from a '1d array of digital waveform' from my encoder

hello all,

 

i am 'simply' trying to get LabVIEW to indicate frequency of a digital squarewave (A or B signals) coming from a rotary encoder.  i have LabVIEW 14 and a NI USB-6363 DAQ.  'For the life of me', i can't get it to work - LabView reports that the two data types are of "different types" and that the "sink is void".  i've tried all the options in the "Convert to Dynamic Data" vi but LabVIEW still reports the same issue.  Any ideas?  (please see my attached vi and jpegs).  i realize i will want to use a better indicator later, but i'd like to resolve the error first.

 

thanks,

john

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

It's a little complicated going from a digital waveform to an analog waveform, but see if this works for you.


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
(3,891 Views)

thanks for your timely response, crossrulz....i will try!

 

-jac2015

0 Kudos
Message 3 of 3
(3,872 Views)