Author Topic: PTY NEWS  (Read 1574 times)

radioroccella

  • Newbie
  • *
  • Posts: 29
PTY NEWS
« on: July 20, 2025, 11:45:37 am »
Good morning, I have set PTY switching during the transmission of NEWS from source 1.
Unfortunately, I have other sources that are playing during normal programming and therefore the PTY is subsequently changed.
How can I block PTY switching during the transmission of News from source 1?

Jan

  • Hero Member
  • *****
  • Posts: 1226
Re: PTY NEWS
« Reply #1 on: July 20, 2025, 12:32:27 pm »
Only single source should control the PTY at the same time. Otherwise use JavaScript for programming the switching logic (this may not be trivial).

Back to your question: Advanced RDS encoders should support Port Access Control or equivalent feature. You can block PTY switching by setting the PTY command enable flag to 0. Then unblock by setting back to 1.

Example for PIRA encoders

Code: [Select]
send command:"PTY=1"
send command:"PAC 0,8E=0"

PTY not allowed to change here

Code: [Select]
send command:"PAC 0,8E=1"
send command:"PTY=15"

radioroccella

  • Newbie
  • *
  • Posts: 29
Re: PTY NEWS
« Reply #2 on: July 21, 2025, 01:53:34 pm »
Thanks Jan  for the quick response.
Unfortunately, I'm not very good with Java.
Could you please provide me with more information and some practical application examples?