Chapter 1: introduction, 1 scope, 2 description – Sensoray 2410 API User Manual
Page 5

Sensoray 24xx Programming Guide
1
Introduction
Chapter 1: Introduction
1.1 Scope
This document describes the application programming interface (API) for Sensoray’s Model 24xx product family of Ethernet
industrial I/O modules.
1.2 Description
The API is a middleware library that will interface one or more Sensoray Model 24xx modules (e.g., Model 2410 48 Channel
Digital I/O, Model 2426 Multi-Function I/O, etc.) to an application program of your design. A rich set of API functions provides
access to all resources on the various types of modules found in the 24xx family. The API supports any arbitrary number of
modules and any combination of module types, limited only by system resources.
Linux and Windows libraries are supplied in the SDK distribution media.
1.2.1 Software Hierarchy
The middleware consists of an executable that serves as an interface between the application program and Ethernet network. The
Windows version is implemented as a dynamic link library,
S24xx.DLL
. The Linux version is a static library,
lib24xx.a
.
Figure 1 illustrates the relationships between the middleware and related software components.
Figure 1: Software hierarchy.
Application Program
24xx Middleware
Socket API
HARDWARE
ACCESS