Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 39-5
39.4 _DMC_01_set_compare_channel_direction
FORMAT
I16 PASCAL _DMC_01_set_compare_channel_direction (U16 CardNo,
U16 compare_channel, U16 dir)
Purpose
Sets Channel pulse direction.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Compare_channel U16 Number Unit Channel No¬°0~1
Dir U16 Number Unit 0:Normal 1:Inverse
Example
U16 CardNo = 0;
U16 Compare_channel = 0;
U16 Dir = 1; //Inverse
I16 status = _DMC_01_set_compare_channel_direction (CardNo, compare_channel, dir);