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.1.2 DO_8_BW

Description:
Set the digital output value of the channel No. in the 8-channel Digital
Output series modules. The output Value is "true" or "false".
Syntax:
void 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;
DO_8_BW(slot, channel, data);
//The I-8060x card is plugged in slot 1 of PAC turns on channel 3.
Remark:
This function can be applied on modules: i8060x, i8064x, i8065x, i8066x,
i8068x, and i8069x.
http://www.icpdas.com
[C
slot,
int
channel,
MP-8x43 Function Reference V 1.0
++
]
BOOL
data)
23 

Advertisement

Table of Contents
loading

Table of Contents