Jump to content
The simFlight Network Forums

gr8guitar

Members
  • Posts

    157
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    usa

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gr8guitar's Achievements

Explorer

Explorer (4/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done

Recent Badges

0

Reputation

  1. Hello. Just curious, is there a method that allows WideFS in one machine to transfer offset(s) info. to another machine running WideFS? Thank you.
  2. Hello. Thank you for your reply. I am using logging, that is how I know it that the keys were not working properly. You are correct,, I went through FSUIPC directly, not modifying FSUIPC.ini and in Parameter: I typed 9/1. I corrected this in the FSUIPC.ini and I can now see the Parameter is 1/9. I'll remember this in the future. It's strange, to me, that even though I had selected decrementing for the letter I, that incrementing was counting up by one, to nine. In any case, the inc/dec function is working properly. Thank you!
  3. Hello. I had to do a recovery for my Windows 10 and of course, re-install everything. As such, I re-installed FSX and FSUIPC4. I had seen this issue on another Win 10 PC but ignored it. This time, I would like to know what is happening. I assigned accordingly: [Keys] 2=73,8,x610066C0,x00010009 -{I: Press=offset byte cyclic dec, offset 66C0 (Decr=9, Limit=1) }- 4=79,8,x510066C0,x00010009 -{O: Press=offset byte cyclic inc, offset 66C0 (Incr=9, Limit=1) }- However, "I" actually increments the value of 66C0 and "O" actually resets 66C0 to 0(zero). I've included the FSUIPC4.ini and FSUIPC4.log How do I fix this? Thank you. FSUIPC4.ini FSUIPC4.log
  4. hmmm.... I don't know what happened to my earlier post. It appears to have been removed for some reason. To get back to my original inquiry. Yes, I am asking to know if there is a way to know the status of the flags of the buttons (real or imaginary)? Since the flags' status have to be stored in some kind of memory address, I was wondering if there was access to it, i.e.: as an offset- type. If that is not possible, no big deal, I just assign an unused offset (like above) and then I know...
  5. Hello John. 1) I am not talking about the virtual buttons for use with WideFS ( x3340 = P64,0 --> etc.). I am talking about the buttons that are generated when, within FSUIPC.ini: [VRInsight] 1=COM5,COM6. In this case, the buttons are: joystick 280, buttons=x (j280,bx). The user button is j280,b10. This is from FSUIPC4 for Advanced Users. j280,0, etc. are real buttons on the VRInsight GPS-5. 2) As far as flags for buttons, I got the information from the FSUIPC4 for Advanced Users, around page 19 or 20 (on one computer, it is page 19, on another, it's page 20). And it states, in part: This controls a facility to make FSUIPC perform one-off actions when FS is first loaded and running (i.e. actually ready to fly). This is by programming a real or imaginary Button. Simply add the line “InitialButton=j,b” to the [Buttons] section. The values of j (0–255) and b (0–31) can specify a real joystick and button, or a non-existent one, it doesn’t matter. Real ones can have an action assigned on-line, in the Buttons option page, but multiple actions for any button, real or not, can be accomplished by editing the INI file as described here. page 25 or 26: (for example, Joystick 15, Button 31 would be 3871). This says execute Control 1005 whenever your button is pressed. Control 1005 is "Button Flag Toggle". The parameter '3842' identifies the Flag: 256 x joystick 15 + button. I have used these imaginary joystick flags extensively with no issues... until today. The below didn't work: 1190=P280,10,C1005,3328 ; toggle j13,b0 -{: Joy 13 Button 0}- 1192=P280,10,CM6:0,0 ; set GPSWPTStatus -{Macro UserButtonSet}- 1194=CP(F+13,0)280,11,Cx010066DC,x01 ; if 3328 is set=>66DC=1 -{offset byte set, offset 66DC}- 1196=CP(F+13,0)280,10,Cx010066DC,x00 ; if 3328 is set=>66DC=0 -{offset byte set, offset 66DC}- 1198=CP(F+13,0)280,10,CM6:1,0 ; clr GPSWPTStatus --{Macro UserButtonCleared}- So I was interested in seeing the status of 3328 as an offset. In any case, I was able to get what I need by: 1190=P280,10,C1005,3584 ; toggle 14,0 -{: Joy 14 Button 0}- 1192=CP(F+14,0)280,10,Cx010066DC,x01 -{offset byte set, offset 66DC}- 1194=CP(F-14,0)280,10,Cx010066DC,x00 -{offset byte set, offset 66DC}- !1=; 1196=B66DC=1 P280,11,Cx010066DD,x01 ; PREV -{offset byte set, offset 66DD}- 1198=B66DC=1 P280,12,Cx010066DD,x02 ; NEXT -{offset byte set, offset 66DD}- You see, the old GPS500 (FS9,FSX) didn't allow to add/delete waypoints in the flight plan. A person, Dave Dibbel (sp?), modified the xml so it could. I am now adapting that ability to the GPS-5.
  6. Hello John. Thank you for your reply and information. You are correct, I should consult the manual. I was unaware that 3328 was already assigned. I started using imaginary joystick 17 (17*256 = 4352) but that did not seem to respond so I assumed I could use any imaginary joystick. Back to my question though, if 4352 is available, is there a way to access its offset (like any other FSUIPC offset)? I tried logging 4352 but saw no changes. The reason I ask is I have a VRInsight GPS-5. VRiSim and SerialFP2 did not work. However, thanks to FSUIPC.ini, I can use [VRInsight] 1=COM5,COM6. This allows buttons that can be assigned. It has a user button. I want to assign the standard GPS buttons to other functions when 280,10 is set.
  7. Hello. FSUIPC allows imaginary buttons to be used, particularly, its flags. For example, joystick 13 and button 0 would be 256x13+0 = 3328 which can be set (C1003), cleared (c100)4 or toggled (C1005). I realize in a lua: ipc.testbuttonflag(j,b) can be used. So for curiosity, since 13 is multiplied by 256, can a person access this as an offset, if so how? I tried logging the 3328 to no avail. Thank you.
  8. Hello. In the above messages: 6200-62FF = PMDG projects (Lefteris Kalamaras) fixed [PT1] Where may I find that documentation? I did try some offsets' parameters but so far (i.e.: 6209 = EFIS Range) but I haven't found anything beyond EFIS controls. Thank you.
  9. Hello John. Thank you for your reply. I will test those luas later today. Okay, update. Attached is the modified EventTestClient.lua that I changed and renamed to: pauseTest.lua. I added a display so I could see 0XA000's value and see if I could get the "PAUSED" light to blink. I was able to get the "PAUSED" light to blink but not a steady of OFF and ON at 250 millisecond intervals. It may have to do with timing of the 1000 millisecond timer. The pauseTest.lua was checked out on my Toshiba Windows 10 Pro x64 computer. Also, after about 30 minutes, the 0xA000 display began to slow down to updating about every 2 seconds. So I'm not sure why of the above issues. I do have a blinking "PAUSED" light working but it doesn't require a host lua. I think separating the WND's really help to solve two problems. 1) The blinking of the "PAUSED" light and updating the G:Var timer and 2) The slowing down of them updating - especially on an old XP tablet. I now need to solve why WND's don't work on some Windows 8 and 10 tablets. As you can probably tell, I have a few tablets accumulated through the years that I use for actual flying. I would like to get the Windows 8 and/or 10 tablets to work as they are thinner and provide a better screen. I'm curious John, where did the 0xA000 offset come from and how many offsets are available starting with 0xA000? Thanks for your help. pauseTest.lua
  10. No problem. I know people get busy. I think I fixed it but the solution is what I expected. For a few days now, as you may recall, I've been fighting the wnd and wifi. To be honest, I've been fighting the wnd and Ethernet too on a couple of Windows 8 tablets too. I've messed with the firewall, turning it off, changing from private to public networks, and vice versa and27 etc. and no success. I have a couple of Windows 7 computers and there were no issues but they aren't touchscreen. For some reason, this computer (a Toshiba laptop, Windows 10 Pro x64 using WiFi) has no communication issues but it's not a touchscreen. I've looked at all the computers' firewall settings and didn't find anything that stood out. Okay, I digressed a bit. So I have these Windows 7 computers and an old Windows XP touchscreen so I tried it. No communication problems but as the WideClient ran, it really slowed down. Instead of getting 1 second updates as my watchdogs showed, they were updating about every 5 seconds, so obviously I have a slow computer. I decided to separate the wnd into their respective offsets. Now they all currently are running smoothly and... I can get the pause light to alternate and I also get my FS watchdog to continue to work. Again, what is going on with that pause.lua attached I have no idea or why I'm struggling to get the wnd's to work, even after I split them up, on the Windows 8 and 10 tablets (except for one, this one) has me confused but I do have the Windows XP touchscreen running just fine. The wnd is strange too in the fact there are no issues with the WideClient buttons or using the display function. So that is where I am currently. Thanks for replying.
  11. Hello. Thank you for your reply. As I mentioned above, yes, I can see 0x66D9 (my watchdog offset) change using the logging function of FSUIPC even though FS is paused. That is good, that is what I wanted. However, it does not change in the pause.lua on the WideClient. I did not try it on the host because I need the client to work. The 0x66D9 won't update when I use the repeat-until unless I am reading 0x0264. What I wanted was to have the Pause light blink and using 0x66D9, that FS is still running in the pause.lua. So far, I can only choose to have a blinking pause light, but then 0x66D9 pauses too or have the light stay on using the other repeat-until options I listed above. The pause.lua is attached: Notice that I have a few WND that I was using to troubleshoot. pause.lua
  12. Hello. I am confused as to how FSX's Pause function affects WideFS7. I have set up a "watchdog" timer using G:Var's so that when I pause FS, the timer continues to run and it does. This timer goes to an offset through event.Lvar into 0x66DC. In addition, through event.Lvar, I am importing L:AlarmB into 0x66D9. In WideFS's pause.lua, I have a couple of ways to parse the needed bit. Either 1) logicvalB128 = logic.And(valB, 128) or 2) Decimal to Binary where I extract the needed bit; in this case bit 7. In addition, I tried using the event.timer method and the event.offset method. Using either parse method and either event method, the result is the same. When using "repeat" .... "until," it only partially works as desired when I use: until(ipc.readUB(0x0264) == 0). But it also pauses the watchdog (66DC) at WideFS even though it continues to run within FS (observing 66DC through logging). I tried using: until (logicalvalB128 ~= 1) and: until(valB < 127) and: until(ExtractBit7 == 0), as they are within the pause.lua but they lock up WideFS when FS is paused. It is as though WideFS is paused too. When I use: until(ExtractBit7 ~= 1), WideFS doesn't lock up but the "repeat" ... "until" doesn't work properly either. Only when using: until(ipc.readUB(0x0264) == 0) does the "repeat" ... "until" partially work as desired. So the question is what is causing WideFS to NOT see the offset change of (0x66D9)? WideFS only sees the data change of the Pause offset (0x0264)? There are no errors in the logs.
  13. Hello Pete. Well, I don't know either. I just ran it and it crashed but again, not a big deal. My USB to Ethernet adapters arrived, installed and no issues. I believe I switched to UDP based on a suggestion from the above messages. In any case, I want to thank you for looking into it. It seems to me that there is some latency issue with the WiFi and WND. As I mentioned before, if I run the MyDisplay.lua (with some modifications) alone, I have no crashes - it's just with the WND.lua. I usually don't use WiFi on my dedicated FS computers, nor are they connected to the Internet. Since you've allowed people to use WideFS for FS9, I've been delving into it. And then I came across Glenn Weston's WND example. I realize it was a much better way for me to see what I was inserting using the WideClient buttons then the MyDisplay.lua. I'm extremely happy with what I have working and will continue to make adjustments to my "annunciator" panel. Best regards and thank you for your time and information.
  14. Thank you. I looked at it, it made no sense to me. It might as well been in Chinese or any other language I don't know :).
  15. Okay thanks. This is what it came up with - if I did it correctly: Windows WideFS event error.txt
×
×
  • 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.