Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
27-2 Revised March, 2012
27.1 _DMC_01_set_rm_04pi_ipulse_mode
FORMAT
I16 PASCAL _DMC_01_set_rm_04pi_ipulse_mode (U16 CardNo, U16 NodeID, U16 SlotID,
U16 mode)
Purpose
Sets input phase mode for pulse interface module.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
mode U16 Selection
0: AB phase
1: CW / CCW
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 mode=0; //Set input phase as AB phase
I16 status = _DMC_01_set_rm_04pi_ipulse_mode (CardNo, NodeID, SlotID, mode);