-
Notifications
You must be signed in to change notification settings - Fork 303
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
Data conversion documentation #1162
Comments
Can you provide some context? What is the buffer format you have now? What device are you talking to? Have you tried the existing tools that use these functions like IIO-Scope and pyadi-iio? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone,
I am unable to understand the exact format conversion achieved with iio_channel_convert .
It says in the documentation the output goes to uint16_t but I did not get how exactly this is achieved.
Maybe more importantly, when I try to run very same configuration from MATLAB, I get consisted quite small double values whereas when I get samples and convert them from hardware format using
iio_channel_convert(rx0_q, &converted_data, &q);
, I get many zeros and only a few too huge numbers.Can you help me understand or provide a documentation that I could not reach before so that I can get the similar set of conversion using C?
Best,
The text was updated successfully, but these errors were encountered: