-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Unknown attribute ResourceAttribute.suppress_end_enabled (VI_ATTR_SUPPRESS_END_EN) #293
Comments
|
This attribute appears to be accessed in |
|
Thanks for the quick response. I'll try adding |
|
The first fix seemed to work, thanks for sparing the time! I'd be happy to throw up a PR. |
fix #293 - Handle SUPPRESS_END_EN in usb.py
I'm not entirely sure how I can reproduce this issue. I have an automated test that runs a lot of extra layers and I'm not able to reproduce the issue outside of using the device in the test. The issue occurs 100% of the time for me.
I'm using an ITECH- IT7321 device. It has a USB port for communication.
To Reproduce
Steps to reproduce the behavior:
I started debugging this issue but I haven't found a great explanation of what VI_ATTR_SUPPRESS_END_EN is. Could someone provide some details about this? It might help me isolate the issue to make something reproducible.
In my code I have a separate thread polling three measurements from the device. This occurs every 0.1 seconds.
instr.query(":MEASURE:CURRENT:AC?;:MEASURE:VOLTAGE:AC?;:MEASURE:POWER:AC?")In another thread I am running additional threads for communicating with serial devices unrelated to pyvisa.
The error I have is below:
Output of
pyvisa-infoNote I tried downloading and compiling libusb1 from source to get the newest version in case that may help.
The text was updated successfully, but these errors were encountered: