
DaveSCUSA
Members-
Posts
151 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by DaveSCUSA
-
I am also trying to use FSUIPC7 to connect 2 Sayo 12 Key devices to MSFS. Not sure if this is an average or common usage. Not knowing all the intricacies of the FSUIPC7, I may ask stupid or uninformed questions. You assume your customers know as much as you and where items (files, documentation, subject location) are located. Your assumption seems that all your customers should have read all the documentation. Six percent of all activities as human performs are in error. Mistakes are made.
-
I'm only asking for help in how to fix this. Perhaps I am one that has a unique setup, using FSUIPC7 facilities not often used and there is a conflict I can't find out of ignorance. Also, how many customers just give up or don't know there is a forum. Perhaps, I'll reinstall MSFS and FSUIPC7. Seven hours to download and install MSFS. Upon further testing, it is the combination of WASM and the DA62 Mod aircraft in the Community folder that crashes. I no longer remember this item. I found the logs. The most current one is the DA62 and WASM crash. As I said, I'm just trying to find how to debug and fix the problem with your help. I'm not accusing FSUIPC of not recognizing an issue as you seem to consider I am dong. I see the mention of the file MainMenu.FLT in the two logs that have errors. I have included the file. MainMenu.FLT FSUIPC_WASM.log FSUIPC_WASM_prev.log FSUIPC_WASM_prev2.log
-
I have no need or desire to look at details. If so, why does it not crash when the fsuipc-lvar-module folder is removed from the Community folder or starting MSFS in "Safe" mode. FSUIPC7 starts in both cases with the EXE.xml file and has no issues. Perhaps as you can see by the attached image, there is no ...\fsuipc-lvarmodule\work folder in the Packages folder and therefore no log. I have changed the DirectX to DX11 and still have the issue. I don't understand why you insist that it is not an FSUIPC7 and WASM conflict if envery thing runs corrctly without the wasm Folder. As I mentioned in my first entry, I moved add-on items back into the Community folder one at a time the FSUIPC WASM folder last. MSFS worked fine until I readded the WASM folder and it crashed. Continued with further testing and shown the crash occurs when the fsuipc-lvar-module folder is present, not crash when absent.
-
I recreated the crash. MSFS crashes (closes down) just after the FSUIPC7 console is displayed (the MSFS Main Menu screen has not yet displayed). As suspected, There is no FSUIPC_WASM.log file. You could at least provide pointers on how to debug this issue. FSUIPC7.log
-
Since I am not familiar with WASM, as I'm sure most of your customers aren't, I didn't know ilog existed. Not sure I even saw it. I'll go check.
-
I just purchase a new PC and installed MSFS, FSUIPC7 and several other add-ons. Attached is a screenshot of the add-ons. I downloaded all freah versions (including FSUIPC7). During the starting of MSFS, it crashed. Tried at least 3 times, crashed every time. I removed the items in the Community folder and added back one at a time. The aircraft started flying at the end of the runway and no crash. The last added was the FSUIPC7.log folder which crashed. One of the first attempts that didn't crash was a start in safe mode which obviously bypasses the Community folder. I have attached the Log, .ini and fsuipc-lvar-module files (obviously not the .hvar files). FSUIPC7.log FSUIPC7_prev.log FSUIPC7.ini FSUIPC_WASM.ini layout.json manifest.json FSUIPC7_WASM.wasm
-
Is there any logging of the status of a profile when choosing and aircraft, fly now and ready to fly. Sometimes, if buttons are not working (no console entry), one is not sure if the profile was loaded or not. Thanks
-
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
There are two control files, one in Alphabetical order and one in numerical order. The documentation shows a list of offset controls, but no examples of how to use them or they are included in the UI dropdown. Thank you, very clear. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
One additional question, are general offsets initialized to zero when a flight is "Ready to Fly"? -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
I used offset setbits and clrbits to set the state and a button modifier on the input event and it works fine. As the "Offsets controls" are not listed in the Alpha controls listing, it is not very clear they are in the UI drop down. Once found, easy to use. In addition to be able to add a second parameter in the UI, an ability to input multiple entries to a single button/key should be considered. Thanks -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Because I tested and the TOGGLE_EXTERNAL_POWER didn't work (perhaps due to the index as shown above). I didn't know about the LONGITUDE toggle. I try them again. If one wants to use yokes, throttles, etc., and buttons, and key presses instead of virtual cockpit, MSFS and aircraft developers make it difficult. They are not consistent with gauges and switches. Very confusing for those of us that just want to fly. The most difficulty is communicating with the jargon and terms you all share as opposed to us that are confused. I will not be at my Sim until Thursday. If someone would just follow my request, we can forget the external power and the toggle. The request again is: Can you show the code needed to use an offset to turn an Input Event on and off based on the state of the offset. Presume I know how to define an offset either in a profile or my offsets. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Thanks, again. The reason I use LVars, is using presets with most keypresses. The difference comes with the requirement to use an input event for the function which can't be set in the preset. Seems like only button/keys and Lua can provide a param to an input event while one cannot change an offset with the buttons/keypresses in a profile. Would you please show the best code to set an Input Event on and off using a mom button. I can handle normal A:, K:, and L: vars. Step A code, Step B code ...... Step x code. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
It does work with two buttons. The toggles don't work at all. I monitor the offsets and they are set at least on the on state, value 1. But they aren't always reset in the preset as shown above. As you know I'm setting the offset using LVars changed in the preset. Is there a way to set the offset and the input event in the profile [Keys] area? Is the ,bool with LVar mandatory in the preset? Could you provide me an example? It seems keypresses have less functionality than buttons or I'd try compound presses. Perhaps I'll just use Lua. In the past, I made the Lua too complicated. I do have an Lua that enters 0 in the offsets used and creates the LVars. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
It is strange as I have the aircraft in 3 separate instances of MSFS on 3 PCs. The default is in the Official folder with all other aircraft (with at least 8 liveries) and a mod (correcting default flight and control characteristics) in the Community folder. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Thank you. Your answer doesn't have to be specific to an aircraft, however, the aircraft is the Cessna Longitude Citation. The switch I'm using is a single press button providing keypresses. I have tried 3 options: 1. Preset only, 2. Preset and Input Event, and 3. Input Event only. The only option that worked was #3 without the offset modifier. My problem, is I want first press on and second press off. The example in my post (without the preset) works to turn the event on but not off. In addition, I am trying to use the offset modifier technique to use a rocker switch (as on the Alpha and Bravo) with a simconnect toggle event. Push top on, push bottom off. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Thank you for the hint to use x0D00zzzz Offset Byte Togglebits. Thank you but I'm confused. I use an offset of an LVar to determine the state of the switch. E.g. 42=L:Elect_Ext_Pwr=UB0x66DB C700s_New_Ext_Pwr#(L:Elect_Ext_Pwr) if{ (>K:TOGGLE_EXTERNAL_POWER) 0 (>L:Elect_Ext_Pwr) }els{ (>K:TOGGLE_EXTERNAL_POWER) 1 (>L:Elect_Ext_Pwr) } 86=B66DB<1 N53,14,PC700s_New_Ext_Pwr,0 -{Preset Control}- 88=B66DB<1 N53,14,IELECTRICAL_ExternalPower_1,1.000000 -{Input Event}- 90=B66DB>0 N53,14,PC700s_New_Ext_Pwr,0 -{Preset Control}- 92=B66DB>0 N53,14,IELECTRICAL_ExternalPower_1,0.000000 -{Input Event}- Sometimes it doesn't work based, I believe, on the internal sequence and timing. I have seen in the log: 34329 KEYDOWN: VK=53, Waiting=0, Repeat=N, lParam=0 (0x0), Shifts=6 34329 .. This key is programmed in FSUIPC7 'Keys' options 34594 EV_KEYDOWN received: 0x35 (5): repeat set (rate=250/100) 34594 KEYDOWN: VK=53, Waiting=0, Repeat=Y, lParam=1073741824 (0x40000000), Shifts=6 34594 .. This key is programmed in FSUIPC7 'Keys' options 34610 *** EVENT: Cntrl= 67091 (0x00010613), Param= 0 (0x00000000) SET_EXTERNAL_POWER 34610 *** EVENT: Cntrl= 67091 (0x00010613), Param= 1 (0x00000001) SET_EXTERNAL_POWER For the above use of the button, the documentation of Offset Byte Togglebits that I found is: x0D00zzzz Offset Byte Togglebits (offset = zzzz), hexadecimal, and [LvarOffsets.B747] 1=L:XMLVAR_YokeHidden1=UB0xA000 Once an lvar has been added to an offset, you can use the offset for the lvar value as you would any other offset. You can also update the lvar by updating the offset value, using, for example, one of the FSUIPC Offset Controls (see page 35), such as Offset Word Set, or Offset Byte Togglebits. Make sure that the control that you use matches the size of the offset defined to hold the value. So, taking my previous example using the lvar XMLVAR_YokeHidden1, to assign a button/switch to control this lvar via the offset I have assigned (A000), I would assign to the control Offset Byte Togglebits, giving A000 as the offset and 1 (or x1) as the parameter. Due to my lack of expreience, I have difficulty understanding how to use the Offset Byte Togglebits and the offsets. I thought the above would suffice for the Mom switch. Could you please provide specific code that allows the above switch to work. It is problematic when there is an Input Event in play. Presets can't update Input Events and Presets can't update offsets. A dilemma. -
Help with Controls - testing with SET_EXTERNAL_POWER
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Thank you Al and John for your time. Didn't expect an answer so quickly. Just to make sure I looked at everything, I did a quick look on the events using SPAD.NeXt. It showed Input Event B:ELECTRICAL_ExternalPower_1 (not sure why the FSUIPC7.log didn't show it) is used. I didn't pick up the preset as I extracted the presets from Mobiflight to myevents.txt to reduce the number of entries. My bad, I missed the preset. It's a shame that presets can't manipulate Input Events. Perhaps I need to use Lua. Is there a technique to turn an on/off Input Event to a toggle event? Thank you both. -
I am still struggling with getting events to work with now the Cessna Logitude. I have attached a file with the pertinant information. The control I'm trying to get to work is the SET_EXTERNAL_POWER by pressing a key on my USB device. I'm using this key to debug my procedures. The attached file shows the Log from two methods to turn the Cessna Longitude External Power switch on and off. The first entries in the Log are turning the External Power on and off using the virtual cockpit button resulting in 24829 *** EVENT: Cntrl= 67091 (0x00010613), Param1= 1 (0x00000001), Param2= 1 (0x00000001) SET_EXTERNAL_POWER. This works. The second entries show the Log using the USB key resulting in the entry 34610 *** EVENT: Cntrl= 67091 (0x00010613), Param= 1 (0x00000001) SET_EXTERNAL_POWER. This did not work. Included in the file are the entries in the profile for the key and the preset entry for the key. Not sure why the SET_EXTERNAL_POWER control is not working and why there are two SET_EXTERNAL_POWER entries in the keypress logging. Would you help please? I will incude the Log file. Thanks External Power Log Results.txt FSUIPC7.log
-
I seemed to figured it out. Thanks
-
PS - Between V7.4.13 and the second V7.4.15, I completely deletedthe FSUIPC7 folder from the C Drive.
-
John, I have 2 PCs that I can run FSUIPC7. It seems that V 15 is the issue of not showing in the task bar and can't use alt+F to bring up the UI. I did not check the System Tray. Below, I have the FSUIPC7.ini and FSUIPC7.log files from two different versions. All were manually started and MSFS was not used. Files FSUIPC7-V15-1st These files were from the 1st test of FSUIPC7 V15. The icon was not in the task bar, the splash screen displayed and the console disappeared after approximatel 2-3 seconds. Immendiately started FSUIPC7 again no splash screen nor the console displayed. Files FSUIPC7-V13 Uninstalled V7.4.15 and installed V7.4.13 (I didn't have V14). All worked fine. Displayed both the UI and console and Splash screen. Was able to see the icon in the task bar, and was able to open and close and open again both windows. Files FSUIPC7-V15-2nd Uninstalled V13 and reinstalled V15 with the same results as the first iteration of V15 above. I don't have V14 on my machine. The only version I can find online is V7.4.15. Could you provide V14? FSUIPC7-V15-1st.iniFSUIPC7-V15-1st.logFSUIPC7-V13.iniFSUIPC7-V13.logFSUIPC7-V15-2nd.iniFSUIPC7-V15-2nd.log
-
I have had this also. Normally, the FSUIPC7 icon appears in the task bar. Upon a right click, the small windows above the task bar shows both the console and ui. One can choose one or the other. The case above describes the instance where there is no icon. In addition, in my case, the alt+f did not display the ui. Also, when I opened FSUIPC7 without MSFS executing, neither the console nor the ui appeared. I removed all of FSUIPC7 files and installed again. I'll retest today.
-
Testing for Event or InputEvent for an action
DaveSCUSA replied to DaveSCUSA's topic in FSUIPC7 MSFS
Thank you -
I have noticed that when using the Offset Logging in the FSUIPC7 UI (attached), there are control entries in the FSUIPC7.ini file (attached). I there a four entry limit for control logging or may there be more entries coded in the FSUIPC7.ini file? If there are more, what is the limit of the number of entries? Thanks
-
Often when activating a switch or button in a cockpit, the FSUIPC7 Log shows several entries. An example is a battery switch on activation may show a master battery control event, a toggle bus control event and a "B:Battery" input event. Is there any way to obtain which event was triggered by the switch on. Or must one test each separately to observe the action?