I8088W_Setsyncchannel - ICP DAS USA I-8088W Api Reference Manual

I/o module
Table of Contents

Advertisement

3.13. i8088W_SetSyncChannel

The function is used to set the specific channel as synchronous.
Syntax
short i8088W_SetSyncChannel(int slot,int ch,int enBit);
Parameter
1. slot 0 ~ 7
2. ch 0 ~ 7
3. enBit 1: define channel as synchronous mode,
0: not synchronous mode
Return Values
Please refer to Error Code Table.
Examples
[C]
int slot,ch, enBit;
slot = 0;
enBit=1;
for(ch=0;ch<8;ch++)
{
i8088W_ SetSyncChannel(slot,ch, enBit);
}
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
--- 38

Advertisement

Table of Contents
loading

Table of Contents