Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,765
  • Joined

  • Last visited

  • Days Won

    288

Posts posted by John Dowson

  1. SPEED_SLOT_INDEX_SET is a control/event, not a data value stored in an offset. The FSUIPC log entry is just logging that this event was received. There is no way to read the parameter of this event via the SDK.
    But really, is that what you want to do? This (undocumented) control alters the FCU authority, so what you probably want to read is where the actual authority of the FCU lies. Not sure where thats held (if at all!)- if there is a sim variable for this then I could add that to the offset area for you to read - if you let me know what it is!

    John

     

  2. 6 minutes ago, roa said:

    Can these mobiflight events implemented in the wasm module also be "reach" via standard SimConnect Events?

    What is the protocol or methods used to access and trigger any of these new event from a SImConnect Client?

    So, not using FSUIPC but SimConnect directly? You can use them as any other client event by registering them using the SimConnect_MapClientEventToSimEvent function, using IDs in the appropriate custom event range.

    John

     

  3. 4 minutes ago, Stinger2k3 said:

    I see that we can delete events from the .evt file if we don't need them, can we cut and paste events from one .evt file to another? Does that work?

    Sure - you can create your own event file just for the events needed. Just make sure that that the events have consecutive index numbers and max of 256 events (0-255) per file.

    As I mentioned in a previous post, I think it would be better to create an event file for each device (e.g. G1000.evt, G3000.evt, etc), and then just add the ones for the systems you use. I guess I could also look into making the [EventFiles] ini section profile specific if different event files will be used for different profiles.

    And make sure that you do this before you assign to the events, or changing event files when you already have assignments will make previous assignments invalid.

    John

  4. 3 minutes ago, roa said:

    Where do I find the WASM module? Tried to Download MobiFlight and did an update, but Windows 10 block the update and MobiFlight module just stops working.

    Just follow the instructions in the link posted above. If you have issues with Windows Defender (or any other antivirus software) blocking you, then just temporarily disable until you have it installed.

     

  5. 32 minutes ago, cellular55 said:

    the control is 70022.

    Are the parameters you are using for those controls correct? Can you check that (and let me know what header file you are using, as I asked, so I can see if I have a copy somewhere....): I guess these are the controls that are giving the problem: 

    Quote

       336281 *** EVENT: Cntrl= 70022 (0x00011186), Param= -2147483648 (0x80000000)  <70022>
       336422 *** EVENT: Cntrl= 70022 (0x00011186), Param= -2147483648 (0x80000000)  <70022>
       337344 *** EVENT: Cntrl= 70022 (0x00011186), Param= -2147483648 (0x80000000)  <70022>
       337547 *** EVENT: Cntrl= 70022 (0x00011186), Param= -2147483648 (0x80000000)  <70022>
       338531 *** EVENT: Cntrl= 70022 (0x00011186), Param= -2147483648 (0x80000000)  <70022>

    32 minutes ago, cellular55 said:

    About the ROTOR BRAKE I have seen that and it's really strange because, as you can also see in the INI file, I do not use at all that control: I use only controls that are listed in the PMDG 737NGXU SDK document and the FSUIPC offsets. So I do not understand why that's is happenning.

    No, me neither - I can't see any assignments to that control in either your general assignments or the profile assignments for that aircraft. Maybe these are events that the PMDG aircraft use internally and can be ignored - if thats the case, you could use the DontLogThese ini parameter to ignore these (also available for Profiles).

    Could you active logging for Buttins & Keys, and produce another log file please, so I can see what buttons you are pressing to send the controls.
    Also, let me know which are the log entries produced when you use the mouse/UI to change the values.

    Also, you have controllers active in P3D:
         1906 Controllers are set to ON, using RawInput within P3D

    Can you either disable controllers in P3D, or check that you don't have any assignments there.

    John
     

  6. 9 hours ago, dserrano said:

    I would like too adjust the buttons to change the function once the aircraft is in the air ex: the buttons that I used to put the parking brake in the air I would like to used to adjust lights.

    That should be straightforward by using an 'offset condition' on your button assignment (on offset 0x0366 - please see the advanced user guide for details.
    The basic method to do this is to make one assignment to your button for when on the ground, then add the offset condition to that assignment by manually editing your ini. Then comment out that assignment, and make your second assignment (when in air) to the  same button. then edit the ini again, adding an offset condition to that assignment, and also re-enabling the assignment that you commented out earlier. You then have tow assignments for that button, one which will apply in the air and the other on the ground.

    9 hours ago, dserrano said:

    I would like to adjust the yaw axis as nose wheel steering at ground and once I adjust the thrust in FLEX or TOGA it change to yaw

    This is also possible but trickier. You would have to have a lua script to have different functions on an axis. This post should help: 

    John

     

  7. 45 minutes ago, shibekora said:

    1=elec=RX27400800,3
    2=baro_standerd=RX40000051,3
    3=baro_reset=RX4000004c,3
    4=FTCL=RX27400800,3
    5=Can_Recal=RX40000063,3
    6=TFC=RX40000057,3
    7=WXR=RX40000056,3

    Yes, those macros are using the same rectangle ID (RX27400800), so they would perform the same funtion.
    I'm not sure why this is if they behave differently when you click them in the UI...
    Sorry, but not having this add-on aircraft, I don't know what to advise if you cannot find a suitable lvar for this instead...

    John

  8. 3 hours ago, FlammableTacoTS said:

    Hi, I'm getting similar problems, I use FSUIPC 7 and PACX, I wanted to know if the crashing is more likely caused by FSUIPC than PACX, meaning if I didn't run PACX, is it likely that I would get the same problems (CTD)?

    The issue is with the SimConnect SDK, but its not clear what the actual issue is. However, it seems that the more SimConnect is used, the more likely the chance f a CTD. So reducing the amount of data going though simConnect (by removing some clients), could delay the issue, but I doubt it will prevent it ompletely.

    John

  9. First, if its FSUIPC assignments, could you disable Linda for the time being. Otherwise, if you are using Linda, you should use their support forums.

    Activate event logging and button & keys (already activated), then produce a short log where you press one of you assigned buttons. Then attach the new log, together with your FSUIPC6.ini file and I'll take a look.

    John

  10. 15 hours ago, MarkStallen said:

    Would be so nice if you're able to get this to work. 

    It is working, but with restrictions (only use one *.evt file at the moment).

    16 hours ago, MarkStallen said:

    That works, but the spad.next has also the ID's for the A320 Neo and the A320 FBW

    How to call the Spad.next ID's ?

    0=??????.A320_NEO_MFD_RANGE_1 etc

    Those are lvars, not events, so currently not possible to use.

    John

  11. 2 minutes ago, Stinger2k3 said:

    I am a little confused as to what is needed. Is it just a matter of installing the WASM into the community folder and then copying the .evt file into the FSUIPC7 installation folder?

    Yes.

    2 minutes ago, Stinger2k3 said:

    Do we still need to install Mobiflight itself?

    You need to install and run it initially, to enable beta updates and to download the WASM module. Once that is done and you have placed the WASM folder in the community folder, you don't need to run Mobiflight anymore.

    Just follow the instructions here.

    John

  12. 2 minutes ago, asessa said:

    John, for me , NO WAY means it will be NOT and ever develop.

    I said 'There is currently no way to access lvars in FSUIPC7. '! i.e. not at the moment! Thats what I mean by currently!

    3 minutes ago, asessa said:

    there is no need to get angry because I asked for something again

    I'm not angry,  sorry if it came across that way. Its just that, as I said,  you seem to be asking me the same question that I answered for you a few days ago, and I'm not sure why or if I am misunderstanding you, or you have misunderstood my previous comment on this matter....

    John

  13. 19 hours ago, John Dowson said:

    Thanks for the link. I will look into this shortly to see what I can do.

    @Stinger2k3 You can use the MobiFlight events by creating an *.evt file with the events you want to use, and they will then appear in the FSUIPC assignments drop-downs. See my latest post on this here: 

     

    I will look into providing some event files for all of these MobiFlight events.

    John

  14. 20 hours ago, Helibrewer said:

    Thanks, I created an events file named GNS530.evt and placed it in the installation folder. It just contains two lines for testing:

    [Events]
    1=MobiFlight.AS530_ENT_Push

    When I use the dropdown in "Assignments" -> "Buttons and Switches" the Mobiflight event is not listed. Am I missing a step?

    I just tried this and it works - I see the events in the dropdown list (at the beginning):

    951995202_Image3.png.52b2a5695dbc10fb218f7f103cbc21fa.png

     

    I've attached the event file I have used (I've just added the first 54 events for the time being):MobiFlight-Events1.evt

    John

     

  15. There is currently no way to access lvars in FSUIPC7. This is a facility that I need to look into.
    So its not yet possible. Of course, once I have implemented access to lvars, you can do with them what you wish, including using them to populate user offsets.
    I have said this all before, so I just don't understand why you keep on asking the same question ion different topics!
    Is there anything not clear in what I have said about this?

    John

  16. 14 minutes ago, asessa said:

    Which just re-iterates what I just said:
     

    Quote

    These can be used to populate with data from lvars, but unfortunately there is currently no access to lvars in FSUIPC7. This is the next facility that I would like to look into providing, when time permits.

    Sorry, but I don't understand what you are asking, or why you are asking the same question again...

    John

×
×
  • 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.