Jump to content
The simFlight Network Forums

DEN19

Members
  • Posts

    102
  • Joined

  • Last visited

Everything posted by DEN19

  1. I am trying to run my instrument prog, GAPanel, from a button screen button on my slave pc. I can get it to run using the line RunKey1="C:\Program Files (x86)\GAPanel\GAPanel.exe" This will open the prog and loads the default panel, which has been satisfactory up to now whilst I only used one panel. However I then need to access the progs stored files to open a different panel- I have 3 different panels depending on which aircraft I fly. I can get them to run by opening Widows explorer and double clicking on the various entries (or right click and Open) but I can't get them to run using a RunKey command RunKey4="C:\Program Files (x86)\GAPanel\Panels\Extra 300.pnl" Wideclient give me a "couldn't run" message with error=193. After Googling this error it seems to mean a Windows error as Extra 300.pnl is not is not a valid Win32 application. Is there any way I can cause these 3 different panels top be loaded by choice from a button screen key without having to get the mouse out again?
  2. There is a control in fsx which will link the 2 views together. I use it myself as I regularly use multiple views on one pc. Try "VIEW_LINKING_TOGGLE" IIRC- (I'm nowhere near my simpit at the moment to check it). If not, then look through the list of fsx controls since it is there- somewhere- honest!
  3. Jim Try a decent whisky, like Laphroag! 0:)
  4. There is a setting in Realism for Auto rudder. It couples the rudder to the aileron axis and will steer the aircraft when on the ground. Den
  5. i had this problem some time ago, and following Pete's advice contacted Ssitek support by raising a ticket with them. After a few no-go suggestions they walked me through deleting things from the registry which cured the problem. I suggest you follow the same procedure. Regards Den PS My Saitek TQ has worked perfectly since..
  6. Pete thanks for that, I have tried the fix on their website, tried unplugging the TQ and deleting all entries in the .xml file and allowing fsx to rebuild it. All to no avail. I have contacted them for a solution. Thanks for your help. Den
  7. I have 2 Saitek TQs in my simpit. The first 2 axes on the first TQ are behaving strangely in FSX(FSUIPC 4.859d). The Windows calibration tool(Win7-64 bit) shows them behaving normally, a 50% movement of the axis produces a 50% movement in the game controller window, 75% gives 75% and so on. However in FSUIPC the calibration does not follow this profile. A 99% movement of the axis stick causes the calibration in FSUIP to move fromm-16384 to 0, the last 1% movement of the axis causes FSUIPC caplibration togo from0 to+16384. The 3rd axis on that TQ behaves normally, as do other 3 on the 2nd TQ. This applies to any profile I try to use. I think this is caused by me calibrating wrongly somewhere so I deleted the axis calibrations in the .ini file and redid them today. There is no change in the response. Cleary I have overlooked something or done somthing wrong but cannot find it. Below is the (I hope!) relevant sections of the ini file for single engine profile but thebehavoir also occurs in the twin ingine profile as well. Can you please tell me what I have done wrong!! Thanks [JoyNames] AutoAssignLetters=Yes A=CH PRO PEDALS USB B=CH FLIGHT SIM YOKE USB C=Saitek Pro Flight Throttle Quadrant D=Saitek Pro Flight Throttle Quadrant E=BU0836X Interface 0=Saitek Pro Flight Throttle Quadrant 0.GUID={EB167160-31F5-11E0-8005-444553540000} 2=CH PRO PEDALS USB 2.GUID={EB164A50-31F5-11E0-8003-444553540000} 4=BU0836X Interface 4.GUID={EB16E690-31F5-11E0-800C-444553540000} 1=CH FLIGHT SIM YOKE USB 1.GUID={EB164A50-31F5-11E0-8004-444553540000} 3=Saitek Pro Flight Throttle Quadrant 3.GUID={EB167160-31F5-11E0-8006-444553540000} F=<< MISSING JOYSTICK >> [JoystickCalibration] AllowSuppressForPFCquad=Yes ExcludeThrottleSet=No ExcludeMixtureSet=Yes ExcludePropPitchSet=Yes SepRevsJetsOnly=No ApplyHeloTrim=Both FlapsSetControl=0 FlapDetents=No ReverserControl=66292 Reverser1Control=66422 Reverser2Control=66425 Reverser3Control=66428 Reverser4Control=66431 MaxThrottleForReverser=256 AileronTrimControl=66731 RudderTrimControl=66732 CowlFlaps1Control=66162 CowlFlaps2Control=66163 CowlFlaps3Control=66164 CowlFlaps4Control=66165 SteeringTillerControl=0 MaxSteerSpeed=60 UseAxisControlsForNRZ=No ElevatorTrim=-16380,-64,-64,16380/8 Aileron Trim=-16380,-488,230,16380 Rudder=-16380,0,0,16380 Rudder Trim=-16380,-262,0,16380 LeftBrake=-16380,16380/16 RightBrake=-16380,16380/16 SlopeAileron Trim=-6 SlopeRudder Trim=-6 Aileron=-16380,-1430,3200,16380 Elevator=-16380,-1944,4543,15695 Throttle=-16380,16380 [Axes] 1=BX,256,D,1,0,0,0 2=BY,256,D,2,0,0,0 3=AX,256,F,66387,0,0,0 4=AY,256,F,66388,0,0,0 5=AZ,256,D,3,0,0,0 9=EX,256,D,28,0,0,0 10=EY,256,D,27,0,0,0 11=EZ,256,D,21,0,0,0 12=EU,256,D,4,0,0,0 [Profile.Single engine piston] 1=Cessna Skyhawk 172SP Paint2 2=Cessna Skyhawk 172SP Paint3 3=Cessna Skyhawk 172SP Paint1 4=SIAI-Marchetti SF.260 Left G-AERO 5=SIAI-Marchetti SF.260 Left White 6=Commercial Level Simulations -- Piper PA-28R-200 Arrow II black 7=Cessna Grand Caravan Paint2 8=Commercial Level Simulations -- Piper PA-28R-200 Arrow II Red 9=Chipmunk 10=Commercial Level Simulations -- Piper PA-28R-200 Arrow II grey 11=Mooney Bravo Retro 12=Auster J1 Autocrat G-AGTO 13=Hurricaneiv 14=Commercial Level Simulations -- Piper PA-28R-200 Arrow II Light Blue 15=Beech_p35 16=PT-19 17=CIX Chipmunk CHIP4 18=DH82A Cix VFR Club G-BRSJ 19=CIX Chipmunk CHIP6 20=CIX Chipmunk CHIP1 21=Beech_p35b 22=Cessna Skyhawk 172SP Paint4 23=Auster J1 Autocrat G-JAYI 24=Beech_p35b 25=CIX Chipmunk CHIP4 26=AeropraktFoxbat.1 [Axes.Single engine piston] 0=CX,256,D,4,0,0,0 1=CY,256,D,5,0,0,0 2=CZ,256,D,6,0,0,0 3=BX,256,D,1,0,0,0 4=BY,256,D,2,0,0,0 5=AX,256,F,66387,0,0,0 6=AY,256,F,66388,0,0,0 7=AZ,256,D,3,0,0,0 8=EX,256,F,66732,0,0,0 9=EY,256,D,27,0,0,0 10=EZ,256,D,21,0,0,0 [JoystickCalibration.Single engine piston] AllowSuppressForPFCquad=Yes ExcludeThrottleSet=No ExcludeMixtureSet=No ExcludePropPitchSet=Yes SepRevsJetsOnly=No ApplyHeloTrim=Both UseAxisControlsForNRZ=No FlapsSetControl=0 FlapDetents=No ReverserControl=66292 Reverser1Control=66422 Reverser2Control=66425 Reverser3Control=66428 Reverser4Control=66431 MaxThrottleForReverser=256 AileronTrimControl=66731 RudderTrimControl=66732 CowlFlaps1Control=66162 CowlFlaps2Control=66163 CowlFlaps3Control=66164 CowlFlaps4Control=66165 SteeringTillerControl=0 MaxSteerSpeed=60 Aileron Trim=-16380,-512,512,16380 Rudder Trim=-16380,-2123,1281,16380/8 ElevatorTrim=-16380,-512,512,16380 Rudder=-16380,-774,774,16380/8 LeftBrake=-16380,16380/16 RightBrake=-16380,16380/16 SlopeLeftBrake=15 SlopeRightBrake=15 Aileron=-16380,-3901,4992,16380/8 Elevator=-16380,-1666,4406,16380/8 SlopeRudder Trim=6 Throttle=-16380,-258 PropPitch1=-16384,0,0,0/32 PropPitch=-16380,-323 Mixture=-16380,16380 [/CODE]
  8. Yes I know, I read through these during my attempts over the weekend. I thought I already did in an earlier post. See Yes I do- that is why I asked you to explain things to me. See above. I hope so, I'll certainly try. Regards and thanks Den
  9. All you have said above just bears out what I said that I do not have any idea about how to write the coding I need to get a window to display the OAT for me. I was doubtful about including the code because it was clear to me that it was a load of old rubbish. That is why I came asking for help. No, because I didn't realise that the log would include any information that would help me. Another lesson learnt! W hether I would have understood what to do from the message there is debatable anyway. What comes easy to you as an expert is like Double Dutch to a novice like me. To be or not to xsdnmfskljnbfgb;jkv..... :razz: There's probably more chance of that than me getting the code I need correct, but I was hoping that, with some helpful advise I might learn how to get there. I've spent about 8 hours this weekend trying to understand what to do and how to do it- from the Lua handbook, which I found hardgoing, to Google, and got nowhere. That's why I need help. Den
  10. I've just noticed, it was there but stuck on the end of the line above. Somehow the "return" had been lost and just needed re-inserting. See below. The ipc.sleep did the job, the windows flash up on the main screen but immediately disappear. I am struggling though with the OAT coding. I'm a complete novice with coding of any sort and have spent several hours fruitlessly trying to get it to work. I only managed to get the other windows to work by blatantly plagiarising your notes above. What I have tried is shown below and it won't even get the window to display, never mind put any text in it. And as I don't have much hair left these days I can't afford to tear any of it out! w5 = wnd.open("OAT", WND_FIXED) ipc.sleep(5) ext.position("OAT", 43,5,12,2,1) wnd.font(w5, WND_ARIAL, 12.0, WND_BOLD) wnd.backcol(w5, 0xf00) wnd.textcol(w5, 0xfff) wnd.clear(w5) wnd.text(w, "OAT " .. temp .. "C") end --str = string.format("OAT %2.0fC", oat + 0.5) temp = ipc.readSW(0x0e8c) I would very much appreciate it if you would show me how to do it, with as short explanation so I can learn for the future- if you can spare the time. Thanks Den
  11. Sorry for the confusion. They always appear on the correct screen but sometimes one appears on the home scree1 as well. Of couse there may be more than one super-imposed on each other, I never thought to check. I'll try the delay and report back. Thanks Pete, don't know how I missed that, they were all just copied and pasted from the first entry- or so I thought. s Thanks I'll try that tomorrow as well. Regards Den
  12. Pete Now managed to try out the setbtnstate in multiplayer. It's great to watch the toggles change colour as the other pilot swiches things on and off. I've noticed a couple of things to do with the following code, using the wnd command,which I can't fathom out- despite staring at it for too long ( something to do with trees and woods I think). 1. The windows are supposed to appear on one screen, and they always do, but occasionally when Wideclient is started one witll appear on the main screen as well, and when it does it is huge, roughly a quarter of the screen in size with no text in it. It then won't disappear until Wideclient is closed. 2. The windows text is supposed to be white or black, depending on the b/g colour, but in one of them (Alt2) it is always black- and I can't figure out what I've done wrong. Please help. Finally a question. Can the wnd command be used to display two types of text, one static and one based on data from FSX. What I'm thinking is an OAT gauge which reads the temp from fs and display it as "OAT nn ºC" with the nn read from fs and rest as static text? Regards Den
  13. Thanks- I knew you'd know the answer to that. Question. If using the ext.position command do I still need to use the positional data (10,10,190,110) in the wnd.open command? Den
  14. Just got the time now to try it out with the new setbtnstate command. It works well and I think, along with the other 2 add-ins already tried that it gives me excellent flexibility to do all I originally wanted in terms of annunciators and, probably, a lot of other stuff I haven't even thought of yet but you probably have!. The only problem with this is that my buttons are spread across several pages so , as you pointed out, I wouldn't necessarily see them "lighting up". That is why I will probably buid a bank of "idiot lights" as well. Again many thanks for your support. All it needs now is the ability to play an audible tone when on of the buttons changes state. (thinks to self) Now- how can I do that?........... Regards Den
  15. That certainly makes the arithmetic easier for setting it up. What I am thinking is that instead of using toggles in the BS this new facility means that an ordinary button can be used and then use the Toggle facility in FSX with the feedback to the button colour for indication. For example I currently have one toggle on my BS for Master Battery- set to red when fsx loads up and which goes to green when I switch it on. That's fine as long as I do a C & D start, which I usually do, but it can be thrown out of sync. This is especially so if I am in shared cockpit mode on multiplayer, a position I find myself in more and more since I joined an on-line GA flying club (CIX VFR). In this position when the other person switches on the master switch mine remains red. With the new ipc.setbtncol addition I hope mine will turn to green when he switches it on. I'm sure there will be some instances where this cannot be applied though. I will actually have to use both the options you have come up with (the wnd and btn functions) because my cockpit has some functions controlled through the BS and some through real switches/pushbuttons via Bu0836X and KE72 interfaces. For the latter I will need some annunciators separate to the BS. Again this just reflects RW practices though. Den
  16. Damn-Should have thought of that myself! You set me thinking, I may not actually need a second instance of BS now to act as annunciators. Since each button can be controlled to visually reflect the status of the offset they effectively become self-indicating and always refect the condition of the parameter they are controlling. Just like self-illuminating switches in RW. I'm off to play again. Den
  17. Tried this out now and it works OK. I can see that this can easily be used to produce a bank of annunciators for anything that info can be read from FSX offsets. Brilliant job. One question- the parameters for the positioning of the window, in this instance 10, 10, 190, 110, obviously refer to the position and size on the main screen on the desktop. How do I position it on another monitor on the same pc. I have 3 monitors on the desktop on my slave and want to position it on none of the others. I've not tried the BS one so fsr but will later today. I am assumimg that the action from the ipc.setbtncol( button, red, green, blue) command will only be actioned on the instance of Wideclient that the Lua file is stored with. Am I correct in that? Den
  18. Thanks Pete, as ever for unrivalled support. Will play with them tomorrow and report back. Den
  19. Having now tried it out see what you mean, it's not really right for the situation. I'll wait for the BS facility instead. I've already set up a second instance of Wideclient ready for use. Thanks again Den
  20. Pete Thanks for the quick reply. Yes I would like to try that. That would be my prefferred way. Can I run multiple instances of Wideclient on the slave pc or would that be impossible. If so, I could then have a one-page BS running on a second monitor on the slave which would just be for annunciators. I could then add a cut-out to the MIP for the display to show through. Of course, if the plug works OK then may not be be needed anyway. Den
  21. Pete I am looking to the poosibility of adding some annunciators to my slave pc for such things as generator lights, fuel cut-offs etc, which will show one colour if not running and anothern if running. to do this in the usual way with output cards and LEDs will be expensive so it set me thinking... Is this possible with a Lua script to read the required offset and display, say, a .jpeg image on the slave pc- although I am not sure how it could be done. I cannot see how the image will work just on the desktop, so it would require another program running to display it. Conversely could a Lua scrip be used to alter the state of a toggle in my button screen (again based on reading the value of an offset) from,say, red to green and vice versa. The toggle would not drive anything in FSX but only be used solely as a display for whatever info was needed to be displayed. This has the advantage that the text on the button would be programmable to anything needed. Or could Wideclient be made to do this itself? Or is there another way to do it? Your thoughts would be much appreciated. Den
  22. I had this problem recently with my CH brake pedals sticking on the left foot and having to press down on the base to release it. I stripped the top cover off the foot pedal to expose the pots, which I then sprayed with electrical cleaner. This solved the sticking problem for me. Regards Den
  23. I'll add my congrats on that. Customer support second to none anywhere else. Well done Pete, and long may you continue. Regards Den
  24. Hi Ray from another Yorkshireman Yes you need the latest version of FSUIPC4 available from here:- http://www.schiratti.com/dowson.html BTW where abouts in Yorkshire? Regards Den
  25. Yes they are FSUIPC offsets, they are listed in the "FSUIPC4 Offsets Status" document which comes as part of the SDK- available from PD's page here: - http://www.schiratti.com/dowson.html It lists all the offstes available, I used quite a few when setting up the button screen touchscreen my pit- much better than using a mouse/keyboard. Program them in through the button page in FSUIPC. Den
×
×
  • 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.