![TiePie Handyscope HS3 Скачать руководство пользователя страница 53](http://html1.mh-extra.com/html/tiepie/handyscope-hs3/handyscope-hs3_programmers-manual_1114528053.webp)
How can I...
53
Fill the function generator waveform memory
word FillFuncGenMemory( dword dwNrPoints, word *wFuncGenData )
description:
This routine fills the function generator waveform memory with
user defined data. The data must be in unsigned 16 bits values. A
value of 0 corresponds to the negative full output scale, 32768 to
0 Volt and 65535 to the positive full output scale.
The amplitude parameter of the function generator determines
the exact value of full scale. If an amplitude of 8 Volt is selected,
full scale will be 8 Volt.
Input:
dwNrPoints
the number of waveform points that must be
loaded, see remarks.
wFuncGenData
an array of unsigned 16 bits values, containing
the signal that must be loaded. Must contain at
least dwSampleCount samples.
Output:
Return value
E_NO_ERRORS
E_NO_GENERATOR
E_INVALID_VALUE
E_NO_HARDWARE
Remarks:
The number of samples (dwSampleCount) that can be uploaded
to the generator is different per instrument. The Handyscope
HS3 accepts any power of 2 up to 2^17 = 262144. Older
generators' buffer sizes are 1024 samples in DDS mode and
65536 or 131072 samples in linear mode. These instruments
automatically change the generator mode depending on dwSam-
pleCount. See
SetFuncGenMode
for information about DDS
and linear mode.
When generating a predefined signal, like e.g. a sine wave, the
memory is filled with a sine wave pattern and the generator ope-
rates in DDS mode. So each time one selects signal type Arbitra-
ry, the memory has to be filled again with the user defined pat-
tern. This does not apply to the Handyscope HS3 generator,
which has two independent waveform buffers.
Содержание Handyscope HS3
Страница 2: ......
Страница 8: ...8 Introduction...
Страница 65: ...Deprecated routines 65...
Страница 67: ...TiePie engineering DLL programmer s manual rev 1 26...