Jump to content
The simFlight Network Forums

Capie

Members
  • Posts

    21
  • Joined

  • Last visited

Capie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thnx Pete, Sorry I know it should be [auto] as new section in fsuipc.ini file. Sure I'll try it with a loop or event. Just trying to practice and understand how things are working. Got it working. Thats what i needed to focus again. Thnx a lot, henri
  2. dear Pete, I have been trying to use Lua for some time but no luck so far. first: If I use Fsuipc and assign 69751 to costum control with param 2 to joystick 1, button 2 it works fine. so i made a lua file name NGX_buttons. fsuipc.ini = [start] 1=NGX_buttons the file contains. if ipc.testbutton(1,2) == true then ipc.control(69751,2) end nothing happens. I'm undoubtedly missing something and i hope you can help out. regards, henri
  3. Hi did U had a solution yet? If correct the GSA-14 flightillusion uses fsuipc to read the values ?? in that case u need to use the a diff offset to read the values from the NGX. use offset 6568,4 I use sioc and the readings are different then the ones from fsx. hope it helps. regards, capie
  4. Thanks Pete, looks great. I'll def try it and let you know, regards, Capie
  5. dear Pete, I've been trying 2 use offset &H3340 to assign virtual buttons, my problem is that I only get 1 button( switch) 2 work. if FSUIPC_Write (&H3340,4,btn_1,dwresult) then end if if FSUIPC_Write (&H3340,4,btn_2,dwresult) then end if if FSUIPC_Process (dwresult) then if kit.getInputState(1) = true then btn_1.uInt32Value(0)=1 elseif kit.getInputState(1)= false then btn_1.uInt32Value(0)=0 end the moment a start with the second button( btn_2) the btn_1 does not work any more. if kit.getInputState(2) = true then btn_2.uInt32Value(0)=2 elseif kit.getInputState(2)= false then btn_2.uInt32Value(0)=0 end end if I think it has something 2 do with the bits and bytes ?? but what or where?? or do i use Ex :btn_1.byte(0)=1 instead of btn_1.uInt32Value(0)=1 do you have any clue? and hope you can help regards, Capie :oops:
  6. Hi Pete, I had not expected 2 be back that fast, the good news is, its working. Thanks You so much for your support! regards, henri
  7. Hi Pete, I know, I did focus on the wrong part and will continue with the offset list. regards, Henri
  8. Thanks, yes i do use offset &H0D70,2, in my appl. When i do some logging with the IPCwrite it shows the offset &H0D70 2 bytes 00 00 (off) or &H0D70 2 bytes 01 00 (on) using a switch. Now i do get it a bit. and i just started and still learing about programming and still have a long way to go. thanks pete thanks for your patience and sorry for the confusion. regards, henri
  9. Hi Pete,Thanks. i'm sure it should'nt be that hard, and sorry for my ignorance, I thought that the offset assigment should be set through the Fsuipc ini file. But youre saying that it should be done in the dropdown. The only dropdown with offset 2be set are on the tabe panel in the Axis assigment. So i'm a little confused and sure that i'm missing or overlooking something. But what? Still hope you can help. regards, henri
  10. Dear Pete, I still need your help. i have done a lot of reading and rereading, one very interesting and usefull item is the logging( had never used it before).I have studied the examples. One of your suggestion is to instigate the macro directly through the offset (0D6C and 0D70) which sound good. But! My question is How? ex: 1= W0D70=1 CM19:5,0 where M19 is the overhead panel and 5= strobe lights. And how can i finf out if a offset is used? I hope you can give me some more good advise or samples. regards, Henri
  11. Thanks again, It's funny to see how difficult it's sometimes to explain something escp in a diff language. But Yes I do have to use both offsets and macros. personally i prefer the offsets but you know as well that not all offsets are available especially ATR. I think you give about what i need or to look for Still thx alot for the advice Pete, regards Henri
  12. Thanks for replay Pete, sorry if I have not been entirely clear. My real problem is that i use phidget interface cards and the plugin does not support 64bit yet. The first part of the appl works on the addresses provided by the FSInterrogate (And I still run this through widefs). But because i want to expand my appl, I had to create some macro's first and then assign the keystroke to them( ATR 72-500 from flight1). And this keystrokes i want to activate and send through the appl that is running on the client pC. This is until I'm able to run the appl on the FSX pc regards, henri :D
  13. Dear Pete, I would like to know if it's possible to send keystrokes from a widefs client to the widefs server PC. This because i'm using a appl that runs fine on 32bit Pc, but lately i,m using win7 64 bit.and it does not run on 64 bit PC's yet( an it will take some time before i solved that problem). So i run the appl on a widefs client PC (Xp 32bit) and FSX is on the win7 64 bit widefs server Pc. And using certain aircrafts like the PMDG and ATR a lot instruments are contolled through keystroke. regards, henri
  14. Thanks , I was about 2 say it seems to be solved. regards, Capie
  15. Dear mister Dowson, I can use some help. I ve been trying 2 read the lati and longitude value's but it's not as it should be. code: dim latiwaarde as currency latwaarde= new memoryblock(8) latiwaarde=(latitud.CurrencyValue(0)) latitude.text= str(latiwaarde) = 2559872817954.816 the value from FS-Interrogate = 25598728179548160 which = 53.63213 So i'am close but not there yet. So to correct that i did the following 2559872817954.816 * 1000= 25598728179548160 and then i thought (25598728179548160* 90)/ (10001750*65536*65536)=1.#INF00e+ I hope you do have some advice. regards, :lol: Capie
×
×
  • 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.