6 how to program with hsl function library, 1 programming with hsl dll, 1 dio operation – ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual

Page 122: Programming with hsl dll, Dio operation, Figure 6-1: programming flow, 6how to program with hsl function library

Advertising
background image

How to Program with HSL Function Library

109

6

How to Program with HSL Function
Library

This chapter describes how to create a program with HSL C library
using a flow chart. The C library supports Windows and Redhat
Linux platforms.

6.1 Programming with HSL DLL

The programming flow chart illustrates the program creation with
HSL DLL.

Figure 6-1: Programming Flow

6.1.1 DIO Operation

Inside DI/O Operation, the following function calls are for users’
reference.

HSL_slave_live (…):
Detects the status of the slave module (live or die).

Advertising