summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:20:37 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:20:37 +0900
commit4843f3ffa559863b6f29a16dacbe31b6bb71646d (patch)
treede211544bc00725a952258c66fb1e46214eb9fc3 /device-functions.c
parente609cd52d421c1a1b8e4a98cd7820209e5bbd481 (diff)
set distort dac to mid-range while calibrating OS, for 1041 offset nullingINSTRUMENT_6_4_34
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c3
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 */