summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:07:02 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:07:02 -0500
commitd37c81e5cb5198070845074a2ebd0ad7ae95df79 (patch)
tree072adb60d45d68f398bb86f916676964914dbc55 /device-functions.c
parent512d037142e500b95ed928fc7a67111fb40f0ca8 (diff)
when nulling delay, use 20 ns as minimum allowed pulse widthINSTRUMENT_5_0_15
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c
index f72b275..14d2d0a 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -1860,6 +1860,8 @@ int Set_Dly_Shr_Nom(int channel,int calibration_point_number)
}
Set_Amplitude(0,0,0,0,0,0,channel,ampl,0);
+ // set to min PW, unless it is less than 20 ns
+ Set_Pw(0,0,0,channel,MAX(globals.Flash.min_pw[channel],20e-9),0);
/* Set delay constants to zero, temporarily, for nulling purposes. */
/* Restore the constants after the delay is set, so that the unit */