Programming Tutorials
Tutorials for programming Brainboxes ED Ethernet I/O devices using various languages and frameworks.
📄️ How does the Brainboxes.IO API work with IO Lines which are either inputs and outputs?
Some of the Brainboxes Ethernet IO Modules have lines which can be either inputs or outputs. (e.g. ED-204, ED-004 and ED-008).
📄️ How do I control the IO lines through the Web Admin interface?
The BB-400 contains 8 ports that are individually selectable as inputs or outputs, located on the green and yellow terminals. It is possible to control the IO lines via the Web Admin interface and this FAQ will discuss the different configurations available and their details. For more information regarding the DIO lines please refer to the DIO lines FAQ.
📄️ How do I count boxes?
files/pages/support/faqs/Images/boxes production line laptop.jpg
📄️ How do I get data out of a remote IO module and into a database?
It can be easy to upload channel values into a database. This FAQ covers how to send data from an ED device to an SQL database using Brainboxes’ free API and a little knowledge of C# programming language.
📄️ How do I query the state of my ED devices IO lines in Matlab?
The Boost.IO Manager application must be installed on your computer for the code below to work. This is because a COM port will be assigned to the ED device when it is installed in the Boost.IO Manager. When the ED device is installed as a COM port on your computer, it will not always install as COM3. Therefore you may need to edit the COM port value in the code below so that it uses the COM port for your ED device.
📄️ How do I send an email when an alarm goes on my production line?
One of our most frequently asked remote monitoring questions is "can I get an email alert when something happens?"
📄️ How do I use C++ to communicate with my Remote IO Module?
C++ is a popular multi platform programming language. Brainboxes have created a API (Application Programming Interface) which allows easy integration of Brainboxes Ethernet IO Modules (ED-xxx) into your C++ code.
📄️ How do I use my Ethernet-to-Digital device on Linux?
Linux support for the Brainboxes Ethernet-to-Digital (ED) range of devices
📄️ How do I use Node.js to communicate with my remote IO Module?
Node.js is a JavaScript runtime library which is a widely used language for server side programming, particularly when IO is needed.
📄️ How do I use Perl to communicate with my Remote IO Module?
| Download |
📄️ How do I use PHP to communicate with my Remote IO Module?
| Download |
📄️ How to communicate using ASCII TCP between the BB-400 and a Linux or Windows system
This FAQ explains how to communicate using ASCII TCP between the BB-400 and a Windows system using TeraTerm or a Linux system using Telnet.
📄️ How to subscribe to power change events
BB-Core enables users to subscribe to events. These events provide information about the change in LEDs and power on the BB-400. The user can subscribe to these events by using the following curl command: