Results 1 to 5 of 5
Thread: RUN Time Errors
-
11-26-2004, 11:09 AM #1imported_MattOGuest
RUN Time Errors
OS XP PRO Patch 1
FS2Phidget 2.03
FS9.1
FSUIPC 3.424
Setting up the Rotary Encoders, no matter what assignment I use, I get:
Run-time error '5'
Invalid procedure call or argument
Matt O.
www.a340project.us
-
11-27-2004, 11:29 AM #2
- Join Date
- Nov 2004
- Posts
- 2
I have the same problem.
Does anyone know how to fix this?
I would like the encoder to change the value for the autopilot altitude.
Regards,
Christian Pedersen
-
11-28-2004, 11:36 PM #3alandyerGuest
Christian,
What version od Phidgets.dll are you using?
Regards,
Alan.
-
11-29-2004, 10:59 AM #4
- Join Date
- Nov 2004
- Posts
- 2
Dll Version
I'm using DLL version 1.3.5.0
Regards
Christian Pedersen
-
11-30-2004, 12:24 PM #5alandyerGuest
Christian,
Eventually, tracked down bug with encoder.
Elusive little fella.
Latest version is now available that corrects that - 2.0.4.
I would uninstall old version first.
Using Control Panel-> Add/Remove programs.
Autopilot settings will require some crafting of the FSUIPC ini file.
I will post "How to" in tutorial later today.
Basically one has to look at actual value being displayed by MS-FS for, say, altitude.
Then look at FSvalue (value used internally by FS).
Then work out ratio (i.e. value that FSvalue needs to be divided by).
For example, internally FS stores autopilot altitude in meters.
This is why there is no generic solution in FSUIPC ini file.
Some simmers will want feet, others meters and others, possibly even cubits.
Here is how you could customize Autopilot Altitude setting in FS2PhUIPC.ini:
Standard entry:
[AUTOPILOT_ALTITUDE]
Offset=07D4
Length=4
Format=#####
Changed entry:
[AUTOPILOT_ALTITUDE]
Offset=07D4
Length=4
FSType=Divide <---- Indicates to FSPhidgets how to reduce FSValue
Divisor=19975.409 <----- Value to divide FSValue by.
Format=#####
Hope this helps.
Regards,
Alan.
Similar Threads
-
Classifieds changes, errors?
By blueskydriver in forum MyCockpit Support:Replies: 3Last Post: 02-04-2010, 01:58 PM -
Old time builder,new time member
By Glenn Weston in forum Welcome to MyCockpit New here? Introduce Yourself!Replies: 4Last Post: 05-23-2009, 03:06 PM -
Classifieds changes, errors?
By blueskydriver in forum MyCockpit Support:Replies: 21Last Post: 01-22-2009, 01:20 PM -
Runtime errors on Led64
By Andras in forum FS2Phidget UsersReplies: 18Last Post: 12-04-2004, 06:49 PM
Casual dating at its finest – join the leading platform for relaxed and fun encounters! No...
JH startup on Client PC