michielsweb
Members-
Posts
53 -
Joined
-
Last visited
-
Days Won
2
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
wow great i wil look into it. as soon as i complete the current part of project. wil it come whit a offset list? my fsuipc doc one is seemingly oldπ -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
oh realy i missed that part!! deeply appologise i wil read into it! Thank you for pointing me too it! @Paul Henty i decided to name the co pilot paul. as a easteregg tribute π found it a nice touch for the long and helpfull help & support π -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
Hey all its been a long time!! Much RL troubles promotions and job changesπ But by now i am 100% converted to the NGXu π cleaned up te code. and even started the creation of a virtual COPILOT. First voice actor has delivered. GSX voiced and CABINALIVe now speak in 1 tong, and fluently. now for the most exciting news !! yes i made it. a co pilot. is now actively working. his checklists and procederus atleast the first checklists are here!! π i was wondering a minor questions tough!! (can i read a fsuipc joystick input through the fsuipc.net DLL? (i want to dedicate 1 button. to my joystick for a repeat button) or any work arround ideas are welcome!! -
@Paul Henty i downloaded ure demo 1.1 but it seems to be not working from the start into errors? but i read u maked it thread safe (does this mean i can use a seperate thread to just read the offsets?
-
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
small update too all π i recommand too all if u run a larger program π todo this on form startup: Process.GetCurrentProcess().ProcessorAffinity = (System.IntPtr)1; i wil make sure ure app only works on core 0; i do this to make sure that p3d doesnt share his ipc π on my relativly extended script π i gained a lowering of 20% of cpu cores for p3d π -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
just so happy whit ure DLL it creates a great programming basic to add to p3d π -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
rodger that paul !! i remove the procces π il wil think for a solutions to "reduce" the amount of send control update to sim have to think about how i am gonna shape this into a better way. maybe i do a timely update. to send a 1 or 2 second update π whit all ticks created at that time at once -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
case "CRS1": temp = this.raw_mcpcrs1.Value; if (ser[1] == "1") { temp--; FSUIPCConnection.SendControlToFS(PMDG_737_NGX_Control.EVT_MCP_CRS_L_SET, temp); } // rotate left. else if (ser[1] == "2") { temp++; FSUIPCConnection.SendControlToFS(PMDG_737_NGX_Control.EVT_MCP_CRS_L_SET, temp); } //rotate right else if (ser[1] == "3") { FSUIPCConnection.SendControlToFS(PMDG_737_NGX_Control.EVT_MCP_VNAV_SWITCH, 1); } //short push (APP) else { } // longpush FSUIPCConnection.Process(); break; paul. i push in serial ticks from encoders to c# and proces like this. i miss about 2 or 3 out of 5 ticks. now i do know i can get the ticks around 5/5 into c# so i was wonder is this a slow way to update sim and is there a faster way? π or is this as fast as it gets. it just feels " slow " sorry its just a snippet π but its all same just other value π -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
ok small update (hijakcing back my topic ;-)) currently i have the first sim info finaly displaying and changing on the arduino mcp /radiopanel. believe it or not but i managed to shrink a full radiopanel and mcp encoders on a saitek panel size whit 2 screens. -
Slow performance FSUIPCConnection.SendControlToFS
michielsweb replied to Delphi's topic in FSUIPC Client DLL for .NET
sorry to boost this. Paul is this delay stil in ure latest build? -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
OKE oke, real life has been a little keep me to busy. together whit a little programming block in the head. but i am back in busniss. but i found some issue. whit a offset π whitch has me surprised, maybe someone can tell me the offsets for: private Offset<ushort> com2 = new Offset<ushort>(0x034F); no code π just offset. and yes the export to the dll. has a delay. because i found it more reliable to have arduino do it. i just had to make 2 nanos friends whit c# π -
ah supercool!! i finish it and send it to you π
-
i writing a automated function to change radiopanel whit the right digitis in 1 simple function can upgrade the digits before and after decimal.π
-
paul henty. question about ure DLL. inside the dll. is it regular c# functions? i write a function for myself. but i assume i am not the only one who has todo it. if it is regular c# function in the dll. i willing to share the function to include it.
-
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
found a simple bypass π Thread 1 = fast reading data; last thing it does is read a form value. if form is 1 it wil change it to R and it wil pause itself til form is back to 0 π Thread 2 = slow progress does the opposite. if it wants to write it change form value to 1 and waits on R. it processes fsuipc commands turns form back to 0 -
request simple c# demo script
michielsweb replied to michielsweb's topic in FSUIPC Client DLL for .NET
wel that is super to hear because one thread is realy just to read offset data π while the other thread is having delays example 7,9 seconds delay after requesting stairs to the plane before a door gets openen another 2 seconds before door open etc π -
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 " " π