Hi Gohith,
I went though FreeMASTER library and noticed that the status codes were updated, but this was not reflected in the documentation. Correct status codes are as follows:
0 - not configured
1 - configured, stopped, no-data
2 - running
3 - stopped, not enough data sampled (previously was 4)
4 - stopped, data ready (previously was 5)
You are getting correct status codes but their meaning is mismatched. We will update the documentation accordingly.
Apologies for the inconvenience,
Iulian