Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase data output explanation #119

Open
andrewruba opened this issue Sep 23, 2020 · 4 comments
Open

Phase data output explanation #119

andrewruba opened this issue Sep 23, 2020 · 4 comments

Comments

@andrewruba
Copy link

andrewruba commented Sep 23, 2020

Hi! This is a really fun api. I got it working with an older Thingmagic Vega reader I bought on ebay and my raspberry pi. I have a question about the phase of the tag. For me, it seems that the phase values are in the range 0 to 65535. Here is a typical time sequence of readings: [65257, 65473, 65359, 65311, 65290, 65465, 65336, 2080, 65052, 65369, 462, 88, 65239, 526, 265, 65439, 2006, 64968, 36, 544, 65143, 64625, 1593, 65406, 601]

Can someone help me understand what these represent? Is it 0 to pi or 0 to 2pi scaled to a 16 bit range? Is it some kind of encoding? Is it just an error?

@ghost
Copy link

ghost commented Jan 27, 2023

Do you have your code?

@andrewruba
Copy link
Author

andrewruba commented Jan 27, 2023

I don't know exactly where it is at the moment (haven't played around with this in a while) but I recall only using a few lines of code to connect the reader and read the phase data from TagReadData Object. Nothing fancy.

@ghost
Copy link

ghost commented Jan 27, 2023

Oh ok. I tried using their provided test.py, but it only prints out an empty list. If you have free time, do you mind trying to find it? Thanks!

@andrewruba
Copy link
Author

Your reader might not have phase data to give to the api, just fyi. You can check the docs for your particular model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant