diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c index e787dec..9cf36ab 100644 --- a/device-functions.c +++ b/device-functions.c @@ -741,7 +741,8 @@ int Set_Offset(int check_possible_only,int override_on,int word_override,int ran /* change amplitude range if required for calibration */ if (override_on) { - Set_Amplitude(0,0,1,0,pwl_struct[parameter][channel].range,0,0,channel,0.0,0); + /* set aux_override to mid-range for 1041 offset nulling */ + Set_Amplitude(0,0,1,0,pwl_struct[parameter][channel].range,dac_max/2,0,channel,0.0,0); } /* increase PW if required to compensate for series output diode turn-on time */ |