Chapter 30 4-Channel Analog Input Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01
30-12 Revised March, 2012
30.11 _DMC_01_get_04ad_average_mode
FORMAT
I16 _DMC_01_get_04ad_average_mode (U16 CardNo, U16 NodeID, U16 SlotID, U16
channelno, U16* mode)
Purpose
Retrieves AD average mode.
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
Mode U16 Number Unit
Read value 0~5
Number
Set frequency of
average value
0 0
1 2
2 4
3 8
4 16
5 32
Example
U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotID = 0;
U16 channelno = 1;
U16 mode;
I16 status = _ DMC_01_get_04ad_average_mode (CardNo, NodeID, SlotID, channelno,
&mode);