Beaglebone as a USBTMC Device

55 views
Skip to first unread message

Matt Bradley

unread,
Jan 13, 2019, 11:51:48 PM1/13/19
to BeagleBoard
Hello,

Does anyone know how to make the Beaglebone Black into a USBTMC device?  

Please note: I am not trying to control USB devices (like multimeters and oscilloscopes) with the Beaglebone.  I am trying to make a new instrument and will use the Beaglebone as the brains of the instrument.

I know it can be done, but I do not have any idea how to do it.  Thanks!

-Matt Bradley

Graham

unread,
Jan 14, 2019, 10:27:09 AM1/14/19
to BeagleBoard
Matt:

Although I have never done what you are asking about, I note that there is an available USBTMC driver for Pythonf.
Python is a reasonable choice for test equipment control and scripting.
You might want to Google "Python USBTMC."

Both Python 2 and Python 3 are readily available for the BBB.

--- Graham

==

Adrian Godwin

unread,
Jan 14, 2019, 10:42:28 AM1/14/19
to beagl...@googlegroups.com
If I understand Matt correctly, he doesn't want what Python USBTMC does. I believe that's a Python application (which might run on a BB) that accesses instruments having USBTMC interfaces.

Matt wants to make the Beaglebone one of those instruments. He therefore needs to have the BB offer a USBTMC device on its device port.

I don't know if such a driver already exists or what would be required to create one but I would start here :

http://wh1t3s.com/2009/05/11/beagleboard-as-usb-mass-storage-device-via-usb-otg/

This explains how to build the kernel with alternate device interfaces such as MIDI.





--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/47706941-f0ac-43f4-8f93-aef2538fdfd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Graham

unread,
Jan 14, 2019, 12:15:41 PM1/14/19
to BeagleBoard
Adrian:
You are correct, I misread his request.
--- Graham

==

Matt Bradley

unread,
Jan 14, 2019, 12:26:25 PM1/14/19
to beagl...@googlegroups.com
Adrian is correct. Python USBTMC allows me to control USBTMC devices,
it does not make the Beaglebone into a USBTMC device. I will check out
the link you sent me and see if it helps. If anyone has experience
doing this, please let me know. Thanks.

-Matt
> <mailto:beagleboard...@googlegroups.com>.
> <https://groups.google.com/d/msgid/beagleboard/47706941-f0ac-43f4-8f93-aef2538fdfd6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard...@googlegroups.com
> <mailto:beagleboard...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CALiMYruuwyj6jAacrK7wXE9hAzXC6XE13NSvFiPmp%2B7%2BUm42zQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CALiMYruuwyj6jAacrK7wXE9hAzXC6XE13NSvFiPmp%2B7%2BUm42zQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages