Code Monkey home page Code Monkey logo

keyoscacquire's People

Contributors

asvela avatar k9bbzjavftzaqaqsw3dy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

keyoscacquire's Issues

Support for 2-channel scopes?

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.

setup depend on pandas

  1. install_requires miss pandas package
  2. Would you enhance the feature to save screenshot to PC?

Support Infiniium series

Hello,
While searching for controlling lab equipment via Python I found your code. Looks very clean, well documented, super !
In our lab we have an Keysight MSOS404A and DSOV084A. Connected via ethernet network.
While trying your code I get the following error:

Connected to:
  KEYSIGHT TECHNOLOGIES
  MSOS404A (serial MYxxxxxxxx)

VisaError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  When trying query ':ACQuire:TYPE?'  (full traceback below).
  Have you checked that the timeout (currently 30,000 ms) is sufficently long?
Latest errors from the oscilloscope (FIFO queue, upto 30 errors)
 0: -113
 1: -113
 2: -420
 3: 0
....

I saw in the documentation you added support for the Infiniium series, is this also something which needs adjustment for our series?
Kind Regards, Hans

Reading error message from scope

Add function in oscacq.py to extract error from oscilloscope's error queue. Consider clever way of asking for error before connection is terminated due to failure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.