Jump to content

Search the Community

Showing results for tags 'prosimutils'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Product Support Forums
    • FSUIPC Support Pete Dowson Modules
    • FeelThere Support Forums
    • Fabio Merlo Products Support Forum
    • Nikola Jovanovic Support Forum
    • Intrasystems Support Forum

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi all, Well, after a full day making white hairs, I think I need your help with FSUIPC and keystrokes sent from a program. At this time I am trying to understand why ProsimUtils has issues to control GSX : commands are sent from the CDU to ProsimUtils, and then to P3D through FSUIPC/WideClient. Sometimes, the command CTRL+SHIFT+F12 opens the usual FSX window, but it's rare, and the command following the first one (1 or 2 to select an option) does nothing ... After that, if I want to open GSX window again, it simply doesn't work. All commands are registered in FSUIPC log, so they are well received but no event. It's pretty much the same issue than the one reported by Ramon here : https://forum.simflight.com/topic/91365-prosimutils-181-simconnect-window/ I coded a small python script to send keystrokes to Prepar3D through FSUIPC and WideClient. And I noticed something really strange. I would be glad if someone can comment or point me to the right direction. The keystroke used is simple : it's S to change the view. If I execute the script, the keystroke is registered by FSUIPC and I can see it in the log, but nothing happens. If I execute the script two times, and with around 0.5-1s between each execution, the keystroke is registered two times by FSUIPC, but this time (and unfortunately not each time), the view is changed (and only 1 time, which is fine in fact). I can't see what's wrong with my script. Here it is : import pyuipc pyuipc.open(pyuipc.SIM_P3D64) pyuipc.write([(0x3110, 'u', 1070), (0x3114, 'u', 2131)]) pyuipc.close() Pretty simple, isn't it ^^ ? And the logging messages : 351906 WRITEex 330A, 2 bytes: D2 07 .. 352062 WRITEex 3110, 4 bytes: 2E 04 00 00 .... # first run 352062 WRITEex 3114, 4 bytes: 53 08 00 00 S... 352531 WRITEex 3110, 4 bytes: 2E 04 00 00 .... # second run after 0.5s-1s 352531 WRITEex 3114, 4 bytes: 53 08 00 00 S... 353718 *** EVENT: Cntrl= 65567 (0x0001001f), Param= 0 (0x00000000) VIEW_MODE I use Prepar3D v5.1 HF1, with different sceneries and add-ons (UTLive2 beta, ASP3D, Prosim737, FSUIPC6.11). Python 3.7 is used with pyuipc installed from FSUIPC/SDK folder. I am experienced with Python, but not with FSUIPC SDK, so I probably do something wrong and can't see what it is ... Thanks for your help !! Olivier
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.