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

Channel enable/disable started behaving weird... #6

Open
DrBwts opened this issue Jan 17, 2022 · 4 comments
Open

Channel enable/disable started behaving weird... #6

DrBwts opened this issue Jan 17, 2022 · 4 comments

Comments

@DrBwts
Copy link

DrBwts commented Jan 17, 2022

It was all working fine before Xmas but now whenever I uses j.setchannelenable(True, True) the channels sometimes turn on & off but always raises the exception UnexpectedReplyError(ret)

It doesnt seem to matter which channel I'm enable/disabling I sometimes get what I asked for but always get that exception.

Things I've changed, I'm now running from a virtual environment which has QCodes in it that needs Python 3.8 or above, will this effect the functionality of your code?

@on1arf
Copy link
Owner

on1arf commented Jan 18, 2022 via email

@DrBwts
Copy link
Author

DrBwts commented Jan 18, 2022

All the commands return the exception. When I put them in a try: .. except: ... they all do their jobs except the change frequency method that does nothing.

@on1arf
Copy link
Owner

on1arf commented Jan 18, 2022 via email

@DrBwts
Copy link
Author

DrBwts commented Jan 19, 2022

j.DEBUG_readregister(0, 0)
b':r00=15.\r\n
j.DEBUG_writeregister(0, 100)
b':ok\r\n
j.DEBUG_readregister(0, 0)
b':r00=15.\r\n

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

2 participants