Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01
39-14 Revised March, 2012
39.12 _DMC_01_channel1_set_gpio_out
FORMAT
I16 PASCAL _DMC_01_channel1_set_gpio_out (U16 CardNo, U16 on_off)
Purpose
Sets GPIO output pin status.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
On_off U16 Number Unit
0: Off
1: On
Example
U16 CardNo = 0;
U16 On_off = 1;
I16 status = _DMC_01_channel1_set_gpio_out (CardNo, on_off);