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

I/o module
Table of Contents

Advertisement

4.17. pac_i8088W_SetHardwareTrigChannel

The "DI" pin of I-8088W can be set as hardware trigger pin or simply DI pin. The
user can call this function to specify the status of channels.
Syntax
short pac_i8088W_SetHardwareTrigChannel(int slot,int ch,int triggerState)
Parameter
1. slot 0 ~ 7
2. ch 0 ~ 7
3. triggerState =0, disabled hardware trigger (Normal DI pin)
4. triggerState=1, means this DI has been configured as external trigger signal for
I-8088W to startup its PWM pulse.
5. triggerState=2, this DI has been configured as external trigger signal for
I-8088W to stop its PWM pulse.
Return Values
Please refer to Error Code Table.
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
--- 76

Advertisement

Table of Contents
loading

Table of Contents