Jump to content
The simFlight Network Forums

Pete Dowson

Moderators
  • Posts

    38,265
  • Joined

  • Days Won

    170

Everything posted by Pete Dowson

  1. Sorry, but I cannot even guess without knowing what switch in what aircraft! Pete
  2. That simply means the place you are clicking is not amenable to mouse macro use. Pete
  3. Not that I know of. Hmm. Not sure about that. It is probably simply not set if the aircraft type isn't "prop", so it depends on the last prop you had loaded. Not unless it has been added by an add-on aircraft. Pete
  4. Sounds like you've not calibrated them properly in FSUIPC. By default the idle position will be well away from full back, to allow reverse thrust. You need to actually calibrate, as instructed in the documentation, to put the idle where you want. That's a part of the process of calibration which you perhaps skipped? There's not much point in using FSUIPC if you don't do this. if you don't want a reverse zone on the throttle levers, just check the option for no reverse zone, top left. Pete
  5. Key assignments to buttons aren't very good in any case. All keys are assigned in FS to FS controls, so your button is converting to a key which is converting to a control -- so why not assign to a control in the first place? Which part of the numbered steps given didn't you understand? Look: 1. Select the "Offset SWord Increment" control to program the nose up trim. THAT is one of the controls in the drop-down list you mention!!! All the controls are in alphabetic order, so it easy enough to find! After getting the drop-down just press the O (letter o) key and it will go nearly to the one you want already! Once you select it you will clearly see where to put the offset and parameter values! This is so easy, really. Please tell me what it is you still don't understand? I really cannot help any more that giving the precise step-by-step instructions which are as listed in the document. Is it the English language which is the problem? If so, have you anyone who can translate for you? Pete
  6. Thanks. I did tell him about "short", but I didn't know whether or not that was supported in C#. Pete
  7. One point? What is one point? The trim runs from -16383 to +16383. That's a full 32766 possible steps between trim full nose down and full nose up. Are you saying that isn't enough? Or are you referring to the key press? Fs organises that to be quite a small change with separate presses, but two or more fast presses, or holding it down, speeds it up. Otherwise you'd take a long time to deal with major attitude changes after flap, gear or engine changes. For a trim axis or a pair of trim buttons or sprung lever switch? For a trim axis (e.g a trim wheel) you'd calibrate with a flatter central area, via the slopes facility. For a pair of buttons or a rocker lever, where you are assigning trim up and down controls, you could use the Offset access controls in FSUIPC to assign a smaller increment / decrement. Using that way you could even use the single units, giving you 32766 steps as I said. Look in the FSUIPC User Guide, the section on programming the buttons. Just after the part about Offset controls there's a boxed section which uses this specific case as an example! Regards Pete
  8. Yes, which I cannot tolerate in my nice realistic cockpit! ;-) All it needs is another Registered Windows message, just like they implemented for PTT (and PVT) -- the mechanism originally adopted by Roger Wilco. It is really easy to program, and I would immediately offer it as an assignable control just like the PTT one is now. It would deal with a local Squawkbox or one running via WideFS. Well, I write to them about it every few weeks or so, just so they know at least one person wants it! ;-( Regards Pete
  9. Definitely not FSX. SB4 on FSX is a SimConnect client. it doesn't use FSUIPC at all. This is the ONLY thing stopping me even trying SB. I've repeatedly written to the two authors of SB4 to ask for a method of operating the transponder, possibly via a windows message as is done for PTT. Then I will add the facility as a control to both FSUIPC and WideClient (using both offset and message so as to work on both FS9 and FSX). They respond and apologise for not getting to it, but nothing continues to happen I'm afraid. I guess there's only me pressing for it so it isn't very important. :-(. Regards Pete
  10. That is from the FSUIPC.LOG file, not the INI file. The INI file is where your settings (options) are. What exactly are you looking for? What is confusing you? Why are you looking in the Log file in any case? What is the problem, you don't actually say anywhere! The log extract you showed was fine, so you do really need to say why you are posting here, please, or you are simply wasting both out time? To update to 3.90 just put the FSUIPC.DLL from the FSUIPC.ZIP package into the Modules folder. Whhat are you worried about? Pete
  11. Two points there: 1. I would think it would be more efficient to do "int Oat = 0" then read the 2 bytes directly into Oat? (I don't know C# so I could be wrong). 2. Dividing the integer by 256 will give you the degrees rounded down. Is that what you want? Otherwise, to round to the nearest degree add 128 before dividing by 256. if you want more accuracy, copy the int to a floating point variable before dividing by 256. Regards Pete
  12. You aren't reading what is actually written! It says the value is the number of degrees C times 256. The * symbol means "times", not divide. The value is provided like that so it can be more accurate (i.e. to 1/256th of a degree). Surely you must realise that if it stored the number of degrees DIVIDED by 256 it would always be zero, as integers contain no fractions!!! The document does not tell YOU what to do with the numbers, it tells you how they are provided! It is the definition of the interface not a specification for your program! If you read the 2 bytes (i.e. a 16-bit number) into an "int", which in C is 32-bits, you must also make sure the top 16 bits are zero first! i.e. set the receiving integer to zero. If you don't do this then you will probably be getting rubbish in the two bytes you are not setting! This is normal programming practice, not something mystical. Again, then, you are probaly reading the lower 16-bits into a rubbish 32-bit integer which you need to zero first. A proper programming way to avoid this sort of thing is to always use the correct variable type for the job. A 16-bit integer in C/C++ is called a "short" (at least it is for a 32-bit system, which FSUIPC is and will remain). Regards Pete
  13. Look at the 4 throttle page again. Page 3. There is a "no reverse zone" option. check it. If you don't see it you are using an older, unsupported version of FSUIPC. Please update your copy. Pete
  14. It does exactly what it says it does in the blurb on the purchase site, and in the documentation -- which of course you are free to read as the download costs nothing. It extends the FSUIPC interface for applications to other PCs on a Network, so you can run them there. Plain and simple. Regards Pete
  15. In my experience the use of separate additional windows on separate screens do not much affect the FS performance EXCEPT when you have more than one 3D view in use at the same time. Then the FPS certainly halves, or a lot worse! If you want separate windows for your panels, use the 2D cockpit and undock them. Don't use two windows, one with the outside view (3d) and another with the virtual cockpit, or part thereof (also 3D). If you are using separate windows you may as well use the 2D cockpit windows in any case, and they have much less impact on performance. Maybe, but you have to have two PCs of equal capability each with a full install of FS. Check the WidevieW website. Regards Pete
  16. I don't produce any program to do what you wish in any case, PMDG or no PMDG. I think you might be thinking of something more likeWwidevieW, by Luciano Napolitano. That involves having FS installed on both computers, but with then you can have one supplying views and the other used for cockpit panels. If your frame rates are low, check whether losing the outside views saves you anything in the first place -- close the main outside view (right click on it, close). Any difference? If not, then there's not much you can do except upgrade your computer. Regards Pete
  17. You are making an error! It isn't only the Key which has to be correct, it is also your name and address. All three parts are part of the Registration. If you believe you are entering every part exactly as originally, then please send the details (registered name, address and key) to me at petedowson@btconnect.com, and I will check them here. Incidentally, version 4.40 has now been superseded by version 4.50. You should download and use the newer version when you try to enter the details correctly! Regards Pete
  18. In all previous times this happened it was found to be due either to a bad/incorrect mouse driver (the one for the Kensington mouse springs to mind), or else, more usually, one of the other add-ons installed in FS's Modules folder. One that is known to interfere somehow on some folks' systems is PMDGoptions.dll. See this thread: viewtopic.php?f=54&t=70188&p=436556&hilit=pmdgoptions#p436556 Why it occurs, and only on a minority of systems, is still a mystery. I've never had any problem here so it is difficult for me to isolate. It must be something to do with those DLLs performing prior keyboard interception. All I can suggest is to temporarily remove any other add-in modules (move them to a "saved" folder or something like that), register FSUIPC, then, with FS closed of course, move the removed DLLs back. Take care only to move added DLLs, not any of those belonging to FS9 itself. Regards Pete
  19. Yes, it is a bit, er, messy, how it has to hook into the bits of FS. But I am very pleased it turned out so useful! ;-) Thanks & Regards Pete
  20. Run the FSUIPC4 installer from the downloaded ZIP, as described for you in the section on Registration in the User Guide, which you can find in the FSX Modules folder. The User guide does contain a lot of information which you will find useful with FSUIPC4. Regards Pete
  21. No. FSUIPC sees virtual buttons as buttons. You assign those in the Options tab for buttons -- that puts the entries into the INI file for whatever you program them to do. Pete
  22. Okay, let's see: Offset is 7B91, and it is 1 byte. Value 0 means normal, 1 means standby. So, since you say you have a toggle switch, you want it to write 0 to 7B91 in one position, and 1 in the other. So go to the FSUIPC Buttons and Switches Tab, and assign it as follows: "Press" (i.e. for a toggle switch = "on"), to "Offset byte set" control in the drop down list. Enter x7B91 for the Offset, and 1 for the parameter. "Release" (i.e. for a toggle switch = "off"), also to "Offset byte set" control in the drop down list. Enter x7B91 for the Offset as well, but 0 for the parameter. See? Quite logical. Just apply what you read to what is available! If you don't really have a toggle switch, only a joystick button as you now intimate (has it changed?), then it will be different. You only assign to the "Press" and you use "Offset byte togglebits" with offset x7B91 and parameter 1. Then pressing the button will toggle between the two modes. Pete
  23. Is this on FS9 using Squawkbox? If so I believe the method is documented, via FSUIPC offsets, on their website? If so, if it is done by offsets changes, you can assign any button, toggle or keypress to do it in FSUIPC's options. Get the details from the SB site, check them and then, if you need help in working out what to assign in FSUIPC, show me what you found and I'll help from there. Regards Pete
  24. Okay. That shows the same thing happening both times: 74031 Button changed: bRef=0, Joy=4, Btn=20, Pressed 74031 [buttons] 85=P4,20,C65706,0 74031 FS Control Sent: Ctrl=65706, Param=0 and 79656 Button changed: bRef=0, Joy=4, Btn=20, Pressed 79656 [buttons] 85=P4,20,C65706,0 79656 FS Control Sent: Ctrl=65706, Param=0 but I think I know what is happening. This is an Axis control, and FS only reacts to CHANGES in the axes. All it is seeing is 0 arriving both times, so, no change. There are two possible ways around this. Either edit the FSUIPC INI file to add another action to the same button, to set the trim slightly differently first: 85=P4,20,C65706,1 86=P4,20,C65706,0 Whether '1' will be enough or not I don't know. Try it, else increase it. Or you could program the Press of the button to send the1 (or whatever), and the Release of the button to send the 0. Regards Pete
  25. It's actually DOWSON, not Dawson, as in the name of this Forum and on all my programs. But most folks call me Pete. Ouch. These re-installs cause more trouble than they fix. Why did you need to do that? So, what other SimConnect client applications do you have which "work fine"? Which one is that, please? Tell me exactly what you did. Re-installed Windows? On a freshly formatted disk as well? Wow! If the disk wasn't re-formatted first I'd guess that the WinSxS folders containing simConnect are still in the same mess as before. And when you installed FSX, did you run it and check it before moving on to install SP1? I think that's needed. You've edited this so I can't tell exactly, but is there no listing of ANY valid SimConnect folders in Windows\WinSxS? The folder names, with FSX and SP1 installed, should be: C:\WINDOWS\WinSxS\x86_Microsoft.FlightSimulator.SimConnect_67c7c14424d61b5b_10.0.60905.0_... C:\WINDOWS\WinSxS\x86_Microsoft.FlightSimulator.SimConnect_67c7c14424d61b5b_10.0.61242.0_... Also there are lots of entries in the registry with all these details, and I think they are crucial to the working of the WinSxS system too. This certainly creates problems when folks rollback to a backup up setting in Windows, because the folders containing the files still seem to be left. I suspect this is what is going wrong during uninstalls too, but yours is the very first time I've ever seen anyone report NO versions of SimConnect installed correctly. The problem where FSUIPC couldn't load if the base version was okay is remedied in version 4.50, which only needs one working version. If you have the Deluxe version of FSX, you can find and run the SimConnect.msi installer to try to fix it. The SP1a SDK from the Microsoft site needs the base SDK installing first. Another alternative is to try installing the SP2 update, which will install its version of SimConnect. If you are okay at Registry reading, checking and editing I can provide some info I've sussed out about SimConnect registry entries -- but ALWAYS make a restore point before ever touching the Registry unless you feel very confident! Regards Pete
×
×
  • 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.