Jump to content
The simFlight Network Forums

P-38L

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Colombia

P-38L's Achievements

Rookie

Rookie (2/14)

  • Dedicated Rare
  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done Rare

Recent Badges

0

Reputation

  1. Dear Mr. Dowson. I am very grateful for your magnificent help. Thanks to your advice I was able to achieve it. I am going to perfect the method of using LVARS through MobiFlight.
  2. I have tried and I have not succeeded. I used the step by step on the website that you suggested. I got to Step 5: Putting the event to use. I also tried to place the programming that you sent me using the Developer mode of Flight Simulator. So I don't know where to locate the programming that you have sent me. Also on the website https://hubhop.mobiflight.com/presets/ Indeed, Flysimware and the plane do appear. Mr. Jaime Leon offers the codes as well as the programming (the same one that you sent me), but I still don't know where or how to put that programming. I apologize for all this inconvenience, but I have not been able to achieve it.
  3. Thanks for your kind reply. Indeed the plane is a Cessna 414 developed by the Flysimware company. I am designing an engine ignition panel. If you wish, I can send you the airplane installer.
  4. Greetings to this great technical team FIRST ATTEMPT I'm trying to implement a switch to handle an LVAR variable. This switch is connected to a LEOBODNAR card. I obtained the variable from the FSUIPC7 list in this way: ELECTRICAL_Switch_Battery_Master = 0.000000 I can see this because using the mouse to set the BATTERY MASTER switch to ON and then reloading the LVARS list the value has changed to: ELECTRICAL_Switch_Battery_Master = 1.000000 Up to this point I have been able to know which variable I have to implement to place it in a macro. I have located the macro inside the FSUIPC7 folder and its name is: C414.mcro And its content is: [Macros] 1=L:ELECTRICAL_Switch_Battery_Master=Set When I move my LEOBODNAR card switch I can assign this macro to that plane panel switch. This tells me that so far I'm doing well. When I move my switch connected to LEOBONDAR card; the MASTER BATTERY on the plane's panel actually moves between the ON and OFF positions, BUT it does not do any function on the plane, that is, the plane's switch is in the ON position, but the panel does not represent that it is on. the switch moves between ON and OFF as if it had no power. If, on the other hand, I use the mouse by moving that switch on the airplane panel, in this case and only in this case, does it do what it is supposed to do, which is to make the battery power the panel. If I use my switch it does absolutely nothing; It's as if using my LEOBODNAR card switch, I made the plane's BATTERY MASTER switch move, but there was no battery. What am I doing wrong? Am I missing any steps in the programming or assignment? SECOND TRY I then decided to use an OPENCOCKPITS card that works switches. Inside the FSUIPC7.ini I wrote the following: [LvarOffsets] 1=ELECTRICAL_Switch_Battery_Master=UB66C0 Then I made a program in SIOC with the following content: Var 0001, Link FSUIPC_INOUT, Offset $66C0, Length 1 Var 0002, Link USB_ANALOGIC, Device 1, Input 1, PosL 0, PosC 127, PosR 255 { L0 = V0002 IF L0 <> 255 { L1 = 0 } IF L0 = 255 { L1 = 1 } V0001 = L1 } The result is the same, the reading of the 66C0 variable shows me a 1 for ON and a 0 for OFF, the MASTER BATTERY SWITCH moves, but does not act on the plane. If I use the mouse on the MASTER BATTERY SWITCH, it does power the airplane panel and shows me that the 66C0 variable changes from 1 to 0. Any help you can give me I would appreciate it.
  5. P-38L

    Read

    Thanks for your kind reply. I'm still lost. How can I create a variable in FSUIPC7 so that it can be read through the Opencockpits SIOC through LeoBodnar switches. For example, the variable 66C0 that detects if a switch was used through LeoBodnar in which it writes a 1 or a 0 and this is read taking the address 66C0 to be used in the Opencockpits SIOC. Maybe you can show me an example. Thank you so much.
  6. P-38L

    Read

    Best regard In the Button and Switch Assignments area, I have programmed some switches for: Adf 1 Dec Adf 1 Inc Adf1 Radio Swap. This has generated some texts within FSUIPC7.ini which appear like this: [Buttons] PollInterval=25 ButtonRepeat=20,10 2=PB,0,C65668,0 -{ADF_1_DEC}- 3=PB,1,C65650,0 -{ADF_1_INC}- 4=PB,18,C66741,0 -{ADF1_RADIO_SWAP}- Up to this point, everything works well and the buttons do their job and on the plane's ADF panel, they change without problem. What I want is to take this information to a variable that could start in 66C0 so that I can read it with the Opencockpits SIOC program to present it on an LCD display I have created a file called myOffests.txt inside the FSUIPC7 folder and written the following information inside that file: // offset, size, simvar, type, units [, w] 0x66C0, 1, ADF_1_DEC, Bool, Bool, w 0x66C1, 1, ADF_1_INC, Bool, Bool, w 0x66C2, 1, ADF1_RADIO_SWAP, Bool, Bool, w But it does not work. I don't know if I need to put some extra information in the FSUIPC7.ini, such as: [myOffsets] 1=myOffsets I have programmed many events in SIOC and they work fine, but I cannot get this information that I need. If you can please help me with this project, I would be very grateful.
  7. Hello * I have the updated MSFS2020. * FSUIPC7 registered. * KingAir analog aircraft from JusftFlight. This is my current configuration in the FSUIPC7.ini [Buttons] PollInterval=25 ButtonRepeat=20,10 1=RA,8,CM1:442,1 -{Macro a32nxMCDU: L:var_avionicsMasterSwitch set}- 2=UA,8,CM1:442,0 -{Macro a32nxMCDU: L:var_avionicsMasterSwitch set} I am programming the switch of the Avionics Master Switch. My JoyStick flips the switch On and Off (the animation shows the switch up and down on the plane panel) but does nothing on the plane. But if I use the mouse on that switch, then if it executes the action. if i use the Tools-Behavior-LocalVariables it shows 1 and 0 when i use the JoyStick and when i use the mouse. But it only does the action if I use only the mouse. It doesn't do the action if I use the JoyStick, even though the switch shows its movement up and down. I would appreciate any help you can give me regarding this behavior. Thank you
  8. Mr. John Dowson. I remain eternally grateful for your help. Your answer has opened many doors for me. Thank you.
  9. *** Moved from FAQ to support forum - please post ALL support request in this forum *** Hello Mr. When I select a button on the airplane panel, how can I know the event ID code number that button is to be assigned to a switch on my joystick or a switch in my own simulator cabin? Many of the functions of the cabin such as levers, and axes I can assign them without any problem to the main screen of the FSUIPC. I can also assign buttons that I know what they are called on the airplane panel and assign them to the FSUIPC. But if there is a button or switch that does a certain function on the panel and I want to use my joystick to perform that same action. I am also using the FSInterrogate2std but I have had no luck finding the code I am looking for. I very much appreciate your response.
×
×
  • 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.