Git Product home page Git Product logo

usbtmc-host-driver's People

Contributors

naonaome avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

usbtmc-host-driver's Issues

Callbacks or Serial Number for OnReceived

Hi there,

assuming a Setup with multiple TMC Devices, would it be possible in USBTMCAsync::OnReceived to know which Device (by SerialNumber?) the received Message is from?

further, would be possible to access received data from the Class?

Usbtmc.Run();
Usbtmc.Request("MEAS:VOLT:DC?");
// something like this?
Usbtmc.Receive(); // -> return value float 2.23 | e.g. Results in Volts from a Multimeter.

What i want to achieve is tracability or correlation from a specific request to it's response.

Thanks!

Message size must be less than 20 chars

Hi!

Is there a way to let the commands get past 20 bytes?

Some commands of my oscilloscope are very large, such as:

:MEASure:VRMS DISPlay,DC,CHANNEL1

And also even longer if I want to use a command that allows me to use annotations on screen.

Is there a way to send more than 20 bytes?

I really like your library it works quite well!

Thanks a lot!!!

SAMD USB Host

Would you be able to modify this library for the SAMD Arduino boards which have USB host built-in?

write OnReceived Callback to variable

Hi there,

first of all, thanks for this awesome library.
I do have a question regarding the read from Device callback.
As i understand it now, each character received fires the callback, correct?

this, in turn, means that there's no way to see if a response string is complete / ended, yes?

How would read from the device and buffer / save the response in a String?

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.