Solution
To get the edge count, you need to change the NI DAQmx Read (Counter DBL) VI to NI DAQmx Read (Counter U32) VI to read unscaled 32-bit unsigned integer sample from counter task.
Below image is an example of using NI DAQmx Read (Counter U32 1Chan 1 Samp) VI.
