Freemaster lite "GetRecorderStatus" can return value 0x05 ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Freemaster lite "GetRecorderStatus" can return value 0x05 ?

1,971件の閲覧回数
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,961件の閲覧回数
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,941件の閲覧回数
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 件の賞賛
返信