Jump to content
The simFlight Network Forums

Houphad

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Houphad

  1. Sorry Ive been out... I wonder why Im not getting emails for any activity here... Anyway, if you still need the file just mail me fsafi@hotmail.com Cheers, By the way, Im trying now the GF-MESM with other planes like PMDG MD-11 / 747 and even the default ones on FS9. Nothing is working. I just managed to do it in the Level-D 767 because of the Lekseecon & offsets provided by Niko. HouPHad
  2. I'm on vacation now when I'll be spending most of time on my 767 cockpit. Thanks for the info, I'll look into it... Cheers, Fouad
  3. Nope, I have no idea about them. But I guess I found something useful here http://forum.simflight.com/topic/67086-phidget-led64-and-fsuipc/ Will come back later after I study those boards :D Thanks, Fouad
  4. Hi all, I'm looking for options to read FSUIPC offsets and reflect them as outputs from the PC to control leds or whatever... I am looking at Phidgets now and here is my plan and I need some feedbacks please :D Using LUA I will read FSUIPC offsets values Using LUA I will send these values serially to the Phidget board Using Phidget board, the FSUIPC offset values will be output on the leds / relays... This looks like a simple plan and I think it is doable with other boards. Thanks for your inputs, Fouad
  5. Well, I guess I went to LUA before fully exploring FSUIPC's capabilities. I'm very new in the cockpit building. Thanks for that info; I will look into it later. So OK now? May I upload my method? Thanks, Fouad
  6. Thanks Pete for your comment and sorry about that statement. You are absolutely right. The problem as I mentioned is not accurate. The first thing I did now is broke that pdf link :smile: Infact, it is not really a problem its just a method I followed to configure the GF-MESM with Level-D. Here is the obstacle and better put it this way than a problem: 1- When you select the "OFF" on the MESM, FSUIPC detects it. 2- The action for the "OFF" pressed position will be setting the Lekseecon Offset corresponding to AUTO in Level-D 3- The action for the "OFF" released position will be clearing the Lekseecon Offset corresponding to AUTO in Level-D 4- The thing is you have to clear the AUTO offset before you set the GRD offset and once you do this (clear the AUTO offset) you are out of commands options because as I belive you are allowed only one command in the released position. Right? In my case I need to perform 2 actions, clear AUTO offset and set GRD offset. 5- Thats why I used LUA for the "OFF" button. In LUA you can write several commands in the selected and released positions of the joystick button. And thats how I operated the GND button on the MESM as I explained in my LUA scripts. I think this clarified the issue more. Please let me know if you have other comments before I upload the revised PDF. Cheers, Fouad
  7. Hello Simmers, This document explains the configuration of Go Flight Multi Engine Starter Module (GF-MESM) with Level-D 767 (LD767) using Lekseecon in FSUIPC mode. This is my first contribution to the FS Community. Being my first and very simple script in my LUA learning curve, please feel free to add comments, suggestions or improvements. Download Link: Configuring GF-MESM with Level-D 767 using Lekseecon in FSUIPC mode Thanks, Fouad
  8. Thanks Pete, That will be my pleasure. I am working on one and will post it in a more clear format once ready. Cheers, [edit] done... http://forum.simflight.com/topic/68310-goflight-mesm-with-level-d-767/#entry426640 [edit end] Fouad
  9. Hello again with gr8 news :) I wrote 2 small LUA scripts: 1st scrpt (name: LENG_AUTO_YES.lua) This script runs when the Left Engine OFF is selected on the GF-MESM (Repeat control while held) - Note I am using the MESM-OFF as AUTO on the 767. ipc.clearbitsUB(0x905E, 0xFF) -- Clear the Lekseecon offset corresponding to GRD ipc.clearbitsUB(0x905F, 0xFF) -- Clear the Lekseecon offset corresponding to AUTO ipc.setbitsUB(0x905F, 0x01) -- Set the first bit of the Lekseecon offset corresponding to AUTO ipc.clearbitsUB(0x9061, 0xFF) -- Clear the Lekseecon offset corresponding to CONT ipc.clearbitsUB(0x9062, 0xFF) -- Clear the Lekseecon offset corresponding to FLT 2nd scrpt (name: LENG_AUTO_NO.lua) This script runs when the Left Engine OFF is de-selected on the GF-MESM ipc.sleep(500) -- I gave 0.5 seconds just in case the OFF is de-selected to CONT or FLT n=ipc.readUB(0x9061) -- Read Lekseecon Offset corresponding to CONT m=ipc.readUB(0x9062) -- Read Lekseecon Offset corresponding to FLT if n>0 or m>0 then -- If either CONT or FLT are selected after OFF ipc.clearbitsUB(0x905E, 0xFF) -- Confirm that the GRD offset is cleared to zero else ipc.setbitsUB(0x905E, 0x01) -- Else if neither the CONT nor the FLT are selected then this means that the GRD is selected so I set the first bit of the GRD Lekseecon offset to 1 which in turn switches the Left Engine GRD selector on the 767 (Success!!) end The above is for the MESM-OFF (which I used as AUTO for the 767) selection and de-selection. As for the CONT and FLT I did not use LUA instead I just used the Offset Byte Set and Byte Clear with the Lekseecon offsets provided by Nico. So, 100% success finally with the GF-MESM And since this is my first 2 scripts please do comment on them as I believe there is alot of room for improvement. Cheers, Fouad
  10. Thank you Pete/Kosta, Regarding FSCONV, I only activated the engine starters / fuel controls. And selected the 12 pars / second. Everything else is disabled. The case remains the same. Switching the MESM buttons either works correctly with the 767 or does not have any effect at all. Nico Kaan has released a new version of Lekseecon v 8.0 which works without FSCONV and which I found very helpful. In fact I was able to configure the AUTO, CONT & FLT selectors on the GF-MESM and the synchronization is beautiful. However, I could not configure the GRD selector because FSUIPC doesnt detect it. Strange! There is where I need to use LUA. When I switch from the AUTO selector, LUA's job here is to detect whether the selector went to CONT or GRD and activate it. I have gone through this LUA Programming and I found it pretty similar to any other programming language. Just another syntax. Its been a long time since I programmed anything but I can grasp it. My next step now is to go through FSUIPC LUA Library PDF which I am already doing and try to find some example scripts. I will try out some lines when I get back from work. I'll get there hopefully... :) I'll update you on the progress, As you said its just a matter of detecting joystick activities and reflecting it on FSUIPC offsets. Cheers mates...
  11. Hello all, Finally last night I was able to configure and use the GoFlight MESM (Multi Engine Starter Module) and T8 module with the Level-D 767. I used FSCONV (Thanks to Nico Kaan) and registered FSUIPC v3.99 (Thanks Pete). I have FS9 running on Win 7 64bit. I had no problems with the T8 module. Flawless. Regarding the GF-MESM, during configuration, FSUIPC always detects the position of the switches while I rotate them around. However the GF-MESM selector switches for both engines are not always synchronized with the switches on the Level-D overhead. But most of the times 80% they are. I am rotating slowly also to make sure I'm not confusing the system. My question is: Is the mis-synchronization a GoFlight, an FSUIPC, or an FSCONV issue? I'm sure many have tried the GoFlight MESM on Level-D 767 and I would like to know how it is flawlessly done. Another question: I was refferred previously by a simmer to try using LUA to program GoFlight modules. I havent tried it yet as I cannt find a good source for beginners like me. Could you please direct me to some link or source for using LUA together with FSUIPC? Thanks, Fouad
×
×
  • 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.