3 Appendix A – Programming the PC-AM6-32
8
UINT __stdcall RadcapGetFrequency
(
enum RadcapTunerType Mode,
int TunerID);
Parameters
Mode
Specifies AM or FM tuner.
TunerID
Index of the station to be read, beginning at zero for the first
station.
Return values
If the function succeeds the return value is the frequency in kilohertz.
If the function fails, the return value is zero. To get extended error
information, call GetLastError ().
Comments
This function will fail if the monitor program (Tuner.exe) or the spectral
display program (AmSpectrum.exe) is running.
UINT __stdcall RadcapSetFrequency
(
enum RadcapTunerType Mode,
int
TunerID,
UINT
Kilohertz);
Parameters
Mode
Specifies AM or FM tuner.
TunerID
Index of the station to be set, beginning at zero for the first station.
Kilohertz
The frequency (in kilohertz) that the station is to be set to. For
AM, this must lie between 500 and 1700, and for FM this must lie
between 87500 and 108500.
Return value
If the function succeeds the return value is TRUE.
If the function fails, the return value is FALSE. To get extended error
information, call GetLastError ().
Comments
This function will fail if the monitor program (Tuner.exe) or the spectral
display program (AmSpectrum.exe) is running.