HID Device Tool exception error

Post Reply
GK61
Posts: 44
Joined: Thu Jan 30, 2020 10:03 am
Product: F16SGRH
S/N: 30

HID Device Tool exception error

Post by GK61 »

After closing HID tool then reopening, that file name doesn't show in the upper left corner, often no file shows so I go to open it under the file menu and the error below comes up and I would like to know why this is happening, perhaps I've overlooked something I don't know. In any event I've been noticing certain idiosyncrasies the tool and the firmware for that matter and it seems they perhaps an update on one or both is in order.

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.InternalGetDirectoryName(String path)
   at System.IO.Path.GetDirectoryName(String path)
   at RS_HID_DEV_TOOL.RealSimulator_HID_Device_Tool.CargaAsFSSB_R3_RH_configuracion()
   at RS_HID_DEV_TOOL.RealSimulator_HID_Device_Tool.openToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RS_HID_DEV_TOOL
    Assembly Version: 1.1.2.0
    Win32 Version: 1.1.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/RealSimulator%20Code/RS_HID_DEV_TOOL/RS_HID_DEV_TOOL.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SharpDX.DirectInput
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/RealSimulator%20Code/RS_HID_DEV_TOOL/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/RealSimulator%20Code/RS_HID_DEV_TOOL/SharpDX.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Last edited by GK61 on Fri May 01, 2020 5:28 pm, edited 1 time in total.
GK61
Posts: 44
Joined: Thu Jan 30, 2020 10:03 am
Product: F16SGRH
S/N: 30

Re: HID Device Tool exception error

Post by GK61 »

I've gone ahead and uninstalled the software, deleted all directories, did a registry sweep, rebooted then reinstalled also reinstalling the "MJF_FW_F16_SG_3_20_3.FSSB_R3" FW and things seem better now but I'd still appreciate input from RS on this error, thanks.

start HID Tool, often current .xml not showing up...
Image

...go to file menu to open said .xml file and this error occurs...
Image
GK61
Posts: 44
Joined: Thu Jan 30, 2020 10:03 am
Product: F16SGRH
S/N: 30

Re: HID Device Tool exception error

Post by GK61 »

Also on some occasions, after an unplug and replug the R3L gives 4 short beeps then a longer 5th beep, what is the issue here?
GK61
Posts: 44
Joined: Thu Jan 30, 2020 10:03 am
Product: F16SGRH
S/N: 30

Re: HID Device Tool exception error

Post by GK61 »

Also probably unrelated to this exception error, often when I make adjustments to NASA roll and pitch, RCA, FSC, precision mode etc etc, the axis in the lower right corner of the HID tool diagram are often off center by whatever distance depending on values selected, is this to be expected and is this an occasion to perform a Neutral Position Adjustment (Trigger 1 + NWS Center)?
Dragon
Posts: 702
Joined: Thu Jan 10, 2013 6:03 pm
Product: ---
S/N: 0

Re: HID Device Tool exception error

Post by Dragon »

The values in the X/Y can be show in two ways, raw data from the R3L or procesed by the windows hid system.
In your picture the values are the processed by the windows hid system. so when you modify Roll and Pitch settings, you modify the gain, offset etc in your R3L. If your W10 HID its other that 1:1 can be differences between the RAW and the HID values. but as I dint know what are your setting inside windows, I can not be sure this its your problem

Best its do a teamview sesion and take a look.
GK61
Posts: 44
Joined: Thu Jan 30, 2020 10:03 am
Product: F16SGRH
S/N: 30

Re: HID Device Tool exception error

Post by GK61 »

Quick followup here, thank you Dragon for the Team-view meet, helped clarify many things, I simply cannot say enough good things on the new FW (MJF_FW_F16-F18_4_00_0 for R3L) which fixes every issue I've had and now to simply say to everyone, no excuses not to use it.
Post Reply