Jump to content
The simFlight Network Forums

sxa1376

Members
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    1

sxa1376 last won the day on March 8 2015

sxa1376 had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Greece

sxa1376's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Dear Pete, i have create some xml gauges for fsx but i want these gauges to be spread across two network computers and to run these via widefs. Is there any tutorial of how i can achieve this. Any help will be great. Many thanks in advance. George
  2. Thank you very much!!! In fact I got confused indeed with the hexadecimal values. Works like a charm! Thanks again!!! Best regards George
  3. Dear Peterk54, I tried with offset 1400 and worked fine until offset 1520. Which means that I can load only five payload stations. after that (offsets 1550 & 1580) are inoperable. Not only that but offset 1520 loads the final (seventh) station instead of the fifth. Do you have any suggestions for what am I doing wrong? Thank you very much in advance Best Regards George
  4. Dear Pete and Peter, Thank you very much for yoyr answers, i will try the offset 1400 and i hope i make it work. Best Regards George
  5. Dear Pete, I am trying to create a small utility to read my aircraft weight and fuel stations and then to write new weight and fuel. The aircraft i am using is a standard airbus a320 of the "project airbus" team and the stations i want to manipulate are these: [WEIGHT_AND_BALANCE] //Cebu Pacific A320-214 RP-C3241 config //Pax Zonings station_load.0= "7605.9, 21.24, 0.000, 0.000, CAB OA (60)" station_load.1= "7149.6, -3.33, 0.000, 0.000, CAB OB (60)" station_load.2= "6541.1, -26.34, 0.000, 0.000, CAB OC (59)" -ok //Cargo & Baggage station_load.3= "2921.1, 22.10, 0.000, 0.000, CPT 1" //Compartment 1 (7500lbs) station_load.4= "3086.5, -11.99, 0.000, 0.000, CPT 3" //Compartment 3 (5349lbs) station_load.5= "1190.5, -22.67, 0.000, 0.000, CPT 4" //Compartment 4 (4652lbs) station_load.6= "171.96, -33.11, 0.000, 0.000, CPT 5" //Compartment 5 (3300lbs) and [fuel] Center1= 4.15, 0.0, -4.00, 2179.6, 8.0 LeftMain= 3.31, -19.6, 1.40, 1829.6, 5.0 //3.45 LeftAux= -4.80, -36.4, 2.20, 232.5, 5.0 RightMain= 3.31, 19.6, 1.40, 1829.6, 5.0 //3.45 RightAux= -4.80, 36.4, 2.20, 232.5, 5.0 I am using C# and i need some help in order of which offsets i must use for this to work and if possible a quick sample just for one station of weight and one station of fuel. Many thanks in advance. George.
  6. Dear Pete, I want to create to a wide client pc a "Button Screen Facilities" with a couple of pages in order to use it as a failures pages for fsx. I read the tutorial of how to create this and I understand how to make it but my problem is about the offsets I need. As I see inside fsx in general tabs "aircraft-failures" this opens the failures section and I see a five tabs failures available. Ok so far. Now I opened the "options-settings-controls" section for example and I am going to "button/keys-all events-failures" section but inside there I see only a few that are available and the rest are missing. Then I search inside fsuipc in "keypresses" section but after I applied a key I did a quick search on list with the commands but I saw the same few failures available. Is there any possibility to get the rest of the failures as well? Many thanks in advance.
  7. Dear Donovan, It worked! Many many many thanks thanks thanks brother!
  8. Dear guys, This request is for everyone that it can helps. I need to create a simple lua file. My intention is because I am building a custom a320 fcu (autopilot) I need a lua file to check if autopilot is engaged and if so also the auto rudder to be engaged as well and if the autopilot disengages the auto rudder also to be disengaged. The autopilot master consists of two switches : master one (for captain) and master two for (co-pilot). In normal flight either one or the other are switched on. It depends of which one (captain or copilot is flying the aircraft) and then for ils landings both autopilots are on. The thing is that when any or both autopilots are on the auto rudder must be on and when autopilots are off then the auto rudder must be off . Bellow are the three buttons from fsuipc.cfg file that they are needed. Auto pilot master switches : [buttons] PollInterval=25 ButtonRepeat=20,10 . . . . . . 15=PA,17,C2998,32 (Autopilot captain engager offset) 16=PA,14,C2998,33 (Autopilot copilot engager offset) . . . . . . 90=PG,11,C65951,0 (Auto rudder offset) . . . . . I would be very grateful guys if anyone from you do this for me because to be honest I tried to read the documents and to do it by my self but I can not understand nothing about lua files. Many thanks in advance.
  9. Dear Pete, Of course Lua cannot control how fast the rotary is working. I meant how fast the button repeats ( the polling). About now for the commands "FastTimeLimit" and "Pollrate" which numbers will give me faster and more repeats? I mean that if I put for the Pollrate=1 and for FastTimeLimit=10 I will get faster and more repeats? When I said I don't know if it is working I mean that I am not sure if it is working or not because I had the same repeats as before add the lua file. Maybe the lua file is working fine but the repeats they need adjustment so I was getting the same results as before. Sorry if you don't understand what I am try to say because my English are bad. Many thanks in advance.
  10. Dear Pete, How I can make the fsuipc to log if so I can see if there are any errors? Also if the code is correct maybe the "FastTimeLimit = 80" is making the encoder turns very slow in the same speed I am having now and I need to adjust this to 200 or 300 for faster speed? Many thanks in advance.
  11. Dear Pete, I need some help to fix the rotaries.lua file in order to use it with project magenta fcu (heading speed and altitude offsets). The buttons I want to use are connected to "DTA Rotary Encoder". I have run the hid scanner and the results are: ************************************************************************** Device at "\\?\hid#vid_16c0&pid_27cb#6&2239c13c&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=16C0, Product=27CB (Version 1.33) Manufacturer= Desktop Aviator Product= DTA Rotary Encoder Serial Number= A25300 Usage Page: 1 Input Report Byte Length: 5 Output Report Byte Length: 0 Feature Report Byte Length: 18 Number of Link Collection Nodes: 3 Number of Input Button Caps: 1 Number of InputValue Caps: 0 Number of InputData Indices: 32 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 1 Number of Feature Data Indices: 1 Buttons range 1 -> 32 at indices 0 -> 31 ************************************************************************** Also from fsuipc the corresponding offsets I want to use are: [JoyNames] AutoAssignLetters=Yes . . . . . 6=DTA Rotary Encoder 6.GUID={9E7DA880-54D5-11E4-8007-444553540000} . . . . G=DTA Rotary Encoder G.GUID={9E7DA880-54D5-11E4-8007-444553540000} . . [buttons] PollInterval=20 ButtonRepeat=10,40 . . . . . 26=PG,7,Cx52005408,x01670001 27=PG,6,Cx62005408,x01670001 28=PG,9,Cx32005406,x015E0001 . . . 33=PG,8,Cx42005406,x00640001 34=PG,5,Cx3200540A,x01F40005 35=PG,4,Cx4200540A,x00050005 . . . Also I have added into fsuipc the following command: [Auto] 1=Lua Rotaries And I have added inside the modules folder the rotaries.lua file edited as following: Vendor = "Desktop Aviator" Product = "DTA Rotary Encoder" Device = 0 -- Multiple devices of the same name need increasing Device numbers -- Use separate Lua plug-ins for separate cards! -- NOTE: this can handle up to 16 rotaries only, using the first 64 "virtual buttons" -- List the pairs here: Rotaries = { 26, 27, 28, 33, 34, 35 } -- Example { 31, 30, 25, 22 } would be 31+30 for one, 25+22 for the next, and so on -- Which is clockwise and which counterclockwise doesn't matter -- you'll get -- fast and slow of each in any case dev, rd, wrf, wr, init = com.openhid(Vendor, Product, Device, Report) if dev == 0 then ipc.log("Could not open HID") ipc.exit() end -- Set the boundary time in milliseconds between -- "fast" (shorter) and "slow" (longer) signalling FastTimeLimit = 80 -- Adjust to taste -- Polling time in milliseconds: should be much shorter than -- the boundary time Pollrate = 20 -- same as 50 times per second -- Initialise variables used to keep track of things LastTimes = {} Buttons = 0 PrevButtons = 0 Diff = 0 -- This function will be called by a time event, set at the end of the program before exit. function poll(Time) -- read any data available from the device (only need most recent report) data, n = com.readlast(dev, rd) if n ~= 0 then -- Data was returned, so get the status of all the possible "buttons" we are using -- one value of 32 bits Buttons = com.gethidbuttons(dev, data) -- See if any changes occurred: Diff = logic.Xor(Buttons, PrevButtons) PrevButtons = Buttons if Diff ~= 0 then offset = 0x3340 buttonbit = 1 j = 1 while Rotaries[j] ~= nil do mask = logic.Shl(1, Rotaries[j]-1) if logic.And(Diff,mask) ~= 0 then -- This one changed -- See if changed in less than the "boundary" time thisbutton = buttonbit if (LastTimes[j] ~= nil) and ((Time - LastTimes[j]) < FastTimeLimit) then thisbutton = buttonbit + buttonbit -- Use next higher button for fast end LastTimes[j] = Time -- Toggle a virtual button accordingly ipc.togglebitsUB(offset, thisbutton) end j = j + 1 buttonbit = 4 * buttonbit if logic.And(j,15) == 0 then buttonbit = 1 offset = offset + 4 end end end end end event.timer(Pollrate, "poll") But it seems not working. What I am doing wrong? Many thanks in advance.
  12. Dear Pete, As you requested I put here the FSUIPC4 Installation log so you can check it. I did the installation procedure again and I checked the "check existing installation" and I press the go but the same message appears again. Here is the log file: Installer for FSUIPC4.DLL version 4.938f Looking in registry for FSX install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0 Parameter"SetupPath" ... >>> OK! FOUND FSX! <<< ... SetupPath=D:\Microsoft Flight Simulator X\ Looking in registry for FSX-SE install path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator - Steam Edition\10.0 Parameter"AppPath" ... >>> OK! FOUND FSX-SE! <<< ... AppPath=D:\Steam\steamapps\common\FSX\ Looking in registry for Prepar3D install path: HKEY_LOCAL_MACHINE\SOFTWARE\LockheedMartin\Prepar3D Parameter"SetupPath" ... >>> OK! FOUND Prepar3D! <<< ... SetupPath=D:\Lockheed Martin\Prepar3D\ Looking in registry for Prepar3D v2 install path: HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"SetupPath" Not there, so looking in: HKEY_CURRENT_USER\SOFTWARE\Lockheed Martin\Prepar3D v2 Parameter"AppPath" ... NOT found! ... =========================================================== INSTALLATION FOR FSX: SetupPath="D:\Microsoft Flight Simulator X\" Checking version of the FSX EXE: ... Version 10.0.61637.0 (Need at least 10.0.60905.0) Checking compatibility with installed SimConnect: Found SimConnect build 60905 (Original) Found SimConnect build 61242 (SP1 May07) Found SimConnect build 61259 (Acc/SP2 Oct07) Checking if there's already a version of FSUIPC4 installed in: D:\Microsoft Flight Simulator X\Modules\FSUIPC4.DLL ... Version 4.938f found. FSX Modules folder already exists. Okay -- installed FSUIPC4 into "D:\Microsoft Flight Simulator X\Modules\FSUIPC4.DLL" Looking for the current user's Application Data path: ... found as "C:\Users\Tzotza\AppData\Roaming" Now finding \Microsoft\FSX\FSX.CFG for all users, including this one Looking in "C:\Users\All Users\AppData\Roaming" ... No FSX.CFG there Looking in "C:\Users\Default\AppData\Roaming" ... No FSX.CFG there Looking in "C:\Users\Default User\AppData\Roaming" ... No FSX.CFG there Looking in "C:\Users\Public\AppData\Roaming" ... No FSX.CFG there Looking in "C:\Users\Tzotza\AppData\Roaming" Found FSX.CFG in "C:\Users\Tzotza\AppData\Roaming\Microsoft\FSX\FSX.CFG" Now checking DLL.XML ... ... There is a previous DLL.XML, checking for FSUIPC4 section. ... FSUIPC4 section already exists but will be replaced. (for FSUIPC4, without Loader) ... FSUIPC4 section of DLL.XML written okay Now checking for a SimConnect.XML file ... ... There is a SimConnect.XML, checking for "local" section. ... "local" section already exists, file not modified. "Modules\FSUIPC Documents" folder already exists. Now installing additional files into the "Modules\FSUIPC Documents" folder: Installed "FSUIPC4 User Guide.pdf" okay Installed "FSUIPC4 for Advanced Users.pdf" okay Installed "FSUIPC4 History.pdf" okay Installed "List of FSX and P3D controls.pdf" okay Installed "FSUIPC Lua Library.pdf" okay Installed "FSUIPC Lua Plug-Ins.pdf" okay Installed "Lua License.pdf" okay Installed "Lua Plugins for VRInsight Devices.pdf" okay Installed "LuaFileSystem.pdf" okay Installed "Example LUA plugins.zip" okay Installed "ASN WX Radar facilities in FSUIPC4.pdf" okay Installed "Offset Mapping for PMDG 737NGX.pdf" okay Installed "FSUIPC4 Offsets Status.pdf" okay Installed "Profiles in Separate Files.pdf" okay =========================================================== INSTALLATION FOR FSX-SE: SetupPath="D:\Steam\steamapps\common\FSX\" Checking version of the FSX-SE EXE: ... Version 10.0.62608.0 (Need at least 10.0.62607.0) Checking compatibility with installed SimConnect: Found SimConnect build 60905 (Original) Found SimConnect build 62608 (Steam) Found SimConnect build 61242 (SP1 May07) Found SimConnect build 61259 (Acc/SP2 Oct07) Checking if there's already a version of FSUIPC4 installed in: D:\Steam\steamapps\common\FSX\Modules\FSUIPC4.DLL ... Version 4.938f found. FSX-SE Modules folder already exists. Okay -- installed FSUIPC4 into "D:\Steam\steamapps\common\FSX\Modules\FSUIPC4.DLL" Looking for the current user's Application Data path: ... found as "C:\Users\Tzotza\AppData\Roaming" Now finding \Microsoft\FSX-SE\FSX_SE.CFG for all users, including this one Looking in "C:\Users\All Users\AppData\Roaming" ... No FSX_SE.CFG there Looking in "C:\Users\Default\AppData\Roaming" ... No FSX_SE.CFG there Looking in "C:\Users\Default User\AppData\Roaming" ... No FSX_SE.CFG there Looking in "C:\Users\Public\AppData\Roaming" ... No FSX_SE.CFG there Looking in "C:\Users\Tzotza\AppData\Roaming" Found FSX_SE.CFG in "C:\Users\Tzotza\AppData\Roaming\Microsoft\FSX-SE\FSX_SE.CFG" Now checking DLL.XML ... ... There is a previous DLL.XML, checking for FSUIPC4 section. ... FSUIPC4 section already exists but will be replaced. (for FSUIPC4, without Loader) ... FSUIPC4 section of DLL.XML written okay Now checking for a SimConnect.XML file ... ... There is a SimConnect.XML, checking for "local" section. ... "local" section already exists, file not modified. "Modules\FSUIPC Documents" folder already exists. Now installing additional files into the "Modules\FSUIPC Documents" folder: Installed "FSUIPC4 User Guide.pdf" okay Installed "FSUIPC4 for Advanced Users.pdf" okay Installed "FSUIPC4 History.pdf" okay Installed "List of FSX and P3D controls.pdf" okay Installed "FSUIPC Lua Library.pdf" okay Installed "FSUIPC Lua Plug-Ins.pdf" okay Installed "Lua License.pdf" okay Installed "Lua Plugins for VRInsight Devices.pdf" okay Installed "LuaFileSystem.pdf" okay Installed "Example LUA plugins.zip" okay Installed "ASN WX Radar facilities in FSUIPC4.pdf" okay Installed "Offset Mapping for PMDG 737NGX.pdf" okay Installed "FSUIPC4 Offsets Status.pdf" okay Installed "Profiles in Separate Files.pdf" okay =========================================================== INSTALLATION FOR Prepar3D: SetupPath="D:\Lockheed Martin\Prepar3D\" Checking version of the Prepar3D EXE: ... Version 1.4.4747.0 (Need at least 1.0.677.0) Checking compatibility with installed SimConnect: Found SimConnect build 60905 (Original) Found SimConnect build 61242 (SP1 May07) Found SimConnect build 61259 (Acc/SP2 Oct07) Checking if there's already a version of FSUIPC4 installed in: D:\Lockheed Martin\Prepar3D\Modules\FSUIPC4.DLL ... Version 4.938f found. Prepar3D Modules folder already exists. Okay -- installed FSUIPC4 into "D:\Lockheed Martin\Prepar3D\Modules\FSUIPC4.DLL" Looking for the current user's Application Data path: ... found as "C:\Users\Tzotza\AppData\Roaming" Now finding \Lockheed Martin\Prepar3D\Prepar3D.CFG for all users, including this one Looking in "C:\Users\All Users\AppData\Roaming" ... No Prepar3D.CFG there Looking in "C:\Users\Default\AppData\Roaming" ... No Prepar3D.CFG there Looking in "C:\Users\Default User\AppData\Roaming" ... No Prepar3D.CFG there Looking in "C:\Users\Public\AppData\Roaming" ... No Prepar3D.CFG there Looking in "C:\Users\Tzotza\AppData\Roaming" Found Prepar3D.CFG in "C:\Users\Tzotza\AppData\Roaming\Lockheed Martin\Prepar3D\Prepar3D.CFG" Now checking DLL.XML ... ... There is a previous DLL.XML, checking for FSUIPC4 section. ... FSUIPC4 section already exists but will be replaced. (for FSUIPC4, without Loader) ... FSUIPC4 section of DLL.XML written okay Now checking for a SimConnect.XML file ... ... No SimConnect.XML file found. This is okay. "Modules\FSUIPC Documents" folder already exists. Now installing the Prepar3D SimConnect interface for FSUIPC4 into the "Modules" folder: Installed "SimConnectP3D.dll" okay Now installing additional files into the "Modules\FSUIPC Documents" folder: Installed "FSUIPC4 User Guide.pdf" okay Installed "FSUIPC4 for Advanced Users.pdf" okay Installed "FSUIPC4 History.pdf" okay Installed "List of FSX and P3D controls.pdf" okay Installed "FSUIPC Lua Library.pdf" okay Installed "FSUIPC Lua Plug-Ins.pdf" okay Installed "Lua License.pdf" okay Installed "Lua Plugins for VRInsight Devices.pdf" okay Installed "LuaFileSystem.pdf" okay Installed "Example LUA plugins.zip" okay Installed "ASN WX Radar facilities in FSUIPC4.pdf" okay Installed "Offset Mapping for PMDG 737NGX.pdf" okay Installed "FSUIPC4 Offsets Status.pdf" okay Installed "Profiles in Separate Files.pdf" okay =========================================================== All installer tasks completed. Registration check for FSUIPC4 and WideFS was cancelled or failed! (result code 30) *************** End of Install Log *************** Many thanks in advance.
  13. Dear Pete, I am trying to install the latest fsuipc release in fsx steam but after the instalation is finished and i am puting the registration details i am geting the error : " The registration was canceled or ..." Why I am getting this error? Also I want to mention that in the same pc the fsx and p3d v1.4 are running. Many thanks in advance.
  14. Hello Pete, I need some help to fix something. I am using widefs to run some programs to a client pc. I have fix the wideclient.ini like this to run and close the following programs : [Config] ButtonScanInterval=20 ClassInstance=0 NetworkTiming=5,1 MailslotTiming=2000,1000 PollInterval=2000 Port=8002 Port2=9002 ResponseTime=18 ApplicationDelay=0 TCPcoalesce=No WaitForNewData=500 MaxSendQ=100 OnMaxSendQ=Log NewSendScanTime=50 Priority=3,1,2 Window=0,0,112,27 ServerIPAddr=192.168.137.167 Protocol=TCP ; ----------------------------------------------- [user] Log=Errors+ RunReady1=D:\FCU\fcu.exe RunReady2=D:\AS2012\AS2012_Exec.exe AllowShutdown=AppOnly CloseReady1=Yes CloseReady2=Yes ; =============================================== [sounds] Path=D:\WideFS\Sound\ Device1=Primary Sound Driver Device2=C-Media Wave Device but i want to add a 10 second's delay between running fcu and as2012. I have read about the delay command but i don't understand of how i can add this command so the as2012 will start 10 seconds after the fcu has started. Many thanks in advance.
  15. Dear Pete, I want to assign a button to reset the rudder trim. While i saw that you have assignements for rudder trim left and right i can't find the corresponding offset for the rudder trim reset in "0" position. Best Regards George Nikolou
×
×
  • 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.