From 4843f3ffa559863b6f29a16dacbe31b6bb71646d Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 00:20:37 +0900 Subject: set distort dac to mid-range while calibrating OS, for 1041 offset nulling --- device-functions.c | 3 ++- version.h | 2 +- 2 files changed, 3 insertions(+), 2 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 */ diff --git a/version.h b/version.h index 2681772..37d1911 100644 --- a/version.h +++ b/version.h @@ -1,2 +1,2 @@ -#define FW_VERSION "6.4.33" +#define FW_VERSION "6.4.34" #define SCPI_version "1996.0" -- cgit