Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Getting exception when ATC is trying to speak a phrase to me

Featured Replies

Hi Dave,

    I'm not sure what happened.  Everything was working fine up until yesterday.  Since i tried to used the V3 27M version, when atc tries to speak a phrase, it doesn't come out in the headphones.  I hear all other audio like atis.  I looked in the log and it's throwing this exception in the speak phrase code.

    Can you see if there's some setting that's causing that exception that i might have screwed up accidentally?

2024-12-02 19:11:50.5349|INFO|P2ADataLinq.ATCListener|Initial Recognized Speech: Westwind One Ready to Copy IFR Clearance
2024-12-02 19:11:50.5440|INFO|P2ADataLinq.Speech.SpeechMgr|AudioInterrupts: 0 in UnInterruptAudio 
2024-12-02 19:11:50.5440|INFO|P2ADataLinq.ATCListener|Chatter UnPaused in Stop Listening
2024-12-02 19:11:50.5867|INFO|P2ADataLinq.ATCListener|Stopped Listening
2024-12-02 19:11:50.6029|INFO|P2ADataLinq.ATCListener|Handled Recognized Speech: Westwind One Ready to Copy IFR Clearance
2024-12-02 19:11:50.6552|INFO|P2ADataLinq.Data.SpeechGenerator|SpokenRandomSalutation Hour: 10
2024-12-02 19:11:50.6713|INFO|P2ADataLinq.Controller|HandleIFRClearanceRequest
2024-12-02 19:11:50.6713|INFO|P2ADataLinq.DataModel.Airport|GetRecommendedSID-RequestedRWy: RW13
2024-12-02 19:11:50.6713|INFO|P2ADataLinq.Controller|ATCAssignsSIDs = True
2024-12-02 19:11:50.6803|INFO|P2ADataLinq.ATCMgr|AssignedRunway: RW13 - 
2024-12-02 19:11:50.9573|INFO|P2ADataLinq.FlightStateMgr|State Changed to: FlightPlanDelivered
2024-12-02 19:11:51.5044|INFO|A.c0a0e4f0f922705579dcca7063389a951|ATC Speaks: Westwind One is cleared to Kilo Romeo Oscar Charlie as filed. Expect departure runway One Tree..  climb and maintain  eight thousand  feet ,  Expect higher clearances two minutes after departure. Kansas City Center on  one two three  point eight .  Squawk Three Five One Six. 
2024-12-02 19:11:51.5597|INFO|P2ADataLinq.Speech.SpeechMgr|AudioInterrupts: 1 in InterruptAudio 
2024-12-02 19:11:51.5597|INFO|P2ADataLinq.Speech.SpeechMgr|Chatter Paused in SpeakPhrase
2024-12-02 19:11:51.7049|ERROR|P2ADataLinq.Speech.SpeechMgr|Error in Winds pronounce: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at P2ADataLinq.Speech.SpeechMgr.PlaySAPIPhrase(String Phrase, Voice voice)

 

Thanks,

Joe

 

Edited by mihalich

  • Author

Hmm, it has something to do with my callsign.  I created a new airline in the settings data maintenance and then created a new plane profile.  then i selected the airline and it set the call sign as westwind.  that was something i did yesterday when i started having the problem.

I switched it back to the default 172 profile, and now it's responding fine every time.

Joe

 

  • Author

so, i went back into my plane profile, and i noticed that on the callsign page, all the fields were blanked out.  So i re-set them to the westwind airline with a flight number, and it worked once with my westwind callsign.  Then i started getting the exception again.  I went back into the plane profile and everything is blanked out again.  the problem seems to be with setting the airline name to a custom one that i created in the airlines page in settings.  if i select any of the stock aircraft profiles which use the stock airline names, they all work fine.

Edited by mihalich

  • 2 weeks later...
On 12/7/2024 at 1:02 PM, Dave-Pilot2ATC said:

After you edit the profile, be sure to press the SAVE button in the profile editor.  Otherwise, changes won't be saved.

Dave

@Dave-Pilot2ATC

Improvement suggestion: Like many other software do, upon detecting go-back-without-saving-changes action, the application to display a warning to user "You are exiting without saving. Any changes you may have made will be lost. Click xxx again, to exit or click SAVE"

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.