Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 27-5
27.4 _DMC_01_set_rm_04pi_DO2 FORMAT
I16 PASCAL _DMC_01_set_rm_04pi_DO2 (U16 CardNo, U16 NodeID, U16 SlotID,
U16 ON_OFF)
Purpose
Enables DO2 port configuration.
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
ON_OFF U16 Selection 0: Disable DO2 port
1: Enable DO2 port
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 ON_OFF=1; // Enable DO2 port
I16 status = _DMC_01_set_rm_04pi_DO2 (CardNo, NodeID, SlotID, ON_OFF);