ICP DAS USA I-8088W Api Reference Manual page 81

I/o module
Table of Contents

Advertisement

[C#]
using pac8088WNet;
int slot=0,ch,activatedBit[8];
Uint16 activatedState=0;
pac8088W. GetPWMActiveState (slot, ref activatedState, enBit);
Console.WriteLine("PWM output state ={0:X2}", activatedState);
for (ch=0; ch< 8; ch++)
{
if(activatedBit[ch]==1)
Console.WriteLine("PWM CH [{0}] is activated ",ch);
}
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
--- 81

Advertisement

Table of Contents
loading

Table of Contents