Page 1 of 1

Voice Keyer fails if I close and reopen the window

Posted: 02 Jan 2017, 21:47
by IZ3XNJ
I start Log4OM. I go into Radio/PTT menu and Voice Keyer window open. I push a pre-recorded voice message. The message is sent: radio go in tx, message is played.

I close and reopen Voice keyer window. I push again the same message: radio goes in tx but no message played.
I have to restart Log4OM to make it work again

In the log, I found this:
2017-01-02 21:15:31.5489 INFO: Log4OMMainWindow: *********************************************************
2017-01-02 21:15:31.6269 INFO: Log4OMMainWindow: *********** LOGGING LEVEL: TRACE MODE *******************
2017-01-02 21:15:31.6269 INFO: Log4OMMainWindow: *********************************************************
2017-01-02 21:15:37.1337 INFO: Log4OMMainWindow: *Calling PTT FORM*
2017-01-02 21:15:38.3037 ERROR: *** AudioManagement: Error in BeginPlay function ******* [Function: BeginPlay] System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at LogOMUI.CatPTTForm.#=qICSI0Xk75qDAlZpapH4URVRPuQsYYnwuhDoGZDczeaFiGlkahYRx5cOe9GtkYlrj(Boolean #=qX9qqzxlQ87UaRC$q0A5gmQ==)
at LogOM.BL.AudioManagement.ReproductionStatusHandler.Invoke(Boolean playing)
at LogOM.BL.AudioManagement.BeginPlay(String fileName, Int32 deviceNumber)
2017-01-02 21:15:38.4569 ERROR: *** CatPTTForm: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. ******* [Function: #=q2IaJs_6W8jPHxj7lEEGWsW9pxhdRCkR8o41sWxB34Tc=] System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at LogOMUI.CatPTTForm.#=qICSI0Xk75qDAlZpapH4URVRPuQsYYnwuhDoGZDczeaFiGlkahYRx5cOe9GtkYlrj(Boolean #=qX9qqzxlQ87UaRC$q0A5gmQ==)
at LogOM.BL.AudioManagement.ReproductionStatusHandler.Invoke(Boolean playing)
at LogOM.BL.AudioManagement.BeginPlay(String fileName, Int32 deviceNumber)
at LogOMUI.CatPTTForm.#=q2IaJs_6W8jPHxj7lEEGWsW9pxhdRCkR8o41sWxB34Tc=(Object #=qIXuCtoEjfjmPBe7CGxvI8A==, MouseEventArgs #=qvWB$XrkggBDrvP5J08ZnrA==)
OS: Windows 7 ultimate 64
RIG: Yaesu FT-897
Log4OM 1.27.0
Additional informations: Cat Interface via OmniRig, external audio sound card Xenyx USB 302

I have the full zip generated by support prepare function


73 de IZ3XNJ Stefano

Re: Voice Keyer fails if I close and reopen the window

Posted: 04 Jan 2017, 07:58
by IW3HMH
Thanks for reporting. I'll check now