Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01
39-8 Revised March, 2012
39.7 _DMC_01_set_compare_channel_source
FORMAT
I16 PASCAL _DMC_01_set_compare_channel_source (U16 CardNo,
U16 compare_channel, U16 source)
Purpose
Sets comparison source.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Compare_channel U16 Number Unit Channel No is 0~1
Source U16 Number Unit
0: QEP1
1: QEP2
Example
U16 CardNo = 0;
U16 Compare_channel = 0;
U16 Source = 0;
I16 status = _DMC_01_set_compare_channel_source (CardNo, compare_channel, Source);