Freemaster lite "GetRecorderStatus" can return value 0x05 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freemaster lite "GetRecorderStatus" can return value 0x05 ?

1,865 Views
UserTetraWise
Contributor I

Hello Community,

On performing Freemaster Lite and using method  GetRecorderStatus, I tested for multiple scenarios and got the values 0, 2, and 4 back as expected but not 5 even the data is ready (I assumed because of checking the samples after download)

later using GetRecorderData to download. Am I missing something here ?

(Using Python Script)

Best Regards,

Gohith Kanchinatham

0 Kudos
Reply
2 Replies

1,855 Views
iulian_stan
NXP Employee
NXP Employee

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

 

1,835 Views
UserTetraWise
Contributor I

Hi Iulian,

Yes, I am getting response '4' for only samples less than or equal to '100' (When set in recorder config under 'pointsTotal') and it was not stable ( sometimes getting '2' even).

---But after increasing samples more than '100', the response code is always '4'.

Regards,

Gohith

 

0 Kudos
Reply