Giter Site home page Giter Site logo

Comments (2)

han94ros avatar han94ros commented on July 3, 2024

Hi Charles

I am Sarah's colleague, and the issue was that in your VoltageLock C++ function you have defined the CtrlChannel as the first parameter followed by the ErrorChannel as the second. The order is reversed for the documentation of the LOCK arduino command in the manual. You can close this issue now.

from digitaltemperaturecontroller.

charlesbaynham avatar charlesbaynham commented on July 3, 2024

Hello both,

Great to hear you're using the board! Thanks for finding this documentation error, I'll get that sorted out.

For future reference, the CommandHandlerReturn codes come from here:

// Error messages
enum class CommandHandlerReturn {
NO_ERROR = 0,
COMMAND_NOT_FOUND,
WRONG_NUM_OF_PARAMS,
ERROR_PARSING_COMMAND,
EMPTY_COMMAND_STRING,
NO_COMMAND_WAITING,
MALLOC_ERROR,
OUT_OF_MEM,
BUFFER_FULL,
COMMAND_TOO_LONG,
EEPROM_FULL,
UNKNOWN_ERROR
};

So e.g. error 1 means "command not found" and error 2 means "wrong number of params".

For controlling the board you'll find a Labview interface here: https://github.com/charlesbaynham/DigitalTemperatureController/tree/master/Code%20for%20Labview. This includes a driver which implements most of the serial commands, as well as a basic GUI (which might be a bit buggy: sorry!). I'd probably recommend using either the labview driver VIs or implementing a simple one in python. Another package I've written might help with this: https://github.com/charlesbaynham/GenericSCPIDriver/.

Let me know if you have any other question!
C

from digitaltemperaturecontroller.

Related Issues (3)

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.