| | | | | |
Xdsp_Oscilloscope, digital oscilloscope test program
is used for testing the work of ADC/DAC card and
for demonstration of its main functions. The program is provided with initial
text of the project for Delphi.
The program enables the user to:Watching the parts
(banks) of the digitalized signal (bank is 512 countings);
Separate and simultaneous watching the channels
Single and cyclic sampling;
Auto scaling of the signal, signal superposition, program
synchronization;
Finding global and local (within the banks bounds)
min/maxWatching the signal value in a particular
point;
Sampling process diagnostics: number of correct samplings
and of mistakes
Synthesis of the most spread signal forms with the help
of DAC ( video impulse, LCHM??? etc.)
Correlated function calculationDiagnosis mode with
measuring RMS noise level
Digitalized signal storage in a text file for further
processing
The program window
The program is started when fulfilling the file "Oscilloscope.exe".
It services one card, which is the first found in the system.
If there is a mistake when making an attempt to initialize the card (the card is
not installed in the system, driver not installed etc.) there is a note:
There are buttons "Start" and "Stop" in the top right corner
of the program window. They start and stop the sampling process.
There is a panel for graphic presenting of signals. There is
a panel with subsections in the right part of the program window. These
subsections provide changing the controlling elements of the program. The
controlling elements are divided according to their functions.
Let's see each subdivision in detail:.
|
"View"
subdivision contains the following controlling elements:
ViewBankSelect - gives the currently presented
signal bank (dimension - 512
countings)
it is used for following the digitalized signal in time
period.ViewChannel - gives the channel
presenting mode (separate or simultaneous) ;
Scan - gives the sampling mode (cyclic
or single);
WithOverWrite - on/off mode of presenting
the current signal without deleting the previous picture
WithSynchro - on/off mode of
program synchronizationWithAutoScale -on/off
mode of auto scaling the signal
DAC Enable - on/off mode of signal generation on
the DAC inputAddress Counter - on/off mode
of ADC data changing with address counter, is used for diagnosis of internal
card's schemes work.
External Start - on/off mode of external starting
The "ClearScreen" button is
used for cleaning the window of signal presenting. It is convenient to be used
when working in "WithOverWrite" mode.
The "Save Signal" button is
used for storage of the digitalized signal in the text file for further
processing. The result of work are two files: channel1.dat
and channel2.dat . They contain the
ADC memory values of the 1st and of the 2nd channels accordingly. The storages
in files are presented as 10 /16 memory cell
value. The number of storages (rows) is the full ADC memory volume (262144
countings).
|
Вкладка "Synchro" обслуживает режим программной синхронизации и содержит следующие элементы управления :
SynchroLevel - задает текущий порог для синхронизации;
SynchroEdge - задает фронт, по которому будет выполняться синхронизация;
SynchroOffset - отображает текущее смещение точки синхронизации сигнала от начала банка.
|
Вкладка "MinMax" отображает текущие значения локальных (в
пределах банка) и глобальных (по всему оцифрованному сигналу) минимумов и
максимумов раздельно по каналам. Также, на этой вкладке отображаются координаты курсора
мыши в области отображения сигналов.
|
"Diagnostic"
subdivision contains diagnostic information. There are the following elements in
this subdivision:
Diagnostic message - "Correct reading" is
presented in case of correct executing of current sampling otherwise "Incorrect
reading"
Cycle from program start - number of correct
readings from the very start of the program
Cycle from last start - number of correct readings
from the last pushing of the "Start" button
Timeout from program start - number of incorrect
readings from the start of the program(time-out
mistake while waiting for correct finishing of the sampling process)
Timeout from last start - number of incorrect
readings from the last pushing of the "Start" button |
"FormDACSignal" subdivision is used for storage
of typical signals in the DAC memory. It contains the following controlling
elements:
Choosing the type of the formed
signalViewSignalBank - gives the currently
presented DAC memory bank of the formed signal (dimension-512 countings). It is
used for following the formed signal in time period.WithAutoScale -
on/off mode of signal auto scaling
Subdivision that contains the parameters of the formed
signal according to the chosen signal type
"Form" button forms
signals in the DAC memory according to the chosen type and parameters.
|
"Correlation"
subdivision provides counting the cross correlated function between the signals
in ADC and DAC memories. It contains the following controlling elements:
ViewBankSelect - gives the currently presented
bank of the formed and of the correlated function (dimension-512 countings)
presents maximum of the calculated correlated function
Sample - provides giving
the DAC signal range (beginning and end) that is used as bearing.
|
"About"
subdivision contains information about the program version.
|
"BitDiagnostic" subdivision is used for
presenting the diagnostics mode with measuring of RMS noise level and contains
the following controlling elements:
Diagnostic Enable - on/off diagnostics mode ( when
this mode is on the process of cyclic digitalizing of the signal and of
its presenting is substantially slower)
Channel 1 and Channel
2 panels contain the following parameters:
- Bit - bit number in the digitalized memory
counting of the ADC channel - AveValue -
collected value of the correspondent bit of the whole
selection
- ZeroLevel - average signal level of the whole
selection
- ShumLevel - RMS channel noise level
|