View Full Version : FS2Phidget5 HELP

01-17-2015, 03:21 PM
Hello ,

I'm an old time simmer trying to resurrect my retired sim cockpit.
9 or 10 years ago i was running FSphidgets without a hitch. If memory
serves me right, it was easy to set up. Not so easy these days.

The computer i currently am trying to run FS2Phidgets on is an
I5 based quad core with 8 Gb ram running Win 8.1 (hate this OS)

So i download and install the latest FS2Phidgets and Phidget21 Libraries.

My device is : Phidget Interfacekit 0/0/4 (p/n 1014)

When I bring up the Phidget Control Panel, it sees my Phidget.
When I click on my Phidget, it brings up the Interfacekit-full
screen. When i click on each of the digital out boxes, each respective
relay works correctly. Thats about where things quit working.

When i start FS2Phidget5, everything appears normal(i guess) till I
click on the dropdown under Phidgets under toolbox and select my device.

then i get this:

FS2Phidget 5.0.15 - Project - Project1.xml
An unhandled exception has occured in your application.

These are the Details:

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: '0' is not a valid value for 'index'.
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at XSystem.frmMain.FillPhidgetDropDowns()
at XSystem.frmMain.cmbPhidgetType_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
Assembly Version: 1.0.3669.33316
Win32 Version: 1.0.3669.33316
CodeBase: file:///C:/Program%20Files%20(x86)/FS2Phidget5/FS2Phidget5015.exe
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/FS2Phidget5/Interop.Phidget21COM.DLL

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

For example:

<system.windows.forms jitdebugging="true">

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

HELP Please!

02-14-2015, 03:04 PM
Usual problem for this message is that the installed Phidget driver does not match the Fs2Phidget version. The latest Fs2Phidget versions indicates the required Phidget driver version and will annunciate green if this is OK.

02-14-2015, 03:18 PM
I have not supported fs2phidget5 for some time now. I would recommend using FsPhidget4.

02-15-2015, 12:12 PM
Thank you for responding. I've already tried using the 4.xx versions. If you would, please read my two or three posts in the FS2Phidget Users sub forum, to see the issues i'm having with FsPhidget4.
Thanks again.

02-15-2015, 12:21 PM
P.S. I am not trying to run FsPhidget on the new 64 bit Win 8.1 system anymore. I am back to using the trusty 32 bit Win XpPro system.