Analog Inputs and Outputs
Seq_Set_Delay
ADwin
80
ADwin-Gold II
, Manual February 2013
Seq_Set_Delay
Seq_Set_Delay
sets the waiting time (between 2 measurements) of the
sequential control for one ADC.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
Seq_Set_Delay
(
adc_no
,
mux_time
)
Parameters
Notes
The instruction is useful only, if the sequential control is enabled with
Seq_Mode
.
After power-up, the waiting time is equal to the multiplexer settling time
of 2µs.
If the internal resistance of the signal's voltage source is too great, the
pre-set multiplexer settling time is too short for an accurate measure-
ment. You can change the waiting time until the next conversion with the
parameter
mux_time
.
Setting the waiting time influences the accuracy of the measurement at
a high rate. Shorter waiting time tends to result in less accurate mea-
surement values and longer waiting time in more accurate values.
The waiting time is calculated according to the following formula:
The conversion time of the ADC is 2µs.
See also
,
,
Valid for
Gold II
T11 TiCo
adc_no
Number (1, 2) of the ADC.
LONG
mux_time
Number of time units of the variable part of the
waiting time of the sequential control:
0…2^31: Time in units of 20ns.
LONG
waiting time
mux_time
20ns
conversion time
+
⋅
=