Chapter 29 4-Channel Analog Output Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01
29-10 Revised March, 2012
29.9 _DMC_01_rm_04da_set_output_error_handle
FORMAT
I16 PASCAL _DMC_01_rm_04da_set_output_error_handle (U16 CardNo, U16 NodeID,
U16 SlotID, U16 ChannelNo, U16 On_Off)
Purpose
Keeps original DA settings if the connection is broken.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID is between 0~12
SlotID U16 Number Unit 0
ChannelNo U16 Number Unit Channel ID is between 0~3
On_Off U16 Selection
0: Disable ErrorHandle
1: Enable ErrorHandle
Example
U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotId = 0;
U16 ChannelNo = 3;
U16 On_Off = 1; // enable ErrorHandle
I16 status = _DMC_01_rm_04da_set_output_error_handle (CardNo, NodeID, SlotID,
ChannelNo, On_Off);