Make USB communication work again (with my Mac and Oscilloscope, at least)#10
Open
th-in-gs wants to merge 1 commit intordpoor:masterfrom
Open
Make USB communication work again (with my Mac and Oscilloscope, at least)#10th-in-gs wants to merge 1 commit intordpoor:masterfrom
th-in-gs wants to merge 1 commit intordpoor:masterfrom
Conversation
- (On some platforms?) pyvisa-py uses decimal numbers for the VID/PID values. This change allows both the hex and decimal representations to work when finding the Rigol device. - After fixing the above, I could still never get a screenshot to save - there were always errors deep in pyvisa. The problem I was having is documented here: pyvisa/pyvisa#481. '64 - 12' (52) seems to be the maximum chunk size that allows reliable communication. I left it as '64 - 12' in this change rather than simply 52 to match the code quoted in that issue. Both these changes were required to allow the script to work with my scope (a MSO1075Z), running DS1000Z firmware v00.04.05.02.00, connected to my M2 Mac running macOS Ventura 13.3.1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Both these changes were required to allow the script to work with my scope (a MSO1075Z), running DS1000Z firmware v00.04.05.02.00, connected to my M2 Mac running macOS Ventura 13.3.1.