Tuner feedback on TLP1 Anthem
Hi I try to get tuner feedback on a TLP1 Anthem when I use preset channel, I tried this code
But, to get feedback, I have to click 2 times to get it.
The fisrt time, the tuner change station and second time I get the right feedback
Any cue?
BUTTON_EVENT [dvTP_TUNER,116]
{
PUSH:
{
SEND_STRING dvTLP1, "'TFP',itoa(nTUNER_PRESET_BAND),itoa(nTUNER_PRESET_NUM),$0A"
SEND_STRING dvTLP1, "'TT?',$0A"
// IF ( FIND_STRING (nPREAMP_BUFF,'TFT',1))
{
nPREAMP_TFT = REMOVE_STRING (nPREAMP_BUFF,'TFT ',1) // REMOVE TFT CHAR TO GET REAL STATION
nTUNER_STATION = nPREAMP_BUFF
CLEAR_BUFFER nPREAMP_BUFF
}
SEND_COMMAND dvTP_TUNER,"'@TXT',71,nTUNER_STATION"
}
}
But, to get feedback, I have to click 2 times to get it.
The fisrt time, the tuner change station and second time I get the right feedback
Any cue?
0
Comments