Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

A2A C172, Cherokee, C182 Aircraft Specific Bespoke Events

Hello,

with my MCP Pro and EFIS I can use the Aircraft Specific Bespoke Event for the "C172 Trainer v1" with the A2A C172 and the Cherokee. Will there be such a file for the A2A C182 too?

Regards,
Martin
«1

Answers

  • edited November -1
    Hi Martin,

    I'll release more configs and iFly support in the new year unless anyone else would like to share their work?

    Best wishes
    Steve

  • edited November -1
    Hi Steve,

    thank you for your quick answer. I am happy that there will be new files for the A2A C182 and other planes.

    Unfortunately I have now a problem with the A2A C172 and the MCP Pro. If I load the C172 and then start GIT, the Heading Bug is set 90 degrees wrong. For example if I set course 000 on the MCP I get  090 degrees set in the C172. That's very strange and I don't know exactly how long this problem exists. Maybe since I've installed the C182...

    Best regards,
    Martin
  • edited November -1
    Hi Martin,

    It's possible that the C172 has been updated since I developed the original bespoke events and so they need updating.

    Unfortuantely, I'm bogged down in developing iFly 747 support for Goflight and finishing off the Sid Star Tool for the new year, but I'll take a look as soon as I can unless someone else can help out here? Have you thought about tweaking them yourself?

    I'll certainly be more focused on GIT and new aircraft support in the new year.

    Best wishes
    Steve
  • edited November -1
    Hi Steve,

    I think you are right. It looks like this problem with the C172 occurs since the last Accusim Core Update. The C182 (Heading, Altitude) works without problems if I set the MCP Pro to "Default". At the Cherokee I can use the file for the C172 (MCP Pro set to "compatible" and the Heading sync is correct. Only with the C172 I have this problem and there only with the Heading.

    I'm really scared tweaking this one myself. I have no idea how to do this. Nevertheless I'm glad, that I can already set simple functions with the GIT to a plane. ;-)

    Regards,
    Martin
  • Hello

    I just purchased my first goflight equipment to replace saitek equipment. I want to use the equipment with the a2a c172, c182 and the piper 180. I started with what I thought would be the easiest the gf-secm and the first switches battery and alt. I spent hours trying and finally gave up. I tried the bespoke events using send events and also the assign key command recommended by a2a for the saitek ( wich I had gotten to work with this switch). I downloaded all of the a2a 172 files I could find on this site and others but none had bespoke events dealing with the battery and alt switches. My goal is to not only get the switches working but to also learn how to do it so I can program the remainder of the modules I have purchased and will purchase (assuming I can get a simple on/off switch to work). What would be great if someone has screen shot or video of how to do these switches?


    Thanks for any help
    Terry
  • Hi Terry,

    Have you followed the online user guide here on the web site. It does provide examples of how to track down lvars etc.

    Best wishes

    Steve

  • Hi Steve

    Yes I have read everything on this website, help, user manual etc.. I tried to follow the example exactly. A2a gives the lvars involved on their website. I have detected the events that occur and know the names of the lvars but I do not know if I should send an event, change a variable or other action on the detective page. Then I go to the secm page and the synch section is a mystery to me. All the examples in detail deal with lights? I also tried using a2a configurator tool to set key commands and then use those key press in bespoke events. I could get the switches to go on and off once but then they would either quit working or need to be done several times and an off would send an on. I spent about 4 hours last night with this and tried so many things that I am now very frustrated. I think if I could just see an example of both the detective page and secm assignment page for these switches, I could understand how all this works.
    Thanks for your help
    Terry
  • Hi Terry,

    If you can give me the links to the lvars etc I'll take a look later on and post back my findings.

    Best wishes

    Steve

  • Hello Steve

    Here is link to the list from a2a



    Here is a link from a2a forum on how to solve prob with the saitek switch panel. not sure if this is helpful for go flight?


    Terry
  • edited February 2015

    Hi Terry,

    Lets start off simple and create something for the Avionics Master Switch. I have the C172 in VC mode. I started Detective and let it run for a minute then clicked on Detected (in the Lvar area) and then Hide to hide all the Lvars and then clicked Detected (in the Event area) and then Hide to hide all the Events. This stops all the noise and enables you to easily see what is happening. I then set the Polling Interval to 0.

    I then turned off the Avionics switch in the VC and then turned it back on in the VC and results are below:

    image

    I have highlighted the events that gets sent when the switch is turned on and off. In this case it is the same event, but it sends a data packet of 1 for ON or 0 for Off (see On & Off)

    It also shows a suitable Lvar that can be used to drive an LED on the hardware (see LED).

    The above also shows a Bespoke Event I have created to turn the Avionics On. It simply uses the Send command to transmit the Avionics_Master_Set Event with a data packet of 1.

    Below shows the Bespoke Event for Avionics Off which is the same as above but with a data packet of 0.

    image

    We can now assign the two new Bespoke Events and the identified lvar to some Goflight hardware, in this case, the first switch on a T8:

    For Avionics Off:

    image

    For Avionics On:

    image

    Note that the Light Data, Action and Value is shared between the various ON/OFF/HOLD events - you only set it once.

    If you can follow that and do it for another switch, we can move on to something more complex.

    Let me know where you get stuck on the above.

    Best wishes

    Steve

  • Hi Steve

    Thank you for taking the time to do this.

    Yes that all makes sense and I can do but it really does not follow with the secm and battery switch. could you do the above with those?

    The battery switch gives two events for ON and the same two events for OFF with the data for each event staying the same for all cases. I thought it was a toggle so i setup a bespoke called battery toggle sending the two events with the correct data for each. Then I used battery toggle as the event for both on and off. The results were that the switch only worked in the off position so that when the switch was put to off it toggled the battery switch. when the secm switch was set to on nothing happened?

    Thanks
    Terry
  • edited February 2015

    Hi Terry,

    For Battery On there is an Lvar to Set to 1 or 0, There is also an Lvar for Alternator to Set to 1 or 0. However Battery Off in the VC also turns off the Alternator so for the Battery Off Bespoke Event we need to set both Lvars to 0 in the correct order.

    Alternator On:

    image


    Alternator Off:

    image


    Battery On:

    image


    Battery Off:

    image


    SECM Battery (Showing On only, but Off has also been set):

    image


    SECM Alternator (Showing On only, but Off has also been set):

    image





  • Hello Steve

    I terms of how the program works I have a much better understanding. I was trying to drive everything with a bespoke event and not changing the variable value.

    The other part of my problem is that I can test each event in the detective screen and then going to the aircraft and un pausing and the switches in the vc work as they should. However when I use the switch on the secm the battery on works but the off doesn't and the results are very in consistent. Do you think that means I have a bad module?

    Does the go flight gfc file in the documents/goflight directory have anything to do with the action of the physical switch? I found a earlier posting where you had the problem of working in the detective but not with the module but I thought you indicated it was fixed? Being a newbie, I might have misunderstood.

    Thank you so much for taking the time with me. I have donated once but will do so again.
    Terry
  • Hi Terry,

    Thanks so much for the 2nd donation, its really appreciated!

    I have been thinking through some options, and it might be best to simply send standard Simconnect events for the battery and alternator. More to follow....

    The gfc files are used by GFConfig and the GoFlight Data Bridge (in other words the GoFlight Drivers). They can clash with GIT if a user has configured a device to do something in both GFConfig and GIT for the same devices switch/button/selector etc.

    Its getting close to Midnight here in the UK, so I'll continue the support tomorrow.

    Best wishes

    Steve

  • Hello Steve

    I think I found the problem. I removed definition for S1 and S2 in the A2A_C172.gfc file in the goflight directory. Since the secm cannot be configured with the goflight config then this file tells the switches what to do and they are all set up to send the standard events. When we added bespoke events for S1 and S2 these switches were actually sending two commands the standard and the bespoke. At least that's my theory and they now work as they should. I wound up using the keypress option and leaving the sync info blank. The sync won't work because of the coding by a2a tying them together.
    At least they work well enough to move on to the next module.

    Thank you
    Terry
        
  • Hi Terry,

    That makes sense and supports my idea that those switches are Simconnect compatible, so you could just use GFConfig for those functions or use GIT and send the standard Simconnect events TOGGLE_MASTER_BATTERY, TOGGLE_MASTER_BATTERY_ALTERNATOR instead of making Bespoke Events.

    Let me know if I can help further.

    Best wishes

    Steve

  • Hello Steve

    Making progress on setting up my a2a c172. I have added a bunch of modules one of which is the lgt. I am tring to set up the fuel selector switch and although listed in in the goflight configuration program, I cannot find a wat to set the center position. I have set up 3 bespoke events setting the Lvars to 0,1,2 for left, both and right per a2a Lvars list.
    The left and right positions work but are reversed? Under the lgt tab of interface I did not see a position for center?
    Thanks
    Terry
  • Hi Terry,

    I have just tested using the Simconnect events FUEL SELECTOR_ALL - Centre position, FUEL_SELECTOR_LEFT - Left and FUEL_SELECTOR_RIGHT - Right.

    I did not use the events in a Bespoke Event, I just configured a T8 to send the events directly and it all worked fine.

    Best wishes

    Steve

  • Hello Steve

    Thank you. I will try those. I assume you are using the goflight configurator for that? I had tried that first but didn't work, I will retry.

    My main question is the lgt three position switch. Under the lgt tab there is no selection available for the center position of the switch?

    Thanks
    Terry
  • edited March 2015

    Hi Terry,

    Goflight do not provide any detection for the centre position. All you can do is use the OFF input event of the left and right switches to send the centre fuel selector event.

    Best wishes

    Steve

    PS, No I'm not using GFConfig. You can configure simconnect events and variables directly in GIT without using a bespoke event.


  • Hello Steve

    That worked. I think I am doing something wrong as I tried those yesterday and they didn't work.
    Do you have to click the save settings before you go back to sim to test? Same question with restart?
    I noticed when working now that settings I had changed had reverted to the old ones, so my question about saving.
    Also I assume the goflight dll must be loaded for the interface tool to work?

    Thank you again for your help.
    Terry
  • Hi Terry,

    No, you do not have to save settings, they should just work. The module does need to be loaded.

    Best wishes

    Steve

  • Hello Steve

    How do you set rotary switches. I am working on a2a c172 panel lights. Per a2a these are controlled by a lvar panellightknob with values for 0 to 32. If I do two bespoke events with off setting a value of 0 and on setting a value of 32 and assign these events to a on/off switch they work as off and full bright.
    Now I want to have a rotary switch dim/brighten when turned. I tried bespoke events that inc/dec the panellightknob by 1 and nothing happens when I turn the rotary. I know I have the correct variable as the on/off sw worked, but I must be leaving something out for the rotary.
    I did try all the standard sc events and none worked.
    I am really beginning to think I am getting dense in old age?

    Thanks
    Terry
  • edited March 2015

    Hi Terry,

    I have just had a quick go with the Panel Light on the C172. I created two Bespoke Events, one using the Set+ command with a value of 1 to increment and the second one using Set- command with a value of 1 to decrement.

    I assigned the increment (Set+) bespoke event to the clockwise Rotary Event and the decrement (Set-) bespoke event to the anti-clockwise Rotary Event.

    It worked fine. I did notice that the values could go below 0 and above 32, so you would need to add some If commands to the Bespoke Events to check the value has not exceeded the minimum or maximum before performing the increment/decrement.

    Best wishes

    Steve

  • Hello Steve

    That is exactly what I did?? On your test did the knob in the virtual cockpit turn? Did you set anything for the rotary action section of the rp48r tab?

    I have a switch that sets the lvar at 0 or 32 so my starting point should be ok as long as I don't try to brighten after switching on.

    If I had hair I would be pulling it out now!

    Thanks
    Terry
  • Could you please send screen shot of the bespoke event setup screen?
  • edited March 2015

    Hi Terry,

    Yes it turned and no I didn't use a Rotary Action.image

    image

    Best wishes

    Steve

    PS: Make sure you are using the Set+ and Set- commands and NOT using the Set command only!

  • Hello Steve

    My screen looks identical to yours? I have tried two different rp48 units and all of my 48 units (I have three) show up in goflight config with nothing assigned to them there. The identify function shows I am working on the correct unit.
    Any other way to trouble shoot? Is there a way to see the raw output of the rotary switch?
    Thanks
    Terry
  • Hi Terry,

    Have you enabled the RP48 in the RP48B tab?

    Detective will show the output of the Rotary events.

    Best wishes

    Steve

  • Hello Steve

    Color me dumb. That was it. I knew it had to be something simple! I started with the rotaries so never went to the button tab.

    Thanks again
    Terry
Sign In or Register to comment.