Jump to content
The simFlight Network Forums

PositveAero

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by PositveAero

  1. Hi all, It is possible to extract airfield data i.e. runway lat long co-ordinates etc.. From FS9? Thanks
  2. Thanks very much Pete, Ok we will start look at variables that affect airspeed, accelerations, pitch, etc.. and set these to achive the desired airspeed. Will update when we have something a bit more usuable. Thanks again
  3. Hi All, We are trying to 'rewind' (if you like) a flight to a particular previous time. Much like a rewinding facility. Managed to set everything apart from 2 things! The first (and most critical) being airspeed. After doing some reading around the subject, it’s apparent that this isn't directly possible however. We would like to get to the bottom of this once and for all, and if the solution is deriving the airspeed through calculations and setting other variable we are happy to do this. has anyone been successful in deriving airspeed? and what are the definitive variables that will need to be set in resulting in the right airspeed reading? The second, on the HSI, the localizer needle. We haven't found any offsets that drive the heading whcih the needle is pointing to. Any ideas? Thanks very much
  4. Hello All, Not sure if anyone came across this issue before! When starting flight sim (FS9 in my case) there seems to be a conflict between the buttons / switch configuration that is set in flight sim in relation to hardware buttons / switch positions. To give an example, the auto pilot master switch is set to off in flight when a flight is loaded, but the hardware switch position is left in the ‘on’ position from the last flight! When the A/P master switch is operated in the new flight the switch is reversed! ‘Off’ on the hardware is ‘on’ to flight sim! Is there a way for FSUIPC to read the hardware switch positions at FS loading and re-assign the switch positions in flight sim accordingly?? Thanks very much in advanced
  5. HI Pete, Thanks great, thanks very much. On a slightly different note! I am trying to ready when FS is ready (i.e. after the scenery has been loaded!) I am reading the offset &H3364 but this gives me that FS is ready before the scenery has finished loading! Is there an offset I can read that will tell me that FS is ready and scenery has been loaded?? Thanks again
  6. HI All, I need to close FS9 with a programme (im using vb .net). I would like to progamaticcaly close FS9 (i.e. do the action of file -> exit). After this action, a message comes up asking are you sure? (Yes - No). The Yes - No window is a new window (Seems to be a seperate window to the FS9 window). Can any one provide any help on this? Thanks in advanced
  7. HI Pete, Sorry for the long delay in reply, I didn't check the forum for some time! Ok the info you wanted: Flight Sim is: fs9 Document is: FSUIPC for Programmers Apologies again for the relay! The Table extract is below: 3BD6 18 Panel failure modes (FS2002 and FS2004 only): one byte flag/control for each of the following ―partial panel‖ modes: 3BD6 ADF (both on FS2004) 3BD7 ASI 3BD8 Altimeter 3BD9 Attitude Indicator 3BDA COMM1 3BDB COMM2 3BDC Compass 3BDD ? (unknown) 3BDE Engine (see 0B6B for separate engines) 3BDF Fuel Indicator 3BE0 Heading Indicator 3BE1 NAV1 3BE2 NAV2 3BE3 Pitot heat 3BE4 Transponder 3BE5 Turn Co-ordinator 3BE6 Vacuum 3BE7 VSI Ok Ok
  8. Hi All, We have just finished building a flight simulator project, and part of this project was an external instructor operator station for injection of failures. The offsets used are the one’s listed in the programmes user guide, the guide has one offset that is listed as unknown. In the Panel failure mode section, (3BDD). After some experimentation it turns out that his unkown parameter 3BDD fails the avionics master. Please feel to update the documentation as appropriate. Thanks
  9. Hi All, I need some help with multi action macros please. Again I have read the documentation and have tried this before posting my question! but can’t seem to get this working!? I am after a macro that does 2 actions! I want to be able to engage the airspeed hold with a button but to engage the airspeed, the auto throttle needs to armed. So I need a macro that arm’s the auto throttle and then engages the airspeed hold. I can then assign the macro to my button. To disengage the airspeed hold another multi action macro would be needed, to disengage the airspeed hold and also dis-arm auto throttle. Thanks in advance (please also note the auto throttle arming switch can’t be selected by a mouse macro!) Thanks
  10. Thanks Pete, I have now got this to work, the extract from my .ini file is below for anyone who wants to do the same this. But please change to suite your button & joystick config. The following is the part of FSUIPC code which enables the fast / slow pointer rotation speed to be toggled when the rotary encoder push button is pressed. It works with Heading Bug, VOR1, VOR2, Autopilot Airspeed, Autopilot Altitude and Autopilot verticle speed settings: 41=P0,14,C1005,4096 ; toggle flag for pseudo button (16 ,0) when button (0,14) pre 42=CP(F-16,0)0,6,C65880,0 ; HEADING_BUG_DEC if flag not set (slow) 43=CP(F+16,0)0,6,C1024,0 ; HEADING_BUG_DEC if flag set (fast) 44=CP(F-16,0)0,7,C65879,0 ; HEADING_BUG_INC if flag not set (slow) 45=CP(F+16,0)0,7,C1025,0 ; HEADING_BUG_INC if flag set (fast) 46=CP(F-16,0)0,10,C65662,0 ; VOR1 OBI DEC if flag not set (slow) 47=CP(F+16,0)0,10,C1026,0 ; VOR1 OBI DEC if flag set (fast) 48=CP(F-16,0)0,11,C65663,0 ; VOR1 OBI INC if flag not set (slow) 49=CP(F+16,0)0,11,C1027,0 ; VOR1 OBI INC if flag set (fast) 50=CP(F-16,0)0,12,C65664,0 ; VOR2 OBI DEC if flag not set (slow) 51=CP(F+16,0)0,12,C1028,0 ; VOR2 OBI DEC if flag set (fast) 52=CP(F-16,0)0,13,C65665,0 ; VOR2 OBI INC if flag not set (slow) 53=CP(F+16,0)0,13,C1029,0 ; VOR2 OBI INC if flag set (fast) 54=P0,15,C1005,4097 ; toggle flag for pseudo button (16 ,1) when button (0,15) pre 55=CP(F-16,1)0,0,C65897,0 ; AP_SPD_VAR_DEC if flag not set (slow) 56=CP(F+16,1)0,0,C1020,0 ; AP_SPD_VAR_DEC if flag set (fast) 57=CP(F-16,1)0,1,C65896,0 ; AP_SPD_VAR_INC if flag not set (slow) 58=CP(F+16,1)0,1,C1021,0 ; AP_SPD_VAR_INC if flag set (fast) 59=CP(F-16,1)0,2,C65893,0 ; AP_ALT_VAR_DEC if flag not set (slow) 60=CP(F+16,1)0,2,C1016,0 ; AP_ALT_VAR_DEC if flag set (fast) 61=CP(F-16,1)0,3,C65892,0 ; AP_ALT_VAR_INC if flag not set (slow) 62=CP(F+16,1)0,3,C1017,0 ; AP_ALT_VAR_INC if flag set (fast) 63=CP(F-16,1)0,4,C65895,0 ; AP_VS_VAR_DEC if flag not set (slow) 64=CP(F+16,1)0,4,C1022,0 ; AP_VS_VAR_DEC if flag set (fast) 65=CP(F-16,1)0,5,C65894,0 ; AP_VS_VAR_INC if flag not set (slow) 66=CP(F+16,1)0,5,C1023,0 ; AP_VS_VAR_INC if flag set (fast) Thanks very much and on to the next issue :)
  11. HI all and thanks very much for the help with this, and apologies for the delay in reply I was away for a week :) Reading the above it seems that the answer lies in an lua script! this is not an area im familiar with but even if it was it seems a complex solution to the problem (just my impression)? So I tough i would clarify on my initial question and also to summaries my investigation since in posted the initial question: I would like to use a push button on a rotary to toggle a flag in such a way that when the rotary encoder is rotated either clockwise or anticlockwise to move a heading bug (just as an example in reality I have 14 functions i want to do this with), the speed of movement can be determined (ie slow - fast or 1 degree - 5 degree per pulse). I am trying to implement this functionality from within the FSUIPC.INI [buttons] section using compound FSUIPC button syntax (see below). My understanding so far is I am using joystick 0, button 7 which is a push button to set the flag so that when this is pressed it toggles a flag for both buttons 0 & 1 which are the inputs set to decrement and increment the heading bug respectively. The compound (CP) commands I believe will activate the control dependent on the button flag status (ie command 'CP(F-0,1)0,1,C65870,0' will operate the HEADING_BUG_INC control (C65879) if the flag is not set. I would expect a control to be available which would be similar to HEADING_BUG_INC_FAST. I could not find this so I am wondering if there is another way around this (ie repeat the slow (CP) comand say five times for 5 degree shift or not. Can anyone help? [buttons] 1=P0,7,C1005,0; toggle flag for button (0,0) when button(0,7) pressed 2=P0,7,C1005,1; toggle flag for button (0,1) when button(0,7) pressed 3 =CP(F-0,0)0,0,C65880,0; HEADING_BUG_DEC if flag not set (slow) 4 =CP(F+0,0)0,0,C ?????,0; HEADING_BUG_DEC if flag set (fast) - replace C ????? with Hdg bug dec fast control if one exists! 5 = CP(F-0,1)0,1,C65879,0; HEADING_BUG_INC if flag not set (slow) 6 =CP(F+0,1)0,1,C?????,0; HEADING_BUG_INC also if flag set (fast) - replace C ????? with Hdg bug inc fast control if one exists
  12. I am trying to use a rotary encoder to have dual functionality! So that when moving the heading bug (for example) it will turn the heading bug 1degree per pulse! (Which is the normal speed at the moment). But I would like to use the push button on the rotary encode to be able to speed the rotation! so that when the button is pressed the rotary encoder will move the heading bug 5degrees per pulse and when pressing the push button again it will revert back to the original speed of 1degree per pulse! How can this be done?
×
×
  • 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.