const char *pc_DriverName;
int i_NbrAiChannel;
int i_NbrAiChannelDiff;
- int i_AiChannelList;
int i_AiMaxdata;
unsigned char b_AvailableConvertUnit;
unsigned int ui_MinAcquisitiontimeNs;
.pc_DriverName = "apci3000-16",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3000-8",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3000-4",
.i_NbrAiChannel = 4,
.i_NbrAiChannelDiff = 2,
- .i_AiChannelList = 4,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3006-16",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3006-8",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3006-4",
.i_NbrAiChannel = 4,
.i_NbrAiChannelDiff = 2,
- .i_AiChannelList = 4,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3010-16",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3010-8",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3010-4",
.i_NbrAiChannel = 4,
.i_NbrAiChannelDiff = 2,
- .i_AiChannelList = 4,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3016-16",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3016-8",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3016-4",
.i_NbrAiChannel = 4,
.i_NbrAiChannelDiff = 2,
- .i_AiChannelList = 4,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3100-16-4",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3100-8-4",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3106-16-4",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3106-8-4",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 10000,
.pc_DriverName = "apci3110-16-4",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3110-8-4",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 4095,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3116-16-4",
.i_NbrAiChannel = 16,
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 16,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
.pc_DriverName = "apci3116-8-4",
.i_NbrAiChannel = 8,
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 8,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
[BOARD_APCI3003] = {
.pc_DriverName = "apci3003",
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 4,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 7,
.ui_MinAcquisitiontimeNs = 2500,
[BOARD_APCI3002_16] = {
.pc_DriverName = "apci3002-16",
.i_NbrAiChannelDiff = 16,
- .i_AiChannelList = 16,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
[BOARD_APCI3002_8] = {
.pc_DriverName = "apci3002-8",
.i_NbrAiChannelDiff = 8,
- .i_AiChannelList = 8,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
[BOARD_APCI3002_4] = {
.pc_DriverName = "apci3002-4",
.i_NbrAiChannelDiff = 4,
- .i_AiChannelList = 4,
.i_AiMaxdata = 65535,
.b_AvailableConvertUnit = 6,
.ui_MinAcquisitiontimeNs = 5000,
devpriv->b_SingelDiff = 1;
}
s->maxdata = board->i_AiMaxdata;
- s->len_chanlist = board->i_AiChannelList;
+ s->len_chanlist = s->n_chan;
s->range_table = &apci3xxx_ai_range;
s->insn_config = i_APCI3XXX_InsnConfigAnalogInput;