-
Posts
38,265 -
Joined
-
Days Won
170
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Pete Dowson
-
Yes, or simply the other connection it needs -- the one to the multiplayer interface. Actually, now that I come to think of it, doesn't SB need to use SimConnect for FSX, as the multiplayer interface is not accessible to third party programs? If so, have you installed SimConnect on the client and set the correct CFG and XML file parameters for it to operate over the network? It really is time you checked with the SimConnect support folks. Regards Pete
-
You don't need to remember. Thanks to Peter Hayes there's an easy guide published as an Appendix in recent editions of the FSUIPC Advanced user's Guide. Look near the back. Regards Pete
-
It won't say "WideClient is running", it will only tell you how many clients are connected. Otherwise it says "waiting for clients" or similar. What does it say? We aren't talking about any menus here, only the standard Window title bar, the one with the close, maximise/restore buttons top right. If you are running FS is full screen mode you'll have to press ALT+Enter to switch to Windowed mode to see it in any case. It is the standard documented facility for enabling or disabling WideServer, that is all. It should mean the same to you as it is described in the documentation. Well I don't use SB and have never seen it I'm afraid, so your best bet is still the SB support forum. I'm sure there's more to it than simply running WideClient and Squawkbox. It needs some way of injecting the multiplayer images of the other fliers to start with -- that certainly isn't handled via WideFS. Regards Pete
-
I'm afraid you must have it the wrong way around. You must have calibrated your throttle in 3.826, so now I've fixed it in 3.827, to be like it always was before 3.826, your settings are all wrong. Unless you wish to stay on 3.826 forever, with no further support, I suggest you update to 3.827 and re-calibrate. Regards Pete
-
If WideFS is working (i.e. if you are seeing that WideClient is connected according to both its and FS's title bars), then the problem must be related to some configuration or initialisation problem in SB. Maybe it needs file access to FS as well. Isn't there any documentation for SB to tell you how to set it up on a WideFS client? I think you might need to go to the SB support forum. Regards Pete
-
The [user] section. In the WideFS documentation the Run parameters are actually the second ones described immediately below the [user] section heading. Please refer to the Technical guide for details. Pete
-
As long as you aren't doing a "Process" call for each individual one, they are blocked up for you in terms of the actual transfer of data. Except for some red tape added for each read the only saving you make by using one read instead of several is in the calls to the read function (which is in your program). However, that said, I myself far prefer to read data in structures, such as the "LLAPBH" one you mention (LLAPBH = Lat Lon Alt Pitch Bank Heading, and is actually a structure inside FS's own code). In some cases you really do need to write data as one block too, or else the order gets critical and timing becomes an issue. Where all the values are of the same type you presumably use an array. Even the LLAPBH set could be read as an array of 9 integers -- but then you'd have to be careful to join up the high and low parts of the 64-bit values carefully, and take care of those parts which are signed and those that are unsigned. I think VB has some difficulties with unsigned numbers. In most languages you can define structures, which are just collections of values of possibly different types, in a defined arrangement. I don't know if VB supports such things or not. Ah, now you've lost me. There's a "Get" as well as a "Read"? What's the token for? I assume this is something to do with the fact that VB.NET is "managed" or "interpreted" rather than real native code? Isn't the interface package provided by Paul Henty of use here? See viewtopic.php?f=54&t=53255 Regards Pete
-
Blank, or grey divided into rectangles representing button positions but with no labels? If there's no labels it normally just means it thinks it isn't connected. I've just tried it here on Vista and it works fine, so it isn't anything to do with Vista. Well, you have two "ButtonScreen=Yes" lines, but that shouldn't matter. I've just tried your INI file here, but without the Protocol=TCP and ServerName=Quadcore parameters, which shouldn't be needed if you are in the same WorkGroup as the server. I see you have a "UseTCPIP" parameter, which is long discontinued -- the only parameter for that has been "Protocol=TCP" for a long long time now. Are you sure you aren't using an out of date version of WideClient on that Vista PC? If you are not sure let me see the Log file. Looking at your INI file there are parameters there which are out of date and even discontinued, and some of those which should be there are missing, so I would guess you are well out of date with that installation. I expect it is a version pre-dating the Button Screen facility. I think you should delete the INI file, install the latest WideClient, and try again. You'll find a very recent one in the Downloads announcements above. You should really also have the "Size=" parameter in the ButtonScreen section, to configure the button array to suit your needs. Regards Pete
-
It would do, but it appears to only switch one button on and all the other 287 off. And if another application is also using virtual buttons you could easily interfere with their operations quite severely, because you are writing all 288 button bits. I don't know Java, but wouldn't something like this be better, just to change the one byte you need to? public void setButton(int joystick, int button) { // joystick 64-72 // button 0-31 byte data = new byte; joystick -= 64; int offset = 0x3340 + (joystick * 4) + (button / 8); fsuipc_wrapper.ReadData(offset, 1, data); data = data | (byte) Math.pow(2, button % 8); // Here I am assuming logical "OR" is '|' as in C -- if not change it // If you have shifts in Java then it would be more efficient to comput the value by "1 << (button%8)" where << is left shift fsuipc_wrapper.WriteData(offset, 1, data); } The clear button routine would be the same except you'd use Logical AND instead of OR, with the logicl NOT of the computed value, and you could have a Toggle gacility by using "Exclusive Or" with the computed value. I'm assuming Java has some Logical facilities in its repetoire, else you'd need to do everything using maths which is pretty horrible. If you know you have exlusive use of a range of 8 buttons then you wouldn't need to read them and manipulate them this way, you could simply set whatever combination you liked the way you are doing it but for 1 byte not 36. Writing all 288 buttons every time is not only uncooperative but it also prevents you using more than one button in your own program, at least without some changes. Regards Pete
-
Calibrating in Windows or CH Manager
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
I must say i can't blame you for that. I think I would do the same. Regards Pete -
Widefs Connection Problems
Pete Dowson replied to Erik Vosburgh's topic in FSUIPC Support Pete Dowson Modules
I've never seen that error, but a quick "Google" on the error number, 11004, finds this: http://forum.teamspeak.com/showthread.php?t=14420 which suggests using the IP address instead of the name. This is obviously a work-around, not a fix to whatever problem you have. A more explicit explanation of the error appears further down that thread: Why you have misconfigured DNS entries I don't know -- presumably that's something to do with your router or switch settings? Incidentally, why are you specifying the server name and protocol in the WideClient.INI? Didn't the automatic identification of the Server work either? It should be fine with XP/Vista systems, unless your Workgroup names don't match. Regards Pete -
I think this is the same question answered in an earlier thread, here: viewtopic.php?f=54&t=72264 Can you check and see if that helps? Regards Pete
-
Fixed in version 3.827, now available in the Other Downloads announcement above. Thanks for the notification and useful information supplied with it! Regards Pete
-
Ouch! Somehow it's swapped to using the AXIS_ version of the FS controls! How odd. I have no idea how that happened, but I will go and fix it directly! Thanks & Regards Pete
-
Calibrating in Windows or CH Manager
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
I can understand them needing re-calibrating in FSUIPC, but surely the Manager program didn't re-direct axes to different Windows axes, i.e. swap them all about? That would be crazy. If ity did that then you'd certainly need to delete the [Axes] sections or else have a right mess to deal with. There's an "aircraft specific" box for Axis, Calibration , Buttons and Keys tabs, so saying it is the aircraft specific box again doesn't clarify anything I'm afraid. But in any of those cases FSUIPC would not (could not) specifically distinguish a Learjet from any other aircraft, it only goes by the name which is saved in the [Axes.] heading for the settings. If it thought there was no specific settings then the name couldn't have been matched. Regards Pete -
Keys for Wide FS and FSUIPC
Pete Dowson replied to Heronroberto's topic in FSUIPC Support Pete Dowson Modules
I don't think you "receive" keys in any sense you probably mean. You have to go to your account at SimMarket and retrieve them. At least this is what happens to me for every other package I've ever bought from SimMarket, and i'm fairly sure the instructions tell you this as well. Regards Pete -
Offset for Changing Stand-by Frequency
Pete Dowson replied to jimthomasjohnston's topic in FSUIPC Support Pete Dowson Modules
Erfirst, why are you editing the [buttons] section of the INI file? Are you saying you want one button permanently assigned to set a COM1 standby frequency of 121.50? It can be done but I don't see the point. And to do that you'd be using an Offset control with the fixed frequency 121.50 being written to one of the Offsets I listed for you. That can be done more easily and with less errors by assigning the button in the FSUIPC Options, on the Buttons tab. That is what the on-line options are for, to save you all the hassle of editing the INI file. You only need to do the latter to add conditions or multiple actions. If you genuinely want to do such an odd thing I can certainly explain how, but via the Options dialogue preferably, as that is where you should be doing it. Otherwise, to get from 118.0 to 121.50 via increments you'd use one or other of the assorted COM1 increment controls supplied by FS itself. They are all assignable also in FSUIPC's dropdowns, for Buttons or Keys, but also most if not all of these FS controls are assignable in FS's own assignments. In FSUIPC the COM1 controls are named "Com radio fract inc", "Com radio fract inc carry", "com radio whole inc". There are decrement versions too. I'm sure you'll find similar descriptions in the FS assignments list as they are all standard FS controls. Why did you mention "offset" in your title and question? What are you thinking of when you say this word? I think I need to try to understand you before you are going to get close to any answer you are happy with. The level of misunderstanding here seems to go rather deep. Regards Pete -
Calibrating in Windows or CH Manager
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
I have no idea how any separate program can make a mess of FSUIPC settings. It is never impossible to reset anything in FSUIPC -- if you want to reset everything to default simply delete the FSUIPC INI file. Everything you do is recorded in there. Or find the Axes or JoystickCalibration sections in that file and delete just those. It really couldn't be easier! What box? "aircraft specific"? That has to be checked by you, not FSUIPC! I really cannot imagine how you got into such a mess. There's nothing magic or clever about any of that in FSUIPC. It just does what you ask -- it sounds like you were misunderstanding some of the indicatiions. If the CH control manager is assigning FS controls, then you cannot assign them also in FSUIPC, though you should be able to calibrate any axes assigned to FS controls by any program. The axis assignments in FSUIPC are simply done by those axes which FSUIPC can see changing. The only way they cannot be assigned is if FSUIPC cannot see them changing. In FSUIPC3 that could only be because the CH Manager does not support the standard Windows "joystick" interface. In FSUIPC4 is seems more unlikely as it would mean it doesn't support the "DirectInput" interface. Regards Pete -
Well, SimMarket could sort it out for you, via their "Problem Ticket" system, or you can write to me at petedowson@btconnect.com. Include all the details you have for both Registrations -- name, email, key, date -- and state which one you want changed. Regards Pete
-
Offset for Changing Stand-by Frequency
Pete Dowson replied to jimthomasjohnston's topic in FSUIPC Support Pete Dowson Modules
The offsets I listed ARE where you write the standby frequencies before making them active! That's what is meant by "STANDBY" frequency!! You can write new values there and they are placed into the standby frequency which is the standby frequency shown before you make it active. How many other standby frequencies do you think there are? There's just one for each radio, not many! There are no offsets 1030-1045 except as part of the path and filename reading facility which occupies offsets 0FF0 through to 115D, inclusive. I think you must be totally confused. Maybe you are referring to the added FSUIPC controls 1030-1045, which are never used by those numbers but by their names in the drop-down Buttons and Keys assignments list, like "Com1 use whole inc" etc. All of those added INC/DEC controls were provided only because the ones provided by FS only operate on the standby frequency. Obviously it is not necessary for FSUIPC to add new controls to do the exact same thing as controls FS already provide. Please just use the FS ones, the same ones you can assign in FS. If it is these controls you are referring to, then I've no idea why you are using FSUIPC control numbers and so wrongly calling them "offsets", when their only use is for encoding button and key parameters in the INI file -- you should be using the drop-down assignments by name. That is why they all have names. For FS's own controls, refer to the complete list of FS controls supplied separately. Regards Pete -
Offset for Changing Stand-by Frequency
Pete Dowson replied to jimthomasjohnston's topic in FSUIPC Support Pete Dowson Modules
Of course. How have you looked? A simple search using the word "standby" reveals these straight-away: 311A COM1 standby frequency 311C COM2 standby frequency 311E NAV1 standby frequency 3120 NAV2 standby frequency Even searching for "frequency" would find them. Please do use the search facility in your word processor. It does make life easier! Pete -
.Net Application inside of FS
Pete Dowson replied to ARanc's topic in FSUIPC Support Pete Dowson Modules
Well, except the part about wanting a visible button or switch, with FSUIPC that's easy already, of course. A lot of programs use the FSUIPC hot button and/or hot key facilities, which work locally and to a Client via WideFS. But maybe you want to write your own interface? Why? Because you are writing a payware program and you don't want to pay license fees, or some other motive? For a visible button or switch the Gauge is the only sensible way, really. That can still be combined with use of FSUIPC so that a networked PC can be used. Regards Pete -
.Net Application inside of FS
Pete Dowson replied to ARanc's topic in FSUIPC Support Pete Dowson Modules
I think you'll face really big big problems, as your .NET application is presumably managed (interpreted) code whilst FS is all native Intel processor code. I really have no idea how you'd integrate the two opposite ways of doing things in one Process. Regards Pete -
Calibrating in Windows or CH Manager
Pete Dowson replied to soldano's topic in FSUIPC Support Pete Dowson Modules
If you assigned all the axes via FSUIPC, you must also calibrate them in FSUIPC. All you really need beforehand to do is ensure the initial windows driver calibration is adequate to allow the full range to be used and to make sure the centre (for those axes with centres) is close enough to where it should be. After that the precise calibration, and response curves, can be set in FSUIPC. Ah, sorry, I don't know CH Control manager. Maybe someone else can advise there -- but did you refer to the "FSUIPC Guide for CH Users " sticky near the top of this Forum? Regards Pete