Official .NET API code package for communication with Brainboxes Ethernet-attached data acquisition and control devices, and is provided by Brainboxes Limited. Documentation: https://www.brainboxes.com/files/pages/support/faqs/sample_code/Brainboxes.IO.Documentation/html/N_Brainboxes_IO.htm Designed for Brainboxes Digital and Analog Remote IO and Ethernet to Serial devices including: BB-400, ED-588, ED-516, ED-527, ES-246, ES-257 and the rest of the Brainboxes ED and ES range. Targets .NET 10, .NET Standard 2.0/2.1, .NET Framework 4.8 This package can run on Windows 7, 8, 10, 11 and Server 2008, 2012, 2016, 2019, 2022 and 2025 using .NET Framework. It can also run on Windows IoT Core, Linux, Raspbian or macOS using .NET
$ dotnet add package Brainboxes.IOOfficial .NET library for monitoring and controlling Brainboxes Ethernet-attached data acquisition and control devices.
using Brainboxes.IO;
using (var device = EDDevice.Create("192.168.0.100"))
{
device.Connect();
// Set digital output 0 high
device.Outputs[0].Value = 1;
// Read all digital inputs
foreach (var input in device.Inputs)
{
Console.WriteLine($"Input {input.IONumber}: {input.Value}");
}
}
using (var device = EDDevice.Create("192.168.0.100"))
{
device.Connect();
device.IOLineStateChanged += (sender, e) =>
{
Console.WriteLine($"Line {e.Line} changed to {e.State}");
};
Console.ReadKey();
}
| Series | Devices | Description |
|---|---|---|
| ED | ED-204, ED-516, ED-527, ED-549, ED-560, ED-582, ED-588 | Ethernet Remote IO (digital and analog) |
| ES | ES-246, ES-257, ES-446, ES-457 | Ethernet to Serial |
| BB | BB-400 | Industrial Raspberry Pi with I/O |
| Framework | Platform |
|---|---|
| .NET 10 | Windows, Linux, macOS |
| .NET Standard 2.1 | Any compatible runtime |
| .NET Standard 2.0 | Any compatible runtime |
| .NET Framework 4.8 | Windows |
Unlicense (public domain)