Jump to content
The simFlight Network Forums

P2A PTT Not Connecting


Recommended Posts

I had to reload P2A on a new drive due to a crash. Previously I had PTT set up via the SIM computer and it was working.  I am now on P3d V4.5 and FSUIPC6.  Following the directions in the P2A user manual I set up a button from my Yoke to KEYSEND 1-255 (WideFS) w/ 1 and 2 and 'Select for FS Control' ticked.  I inserted the text (pls see below) in the WideClient.ini file under 'Users' on the P2A computer.  Then I set the P2A F12 button as the default PTT Hot Key in P2A in the Conifg page.  No luck.

I have a registered version of both FSUIPC and WideClient.  WideClient shows 'connected' and the other functions of P2A work w/ the SIM computer. When I push F12 on my P2A keyboard the PTT button works/illuminates.

I'm sure I'm missing something very obvious - any help would be appreciated.

The FSUIPC6.ini file has the following code on the SIM computer:  

[Buttons]
PollInterval=25
ButtonRepeat=20,10
1=R0,2,Cx010053F4,x02     -{offset byte set, offset 53F4}-
2=U0,2,Cx010053F4,x00     -{offset byte set, offset 53F4}-
3=R0,3,Cx010053F4,x01     -{offset byte set, offset 53F4}-
4=U0,3,Cx010053F4,x00     -{offset byte set, offset 53F4}-
11=P0,0,C1006,1     -{KEYSEND 1 for WideFS}-
12=U0,0,C1006,2     -{KEYSEND 2 for WideFS}-

Here's how it looks in the WideClient.ini on the P2A computer.

[User]
Log=Errors+
KeySend1=123,16 ; Click F12
KeySend2=123,24 ; Release F12
UseSendInput=Yes

Chuck

Link to comment
Share on other sites

20 minutes ago, kwompus21 said:

Following the directions in the P2A user manual I set up a button from my Yoke to KEYSEND 1-255 (WideFS) w/ 1 and 2 and 'Select for FS Control' ticked.  I inserted the text (pls see below) in the WideClient.ini file under 'Users' on the P2A computer.  Then I set the P2A F12 button as the default PTT Hot Key in P2A in the Conifg page.  No luck.

I have something similar set up.  But I'm not sure I have the same settings. I can check tomorrow -- by cockpit system and associated client PCs are off for the night -- I'm going to bed very soon.  I suggest first, though, that you enable Button logging in the FSUIPC options and operate the PTT button, remembering of course it has to be held down.  Show me the Log.

On the WideClient side, I'm not sure that P2A needs "UseSendInput". Do the P2A instructions say so. I'll check my settings tomorrow. Does the WideClient log show anything?

Pete

 

 

Link to comment
Share on other sites

Thank you for the quick response.  Sleep well :)

Answers:  

1 hour ago, Pete Dowson said:

Do the P2A instructions say so.

Yes - I copied is from their manual.

1 hour ago, Pete Dowson said:

Does the WideClient log show anything?

********* WideServer.DLL Log [version 7.076] *********
Blocksize guide = 8192 (double allowed)
Date (dmy): 07/12/20, Time 18:37:02.223: Server name is P3D-COMPUTER
    15093 Initialising TCP/IP server
    15093 Initialising UDP/IP server
    16000 Broadcasting service every 1000 mSecs

1 hour ago, Pete Dowson said:

I suggest first, though, that you enable Button logging in the FSUIPC options and operate the PTT button, remembering of course it has to be held down.  Show me the Log.

********* FSUIPC6, Version 6.0.11 (26th November 2020) by Pete & John Dowson *********
Prepar3D.exe version = 4.5.14.34698
Running inside Prepar3D v4
Module base=7FFCC26E0000
Windows 10 Pro 64 Bit reported as Build 19042, Release ID: 2009 (OS 10.0)
Reading options from "C:\Users\Chuck\Documents\Prepar3D v4 Add-ons\FSUIPC6\FSUIPC6.ini"
Checking the Registrations now ...
User Name="Chuck Steinmetz"
User Addr="rcsteinmetz32@gmail.com"
User WideFS Name="Chuck Steinmetz"
User WideFS Addr="chuck.steinmetz@fox6now.com"
FSUIPC6 Key is provided
WideFS7 Key is provided
       16 System time = 07/12/2020 18:31:38
       16 FLT UNC path = "\\P3D-COMPUTER\Users\Chuck\Documents\Prepar3D v4 Files\"
       32 Using DialogMode
       47 FS UNC path = "\\P3D-COMPUTER\Prepar3D v42\"
      125 ---------------------- Joystick Device Scan -----------------------
      125 Product= MFG Crosswind V2
      125    Manufacturer= MFG
      125    Serial Number= MFG500002
      125    Vendor=16D0, Product=0A38 (Version 33.1)
      172    GUIDs returned for product: VID_16D0&PID_0A38:
      172       GUID= {C7FAF5E0-9850-11EA-8001-444553540000}
      172       Details: Btns=2, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R4096,U0,V0,X4096,Y4096,Z0
      172 Product= FDS-FC1
      172    Manufacturer= TEKWorx Limited
      172    Vendor=1FD1, Product=03ED (Version 1.35)
      172    GUIDs returned for product: VID_1FD1&PID_03ED:
      172       GUID= {C7FB6B10-9850-11EA-8003-444553540000}
      172       Details: Btns=32, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X0,Y0,Z0
      188 Product= AGRONN B737 Yoke V2.2
      203    Manufacturer= Microchip Technology Inc.
      203    Vendor=04D8, Product=F30F (Version 0.2)
      203    GUIDs returned for product: VID_04D8&PID_F30F:
      203       GUID= {123C47A0-BA28-11EA-8001-444553540000}
      203       Details: Btns=5, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X32767,Y32767,Z0
      203 -------------------------------------------------------------------
      219 Device acquired for use:
      219    Joystick ID = 2 (Registry okay)
      219    2=MFG Crosswind V2
      219    2.GUID={C7FAF5E0-9850-11EA-8001-444553540000}
      219 Device acquired for use:
      219    Joystick ID = 1 (Registry okay)
      219    1=FDS-FC1
      219    1.GUID={C7FB6B10-9850-11EA-8003-444553540000}
      219 Device acquired for use:
      219    Joystick ID = 0 (Registry okay)
      219    0=AGRONN B737 Yoke V2.2
      219    0.GUID={123C47A0-BA28-11EA-8001-444553540000}
      219 -------------------------------------------------------------------
      250 Controllers are set to OFF
      250 LogOptions=00000000 00000001
      250 -------------------------------------------------------------------
      250 SimConnect_Open succeeded: waiting to check version okay
      250 Opened separate AI Traffic client okay
    18985 Running in "Lockheed Martin® Prepar3D® v4", Version: 4.5.14.34698 (SimConnect: 4.5.0.0)
    18985 Initialising SimConnect data requests now
    18985 FSUIPC Menu entry added
    19000 ... Using Prepar3D with Professional License
    19016 \\P3D-COMPUTER\Users\Chuck\Documents\Prepar3D v4 Files\KEGE Ramp2.fxml
    19016 \\P3D-COMPUTER\Prepar3D v42\SimObjects\Airplanes\Sim-Avionics 737-800 Winglets\B737-800.air
    22969 ### The user object is 'Boeing 737-800 XL Airways Excel'
    22969 ### Mode is NORMAL
    23891 ### Mode: PAUSE on
    69016 Loading Complete ...
    69032 ### Mode is NORMAL
    69703 User Aircraft ID 2 supplied, now being used
    69703 Aircraft loaded: running normally now ...
    70282 System time = 07/12/2020 18:32:49, Simulator time = 14:00:01 (21:00Z)
    70297 Aircraft="Boeing 737-800 XL Airways Excel"
   112032 *** Entered Keys option page ***
   113438 *** Exiting Keys option page ***
   135360 *** Entered Buttons option page ***
   138235 *** Exiting Buttons option page ***
   321125 LogOptions changed, now 40000000 00000001
   323407 -------------------- Starting everything now ----------------------
   323407 Starting WideServer now ...
   323422 ASN active function link set
   323422 Ready for ActiveSky WX radar with additional data
   323985 Button changed: bRef=0, Joy=0, Btn=0, Pressed
   323985 [Buttons] 11=P0,0,C1006,1
   323985 FSUIPC Control Action: Ctrl=1006, Param=1
   323985 SendKey buffer[0] = 1
   324188 Button changed: bRef=0, Joy=0, Btn=0, Released
   324188 [Buttons] 12=U0,0,C1006,2
   324188 FSUIPC Control Action: Ctrl=1006, Param=2
   324188 SendKey buffer[1] = 2
   324360 Button changed: bRef=0, Joy=0, Btn=0, Pressed
   324360 [Buttons] 11=P0,0,C1006,1
   324360 FSUIPC Control Action: Ctrl=1006, Param=1
   324360 SendKey buffer[2] = 1
   324453 Advanced Weather Interface Enabled
   324563 Button changed: bRef=0, Joy=0, Btn=0, Released
   324563 [Buttons] 12=U0,0,C1006,2
   324563 FSUIPC Control Action: Ctrl=1006, Param=2
   324563 SendKey buffer[3] = 2
   324750 Button changed: bRef=0, Joy=0, Btn=0, Pressed
   324750 [Buttons] 11=P0,0,C1006,1
   324750 FSUIPC Control Action: Ctrl=1006, Param=1
   324750 SendKey buffer[4] = 1
   324922 Button changed: bRef=0, Joy=0, Btn=0, Released
   324922 [Buttons] 12=U0,0,C1006,2
   324922 FSUIPC Control Action: Ctrl=1006, Param=2
   324922 SendKey buffer[5] = 2
   325063 Button changed: bRef=0, Joy=0, Btn=0, Pressed
   325063 [Buttons] 11=P0,0,C1006,1
   325063 FSUIPC Control Action: Ctrl=1006, Param=1
   325063 SendKey buffer[6] = 1
   325250 Button changed: bRef=0, Joy=0, Btn=0, Released
   325250 [Buttons] 12=U0,0,C1006,2
   325250 FSUIPC Control Action: Ctrl=1006, Param=2
   325250 SendKey buffer[7] = 2
   325328 Button changed: bRef=0, Joy=0, Btn=0, Pressed
   325328 [Buttons] 11=P0,0,C1006,1
   325328 FSUIPC Control Action: Ctrl=1006, Param=1
   325328 SendKey buffer[8] = 1
   325485 Button changed: bRef=0, Joy=0, Btn=0, Released
   325485 [Buttons] 12=U0,0,C1006,2
   325485 FSUIPC Control Action: Ctrl=1006, Param=2
   325485 SendKey buffer[9] = 2

 

 

Link to comment
Share on other sites

8 hours ago, kwompus21 said:

 

10 hours ago, Pete Dowson said:

Does the WideClient log show anything?

********* WideServer.DLL Log [version 7.076] *********
Blocksize guide = 8192 (double allowed)
Date (dmy): 07/12/20, Time 18:37:02.223: Server name is P3D-COMPUTER
    15093 Initialising TCP/IP server
    15093 Initialising UDP/IP server
    16000 Broadcasting service every 1000 mSecs

That's the WideServer Log (which doesn't show any connection, if that's the end of the log). The WideClient log is produced by WideClient, and will be with your WideClient.EXE and WideClient.INI files.  I needed to see that log.

The FSUIPC logging is good.

--------------------------------------------------------------------

My settings in Wideclient.INI for P2A are:

UseSendInput=Yes
KeySend110=112,16 ; F1 Press   PTT for P2A
KeySend111=112,24 ; F1 Release PTT for P2A
KeySend112=121,16 ; F10 Press   Sayit for P2A
KeySend113=121,24 ; F10 Release Sayit for P2A
KeySend114=117,16 ; F6 Press   Sound device for P2A
KeySend115=117,24 ; F6 Release Sound device for P2A


so, not a lot different. However, I do remember I had some difficulty when my assignments were more logical -- F1, F2, F3. I experimented till I found tthe Function keys which worked as hot keys with P2A. I don't know why some didn't -- I'm guessing something else was 'stealing' them.

10 hours ago, kwompus21 said:

When I push F12 on my P2A keyboard the PTT button works/illuminates.

Does that work even when P2A doesn't have the focus? i.e. click on another program's window first. Then press F12.

On my P2A PC I'm still running Win7. I know hot keys work well in win7. but to my experience (eg on my P3D PC) they certainly don't always on Win10. I don't know why, but mostly i have to have first clicked on the program which is supposed to capture the keypress.

Pete

 

Link to comment
Share on other sites

8 hours ago, Pete Dowson said:

That's the WideServer Log (which doesn't show any connection, if that's the end of the log). The WideClient log is produced by WideClient, and will be with your WideClient.EXE and WideClient.INI files.  I needed to see that log.

Either operator error or a potential issue but I cannot find a WideClient log - I am looking on the P2A computer in the FSUIPC folder that holds the WideClient.ini file and did have the WideClient.exe file, but I pulled it out to reside on my desktop. Would it potentially be sent to a different location or would it be housed on the SIM computer in the Documents folder for FSUIPC.

 

8 hours ago, Pete Dowson said:

Does that work even when P2A doesn't have the focus? i.e. click on another program's window first. Then press F12.

Yes - I opened Navigraph Charts and opened a chart - F12 will works w/ PTT.  Note - in order for F12 to work P2A must be connected to the P3D and for that to happen WideClient must be started/connected which tells me WideClient is working (but still can't find the log :))

8 hours ago, Pete Dowson said:

My settings in Wideclient.INI for P2A are:

UseSendInput=Yes
KeySend110=112,16 ; F1 Press   PTT for P2A
KeySend111=112,24 ; F1 Release PTT for P2A
KeySend112=121,16 ; F10 Press   Sayit for P2A
KeySend113=121,24 ; F10 Release Sayit for P2A
KeySend114=117,16 ; F6 Press   Sound device for P2A
KeySend115=117,24 ; F6 Release Sound device for P2A


so, not a lot different. However, I do remember I had some difficulty when my assignments were more logical -- F1, F2, F3. I experimented till I found tthe Function keys which worked as hot keys with P2A. I don't know why some didn't -- I'm guessing something else was 'stealing' them....

...On my P2A PC I'm still running Win7. I know hot keys work well in win7. but to my experience (eg on my P3D PC) they certainly don't always on Win10. I don't know why, but mostly i have to have first clicked on the program which is supposed to capture the keypress.

Pete

 

I am on Widows 10.  I can try different function keys.  I will refer to your documentation which I believe walks through how to identify the keyboard keys numerically in the Wideclient.INI - or I can just steal what you did 🙂 for F1. 

Which I believe would look like this:

[User]
Log=Errors+
KeySend1=112,16 ; F1 Press PTT for P2A (or Click F1)
KeySend2=112,24 ; F1 Release PTT for P2A (or Release F1)
UseSendInput=Yes

Edit - I just noted your response in the P2A forum - I probably should have deleted that post now that I have this post - my plan was to resolve the issue and post a link for others to see - I didn't know you responded in the P2A forum and did not mean to have duel active posts.

Thank you again so much for your time!

Chuck

 

 

Link to comment
Share on other sites

1 hour ago, kwompus21 said:

Either operator error or a potential issue but I cannot find a WideClient log - I am looking on the P2A computer in the FSUIPC folder that holds the WideClient.ini file and did have the WideClient.exe file, but I pulled it out to reside on my desktop.

Sorry, but this is very confusing. I thought you had P2A running on a separate PC to the flight sim? If so what on earth is FSUIPC doing on the P2A PC? And how did WideClient get into an FSUIPC folder? Why is FSUIPC there?

The WideClient.EXE, WideClient.INI and WideClient.LOG files all go together, all in the same place. They will never be separated!  

If you "pulled" the WideClient EXE out to your desktop and ran WideClient from there, it will be using a default INI file ON YOUR DESKTOP and it will make a LOG file ON YOUR DESKTOP. A log is always produced.

If you want an icon for WideClient on the desktop you have to make a shortcut (eg by "pulling" it whilst holing the ALT key down, or right-clicking and selecting "Create shortcut".

It sounds like you are running WideClient with default settings, therefore ignoring your changes to the INI file in the folder containing the original EXE. So, no "KeySend" actions!

Pete

 

Link to comment
Share on other sites

And as they say - 'there it is'.  All works now.  As I noted earlier that it was probably something obvious (aka dumb) that I was doing.  Yes, I was 'dragging' the .exe file out of its folder - and I have to say I noted the WideClient files populating on my desktop but didn't know what they were - now I do.  

Also, 'I' created the folder called 'FSUIP' on the P2A as a place hold the WideClient files - that too is on me and I totally get how it confused you.   In the end, you have solved my issue and I thank you.  You don't get enough credit for the time you take w/ your customers.  

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.