Chapter 29 4-Channel Analog Output Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01
29-6 Revised March, 2012
29.5 _DMC_01_rm_04da_set_output_enable
FORMAT
I16 PASCAL _DMC_01_rm_04da_set_output_enable (U16 CardNo, U16 NodeID,U16 SlotID,
U16 ChannelNo, U16 Enable)
Purpose
Enables/disables pin output.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID is (0~12)
SlotID U16 Number Unit 0
ChannelNo U16 Number Unit Channel ID is between 0~3
Enable U16 Selection
0: Output disable
1: Output enable. Set and send the output
value to target
Example
U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotID = 0;
U16 ChannelNo = 3;
U16 Enable = 1; //Enable
I16 status = _DMC_01_rm_04da_set_output_enable (CardNo, NodeID, SlotID, ChannelNo,
Enable);