Computer Hardware User Manual

Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 39-15
39.13 _DMC_01_channel1_position_compare_table
FORMAT
I16 PASCAL _DMC_01_channel1_position_compare_table (U16 CardNo, I32* pos_table,
U32 table_size,)
Purpose
Sets Compare2 to standard Compare data.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Pos_table I32* Number Unit
Calculate the Pos_Table for compare based on the
given data
Table_size U32 Number Unit Size of Pos_table to Compare
Example
U16 CardNo = 0;
I32 Pos_table[4] = {1000,2000,3000,4000};
U32 Table_size =50000;
I16 status = _DMC_01_channel1_position_compare_table t (CardNo, pos_table, table_size);