Di_8_Bw - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

2.3.4.2 DI_8_BW

Description:
Obtains channel input data from an 8-channel digital input series module.
The Input Value is "true" or "false".
Syntax:
BOOL DI_8_BW(int
Parameter:
slot :
[Input] the slot number where the I/O module is plugged into.
channel :
[Input] the digital output channel No.(0~7)
Return Value:
Input data
Example:
int
slot=1;
int
channel=3;
BOOL
data;
data=DI_8_BW(slot, channel);
//The I-8058x card plugged is in slot 1 of PAC and has inputs in channel 3.
//Returned value: data=true
Remark:
This function can be applied on modules: i8052x, i8058x, i8054x, i8055x,
i8063x.
http://www.icpdas.com
[C
slot,
int
channel)
MP-8x43 Function Reference V 1.0
++
]
32 

Advertisement

Table of Contents
loading

Table of Contents