Jump to content
The simFlight Network Forums

Tiago Thiengo Vieira

Members
  • Posts

    6
  • Joined

  • Last visited

Tiago Thiengo Vieira's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. taking out the lazyness from my body: http://files.luaforge.net/releases/luacom/luacom/1.4 http://www.arquivos-dll.com/L/lua51.dll.html least I found... but the circuit UNL2803A I still want to know more about...
  2. Can you explain certain things like where to obtain the lua5.1.dll and the luacom and the use of UNL2803A to trigger the leds? thanks
  3. Okay gentlemen, I just download the 998r and the first impression is amazing. Pete, the lvar read is now very fast, so fast then I will use the lvar from panel clock, when otherwise I should to write a independent script to clock... That is the initial impression, more test will be made and I will do a report in here. how we say in Brazil, literally: The diference is whopping... now version 998r and the LVAR is faster than ever Thanks alaxus for link... Thanks Pete...
  4. Not Found The requested document was not found on this server. ----------------------------------- When I asked you in the first time I just read and wrote, but now, I read and I process the value, writing only if not equal from current value wrote in offset. At moment i have 144 LVARS.... and rising... Ok. my doubt was about the faster method to read numerous LVar and write without lag from aircraft panel to my hardware. Soon that the zip is available to download I will test the elapsed time, when I finish the script I will add elapsed time routine to determine how is faster. Thanks See you...
  5. No Pete... sorry. I don't know exactly how much time the script expends, but I see that in current stage, with until now 138 lvars being read, when a light is turned on on panel, in the offset the value will be changed until 1 second later. Fokker 100 Digital Aviation Yeah, I thought in this, and I tried to do this with 7-seg digits, but along the way I decided to use a conditional to after read the LVAR, test if the lvar is diferent from current value stored in a Lua global var, after case the values are not equal so write respective offset. All the script is based in a concept of run in a loop, read the current value from Lvar, test if is diferente from the value stored, writes the new value if not equal and to each lvar the script will repeat this structure. If I use that concept will be difficult to use writeStruct. writeStruc must to be used if I write all Lvar, independent if has change. right? yes, it load only once and it run all time in a while loop untill I kill the lua or send a parameter diferent of 1 If I run FS9 over a network, and I distribute tasks to copy, will the access to the offset faster? Explaining: A copy for captain's instruments, reading part of lvar, and a copy for first office's instruments to read the rest... If I use FSUIPC with Lua scripts for read lvar and write to offset and shrinking the work load, at the same time each IOCP in his respective computer running a fs9 copy will map his respective offset and comunicate with IOCARDs as clients... Is this a interesting solution to load balance when has a lot of lvar? 3.998q.Yes, if you have any beta, I can try it with you. Thanks for all... See you...
  6. Hi Peter, I am writing a script in LUA to read and write LVAR in Offset using, example: ipc.readLvar("L:XML_Disp_HYDR_PRESS1_1") -- to read the lvar ipc.writeUB(0x66dc, Disp_HYDR_PRESS1_1 ) -- to write in a offset The script do not have much more to explain, but this structure repeats to each switch light or annunciator light on the panel (LVARS), the script have more then 90 lvar monitored unitl now. Current the script expend more than 2 seconds to chage an offset value, when I turn on annunciator test and almost all lights are turned on, offset wait 2, till 3 seconds to modify the value. *LAG questions... will do the script faster if I write conditional to determine if lvar is diferent and so write to the offset ? will do the script faster if I split the script in many scripts ? wich of them expend more time, associate readLvar to a variable, write in a offset, or conditionals to check if is necessary write the offset? Is there a event like event.offset to LVAR? thanks...
×
×
  • 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.