Giter Site home page Giter Site logo

hardware's People

Stargazers

 avatar

Watchers

 avatar  avatar

hardware's Issues

readme not accurate

The README states that one can invoke:

make help, make test, make upload, etc..

This is inaccurate, since make help isn't a legit target:

λ make help
"help" is not a valid recipe. Type "make" for help

I recommend either updating the README or changing the target in make.bat. Happy to send in a pull request, just lmk which one you'd prefer.

Clean up __init__.py

There's a lot of code in here, that's very redundant. There is probably a way to consolidate a lot of this code.

Especially for two physical devices with slightly different IDs, that can be controlled by the same class.

When an instrument is initialized, log it

It would be nice if all of the print statements in __init__.py were replaced with logging statements. Also, if the state of each machine could be logged to a file as well.

Replace large dictionaries with enums

There are several places where large dictionaries are used:

  • lia status bytes
  • lia time constants
  • lia sensitivities
  • awg waveforms

These could be replaced by enum classes.

Fix DAQmx Status Code -200557

Occasionaly, runing daq.read() spits out these errors.

Status Code: -200557
in function DAQmxStartTask
DAQmx Error: Specified property cannot be set while the task is running.

It doesn't trigger any exceptions, but terminates the read almost instantly. You end up getting a large zero vector.

make test not working

Did I miss a step?

λ make test
'py.test' is not recognized as an internal or external command,
operable program or batch file.

oh, looks like a hidden dependency?

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.