HOMEPAGE

Open Source Project RJ10.DLL - Less is More: This does not mean that 'More' is too complicated.

Project Level 1

Developer Plattform

!?

Start and Process Control

Radio Control

IF-In & AF-Out Control
Panorama-View & ExtIQ-Receiver
EEprom & Calibration
Graphical Utillity

RJ10DLL::SetIFInputLevel

int SetIFInputLevel( int lev, int onOFF );

Return Value

    the currend IFInputLevel

Parameters

    int lev
   
this
can be a logarithmic value of -16 to +45 dB.

    int onOFF
 
  If this 0 then IFInputLevel is 0 DB and not activated.
    Otherweise the value (lev) of the currend IFInputLevel is set.

Remarks

    set the IF-Input level and the currend ON / OFF state.

Example
 
see on RJ10Mini SourceExample:
void CRJ10MiniDlg::
SetIFGain(int pos, int set)
{
    if(set) SetIFInputLevel(pos,IFGainOff);
    IFGainLevel=pos;
    int x=-16+IFGainLevel;

    if(x<1) sprintf(poti_gain.myInfo.ExtraText,"%d dB",x);
    else sprintf(poti_gain.myInfo.ExtraText,"+%d dB",x);
    poti_gain.Set(pos);
}

See Also   --> RJ10M-DLL.h

   Copyright 2012 © Bonito Germany.   

www.bonito.net