I done this in the following way.
Encoder output is connected to PFI0 and CTR0_SOURCE.
AI is getting triggered by PFI0 and Counter Input is configured for Counter Edge.
Once this over this datas are logging into a file.
Problem is... as per the flow once i finished the loop i.e pulse count *0.144( which is the angle for each pulse, because i am using 2500PPR Encoder) reaches 70, pulse count will be 486 and the same time if you check the file , we wont have 486 datas in it, we will missing some 50-100 data on that.
this encoder movement is manual and speed varies always.
this missing data in file will happen only if the speed of encoder movement increased.
can we make this independent of speed ???
pls refer the attached file for program flow.
Joe
Using Ver. 8.0