Freemaster lite "GetRecorderStatus" can return value 0x05 ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Freemaster lite "GetRecorderStatus" can return value 0x05 ?

1,850 次查看
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 项奖励
回复
2 回复数

1,840 次查看
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,820 次查看
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 项奖励
回复