![Acqiris U5303A Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/acqiris/u5303a/u5303a_user-manual_2840732025.webp)
2.4 Real-time averaging (AVG option)
U5303A User's Manual
25
Parameters (BaselineCorrection interface):
ThresholdHigh/ThresholdLow
: defines the baseline range. This parameter is defined per
channel in ADC counts.
DigitalOffset
: offset added after the baseline stabilization. This parameter is defined per channel
ADC counts.
Mode
: disabled, continuous or between acquisitions.
Multi-purpose inputs and outputs (IO 1, 2)
The multi-purpose inputs and outputs (IO 1, 2) in the front panel may be used to control the
accumulation or read the ADC card status:
Parameters (ControlIO interface)
In-AccumulationEnable
: ADC card input (IO 1). This signal controls the execution of the
averaging sequence by checking its value only at the averager start. If the accumulation enable is '1'
at the start, the averager will perform the average independently of this input value. By the contrary, if
the accumulation enable is '0' at the
start
, the ADC card will wait until the accumulation enable rises to
start the averaging at that moment (no need for a new start).
Out-AccumulationActive
: ADC card output (IO 2). This signal informs that the ADC card is busy
accumulating.
Out-AcquisitionActive
: ADC card output (IO 1 or IO 2). This signal informs that the ADC card is
busy acquiring.
Output data format
The U5303A uses an ADC with 12-bit of vertical resolution. To improve the baseline stability, the
U5303A averager firmware provides a baseline stabilization processing which is optimum with 13-bit
of vertical resolution. Therefore, the averager firmware provides raw data for each single accumulation
in 13-bit. Note that if the baseline stabilization is not enabled, the output in raw data is still in 13-bit.
Data readout when using FetchAccumulatedWaveformInt32
The data returned by the driver is unsigned. Since the API is limited to signed data type (for AVG fetch
Int32), a conversion should be applied to interpret data returned through API as unsigned int (32-bit) as
in provided examples.
IVI-C
To convert from raw value to Volts:
ViReal64 valueInVolts = static_cast<ViUInt32>(dataArray[firstValidPoint[currentRecord] + cur-
rentPoint]) * scale scaleOffset;
IVI.NET
To convert from raw value to Volts: