Do_16_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.2.2 DO_16_BW

Description:
Set the digital output value of the channel No. of the 16-channel Digital
Output series modules. The output Value is "true" or "false".
Syntax:
void DO_16_BW(int
Parameter:
slot :
[Input] the slot number where the I/O module is plugged into.
channel :
[Input] the digital output channel No.(0~15)
data :
[Input] output data "true" or "false".
Return Value:
None
Example:
int
slot=1;
int
channel=3;
BOOL
data=true;
DO_16_BW(slot, channel, data);
//The I-8057x card is plugged in slot 1 of PAC turns on channel 3
Remark:
This function can be applied on modules: i8037x, i8056x, i8057x.
http://www.icpdas.com
[C
slot,
int
channel,
MP-8x43 Function Reference V 1.0
++
]
BOOL
data)
26 

Advertisement

Table of Contents
loading

Table of Contents