if (cmd->convert_src == TRIG_TIMER) { /* Test Acquisition timing */
if (cmd->scan_begin_src == TRIG_TIMER) {
- if ((cmd->convert_arg)
- && (cmd->convert_arg <
- this_board->ui_MinAcquisitiontimeNs)) {
- cmd->convert_arg =
- this_board->ui_MinAcquisitiontimeNs;
+ if (cmd->convert_arg &&
+ (cmd->convert_arg < 10000)) {
+ cmd->convert_arg = 10000;
err++;
}
} else {
- if (cmd->convert_arg <
- this_board->ui_MinAcquisitiontimeNs) {
- cmd->convert_arg =
- this_board->ui_MinAcquisitiontimeNs;
+ if (cmd->convert_arg < 10000) {
+ cmd->convert_arg = 10000;
err++;
-
}
}
}
.i_NbrDoChannel = 4,
.i_DoMaxdata = 0x0f,
.b_AvailableConvertUnit = 1,
- .ui_MinAcquisitiontimeNs = 10000,
.ui_MinDelaytimeNs = 100000,
.interrupt = v_APCI3120_Interrupt,
.ao_write = i_APCI3120_InsnWriteAnalogOutput,
.i_NbrDoChannel = 4,
.i_DoMaxdata = 0x0f,
.b_AvailableConvertUnit = 1,
- .ui_MinAcquisitiontimeNs = 10000,
.ui_MinDelaytimeNs = 100000,
.interrupt = v_APCI3120_Interrupt,
},