the sample rate set as 500Hz, sample per loop 500, cycle 100. I found the task was finished in 10 s instead of 100s.
what i dont understand is the time taken for this task. i suppose per loop takes 1s, 100 cycle should be 100s. furthermore, the input is 1kHz, however the counting is 0.
The VI scheme was attached.