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

I/o module
Table of Contents

Advertisement

Examples
[C++]
int slot,ch;
unsigned long deci_hz;
unsigned int deci_duty
slot = 0;
for(ch=0;ch<8;ch++)
{
pac_i8088W_GetRealPWMDuty_Deci (slot,ch,& deci_hz, & deci_duty);
printf("CH[%d] PWM Hz = %lu ; Duty = %u\n", ch, deci_hz, deci_duty);
}
[C#]
using pac8088WNet;
int slot,ch;
UInt32 deci_hz=0;
Uint16 deci_duty=0
slot = 0;
for(ch=0;ch<8;ch++)
{
pac8088W .GetRealPWMDuty_Deci (slot,ch,ref deci_hz, ref deci_duty);
Console.WriteLine("CH[{0}] PWM Hz = {1} ; Duty = {2}", ch, deci_hz,
}
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
deci_duty);
--- 61

Advertisement

Table of Contents
loading

Table of Contents