-
Posts
38,265 -
Joined
-
Days Won
170
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Pete Dowson
-
7 segments? 7 segment LEDs are rather outside the scope of what offset 0354 is about! Do you mean 1 out of 4 digits? Are you writing a program to change 0354? If so, why not simply read it, change whichever digit you want to change, then write it back? Ah, you mean to program a rotary to change any one of 4 digits? Why are you messing about with FSUIPC offset 0354? Why not simply use the FS controls designed to do just that? XPNDR 1 DEC XPNDR 1 INC XPNDR 10 DEC XPNDR 10 INC XPNDR 100 DEC XPNDR 100 INC XPNDR 1000 DEC XPNDR 1000 INC These are all assignable in FSUIPC Keys and Buttons. Actually they may well be assignable in FS itself for all I know. Have you looked? Also, in a recent release of FSUIPC, as you will see from the History document (and the Recent release notes above), I did add special FSUIPC controls to inc/dec the transponder in two halves (if you want to save on rotaries): Xpndr low NN dec Xpndr low NN inc Xpndr high NN dec Xpndr high NN inc So with two rotaries you can change it mighty quickly. What else might be needed? It seems to be pretty well covered all ways, doesn't it? Regards, Pete
-
"FS9 Shutsdown Unexpectedly"
Pete Dowson replied to jeh2k4's topic in FSUIPC Support Pete Dowson Modules
Hi Bob, Thanks for trying to cheer me up! Actually I'm not too down, but it does seem, sometimes, that there's always a rash of weird symptoms I need to deal with just when I'm on the point of freezing a new version ready to document and get out the door! Best wishes, Pete -
Writing Altitude to FS2002 over widefs
Pete Dowson replied to j-rod's topic in FSUIPC Support Pete Dowson Modules
If FS2002 and before, FS itself read and actioned these offsets, albeit only in Pause or Slew modes. In FS2004 it never reads them. FSUIPC has to see you writing to them and call a routine in FS's SIM1.DLL to get them activated. I don't know precisely what is happening, but by writing the low part and the high part separately you are invoking two independent calls to that routine in FS, and odd results may well occur. Try either using a single 64-bit value (long long or __int64 depending on your compiler), or a structure with the two values in (unsigned int for the fraction and int for the integer part, respectively). Write using one write of 8 bytes. Let me know please. This is something I've not previously been aware of. In general it is always better to structure single entities like this in your own program and write them as one unit to FS. In fact the Altitude is one one of 6 values, and all 6 have to be written together even when you only change the altitude. These are offsets 0560 to 0583, encompassing Latitude, Longitude, altitude, Pitch, Bank and Heading (LLAPBH). There's no separate way I can change one part. Regards, Pete -
Run it again, then close FS. Zip up the FSUIPC.LOG and FSUIPC.KEY files (from the FS Modules folder). I will check your user registration here. So far this has only ever arisen from a bad user registration, so I need to check it for you. Regards Pete
-
What's the "idle setting button"? How do you mean "0" position? Where are you reading this? When the Input from your throttle is reading -16256 (the "IN" value in FSUIPC), what is the OUT reading? If you've calibrated correctly it will be something like -4096. That's maximum reverse thrust. Down only to zero, not into the reverse zone? I really cannot picture what you are seeing from here. The individual throttle facilities always work setting reverse, this has never been any sort of problem. Please show me the Joystick calibration section of your FSUIPC.INI file. Regards, Pete
-
There's no reason memory would do that. If the calibration is "going off" during a session it sounds like either the pots in your controls are failing, or more likely shifting. I had such problems with my old Thrustmaster pedals, years ago -- the pot was seated in the centre, between the two footrests, but somehow it lost its fixings (the plastic lugs just sort of wore smooth) and it used to gradually turn in use. The upper limit of 16383 seems suspicious. that's the highest it can possibly be. Are you sure you calibrated correctly in the first place? Anyway, those values aren't the important ones. They aren't going to change at all. They are read from the FSUIPC INI file, where they were written when you last calibrated. The important values are what your pedals are showing at each extreme and in the centre, NOW -- i.e. the IN and OUT values. If those are different each time, you have a hardware problem. The -8192 and +8192 values are too exact, too clinical, to be true calibrated values. It really looks like you have't calibrated them correctly. Try going through the ennumerated steps in the documentation. If you have pressed the "set" button (so that it now reads "reset") for each axis you are using through FSUIPC, and confirmed (pressed OK, not Cancel, close or ESCape), then the calibrated values and the fact you've calibrated them will be written to the FSUIPC.INI file to be read next time. Are they? Check! Is your FSUIPC INI file write-protected, perhaps? That will certainly prevent ANY FSUIPC options sticking. Regards, Pete
-
Re: AVC Advanced Voice Client PTT programming
Pete Dowson replied to nterizakis's topic in FSUIPC Support Pete Dowson Modules
Ahthe "sticky"? I can expand that soon to encompass what we've learned recently about TeamSpeak PTT. I'd love to be able to do that one day. It needs time, patience, and skill at writing at that sort of level. I'm afraid I'm very short in all three departments. And I don't even fly on-line, so it isn't my subject at all. I am always hoping that one day soon I may even find time to actually fly a bit myself. I think I manage to get about three decent, for fun, flights per year. Thanks for you worthwhile suggestions though. Perhaps we'll get a volunteer stepping into the fray one day. :wink: Regards, Pete -
1. What version of FSUIPC please? 2. What does the "OUT" value show as you reduce the throttle back from the idle position to full reverse? Is the IN value actually getting to your -16256? 3. Observe the throttle quadrant on the panel. What is the throttle lever doing? 4. Check that you don't have more than one throttle axis assigned to the throttle -- this can happen if you have (or had) more than one joystick/device attachment. Look in FS Options-Controls-Assignments, see if there are other devices with axes assigned to either Throttle 1 or the generic single throttle-does-all axis. 4. Is this with all jet aircraft, or a specific add-on? I think some Airbus implementations have throttle management which interferes with any attempts at direct throttle settings. Test things on the default 737, say, first. Regards Pete
-
Button programming question
Pete Dowson replied to jan737's topic in FSUIPC Support Pete Dowson Modules
Oh, right. I don't think Windows knows about PCBs. Certainly this isn't a recognisable unit of anything as far as FSUIPC is concerned. Sorry, I have absolutely no idea. I think Windows, or maybe the USB specification, has a limit of 128 devices, but that may be per USB connection, not overall. Again, I have no idea. I am not a hardware expert and know nothing about USB. There's a maximum number of programmable entries in the INI file, yes. I don't remember what it is now -- it is mentioned in the documentation. It isn't at all related to USB or Game controllers or PCBs, which FSUIPC knows absolutely nothing whatsoever about. Well, not really. You seem to think I am some sort of hardware expert, which I am not. As I explained in my last answer, for buttons FSUIPC uses the Windows joystick API. That is limited to 16 joystick devices, each with 32 buttons and one POV. That's the limit. How your PCBs relate to joystick devices I have no idea. Sorry. Regards, Pete -
"FS9 Shutsdown Unexpectedly"
Pete Dowson replied to jeh2k4's topic in FSUIPC Support Pete Dowson Modules
Well, normally Damian is quite good at this, and discusses things with me first. I have no idea why he is doing this now. No. That comment dates back about 5 years or so, and refers to programs which interface to FS and find out automatically which version is running by reading the text in the title bar. Unfortubately some of them compared the whole string which is obviously different if WideServer has added its bits. I really cannot remember which they were, but it is unlikely that they are still around in the same form today. I have no idea how it is at all possible for any texturing or any graphics in FS to have anything whatsoever to do with any activity at all in WideFS or FSUIPC. Where do you read these things? Certainly no one has mentioned anything like that to me that I remember at all. Neither FSUIPC nor WideFS have any relation to anything graphical, either inside or outside FS. No, that's wrong. The only thing he might be referring to is the flickering of 2D panels when clouds are redrawn, by FS's own weather engine, on the behest of a weather program. Apparently this can be fixed by turning render to texture off. There's some notes about that near the end of the FSUIPC User Guide. But it is in no way an "FSUIPC requirement", it's something weird with Fs's graphics handling. Regards, Pete -
Button programming question
Pete Dowson replied to jan737's topic in FSUIPC Support Pete Dowson Modules
Sorry, I don't really understand the question here. What do you actually mean by "prints"? To me, a print is a copy of a photograph or a photocopied or printed piece of paper. I'm sure you don't mean that. Anyway, I'll try to answer what you may be asking. First, FSUIPC does not interface to USB, Game Port, or any other hardware directly. For buttons it can input from EPIC (via EPIC.VXD for ISA EPic only, via EPICIO.DLL otherwise), from Go Flight devices 9via GFDEV.DLL), and from the Windows joystick API. The Windows joystick API supports up to 16 joysticks each with up to 32 buttons. That is therefore the limit for FSUIPC. However, in addition, FSUIPC will convert a single "point of view" control (POV) on each of the 16 joysticks to up to 8 separate buttons, the 8 cardinal directions. FSUIPC does not use DirectInput, so its coverage doesn't extend to the extras that can make available. Regards, Pete -
FS9.1 crashes to desktop with no error message
Pete Dowson replied to Edwin's topic in FSUIPC Support Pete Dowson Modules
Well, i'm not taking offence, but at present I would consider that sort of crash highly unlikely to be FSUIPC or WideFS. However, events may prove me wrongall i can do is suggest that you update to the latest versions all the time and see if there's ever a difference. If I do find any reason my software may be involved I will certainly publish it. As you see, my release notes contain plenty of "bugs fixed" type entries as well as additions of new features and so on. If you wish to walk a little on the wild side, I can send you the latest Betas I have here, still under test. These should make release by the weekend if things go well. If you want to try them write to me at petedowson@btconnect.com. Incidentally, I've just got the AS2004 b163 beta update, and I'll see if I can try that soon. If that's something you've changed recently, and the problems has got worse since then, it may be an AS problem, but it seems unlikely too. Though any program can actually crash FS by writing things to the wrong place in FS, through FSUIPC or WideFS. There's only a few things FSUIPC can guard against, like writing to a read-only location or one that isn't allocated to FS. Regards, Pete -
Adv Disp 1.23 - Text Overflow?
Pete Dowson replied to ronzie's topic in FSUIPC Support Pete Dowson Modules
I think 2.11 dates back to July 2003!!! There's really nothing different in AdvDisplay for 1 character or 128 characters of text, it does the same for all. and it's been working pretty solidly all this time. What's suddenly changed on your system, or have you only just started using it? Not sure how that's related to anything of mine. The only program I did which handles sound was Esound (not supported for a while). Nothing actually buffers into windows. The display of text is simply a standard Windows function, called as needed. The text (up to 127 characters, actually) is kept in memory. How are you hiding it? If you use the Menu to uncheck it, it is totally disabled, it does nothing then. Any more details? Not sure how this connects to what you say. Data/audio conversion? That's something in FS I assume? I only handle text, not sure where the audio goes. What happens if you disable or remove AdvDisplay? If you can tell me how to reproduce it I'll try, but if you've had this happening for over a year I'm not sure I would know how to tackle it. I've had no other similar reports all this time. Regards, Pete -
"WideServer" connection count keeps going up
Pete Dowson replied to MattOlieman's topic in FSUIPC Support Pete Dowson Modules
This is explained clearly in the WideFS documentation. The clients time-out a lack of messages from the Server before the Server times out messages from clients. When the client times out, it reconnects. The server allows a lot more time before it discards connections. Hence the increase. Something is going badly wrong with the connection to one or more of the clients. The logs will show lots of reconnections. This will cause bad jerky behaviour in the client applications. From the Server log you have provided it looks like you have a general problem across all 4 of your clients, but this didn't start till well into the session: 23071313 milliseconds to be precise (6 hours and 25 minutes). What happened then? Maybe something you are running on the Server has a memory leak? I think some types of scenery files (AGNs? The AutoGen files) if placed in the Addon Scenery folder can do that. There may be other causes too. Other possibilities are overheating somewhere -- network card/switch? Or other problems at that time in FS? You'd need to observe what was going on at the time for clues. WideServer itself doesn't use much memory. The summary at the end shows the count of buffers it actually allocated and freed: Regards, Pete -
detect a reset flight event
Pete Dowson replied to Highvolt's topic in FSUIPC Support Pete Dowson Modules
I cannot tell a "reset". Flight loads would also result in an aircraft load or reload, and these are counted at 32FC, though I'm not sure whether that would catch resets. If FS does the reset from cached data in memory, and not by file accesses, then I don't think there's any way i could detect it anyway. Regards, Pete -
"FS9 Shutsdown Unexpectedly"
Pete Dowson replied to jeh2k4's topic in FSUIPC Support Pete Dowson Modules
Obtuse? Hmmm. Reproducible? Good, that helps! Tell me the exact steps I need to take to reproduce it on my PC please. You seemed to be saying it occurs irregularly, unexpectedly, but now it has become reproducible? Why are YOU so sure it is anything to do with WideFS or FSUIPC? There is nothing to indicate this. Your "event logs" have no such information. Read one again, here: Registry information, message DLLs to display messages from a remote computer? What has that to do with anything any of my programs do? That all sounds very much system level stuff to me, to do with your Windows set up. You can say the same for any software product, although some others never get fixed. For my own programs, of the changes made in each successive version, around 90% are new facilities (mostly requested by users) or improved performance, and, yes, 10% are fixes to bugs, mostly introduced by the last round of additions. This is a regular thing. FSUIPC is added to continuously and is a full time job. Show me another product with so much support and attention to detail. WideFS has been running now for over six years with relatively minor changes. Its Network handling is all bog-standard Microsoft code direct from their own examples. Of course there are bugs, no non-trivial software is ever free of bugs, but there are far more bugs in FS itself, in video drivers, in Windows, than there are in the relatively trivial parts played by my contributions. Folks always blame FSUIPC or WideFS first, on the basis of no evidence whatsoever. It's in the "middle" of things and an easy target. When there are isolated instances of CTDs these have always turned out to be something else. If you do have some evidence, or some way of narrowing things down, please let me see it so I can fix it, but at present I am 99% sure it is not in my ability or responsibility to fix these specific problems. There is nothing to note yet. Of course I will give it my attention when it seems to be justified, but so far everything points to other things. Sorry. And actually I wasn't offended until now. Sorry you feel the way you do. When and if you can isolate your problem fursther, please let me know. I can really do nothing here about it. Both FSUIPC and WideFS trap their own errors and log them. If you wish to try the very latest Beta version of FSUIPC and WideFS, just in case something about the changes helps or otherwise, please write to me at petedowson@btconnect.com and I will send them. I am hoping to get them out as new versions by the weekend. Regards, Pete -
"FS9 Shutsdown Unexpectedly"
Pete Dowson replied to jeh2k4's topic in FSUIPC Support Pete Dowson Modules
Seasonal texture problem? Video drivers? Overheating? Sorry, I really can't diagnose CTDs. Before FS9.1 there were loads of possible reasdons. Since 9.1 there are less, but I doubt they are all fixed. Please see his thread next to this one, here. I don't want to repeat the whole exchange again. No, it couldn't. Why say that? Please ask the AS support person to justify that throw away remark. He is probably just as depressed with you blaming AS as I am with folks blaming me. Scan through some other forums sometime. Folks who use none of my programs get CTDs too you know! FSUIPC or WideFS get all the stick all the time, and it is very depressing, but there are far more users without such problems than with, and certainly enough folks not using anything of mine who get identical problems to prove it is not specific to my programs. Regards, Pete -
FS9.1 crashes to desktop with no error message
Pete Dowson replied to Edwin's topic in FSUIPC Support Pete Dowson Modules
I think the term CTD is only usually applied to those sudden disappearances of FS. One moment it's there, the next you are staring at the desktop. They are the most annoying as there's never a way to find out what happened. The ones with error messages are just plain "crashes". Well, with those you can get more details by clicking for details. you can get the name of the module (often, unfortunately, just ntdll, a common library part of XP) and an offset. If that's one of FS's modules then it is useful -- G2D and G3D, for instance, will indicate either a scenery problem or, just possibly, video driver. Well, certainly the FS9.1 update was supposed to have cured a great number of those found by the FS team at Microsoft. Regards, Pete -
Winds Aloft and PSS Concorde
Pete Dowson replied to iandavid's topic in FSUIPC Support Pete Dowson Modules
FS already has the facility to not load upper winds. If you are using an external weather program, mostly they can disable them too I think. But surely, you have wind smoothing enabled? The Concorde can easily manage slow changes in the winds -- you can make the changes as slow as you like. If you haven't enabled wind smoothing then, yes, you are liable to sudden 180 degree shifts in the winds which will cause all aircraft severe problems, not just Concorde! Regards, Pete -
FS9.1 crashes to desktop with no error message
Pete Dowson replied to Edwin's topic in FSUIPC Support Pete Dowson Modules
I get that too, sometimes. Only at night. In my case I'm pretty certain its the Matrox Parhelia video drivers I'm using, but they are so much faster than the previous versions that I stick with it and do only day time flights. These CTDs (yes, that's the semi-official acronym! :wink: ) were much more common before the 9.1 update, and most are fixed. But one of the major causes used to be seasonal texture problems, during the changover periods of late Spring and late Autumn. Maybe vertsion 9.1 hasn't fixed them all -- try setting the FS date to mid Summer or later Winter and see if it makes any difference. Otherwise, things to check include overheating in the video card or processor, and maybe updated (or older?) video drivers. No. There's only one error there -- the Service offered by WideServer suddenly disappeared. It will have disappeared because your FS crashed. You are getting cause and effect the wrong way around! :wink: Regards Pete -
"FS9 Shutsdown Unexpectedly"
Pete Dowson replied to jeh2k4's topic in FSUIPC Support Pete Dowson Modules
No, sorry. There's no useful information in those in any case. If you are still using FS2004 original release, try updating with the FS9.1 update. It fixes a lot of possible "crash to desktop" problems. What issue with WideFS and ActiveSky? None has been notified to me. What a strange thing to say. As for "working closely", I've always supported programmers in interfacing to FSUIPC. Damian in not the only application prtogrammer to receive answers to questions and advice from time to time. Please explain yourself a little more clearly if you want proper answers, eh? :wink: Regards, Pete -
WideFS General Questions
Pete Dowson replied to jimbailey's topic in FSUIPC Support Pete Dowson Modules
I really know nothing at all (sorry) about SBRelay or HostSB, but I do know that quite a lot of people do run Squawkbox on a WideFS Client PC. DirectPlay is part of the multiplayer side of things. It isn't handled by WideFS -- that only deals with the FSUIPC interface to FS. It sounds like either you need to install a later version of DirectX on the Client, or possibly Squawkbox has to be run there first. But I don't really know. AVC is not an FSUIPC interfacing program, of course, so it isn't dependent upon any of the rest of that stuff. I hope someone who knows about Squawkbox stuff can jump in and help here, otherwise you would really be much better off asking in one of the on-line flying forums. Isn't there one for the service you want to connect to? This forum is really for technical help with FSUIPC, WideFS and so on, but most of the stuff your talking about has to do with TCP/IP links and multiplayer. I think the FSUIPC interfacing part is relatively trivial. No, don't tweak anything. If the Client is connecting, that's it. The rest is up to the programs you run. Regards, Pete -
There may be an FS control in the drop-down list which does such a thing. I don't know, really, sorry. The drop-down list of controls in both Buttons and Keys pages of FSUIPC are mostly listing controls from FS -- the names are actually from the CONTROLS.DLL in FS and vary from version to version of FS. There are additional controls added by FSUIPC, but none for such a function as you describe. I certainly have never had anything in any of my FS add-ons which change things in any FS CFG file. Are you sure you are not thinking of some other add-on. FSAssist or something? Have a scan through the FS controls. Perhaps some of the names there may ring a bell. I included a PDF document listing all the FS2004 controls in the latest FSUIPC ZIP (3.411). Regards, Pete
-
Problem with AdvDisplay 2.13
Pete Dowson replied to CTyankee's topic in FSUIPC Support Pete Dowson Modules
Good! I'll make a release later in the week. I've got quite a few bits and pieces to put together for release soon. Regards, Pete -
DME distance to NAV is gone
Pete Dowson replied to icgsearle's topic in FSUIPC Support Pete Dowson Modules
Maybe its sort sort of video driver issue. Try in windowed mode as well as full screen, and also see if looking out the side window then back brings the display back. Also, if you use the 2D panel try the VC and vice versa. Regards, Pete