How can I...
45
Control the Square Wave generator
Get the current square wave generator frequency
double GetSquareWaveGenFrequency( void )
Description:
Some instruments have a built-in square wave generator, the
HS508 for example. This routine returns the generator frequency
in Hz.
Input:
-
Output:
Return value
The generator frequency in Hz.
Remarks:
Not all instruments have a square wave generator, use the routi-
ne GetSquareWaveGenStatus() to check if a square wave gene-
rator is available
Set the square wave generator frequency
word SetSquareWaveGenFrequency( double *dFreq )
Remarks:
The routine sets the frequency. The hardware is not capable of
using every frequency so the hardware chooses the nearest legal
frequency to use, this is the frequency that is returned in dFreq.
See also
GetGeneratorFrequency
.
Input:
dFreq
the requested frequency in Hz.
A value "zero" switches the output off
Output:
dFreq
the frequency that is actually made.
Return value
E_NO_ERRORS
E_NO_GENERATOR
E_NO_HARDWARE
Remarks:
Not all instruments have a square wave generator, use GetSqua-
reWaveGenStatus() to check if a square wave generator is availa-
ble
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...