} else if(cmd->convert_arg<655360000) {
base_clock = CLOCK_100_KHZ;
timer = cmd->convert_arg/10000;
- } else if(cmd->convert_arg<6553600000) {
+ } else if(cmd->convert_arg<=0xffffffff /* 6553600000 */ ) {
base_clock = CLOCK_10_KHZ;
timer = cmd->convert_arg/100000;
- } else if(cmd->convert_arg<65536000000) {
+ } else if(cmd->convert_arg<=0xffffffff /* 65536000000 */ ) {
base_clock = CLOCK_1_KHZ;
timer = cmd->convert_arg/1000000;
}
} else if(cmd->scan_begin_arg<655360000) {
base_clock = CLOCK_100_KHZ;
timer = cmd->scan_begin_arg/10000;
- } else if(cmd->scan_begin_arg<6553600000) {
+ } else if(cmd->scan_begin_arg<0xffffffff /* 6553600000 */ ) {
base_clock = CLOCK_10_KHZ;
timer = cmd->scan_begin_arg/100000;
- } else if(cmd->scan_begin_arg<65536000000) {
+ } else if(cmd->scan_begin_arg<0xffffffff /* 65536000000 */ ) {
base_clock = CLOCK_1_KHZ;
timer = cmd->scan_begin_arg/1000000;
}
RANGE( 0, 0.2 ),
}};
static comedi_lrange range_ni_E_ai_limited14={ 14, {
+ RANGE( -10, 10 ),
RANGE( -5, 5 ),
- RANGE( -2.5, 2.5 ),
+ RANGE( -2, 2 ),
RANGE( -1, 1 ),
RANGE( -0.5, 0.5 ),
- RANGE( -0.25, 0.25 ),
+ RANGE( -0.2, 0.2 ),
RANGE( -0.1, 0.1 ),
- RANGE( -0.05, 0.05 ),
+ RANGE( 0, 10 ),
RANGE( 0, 5 ),
- RANGE( 0, 2.5 ),
+ RANGE( 0, 2 ),
RANGE( 0, 1 ),
RANGE( 0, 0.5 ),
- RANGE( 0, 0.25 ),
+ RANGE( 0, 0.2 ),
RANGE( 0, 0.1 ),
- RANGE( 0, 0.05 ),
}};
static comedi_lrange range_ni_E_ai_limited_602x={ 8, {
RANGE( -10, 10 ),