Chapter 30 4-Channel Analog Input Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01
30-10 Revised March, 2012
30.9 _DMC_01_get_04ad_data
FORMAT
I16 _DMC_01_get_04ad_data (U16 CardNo, U16 NodeID, U16 SlotID, U16 channelno,
U16* value)
Purpose
Reads input voltage.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID is between 0~63
SlotID U16 Number Unit 0
ChannelNo U16 Number Unit Channel ID is between 0~3
ReturnData U16 Number Unit 0~65535
Example
U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotId = 0;
U16 channelno = 2;
U16 value;
I16 status = _ DMC_01_get_04ad_data (CardNo, NodeID, SlotID, channelno, &value);