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

I/o module
Table of Contents

Advertisement

3.9. i8088W_SetPWMCountMode

The function is used to set the count mode of I-8088W.
Syntax
short i8088W_SetPWMCountMode(int slot,int ch,unsigned char countMode);
Parameter
1. slot 0 ~ 7
2. ch 0 ~ 7
3. count Mode 1: Continuos ;
Return Values
Please refer to Error Code Table.
Examples
[C]
int slot,ch;
slot = 0;
mode=0; //burst mode
for(ch=0;ch<8;ch++)
{
i8088W_ SetPWMCountMode(slot,ch,mode);
}
0: Burst count

Advertisement

Table of Contents
loading

Table of Contents