
Highvolt
Members-
Posts
66 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Highvolt
-
fsuipc.dll & epicinfo.dll problem
Highvolt replied to Highvolt's topic in FSUIPC Support Pete Dowson Modules
I commented-out all of my 'epic' code, and it seems to work for now. This evening I'll test it on a second simulator. I believe the first theory of you is correct.. that only one program at the time can interface with the usb-epic card. The problem was really random though.. so more testing will be needed to have 100% certainty. Another problem arises though.. If epicio.dll cannot support multiple connections, how do I intercept all analogs before they are applied to fs2002? I guess through the win32 joystick api, and leave epicio.dll for what it is :) I'll contact Ralph, and if I have any updates, i'll share them here on the forum. Thanks, Van Ertvelde Wim -
fsuipc.dll & epicinfo.dll problem
Highvolt replied to Highvolt's topic in FSUIPC Support Pete Dowson Modules
hmm, I havent seen it from that perspective! I'm using the EPICUSB on, WinXP-Pro, and i communicate trough epicio.dll "_GetAnalogs();" I'm gonna remove the epicpart of my program and try it again. (But, this doesnt explain why Enrico's IFRDemo also has this strange behaviour) Thanks Pete !! -
FSUIPC grrrrrrrrrrrrrrrrrrrrrr
Highvolt replied to RichD's topic in FSUIPC Support Pete Dowson Modules
Let's not make him too popular... He could be selected for governor in some US state you know :D And indeed, without Pete, a lot of guys wouldn't even have their current dayjobs. (including me) Thanks Pete -
Hi Pete, I have a Flightlink KR1 Radiostack, and some analogs and buttons connected to the epic card. So I use EpicInfo.dll (tried all kinds of versions) to communicate with the radiostack. Now, I have written this "analog intercepting program" in C++ which basicly get's analog values from the epic and some FS2002 variables trough fsuipc. After doing some calculations I send my new calculated analog values directly to FS2002 using fsuipc. All this happens at ±10Hz (A timer that calls a function every 100ms to do all the stuff) The bad effect is, that flightsim hangs sometimes, the instruments still move, but the 3d image freezes. After pressing the 'Alt' key to bring up the inflight menu, the 3d view moves again. Also, when i shut down my program, and start it back up, it cannot connect to flightsim anymore. I thought it was my fault, because i'm quite a novice programmer :oops: , but I also tested Enrico's software, which also has that same problem. After shutting down FS2002 (frequently with a 'end now' button from a popped up error) I see that there still is a FS2002.exe process in memory. I removed EpicInfo.dll from the modules folder, and the problem was gone (but offcourse, the radiostack didnt work anymore then) I also tried to set the MaxFreqScan in epicinfo.cfg, because i thought i overloaded fsuipc too much.. no effect either... Any idea's ? :wink: Kind Regards, Van Ertvelde Wim
-
Hi Pete, I was writing a program that logs all kinds of data, and it works perfectly on my PC, but it behaves differently on another PC. I'm trying to find out what the cause of this is. (Maybe fsuipc locks up if the same key is used on another computer?!) So, can a registered FSUIPC key be used on another PC? Kind Regards, Van Ertvelde Wim
-
EpicInfo & programming question
Highvolt replied to Highvolt's topic in FSUIPC Support Pete Dowson Modules
So, what would be the best way to send analogs to Fs ? 0BB2 offset 3110 offset 3328 offset I'm having troubles to understand the differences between them :oops: ps; your epicinfo is still used with our flyit.com simulator :) Kind Regards, Wim -
Hi Pete, As I understand it: EpicInfo reads the analogs from the epic card with the "_GetAnalogs(handle,analogs);" command from the EPIC SDK and then sends them to FS using FSUIPC. Correct ? If so, to what offset do you write them ? 0BB2 or 3328 2nd Question: How did you program the interface with the FlightLink KR-1 radiostack ? (And could I have a peek at the sourcecode) The reason i'm asking all this, is that I have to intercept all the analogs & buttons from the Epic card, for a reinterpretation in my program, and then send them to FS. So far it all works, but we still need EpicInfo for our radiostack to work.. and EpicInfo conflicts with my program regarding analogs & button sending. So it's either shutting down any analog processing in EpicInfo and only use it for the radiostack or Make an interface in my program for the radiostack Thanks, Van Ertvelde Wim
-
wow, God has a face ?? hihi :D Anyway, thanks for all your work. Without you, I wouldnt have my current job right now. Cya Pete, Wim Van Ertvelde
-
Inserting a BGL object on runtime using FSUIPC!?
Highvolt replied to F22Raptor's topic in FSUIPC Support Pete Dowson Modules
http://www.hovercontrol.com they have something called 'liquidscenery' that's about the closest you'll get. -
f*ck, I just red that Pete is away for 8 days... anyone else that can help me? Hi Pete, I'm programming something that keeps checking new fs data while(!done){ FSUIPC_READ FSUIPC_PROCESS doSomethingWithData(); } I once heard that this wasnt a good solution. that fsuipc needs more time before looping to the next fsuipc_process command. Is this true ? should i wait 50ms before doing a loop again ? if this is the case, i'm going to look into threads i guess. Thanks, Wim Van Ertvelde
-
Hi, I have a really strange problem... (I have an epic, it expansion module with some analogs, FS2002 & epicinfo and the flightlink KR1 radiostack.) The Y-rotation windows axis is my 'prop pitch'. I even see it moving in the "game controllers" & epicenter. In FS2002, i assign an axis to 'proppelor,' I move the analog, and FS2002 successfully recognizes 'Y-rot' as the name of the axis. Now, when i move the analog, FS2002 does not react to it. Even after checking some calibration & sensitivities. If I reprogram my epic .epl code, to use the Z-rotation, or X-rotation, and do the same 'assign axis' procedure in FS2002, then it DOES WORK !!! I have searched the internet for other people that have this problem, but with no result... the weird thing is, my friend had a similar problem with his X / Y axis.. always working in epicenter & gamecontrollers, and glitchy input in FS2002 (we checked the minipanel in fs2002, and the red dot doesnt always follow the analogs, but jumps once in a while) *any* idea ? Kind regards, Van Ertvelde Wim ps, windowsXP, directx8 and updated to dx9. tried all kinds of epicenter en epic eeprom versions
-
I looked at my fsuipc.dll properties, and it's the 3.00 version. So the version on the site is correct. try, 'save as' and give the zipfile another name... Kind Regards, Wim
-
Hi Pete, Just bought your fsuipc & widefs, I dont know if i'm gonna use the advanced things though. :) I just want to support you, that's all btw, the 2 offsets I asked for earlier on (helo_gov_beep thingie) I have found them!! offset: 2CEA & 2DC6 there is also some weird offset 2DFC, it's some kind of controller for a governor. Kind Regards Van Ertvelde Wim
-
Hi, Almost every key that can be pushed is accessable trought its offset, only this one isnt there: (these names are in the FSSDK) KEY_HELI_BEEP_INCREASE KEY_HELI_BEEP_DECREASE you can assign a key to it, in FS2002 itself, but I need the memory address. I tried comparing some values with FSinterogate, but didnt find it. Kind Regards, Van Ertvelde Wim
-
Thanks for the quick reply Peter. I just found a little of this behaviour in FS2004 though... I added the 'minipanel' gauge to the R22 aircraft, and it's supposed to dispay the joystick inputs, but they are not perfectly synchronised with it. First I thought it was the framerate, but the synchronisation was different with different aircraft. Kind Regards, Van Ertvelde Wim
-
Hi there, Here is my problem of interpretating some offsets: 0BB2 2 Elevator control input: –16383 to +16383 Ok 0BB4 2 Elevator position indicator (maybe adjusted from input!) Ok 0BC0 2 Elevator trim control input: –16383 to +16383 Ok 0BC2 2 Elevator trim indicator (follows input) Ok What is actually meant with "(maybe adjusted from input" ?? 1. I can freely write to both offsets and they are the same. 2. FS calculates the 'position indicator' out of the control input and some external variables, and uses this indicator to simulate motions I do not understand the difference in these offsets. I did some testing in FSinterrogate, and they always match each other. Am I missing something here ? Kind Regards, Van Ertvelde Wim