No, when I connect the current sensor to the boardd then I am getting right reading. But when i unplugged it then i am still getting. So, i think this is because of two while function in one loop.
The sensor interfacing with arduino is
Ignore the 5V input voltage as this sensor using +/-15 which I am powering from the external power supply.
Thanks