23
« on: 2014-12-01, 20:41:20 »
Hi everyone,
For a long tinme I have been using an outboard winkey, but I figured it was time to utilise the inboard winkey emulation. The virtual serial port is set up to be 1200baud, 8 bits, no parity, 2 stop bits. I have set this up to work with N1MM+ and the first time that I ask N1MM to send some CW it works fine. After one call that it refuses to work again. N1MM gives me an error message (pasted below as it is long)
I have com2 for CAT control (ts-480, 4800 baud) and this works OK with a real cable, but not via USB and a virtual serial port. Any guesses what I should change? I looks like I have a software problem, Rebooting the computer makes cw work (once) as does rebooting my RRC box. But restarting N1MM makes no difference.
I'd apprecaite your thoughts!
73
Steve
M0BPQ
N1MMLogger.net - Version 0.19.4312.0
Built: 11/29/2014 12:54:32 PM
Microsoft Windows NT 5.1.2600 Service Pack 3,64:0,en-GB,en-US
Error occurred at: 12/1/2014 6:15:51 PM in Thread:
---------------------------------------------------------------------------------------
System.IO.IOException: The I/O operation has been aborted because of either a thread exit or an application request.
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream.EndWrite(IAsyncResult asyncResult)
at System.IO.Ports.SerialStream.Write(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
at System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count)
at N1MMLogger.Net.Winkey.PutInt(Int32 aNum) in Logger.Net\Classes\Winkey.vb:line 612
HRESULT = '800703E3'
---------------------------------------------------------------------------------------
Call Stack before the runtime error: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at N1MMLibrary.SharedLib.CallStackString() in Library\Classes\SharedCode.vb:line 57
at N1MMLogger.Net.SharedCode.HandleError(Exception e, String PortName, String Info) in Logger.Net\Modules\SharedCode.vb:line 207
at N1MMLogger.Net.Winkey.PutInt(Int32 aNum) in Logger.Net\Classes\Winkey.vb:line 605
at N1MMLogger.Net.PortManager.udp_HostClose(Int32 portnr) in Logger.Net\Classes\PortManager.vb:line 271
at N1MMLogger.Net.UDPClass.HostCloseEventHandler.Invoke(Int32 PortNr)
at N1MMLogger.Net.UDPClass.HandleGenericMessage(XmlReader reader, String cmd) in Logger.Net\Classes\UDPClass.vb:line 355
at N1MMLogger.Net.UDPClass.DistributeXML(String aString) in Logger.Net\Classes\UDPClass.vb:line 305
at N1MMLogger.Net.CWIFInterfaceClass.SendXMLPortString(Int16& PortNr, String& groupname, String& p1name, String& p1value, String& p2name, String& p2value, String& p3name, String& p3value) in Logger.Net\Classes\CWIFInterface.vb:line 395
at N1MMLogger.Net.CWIFInterfaceClass.HostClose() in Logger.Net\Classes\CWIFInterface.vb:line 244
at N1MMLogger.Net.EntryWindow.EntryWindow_FormClosing(Object sender, FormClosingEventArgs e) in Logger.Net\Forms\EntryWindow.vb:line 438
at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Form.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmSysCommand(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Form.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmNcButtonDown(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at N1MMLogger.Net.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 82