News:

Precision Simulator update 10.180 (14 October 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

Loading error

Started by PanosI, Sat, 3 Aug 2024 11:39

PanosI

When I have the WinWing FCU (A320) connected to my pc then PSX starts loading and stops in 12%.

The errors.txt shows these :

[Aerowinx Precision Simulator - Exceptions]

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 256
   at Usb$Part.setJob(Usb.java:2218)
   at Usb$Part.<init>(Usb.java:1864)
   at Usb.init(Usb.java:2309)
   at Core.startAll(Core.java:772)
   at Aerowinx.main(Aerowinx.java:65)

Hardy Heinlin

Does this device have more than 256 buttons or axes?


Edit: Is it that device?

https://www.simflight.com/2024/03/25/winwing-a320-fcu-unit1/

You won't get any USB connection to the MCP controls in PSX anyway.

PanosI


FlyItLikeYouStoleIt

Quote from: PanosI on Sat,  3 Aug 2024 11:39When I have the WinWing FCU (A320) connected to my pc then PSX starts loading and stops in 12%.

The errors.txt shows these :

[Aerowinx Precision Simulator - Exceptions]

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 256
    at Usb$Part.setJob(Usb.java:2218)
    at Usb$Part.<init>(Usb.java:1864)
    at Usb.init(Usb.java:2309)
    at Core.startAll(Core.java:772)
    at Aerowinx.main(Aerowinx.java:65)


I've just ordered one of these for my A320 sims, but was wondering if I could interface it to PSX as a FrankenBodge.

Did you make any progress?

Does it have to be disconnected otherwise PSX does not start?

Is there a way of interfacing it to PSX via other software? I see Mobiflight supports it and there may be ways of going to PSXEECON via FSUIPC. Does anyone have any experience of this?

PanosI

Quote from: FlyItLikeYouStoleIt on Sat, 23 Nov 2024 11:21I've just ordered one of these for my A320 sims, but was wondering if I could interface it to PSX as a FrankenBodge.

Did you make any progress?

Does it have to be disconnected otherwise PSX does not start?

Is there a way of interfacing it to PSX via other software? I see Mobiflight supports it and there may be ways of going to PSXEECON via FSUIPC. Does anyone have any experience of this?

No progress. The problem remains but I use the miniFCU and not the WinWing so I don't have it connected in my PC. I have also ordered the EFIS L and R from WinWing. When they are arrive I'll check again the situation.
I have SPAD.NXT and Mobiflight but I haven't search further for PSX interaction because I use the old Aerosoft MCP747 with PSX.

FlyItLikeYouStoleIt

Thanks for the info.

FlyItLikeYouStoleIt

An update: received WinWing A320 FCU. PSX starts fine with it connected. The switches and rotaries present as a normal HID USB device so I have updated my X-Touch Mini python script to send these on (obviously with some FrankenChanges) to PSX. Now I need to work out how to control the LEDs.

PanosI

Good to know that you didn't had the same problem.
Yesterday I received my F16 ICP from WinWing. Today I'll connect both (FCU and IPC) in my PC in different USB ports to see if the problem persists. 

PanosI

#8
I just connected FCU and ICP in the same usb ports and the problem doesn't exist anymore. Go figure !

FlyItLikeYouStoleIt

Ok, I have now got the FCU displays working to a reasonable level using the somewhat ridiculous bridge of PSX to PSXSeeCon to SIOC to FSUIPC offsets to Mobiflight.

Clearly there could be neater solutions and presumably delving in to the Mobiflight source to determine the USB protocol for the WinWing FCU displays would be the way forward.