How can I...
47
Set the generator signal type
word SetFuncGenSignalType( word wSignalType )
Description:
This routine sets the signal type of the function generator.
Input:
wSignalType
The requested signal type
lstSine
(0)
Sine wave
lstTriangle (1)
Triangular wave
lstSquare (2)
Square wave
lstDC
(3)
DC
lstNoise
(4)
Noise
lstArbitrary (5)
Arbitrary signal
Output:
Return value
:
E_NO_ERRORS
E_NO_GENERATOR
E_INVALID_VALUE
E_NO_HARDWARE
Remark:
When
Arbitrary
is selected, the contents of the function genera-
tor memory will be "played" continuously. This memory is used
for every signal type, so each time when selecting
Arbitrary
, use
the function
FillFuncGenMemory()
to fill the memory with the
requested signal. This does not apply to the Handyscope HS3
generator, which has two independent waveform buffers.
Get the current generator signal type
word GetFuncGenSignalType( word *wSignalType )
Description:
This routine returns the currently selected signal type.
Input:
-
Output:
wSignalType
The currently selected signal type
See
SetFuncGenSignalType
for possible valu-
es for wSignalType
Return value
E_NO_ERRORS
E_NO_GENERATOR
E_INVALID_VALUE
E_NO_HARDWARE
Summary of Contents for Handyscope HS3
Page 2: ......
Page 8: ...8 Introduction...
Page 65: ...Deprecated routines 65...
Page 67: ...TiePie engineering DLL programmer s manual rev 1 26...