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

Fix python example issues on Gen4 device #291

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

xyan264
Copy link
Collaborator

@xyan264 xyan264 commented Oct 19, 2021

Gen4 device does not need sending MRPC_DIETEMP_SET_MEAS command before reading device temperature, so the python example gets an error when running on Gen4 device.

We determine device Gen using MRPC_PING command, and skip MRPC_DIETEMP_SET_MEAS for Gen3 device.

Gen4 device does not need sending MRPC_DIETEMP_SET_MEAS
command before reading device temperature. Device
generation information is determined using MRPC_PING
command
Copy link
Collaborator

@lsgunth lsgunth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starts to get a bit more complicated than we'd like for an example. There are other examples that probably need to be fixed as well that are going to be harder. Might be better to change to a different MRPC command for the example.

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

Successfully merging this pull request may close these issues.

2 participants