Dio_Do_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.7.2 DIO_DO_8_BW

Description:
Set the digital output value of the channel No. for the 8-channel Digital I/O
series modules. The output Value is "true" or "false".
Syntax:
void DIO_DO_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)
data :
[Input] output data "true" or "false".
Return Value:
None
Example:
int
slot=1;
int
channel=3;
BOOL
data=true;
DIO_DO_8_BW(slot, channel, data);
//The I-8054x card is plugged in slot 1 of PAC and can turn on channel 3.
Remark:
This function can be applied in these modules: i8054x, i8055x, and i8063x.
http://www.icpdas.com
++
[C
]
slot,
int
channel,
MP-8x43 Function Reference V 1.0
BOOL
data)
38 

Advertisement

Table of Contents
loading

Table of Contents