Lalitha;
The VI you mentioned generates a finite pulse train using two counters. The chosen counter generates the finite pulse train on the default out pin. The gating counter controls or gates the chosen counter. This example uses counter pairs to determine the gating counter. The previous counter generates a single pulse that will gate the other counter which generates the pulse train. So, the pulse train generation will be "on" when the output pulse of the other counter is high, gating the pulse train generation counter.
I don't know how you motor works, however, since you are seing the correct number of pulses and frequency on the scope, that means the VI is doing what it is suppose to do. You need to figure out the transfer function in between the puls
e train that clocks the motor and its speed. Maybe, there is a scale factor in between those two parameters that is being overlooked.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments