Logo Search packages:      
Sourcecode: icomlib version File versions  Download package

const char * PCP::PCPGetNBStr (  ) 

Get current session's noiseblank value (const char* version).

Checks PCPRadio struct for member PCPNoiseBlank for the current auto-gain setting. Decodes the boolean value into the string "1" for true or "0" for false

Returns:
the character string of the current setting. True/false :: "1"/"0"
See also:
PCPGetNB PCPSetNB

Definition at line 1212 of file pcp.cpp.

References PCPGetNB(), and PCPTemp.

{
    memset(PCPTemp, '\0', sizeof(PCPTemp));
    (PCPGetNB())?(strcpy(PCPTemp,"1")):(strcpy(PCPTemp,"0"));
    return PCPTemp;
}


Generated by  Doxygen 1.6.0   Back to index