Skip to main content

18 docs tagged with "csharp"

View all tags

Architecture Overview

The Brainboxes.IO library is organised into three layers: Connection, Protocol, and Device. Each layer has a clear responsibility, and the layers compose together to provide the public API.

Device Reference

Complete reference of all Brainboxes devices supported by the Brainboxes.IO library.

Ethernet to Serial Guide

This guide covers using ES-series devices to communicate with serial devices over Ethernet using the Brainboxes.IO library.

How do I send an email when an IO line changes using C# (Sharp)?

This FAQ will show you how to send an email when a digital Input or Output is triggered. The email is sent over SMTP. Note this FAQ also applies to Brainboxes Remote IO (ED) device range, but the code will have to run on another piece of hardware (e.g. a PC or laptop). For further information on how to set up your development environment and write C# for the BB-400 please follow the FAQ Write C Sharp Application for BB-400.

How do I use C# to control my Ethernet to Serial device?

Brainboxes provides a .NET API which allows easy integration of Brainboxes Ethernet to Serial modules into your Windows software applications, (or general .NET application which can also be run under Linux using .NET CORE or Mono).

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:

Protocols Guide

Brainboxes devices communicate using one of two protocols: ASCII (human-readable text) or Modbus TCP (industrial binary standard). The protocol is determined by the TCP port number.

Working with Analog IO

This guide covers analog inputs and outputs on ED-series devices that support analog IO, including data formats, temperature measurement, and delta/target events.

Working with Digital IO

This guide covers reading digital inputs, controlling digital outputs, monitoring for changes with events, and using latches and counters on ED-series devices.