Decoding Power Data Objects in Python
Getting Power Data Objects from Acroname API
If you've used HubTool, you've probably seen this helpful screen:

And perhaps thought: "I'd really like to use those values (5.00 VDC, 3A) in my python script!"
If you've used HubTool, you've probably seen this helpful screen:
And perhaps thought: "I'd really like to use those values (5.00 VDC, 3A) in my python script!"
If you are not familiar with PyInstaller it is an application that allows you to bundle a python file or project into a single executable by providing a fully encapsulated environment. The benefit being that you won't need to fuss with setting up a python environment. Simply execute the application.
Many times pyinstaller can be excuited without any additional commands such as:
At Acroname, we hate it when customers have issues with software and that’s why we provide deployments for Windows, Mac and Linux across various architectures.
Acroname's hubs are a robust hardware solution to many common usb related tasks: remotely simulating a manual plug-cycle, charging (or not charging) batteries on connected devices, and switching control between two host computers.
Check out our new YouTube video "Up and running with BrainStem using our Python API".
This video details how to properly configure your system to communicate with our Brainstem modules. It includes: installing Python, pip, and the BrainStem API (.whl). Once everything is up and running a basic example using a USBStem module is shown. Configuration, along with the examples, are shown for both Windows and Macintosh platforms (also compatible with Linux).