The batched is also used the same setting as the software-timed acquisition but using the different sample mode which is N samples. In addition, the program is set sample to read to 2000 and rate of 10000 Hz. To test this experiment, we test by changed running time of second loop from 1000, 100, 10 and 0 ms respectively. We found that the behavior of data that had been plot into the graph is have full period only from 10 to 100 ms but the 1000ms only have 20% of the period.