Linear Sensor Array-TAOS1401

I have just set the clock and SI in the loop that runs for 128 cycles as given in the datasheet nothing else apart from that…

Now the problem is that my sensor randomly reads only once, later on i get only '0’s.
What could be the problem? How to make it to read continuously?

TSL1401.pdf (122 KB)