I8048W_Di_Ch - ICP DAS USA I-9K Series Manual

Module linux api reference
Table of Contents

Advertisement

3.3. I8048W_DI_Ch

This function read the single-channel DI status of the I-8048W / I-9048 module.
Syntax
【C】
int I8048W_DI_Ch(
int slot,
int DI_Channel,
);
Parameters
slot
[in] Specifies the slot number (1 - 8).
DI_Channel
[in] The single channel of the I-9048 module to be read.
Return Value
1: DI ON
0: DI OFF
Example
[C]
int DI=0;
int channel = 0;
int slot = 0;
DI = I8048W_DI_Ch(slot, channel);
I-9048/I-8048W Linux API Reference, v 1.0.2
E-mail: service@icpdas.com
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-8k seriesI-9048I-8048w

Table of Contents