Chapter 29 4-Channel Analog Output Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 29-9
29.8 _DMC_01_rm_04da_read_data
FORMAT
I16 PASCAL _DMC_01_rm_04da_read_data (U16 CardNo, U16 NodeID, U16 SlotID,
U16 ChannelNo, U16* data)
Purpose
Retrieves current DA number.
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
Data U16 Number Unit Get data 0 ~ 65535
Example
U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotId = 0;
U16 ChannelNo = 2;
U16 Data = 0;
I16 status = _DMC_01_rm_04da_read_data (CardNo, NodeID, SlotID, ChannelNo, &Data);