Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,680
  • Joined

  • Last visited

  • Days Won

    288

Everything posted by John Dowson

  1. First, you posted in the forum for Paul Henty's .net/c# client. If you are using VB.net, you should use the main support forum. I will move your post. Also, it is not clear to me what you want to achieve. Do you want to set-up the initial flight conditions via FSUIPC? You can do this by setting the required information to the relevant offsets. You will need to look at the FSUIPC Offset status document to work out which offsets you need to set to achieve what you require. There may also be other software available that does this sort of thing that you could take a look at. There is FSFlyingSchool (https://www.fsflyingschool.com/) and FS Flight Control (https://www.fs-flightcontrol.com/en/) that does this type of thing (and more). It will be quite a large task to write something similar from scratch.
  2. I'm not sure I fully understand your issue....If your yoke moves through the full 90 degrees left and right, and so does the virtual yoke in the C172, I would have thought the visuals would match if you set a linear response curve... Not knowing this yoke or software, nor do I I'm afraid. If your yoke is recognised by windows as a hid joystick type device, you could try assigning and calibrating in FSUIPC7 without the software. If you need the software for the device to be recognised, then you will just have to try it to see how it works with FSUIPC7. I suggest you just try an assign/calibrate your yoke in FSUIPC7 to see if it works for you. You can find a trial license for you to try the assignment facilities here: John
  3. When you say MSFS, that is distinct from FSX. i.e. MSFS is the MSFS released in 2020. FSUIPC7 only works with MSFS, it is not compatible with FSX. You cannot run both FSX and FSUIPC7 at the same time, as they share a windows class name.
  4. The lvars-to-offset facility is (currently) for registered versions only. 7.2 has been released - you should use that version, not the beta. I will also be releasing a minor update later this evening or tomorrow morning, 7.2.1. If using the FSUIPC SDK, you should use the WAPI (the WASM API) for lvar/hvar access. Not sure how you would do that in VB.net though. There is a static lib as well as a dynamic dll available, maybe you can use that, but I would not know how to do that via VB, sorry. However, if you are using a registered version, be aware that lvars are only available once an a/c has been loaded, and not when in the MSFS main menu.
  5. Sorry, I think I misread what you are trying to do. So the hvar macro is working, and you now want to assign a button or switch to Autopilot On/Off? If so, you don't need a macro for that, its a straight-forward button assignment. There are also two distinct controls, Autopilot On (65792( and Autopilot off (65791). Neither take a parameter. If you have a single button that you would like to assign to both and add an offset condition, then assign to the first control and save (close the UI panel), comment out that assignment in your FSUIPC7.ini (place a semicolon after the index number in the assignment line created, e.g. '5;=....', where 5 is an example index number), open the button assignment panel again and click on Reload all buttons, then assign the same button to the second control and click Ok. Then open up your FSUIPC7.ini again, remove the semicolon previously added, then add your offset condition to the tje assignment lines. Once done and saved, open up the Button & Switches assignment panel again, and Reload all buttons.again to reload your changes.
  6. Sorry, but what is that? It is certainly not a correctly formatted macro file. You seem to be mixing up macros and assignments. Offset conditions apply to assignments, in your FSUIPC7.ini file, not macros. I have already showed you what your macro file should contain - why don't you just use that? You then assign to your macros, which will add the assignment line to your FSUIPC7.ini file. It is there that you need to uncomment, then make your second assignment. And there that you need to add your offset conditions, not in the macro file. And why are you trying (incorrectly) to auto-run a macro file? Remove those.
  7. There is no difference - macros functionality in FSUIPC6 and 7 is the same, except that FSUIPC7 also allows hvars in a macro, but only with the Set command. It is just a complete log file, not a continuation log file, which you will get if you select the Log->New Log option - just don't use that! No - certainly not! That will generate a huge log file and it will be difficult to find the relevant information. Only activate logging for the logging requested - if you have issues with button assignments, log Buttons & keys and Events, nothing else. Yes of course, apart from the known limitations... So, if you have a problem with a button or switch assignment not working, activate logging for Buttons & keys and Events, load your aircraft, activate the button or buttons that you are having issues with, close down MSFS/FSUIPC7, and then show me your FSUIPC7.log and FSUIPC7.ini files.
  8. Offset values are either received from the FS via simconnect or calculated from such values by FSUIPC.
  9. That control will only list lvars. There is a better method in FSUIPC7 - just use the Add-ons->WASM->List Lvars and List Hvars menu options. There are also other options to allow you to test your lvars/hvars (i.e set lvars and activate hvars) before using/assigning. Hvars have no state - you can only activate them (using the Set command), not toggle. The usual way of having multiple controls assigned to a button to be used for different states of the a/c is to use offset conditions. Program your button for one of the controls (e.g. Autopilot Off), then comment out that line in your FSUIPC7.ini, and then program for the second control. Then you need to uncomment the first assignment, and add an offset condition check to each of those assignments, using the offset which holds the AP status (maybe 07BC Autopilot Master Switch, if that is what the Autopilot Off/On controls change). Adding Offset Conditions is explained in the Advanced User Guide, P22. Regards, John
  10. I'm not sure I understand...you would read them from your lua script, where else? You seem to have answered your own question, i.e. a/c on ground with 0 speed! You could have a lua script that is auto-started (from [Auto] or [Auto.xxx] ini section). In the script, you can use event.timer to call a polling function (maybe every 500ms or so - doesn't need to run too fast). In your polling function, you can check the sim on ground flag (offset 0x0366) and the a/c ground speed (offset 0x02B4) and then, if on ground and speed is 0, read those offsets, do your calculation, and display the text. The timer can keep running until you decide that you want to remove the display, either when the ground speed increases past a certain point, or when you leave the ground (up to you). You can also kill the timer when you do this, so the lua stops running (as I presume its no longer needed once you take off). Alternatively, you could have the lua run on a button or key press, to display the information on a key or button press, and remove it on the next.
  11. Hi John, its just that the view controls have not been available since the release of MSFS. I actually haven't checked these in a while, but I presume this is still the case. You can find the current known limitations in the provided README.txt: I don't expect you to read each and every forum post, but you should always read a file called README....! Of course, such information is also easily forgotten... And i need to see the full log as this contains information I need that is not available in a continuation log, such as the FSUIPC version being used, the current loaded aircraft, any programs that re running (including lua scripts that are auto-started), etc. Just rememeber in future to always show/attach a full logfile when you have issues or need assistance, not a continuation log. Regards, John
  12. www.fsuipc.com will give an unsafe warning, as its http only and not https. I've not added a certificate up till now, as its not really been needed. It will be updated at some point, when I get around to re-vamping the site. For now, just ignore the warnings. John
  13. First, you posted a continuation log. That is of no use to me - I need to see the full log. In future, please only attach full logs - don't ever start a new log file. I am going to remove this option as it is always over used/abused. How have you assigned the camera controls? It is known, and has been since the release of MSFS, that the provided camera control events do not work in MSFS. This is stated in many places. To control the cameras via FSUIPC, you have to assign to the key presses that control the camera views, that are assigned by default in MSFS. Otherwise, you will have to assign in MSFS directly. Any other issues, please let me know and show me your most recent FSUIPC7.ini and FSUIPC7.log files (not a continuation!).
  14. That depends on what you want to do with them! Just to read/log the values first, to see if they are populated and something that you can use, try logging them first with the FSUIPC offset logging facility. If they contain the values you need, or the values that you can calculate what you need, you can then write a lua script to read the values, adjust as needed, and then display them, either using the ipc.display function or the lua wnd library
  15. To register WideFS7, you need to re-run the FSUIPC7 installer, and enter your WideFS key in the appropriate field (labeled WideFS Key). If you have already registered your FSUIPC7 version, the other fields should be pre-populated from your current FSUIPC7.key file. Clicking the Register button will valid both keys and update your FSUIPC7.key file. Use the check-box if your email or address are different between the FSUIPC7 license and the WideFS license, otherwise ignore.
  16. I think there is a cheaper bundled price, but as WideFS7 is still with Pete, I'm not sure if this applies to FSUIPC7, which is one of my products. I cannot see the discounts available with WideFS7. Maybe @Pete Dowson could check and confirm, and maybe add the same discount on WideFS7 for FSUIPC7 as for other FSUIPC versions, if this is possible (i.e. adding a discount from a purchase from another vendor).
  17. You do not need an FSUIPC7 to run/use WideFS - you need a WideFS7 license, which is a distinct license to FSUIPC. You should not need an FSUIPC7 license to run any 3rd party programs (WideFS is NOT a 3rd party program!) - they generally only use the free/unregistered facilities of FSUIPC, although there may be some that require the registered facilities (e.g. Linda requires Lua which is a registered facility). You do not need an FSUIPC7 license to run WideFS7, but you do need a WideFS7 license.
  18. This is held in offset 0x060C But that would be the total distance, no? Could that be what is in offset 0x61A0 (GPS Route Total Distance)? The current GPS ETA should also be in offset 0x619C, and the ETE in offset 0x6298 - have you tried those?
  19. No, as the lua interface is only available in the licensed versions of FSUIPC.
  20. Oh - and you are still using an old beta release - can you please update to the official 7.2.0 release as well please!
  21. Is this for all your devices? You have one missing device: and one 'new' device with no assignments: Do you still have that missing device, and what is the new virtual device? Other than that, your assignments look ok. Can you activate logging for Buttons & Keys as well as Events, load a stock aircraft and try a few of your assigned buttons/switches, then closed own MSFS/FSUIPC7 and show me the FSUIPC7.log file.
  22. I think the MSFS settings also take affect. so you can use those as well. Best to just try it. Some people have also found that extending the axis range (by editing the FSUIPC7.ini,) in combination with slopes, gives them better control. However, doing this will lose the full axis range. So, for example, if this is my elevator calibration line: Elevator=-16384,-903,600,16383 extending the range thus: Elevator=-22384,-903,600,22383 would give me more sensitivity (i.e. less deflection for the same axis movement), but you would lose the ability to deflect fully. Just something else to try....
  23. You can reverse the axis by editing your FSUIPC7.ini file. See the section Additional parameters to scale input axis values in the Advanced User Guide (P38). To reverse the axis, add ',*-1' to the end of the axis assignment line in your FSUIPC7.ini. @Martin99 You could also try scaling your axis using this method (to get 0 at your detent) rather than using lua.
  24. Macros are available in FSUIPC7, it is mouse macros that are not implemented. To activate a hvar, first you need to create a macro file. e.g save the following content as G1000.mcro: You will then be able to assign to those hvars in the assignments drop down menu. It does look like I missed hvars from the macro section in the Advanced User Guide. I will update.
×
×
  • 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.