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

Support for 2-channel scopes? #5

Open
mattncsu opened this issue Jul 17, 2023 · 0 comments
Open

Support for 2-channel scopes? #5

mattncsu opened this issue Jul 17, 2023 · 0 comments

Comments

@mattncsu
Copy link

Hello, I am testing keyoscacquire with a Keysight DSOX1202G and when issuing the scope = koa.Oscilloscope('LONG ADDRESS') command, the library responds with:
Connected to: KEYSIGHT TECHNOLOGIES DSOX1202G (serial CN######)

Then after a delay there is a timeout when trying to query ':CHAN3:DISP?'. Since this is a two channel scope, polling channel 3 causes an error. Changing the range(1 to 5) to range(1 to 3) on lines 319 and 326 of oscilliscope.py clears the error but now it is hardcoded for 2 channels.

Since there isn't a standard SCPI command to determine the number of channels on a scope, perhaps channels could be added as a parameter when initializing.

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

1 participant