
michielsweb
Members-
Posts
62 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by michielsweb
-
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
paul quick question. do u know if ure .net would have trouble running 2x whitin one aplication? i am considering running the app in 2 threads to get data not delayed because of the other software. read: i dont ask how. i just wondered if u know its been tried 🙂 and deemend inposseble before i bite my self into it and find out its imposseble 😛 🙂 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
sorry for the late answer 🙂 i read it from phone. offline got so excited that it finished the next 90 cmds between homeschooling the kid due to corona school closings here in my country 😄 by now i managed to get out working. its not realy fast yet 🙂 but in crude its working tweaking the software step for step 😄 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
paul can u check whit me pls? for some reason i get only false i tripple checked this. i get false on all these even tought they should be mixed be true and false. (i seem to get the same error in (windowheat and hydraulics.) i am confused because i got other bit arrays working same line of codes private Offset<BitArray> fuelcen = new Offset<BitArray>("fuelcen", 0x646E, 1); private Offset<BitArray> fuelfwd = new Offset<BitArray>("fuelfwd", 0x646A, 1); private Offset<BitArray> fuelaft = new Offset<BitArray>("fuelaft", 0x646C, 1); string fuelcenl = this.fuelcen.Value[0].ToString(); string fuelcenr = this.fuelcen.Value[1].ToString(); string fuelfwdl = this.fuelfwd.Value[0].ToString(); string fuelfwdr = this.fuelfwd.Value[1].ToString(); string fuelaftl = this.fuelaft.Value[0].ToString(); string fuelaftr = this.fuelaft.Value[1].ToString(); 646A 2 BYTE x 2 FUEL_annunLOWPRESS_Fwd[2] Boolean 646C 2 BYTE x 2 FUEL_annunLOWPRESS_Aft[2] Boolean 646E 2 BYTE x 2 FUEL_annunLOWPRESS_Ctr[2] Boolean -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
a first demo :) a minor control panel for cabin alive. i hope u like the first screenshot:) right bottom its a simpel interface that checks if the cabinalive software is working. and now i use a old tablet to replace all lamps on overhead 🙂 i sqeeuzed it all in so it allso fit the 5 warnings on the 737 😄 and by utilizing it also provide a minor cabin alive monitor 😄 cabin alive provides: currently including announcements " it is running lighter then 1% cpu and 60mb ram at audioplay u wil only need to announce when u ready for boarding or deboarding). a full automation working Crew. including boarding and announcements aswel as services (pre requirements are documented and normal ) a full automation of GSX no more inflight menus (excluding gate picking at arrival (gsx wont alow a offset sadly) pushback is stil manual (buttons wil probaly come soon on the screenshot 😄 for the push) a ramp agent wil provide u whit ground equiptment and cleaning up of this.. currently i have all gauges automated 🙂 except for ducts trying to figure out how i can seperate the 2 arrows info 😄 but after all the help i own u a show of progres 🙂 and yes it wil come for free whit cabinalive.exe 🙂 and yes the respect and proper url to ure site is included 🙂 edit: 1 duct working other no idea how to seperate the data. -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
too fill ure further answer for the next person 🙂 EGT TEMP pdmg 737 after startup cooling to working modus. u end up 400 +/- value divide this by 5 🙂 and u get acurate degrees 🙂 to spin a arrow on a gauge 🙂 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
thanks paul 🙂 thats better numbers to convert too degrees 😄 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
i apologise for not releadsing product yet. currently more sick then sitting hp debugging taking more time herefor. @Paul Henty u ever heard about the needle offsets for the overhead gauges in the pdmg? im trying to find out how too turn the huge output back to a "degree" but i get numbers in the range of 24171003904.0 on 0 and 25022210000 for full temp example.(numbers move so just wondering -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
wel to help others 🙂 how to get DEP/ ARR seperated. FSUIPCConnection.SendControlToFS(PMDG_737_NGX_Control.EVT_CDU_L_RTE, 0x20000000); Thread.Sleep(400); this.CDU0.RefreshData(); string fmcrow = this.CDU0.Rows[2].ToString(); string[] words = fmcrow.Split(' '); List<string> y = words.ToList<string>(); y.RemoveAll(p => string.IsNullOrEmpty(p)); words = y.ToArray(); string dep = words[0]; string arr = words[1]; -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
thanks to you 2 🙂 i am right now implenting "welcome to airport of choice" if file exist. else generic. "welcome aboard or flight to " airport" our estimate flightime wil be " " 😄 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
we got there paul (Y) -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
can it be because its not defined in ure DLL (i checked) ? i get same isues if i type by hand. but im in no rush i finish a other part first this is just cherry on the cake ) -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
lijn 54 is screen offset 🙂 oh and yep the ini is correct 🙂 double checked it. -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
-
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
namespace FSUIPCWinFormsApp2 { public partial class frmMain : Form { // ===================================== // DECLARE OFFSETS YOU WANT TO USE HERE // ===================================== private Offset<uint> airspeed = new Offset<uint>(0x02BC); private Offset<int> altitude = new Offset<int>(0x3324); private Offset<byte> maincabindoor = new Offset<byte>(0x6C14); private Offset<uint> avionicsMaster = new Offset<uint>(0x2E80); private Offset<ushort> onGround = new Offset<ushort>(0x0366); // 2-byte offset - Unsigned short //private Offset<byte> MainEntry = new Offset<byte>(2^03367); private Offset<string> messageWrite = new Offset<string>("message", 0x3380, 128, true); private Offset<short> messageDuration = new Offset<short>("message", 0x32FA, true); // between states int GroundConnect = 0; int Boarding = 0; int DeBoarding = 0; // ===================================== // PDMG OFFSETS // ===================================== private Offset<byte> raw_maincabindoor = new Offset<byte>(0x6C14); private Offset<byte> raw_maincabindoor_aft = new Offset<byte>(0x6C1E); private Offset<byte> raw_cargodoor = new Offset<byte>(0x6C19); private Offset<byte> raw_cargodoor_aft = new Offset<byte>(0x6C1D); private Offset<byte> raw_servicedoor = new Offset<byte>(0x6C15); private Offset<byte> raw_servicedoor_aft = new Offset<byte>(0x6C1F); private Offset<byte> raw_parkingbrake = new Offset<byte>(0x65A7); private Offset<byte> raw_autobrake = new Offset<byte>(0x6562); private Offset<byte> raw_taxilights = new Offset<byte>(0x64FA); private Offset<byte> raw_landinglights = new Offset<byte>(0x6503); private Offset<byte> raw_seatbelts = new Offset<byte>(0x649F); private Offset<byte> raw_gear = new Offset<byte>(0x6576); private Offset<byte> raw_groundconnections = new Offset<byte>(0x6576); private Offset<float> raw_flapsneedle = new Offset<float>(0x6568); private Offset<byte> raw_flap_to = new Offset<byte>(0x65F9); private Offset<byte> raw_parkbrake = new Offset<byte>(0x0BC8); private PMDG_NGX_CDU_Screen CDU0 = new PMDG_NGX_CDU_Screen(0x5400); public frmMain() { InitializeComponent(); configureForm(); // Start the connection timer to look for a flight sim this.timerConnection.Start(); } -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
-
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
oh wow paul Thats great way to get the info ty! 🙂 ps: dont tell me thanks u spend alot of time and help 🙂 its slowly comming together 🙂 and i think its proper to give credits where credits due even have a 737 pilot who is been advising 🙂 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
wel 🙂 it sounds like its worth looking into it ! -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
hehe 🙂 yeah im going there. trying to see if they willing to open 5 lvars 🙂 doubt it but can try it 😄 - gonna ask for : destination and departure icao from fmc. and chocks, and gpu 🙂 and if posseble flight time 🙂 if i can get "dest and departure flightime" i can make the welcome announcement "include expectedflight time announcement. if i can get "gpu and chocks" i can turn ground crew to automate this 😄 to add to realisme 😄 thnx paul btw paul henty?clickeble to ure fsuipc net dll site? for credits? is fine? -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
sorry guys but i cant seem to find a offset to read pdmg 737 chocks. can someone help me? i most have looked over it i gues -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
small update. (lack of ground crew sounds.) temp replaced whit "green bar messages" all cabin crew sounds are now properly timed til " taxing to runway" yes all sounds til beboarding complete are done. just making tweakings 🙂 and timing optimizing 😄 🙂 sofar i managed whit pauls help. to make a watertight cabin crew til takeoff 🙂 even GSX menus are no longer used. running a test currently how to blind set "pushback direction 😛 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
i programmed most already including sounds playing on right time. currently i am implenting the actions the cabin/ground crew should do. on the right timings and commands. small example 🙂 fases 0 upon loading aircraft. it wil automaticly start asking GSX for "make the plane connected whit stairs. aswel setting the "pdmg generator ready" it finishes by telling the captain "ground crew is live and connected. fase 1: Captain gives permision to board. (here is the fun thing!! this is 1 of 3 times u need to actualy push a button 🙂) open the main door. Ground and cabin wil do the other doors automaticly. while this is going u can hear the boarding process. fase 1.1 Cabin/Ground wil listen to GSX when to open and close the doors. aswel as catering and fuel is implented automaticly already through GSX fase 1.2 boarding is completed GroundCrew wil report boarding ready. Cabincrew wil report Cabin ready. (and make initial welcome announcement. Fase 2 Ground wil work whit the flightdeck to prepare for departure. i removed all nasty "ugly menus" by automate it. it wil only ask which way i want the push. fase 3 taxi + safety fase 4 is crew prepare for takeoff. all of this is done on aircraft, Gsx states and fsuipc offset states i am up to 12 stages 🙂 but u get the idea for now 😄 oh and yes cabin sounds are able to "make ure own " -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
trick is load the data in the top stop the timers. and restart them after the codes. and by adding between variables. like "boarding = 1; i stop the main boarding start proces. on repeat i apriciate this help i already put credits in the program 🙂 as i wil freely make it public . upon completion. lightweight opensource CABINCREW / GroundCrew. which runs from outside sim 🙂 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
i managed to get it working 🙂 i was making the mistake 🙂 to rerun "main" before the ifs where completed 🙂 i added alot of extra "requirements and slowly it start respond in a order now 🙂 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
this seemed fix it: PERFORM ACTION WANTED. stop both timers and start first timer again 😄 incorrect did not work 😛 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
oh fair point paul. good thinking 🙂 i go work on it